org.eclipse.jnosql.query.grammar.data.JDQLParser Maven / Gradle / Ivy
// Generated from org/eclipse/jnosql/query/grammar/data/JDQL.g4 by ANTLR 4.13.2
package org.eclipse.jnosql.query.grammar.data;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.misc.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayList;
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"})
public class JDQLParser extends Parser {
static { RuntimeMetaData.checkVersion("4.13.2", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
T__9=10, T__10=11, T__11=12, SELECT=13, UPDATE=14, DELETE=15, FROM=16,
WHERE=17, SET=18, ORDER=19, BY=20, NOT=21, IN=22, IS=23, NULL=24, COUNT=25,
TRUE=26, FALSE=27, ASC=28, DESC=29, AND=30, OR=31, LOCAL_DATE=32, LOCAL_DATETIME=33,
LOCAL_TIME=34, BETWEEN=35, LIKE=36, THIS=37, LOCAL=38, DATE=39, DATETIME=40,
TIME=41, EQ=42, GT=43, LT=44, NEQ=45, GTEQ=46, LTEQ=47, PLUS=48, MINUS=49,
MUL=50, DIV=51, CONCAT=52, COMMA=53, DOT=54, LPAREN=55, RPAREN=56, COLON=57,
QUESTION=58, FULLY_QUALIFIED_IDENTIFIER=59, IDENTIFIER=60, STRING=61,
INTEGER=62, DOUBLE=63, WS=64, LINE_COMMENT=65, BLOCK_COMMENT=66;
public static final int
RULE_statement = 0, RULE_select_statement = 1, RULE_update_statement = 2,
RULE_delete_statement = 3, RULE_from_clause = 4, RULE_where_clause = 5,
RULE_set_clause = 6, RULE_update_item = 7, RULE_select_clause = 8, RULE_select_list = 9,
RULE_aggregate_expression = 10, RULE_orderby_clause = 11, RULE_orderby_item = 12,
RULE_conditional_expression = 13, RULE_comparison_expression = 14, RULE_comparison_operator = 15,
RULE_between_expression = 16, RULE_like_expression = 17, RULE_in_expression = 18,
RULE_in_item = 19, RULE_null_comparison_expression = 20, RULE_scalar_expression = 21,
RULE_primary_expression = 22, RULE_function_expression = 23, RULE_special_expression = 24,
RULE_state_field_path_expression = 25, RULE_entity_name = 26, RULE_enum_literal = 27,
RULE_input_parameter = 28, RULE_literal = 29;
private static String[] makeRuleNames() {
return new String[] {
"statement", "select_statement", "update_statement", "delete_statement",
"from_clause", "where_clause", "set_clause", "update_item", "select_clause",
"select_list", "aggregate_expression", "orderby_clause", "orderby_item",
"conditional_expression", "comparison_expression", "comparison_operator",
"between_expression", "like_expression", "in_expression", "in_item",
"null_comparison_expression", "scalar_expression", "primary_expression",
"function_expression", "special_expression", "state_field_path_expression",
"entity_name", "enum_literal", "input_parameter", "literal"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "'abs('", "'ABS('", "'length('", "'LENGTH('", "'lower('", "'LOWER('",
"'upper('", "'UPPER('", "'left('", "'LEFT('", "'right('", "'RIGHT('",
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, "'='", "'>'", "'<'", "'<>'", "'>='", "'<='",
"'+'", "'-'", "'*'", "'/'", "'||'", "','", "'.'", "'('", "')'", "':'",
"'?'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, null, null, null, null, null, null, null, null, null, null, null,
null, "SELECT", "UPDATE", "DELETE", "FROM", "WHERE", "SET", "ORDER",
"BY", "NOT", "IN", "IS", "NULL", "COUNT", "TRUE", "FALSE", "ASC", "DESC",
"AND", "OR", "LOCAL_DATE", "LOCAL_DATETIME", "LOCAL_TIME", "BETWEEN",
"LIKE", "THIS", "LOCAL", "DATE", "DATETIME", "TIME", "EQ", "GT", "LT",
"NEQ", "GTEQ", "LTEQ", "PLUS", "MINUS", "MUL", "DIV", "CONCAT", "COMMA",
"DOT", "LPAREN", "RPAREN", "COLON", "QUESTION", "FULLY_QUALIFIED_IDENTIFIER",
"IDENTIFIER", "STRING", "INTEGER", "DOUBLE", "WS", "LINE_COMMENT", "BLOCK_COMMENT"
};
}
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
/**
* @deprecated Use {@link #VOCABULARY} instead.
*/
@Deprecated
public static final String[] tokenNames;
static {
tokenNames = new String[_SYMBOLIC_NAMES.length];
for (int i = 0; i < tokenNames.length; i++) {
tokenNames[i] = VOCABULARY.getLiteralName(i);
if (tokenNames[i] == null) {
tokenNames[i] = VOCABULARY.getSymbolicName(i);
}
if (tokenNames[i] == null) {
tokenNames[i] = "";
}
}
}
@Override
@Deprecated
public String[] getTokenNames() {
return tokenNames;
}
@Override
public Vocabulary getVocabulary() {
return VOCABULARY;
}
@Override
public String getGrammarFileName() { return "JDQL.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public JDQLParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@SuppressWarnings("CheckReturnValue")
public static class StatementContext extends ParserRuleContext {
public Select_statementContext select_statement() {
return getRuleContext(Select_statementContext.class,0);
}
public Update_statementContext update_statement() {
return getRuleContext(Update_statementContext.class,0);
}
public Delete_statementContext delete_statement() {
return getRuleContext(Delete_statementContext.class,0);
}
public StatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitStatement(this);
}
}
public final StatementContext statement() throws RecognitionException {
StatementContext _localctx = new StatementContext(_ctx, getState());
enterRule(_localctx, 0, RULE_statement);
try {
setState(63);
_errHandler.sync(this);
switch (_input.LA(1)) {
case EOF:
case SELECT:
case FROM:
case WHERE:
case ORDER:
enterOuterAlt(_localctx, 1);
{
setState(60);
select_statement();
}
break;
case UPDATE:
enterOuterAlt(_localctx, 2);
{
setState(61);
update_statement();
}
break;
case DELETE:
enterOuterAlt(_localctx, 3);
{
setState(62);
delete_statement();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Select_statementContext extends ParserRuleContext {
public Select_clauseContext select_clause() {
return getRuleContext(Select_clauseContext.class,0);
}
public From_clauseContext from_clause() {
return getRuleContext(From_clauseContext.class,0);
}
public Where_clauseContext where_clause() {
return getRuleContext(Where_clauseContext.class,0);
}
public Orderby_clauseContext orderby_clause() {
return getRuleContext(Orderby_clauseContext.class,0);
}
public Select_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_select_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterSelect_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitSelect_statement(this);
}
}
public final Select_statementContext select_statement() throws RecognitionException {
Select_statementContext _localctx = new Select_statementContext(_ctx, getState());
enterRule(_localctx, 2, RULE_select_statement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(66);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SELECT) {
{
setState(65);
select_clause();
}
}
setState(69);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FROM) {
{
setState(68);
from_clause();
}
}
setState(72);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(71);
where_clause();
}
}
setState(75);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ORDER) {
{
setState(74);
orderby_clause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Update_statementContext extends ParserRuleContext {
public TerminalNode UPDATE() { return getToken(JDQLParser.UPDATE, 0); }
public Entity_nameContext entity_name() {
return getRuleContext(Entity_nameContext.class,0);
}
public Set_clauseContext set_clause() {
return getRuleContext(Set_clauseContext.class,0);
}
public Where_clauseContext where_clause() {
return getRuleContext(Where_clauseContext.class,0);
}
public Update_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_update_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterUpdate_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitUpdate_statement(this);
}
}
public final Update_statementContext update_statement() throws RecognitionException {
Update_statementContext _localctx = new Update_statementContext(_ctx, getState());
enterRule(_localctx, 4, RULE_update_statement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(77);
match(UPDATE);
setState(78);
entity_name();
setState(79);
set_clause();
setState(81);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(80);
where_clause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Delete_statementContext extends ParserRuleContext {
public TerminalNode DELETE() { return getToken(JDQLParser.DELETE, 0); }
public From_clauseContext from_clause() {
return getRuleContext(From_clauseContext.class,0);
}
public Where_clauseContext where_clause() {
return getRuleContext(Where_clauseContext.class,0);
}
public Delete_statementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_delete_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterDelete_statement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitDelete_statement(this);
}
}
public final Delete_statementContext delete_statement() throws RecognitionException {
Delete_statementContext _localctx = new Delete_statementContext(_ctx, getState());
enterRule(_localctx, 6, RULE_delete_statement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(83);
match(DELETE);
setState(84);
from_clause();
setState(86);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==WHERE) {
{
setState(85);
where_clause();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class From_clauseContext extends ParserRuleContext {
public TerminalNode FROM() { return getToken(JDQLParser.FROM, 0); }
public Entity_nameContext entity_name() {
return getRuleContext(Entity_nameContext.class,0);
}
public From_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_from_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterFrom_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitFrom_clause(this);
}
}
public final From_clauseContext from_clause() throws RecognitionException {
From_clauseContext _localctx = new From_clauseContext(_ctx, getState());
enterRule(_localctx, 8, RULE_from_clause);
try {
enterOuterAlt(_localctx, 1);
{
setState(88);
match(FROM);
setState(89);
entity_name();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Where_clauseContext extends ParserRuleContext {
public TerminalNode WHERE() { return getToken(JDQLParser.WHERE, 0); }
public Conditional_expressionContext conditional_expression() {
return getRuleContext(Conditional_expressionContext.class,0);
}
public Where_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_where_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterWhere_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitWhere_clause(this);
}
}
public final Where_clauseContext where_clause() throws RecognitionException {
Where_clauseContext _localctx = new Where_clauseContext(_ctx, getState());
enterRule(_localctx, 10, RULE_where_clause);
try {
enterOuterAlt(_localctx, 1);
{
setState(91);
match(WHERE);
setState(92);
conditional_expression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Set_clauseContext extends ParserRuleContext {
public TerminalNode SET() { return getToken(JDQLParser.SET, 0); }
public List update_item() {
return getRuleContexts(Update_itemContext.class);
}
public Update_itemContext update_item(int i) {
return getRuleContext(Update_itemContext.class,i);
}
public List COMMA() { return getTokens(JDQLParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JDQLParser.COMMA, i);
}
public Set_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_set_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterSet_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitSet_clause(this);
}
}
public final Set_clauseContext set_clause() throws RecognitionException {
Set_clauseContext _localctx = new Set_clauseContext(_ctx, getState());
enterRule(_localctx, 12, RULE_set_clause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(94);
match(SET);
setState(95);
update_item();
setState(100);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(96);
match(COMMA);
setState(97);
update_item();
}
}
setState(102);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Update_itemContext extends ParserRuleContext {
public State_field_path_expressionContext state_field_path_expression() {
return getRuleContext(State_field_path_expressionContext.class,0);
}
public TerminalNode EQ() { return getToken(JDQLParser.EQ, 0); }
public Scalar_expressionContext scalar_expression() {
return getRuleContext(Scalar_expressionContext.class,0);
}
public TerminalNode NULL() { return getToken(JDQLParser.NULL, 0); }
public Update_itemContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_update_item; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterUpdate_item(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitUpdate_item(this);
}
}
public final Update_itemContext update_item() throws RecognitionException {
Update_itemContext _localctx = new Update_itemContext(_ctx, getState());
enterRule(_localctx, 14, RULE_update_item);
try {
enterOuterAlt(_localctx, 1);
{
setState(103);
state_field_path_expression();
setState(104);
match(EQ);
setState(107);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__0:
case T__1:
case T__2:
case T__3:
case T__4:
case T__5:
case T__6:
case T__7:
case T__8:
case T__9:
case T__10:
case T__11:
case TRUE:
case FALSE:
case LOCAL_DATE:
case LOCAL_DATETIME:
case LOCAL_TIME:
case LPAREN:
case COLON:
case QUESTION:
case FULLY_QUALIFIED_IDENTIFIER:
case IDENTIFIER:
case STRING:
case INTEGER:
case DOUBLE:
{
setState(105);
scalar_expression(0);
}
break;
case NULL:
{
setState(106);
match(NULL);
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Select_clauseContext extends ParserRuleContext {
public TerminalNode SELECT() { return getToken(JDQLParser.SELECT, 0); }
public Select_listContext select_list() {
return getRuleContext(Select_listContext.class,0);
}
public Select_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_select_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterSelect_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitSelect_clause(this);
}
}
public final Select_clauseContext select_clause() throws RecognitionException {
Select_clauseContext _localctx = new Select_clauseContext(_ctx, getState());
enterRule(_localctx, 16, RULE_select_clause);
try {
enterOuterAlt(_localctx, 1);
{
setState(109);
match(SELECT);
setState(110);
select_list();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Select_listContext extends ParserRuleContext {
public List state_field_path_expression() {
return getRuleContexts(State_field_path_expressionContext.class);
}
public State_field_path_expressionContext state_field_path_expression(int i) {
return getRuleContext(State_field_path_expressionContext.class,i);
}
public List COMMA() { return getTokens(JDQLParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JDQLParser.COMMA, i);
}
public Aggregate_expressionContext aggregate_expression() {
return getRuleContext(Aggregate_expressionContext.class,0);
}
public Select_listContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_select_list; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterSelect_list(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitSelect_list(this);
}
}
public final Select_listContext select_list() throws RecognitionException {
Select_listContext _localctx = new Select_listContext(_ctx, getState());
enterRule(_localctx, 18, RULE_select_list);
int _la;
try {
setState(121);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FULLY_QUALIFIED_IDENTIFIER:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(112);
state_field_path_expression();
setState(117);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(113);
match(COMMA);
setState(114);
state_field_path_expression();
}
}
setState(119);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case COUNT:
enterOuterAlt(_localctx, 2);
{
setState(120);
aggregate_expression();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Aggregate_expressionContext extends ParserRuleContext {
public TerminalNode COUNT() { return getToken(JDQLParser.COUNT, 0); }
public TerminalNode LPAREN() { return getToken(JDQLParser.LPAREN, 0); }
public TerminalNode THIS() { return getToken(JDQLParser.THIS, 0); }
public TerminalNode RPAREN() { return getToken(JDQLParser.RPAREN, 0); }
public Aggregate_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_aggregate_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterAggregate_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitAggregate_expression(this);
}
}
public final Aggregate_expressionContext aggregate_expression() throws RecognitionException {
Aggregate_expressionContext _localctx = new Aggregate_expressionContext(_ctx, getState());
enterRule(_localctx, 20, RULE_aggregate_expression);
try {
enterOuterAlt(_localctx, 1);
{
setState(123);
match(COUNT);
setState(124);
match(LPAREN);
setState(125);
match(THIS);
setState(126);
match(RPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Orderby_clauseContext extends ParserRuleContext {
public TerminalNode ORDER() { return getToken(JDQLParser.ORDER, 0); }
public TerminalNode BY() { return getToken(JDQLParser.BY, 0); }
public List orderby_item() {
return getRuleContexts(Orderby_itemContext.class);
}
public Orderby_itemContext orderby_item(int i) {
return getRuleContext(Orderby_itemContext.class,i);
}
public List COMMA() { return getTokens(JDQLParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JDQLParser.COMMA, i);
}
public Orderby_clauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_orderby_clause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterOrderby_clause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitOrderby_clause(this);
}
}
public final Orderby_clauseContext orderby_clause() throws RecognitionException {
Orderby_clauseContext _localctx = new Orderby_clauseContext(_ctx, getState());
enterRule(_localctx, 22, RULE_orderby_clause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(128);
match(ORDER);
setState(129);
match(BY);
setState(130);
orderby_item();
setState(135);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(131);
match(COMMA);
setState(132);
orderby_item();
}
}
setState(137);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Orderby_itemContext extends ParserRuleContext {
public State_field_path_expressionContext state_field_path_expression() {
return getRuleContext(State_field_path_expressionContext.class,0);
}
public TerminalNode ASC() { return getToken(JDQLParser.ASC, 0); }
public TerminalNode DESC() { return getToken(JDQLParser.DESC, 0); }
public Orderby_itemContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_orderby_item; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterOrderby_item(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitOrderby_item(this);
}
}
public final Orderby_itemContext orderby_item() throws RecognitionException {
Orderby_itemContext _localctx = new Orderby_itemContext(_ctx, getState());
enterRule(_localctx, 24, RULE_orderby_item);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(138);
state_field_path_expression();
setState(140);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ASC || _la==DESC) {
{
setState(139);
_la = _input.LA(1);
if ( !(_la==ASC || _la==DESC) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Conditional_expressionContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(JDQLParser.LPAREN, 0); }
public List conditional_expression() {
return getRuleContexts(Conditional_expressionContext.class);
}
public Conditional_expressionContext conditional_expression(int i) {
return getRuleContext(Conditional_expressionContext.class,i);
}
public TerminalNode RPAREN() { return getToken(JDQLParser.RPAREN, 0); }
public Null_comparison_expressionContext null_comparison_expression() {
return getRuleContext(Null_comparison_expressionContext.class,0);
}
public In_expressionContext in_expression() {
return getRuleContext(In_expressionContext.class,0);
}
public Between_expressionContext between_expression() {
return getRuleContext(Between_expressionContext.class,0);
}
public Like_expressionContext like_expression() {
return getRuleContext(Like_expressionContext.class,0);
}
public Comparison_expressionContext comparison_expression() {
return getRuleContext(Comparison_expressionContext.class,0);
}
public TerminalNode NOT() { return getToken(JDQLParser.NOT, 0); }
public TerminalNode AND() { return getToken(JDQLParser.AND, 0); }
public TerminalNode OR() { return getToken(JDQLParser.OR, 0); }
public Conditional_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_conditional_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterConditional_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitConditional_expression(this);
}
}
public final Conditional_expressionContext conditional_expression() throws RecognitionException {
return conditional_expression(0);
}
private Conditional_expressionContext conditional_expression(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
Conditional_expressionContext _localctx = new Conditional_expressionContext(_ctx, _parentState);
Conditional_expressionContext _prevctx = _localctx;
int _startState = 26;
enterRecursionRule(_localctx, 26, RULE_conditional_expression, _p);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(154);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) {
case 1:
{
setState(143);
match(LPAREN);
setState(144);
conditional_expression(0);
setState(145);
match(RPAREN);
}
break;
case 2:
{
setState(147);
null_comparison_expression();
}
break;
case 3:
{
setState(148);
in_expression();
}
break;
case 4:
{
setState(149);
between_expression();
}
break;
case 5:
{
setState(150);
like_expression();
}
break;
case 6:
{
setState(151);
comparison_expression();
}
break;
case 7:
{
setState(152);
match(NOT);
setState(153);
conditional_expression(3);
}
break;
}
_ctx.stop = _input.LT(-1);
setState(164);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,15,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
setState(162);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
case 1:
{
_localctx = new Conditional_expressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_conditional_expression);
setState(156);
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
setState(157);
match(AND);
setState(158);
conditional_expression(3);
}
break;
case 2:
{
_localctx = new Conditional_expressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_conditional_expression);
setState(159);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
setState(160);
match(OR);
setState(161);
conditional_expression(2);
}
break;
}
}
}
setState(166);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,15,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Comparison_expressionContext extends ParserRuleContext {
public List scalar_expression() {
return getRuleContexts(Scalar_expressionContext.class);
}
public Scalar_expressionContext scalar_expression(int i) {
return getRuleContext(Scalar_expressionContext.class,i);
}
public Comparison_operatorContext comparison_operator() {
return getRuleContext(Comparison_operatorContext.class,0);
}
public Comparison_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_comparison_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterComparison_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitComparison_expression(this);
}
}
public final Comparison_expressionContext comparison_expression() throws RecognitionException {
Comparison_expressionContext _localctx = new Comparison_expressionContext(_ctx, getState());
enterRule(_localctx, 28, RULE_comparison_expression);
try {
enterOuterAlt(_localctx, 1);
{
setState(167);
scalar_expression(0);
setState(168);
comparison_operator();
setState(169);
scalar_expression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Comparison_operatorContext extends ParserRuleContext {
public TerminalNode EQ() { return getToken(JDQLParser.EQ, 0); }
public TerminalNode GT() { return getToken(JDQLParser.GT, 0); }
public TerminalNode GTEQ() { return getToken(JDQLParser.GTEQ, 0); }
public TerminalNode LT() { return getToken(JDQLParser.LT, 0); }
public TerminalNode LTEQ() { return getToken(JDQLParser.LTEQ, 0); }
public TerminalNode NEQ() { return getToken(JDQLParser.NEQ, 0); }
public Comparison_operatorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_comparison_operator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterComparison_operator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitComparison_operator(this);
}
}
public final Comparison_operatorContext comparison_operator() throws RecognitionException {
Comparison_operatorContext _localctx = new Comparison_operatorContext(_ctx, getState());
enterRule(_localctx, 30, RULE_comparison_operator);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(171);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 277076930199552L) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Between_expressionContext extends ParserRuleContext {
public List scalar_expression() {
return getRuleContexts(Scalar_expressionContext.class);
}
public Scalar_expressionContext scalar_expression(int i) {
return getRuleContext(Scalar_expressionContext.class,i);
}
public TerminalNode BETWEEN() { return getToken(JDQLParser.BETWEEN, 0); }
public TerminalNode AND() { return getToken(JDQLParser.AND, 0); }
public TerminalNode NOT() { return getToken(JDQLParser.NOT, 0); }
public Between_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_between_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterBetween_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitBetween_expression(this);
}
}
public final Between_expressionContext between_expression() throws RecognitionException {
Between_expressionContext _localctx = new Between_expressionContext(_ctx, getState());
enterRule(_localctx, 32, RULE_between_expression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(173);
scalar_expression(0);
setState(175);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(174);
match(NOT);
}
}
setState(177);
match(BETWEEN);
setState(178);
scalar_expression(0);
setState(179);
match(AND);
setState(180);
scalar_expression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Like_expressionContext extends ParserRuleContext {
public Scalar_expressionContext scalar_expression() {
return getRuleContext(Scalar_expressionContext.class,0);
}
public TerminalNode LIKE() { return getToken(JDQLParser.LIKE, 0); }
public TerminalNode STRING() { return getToken(JDQLParser.STRING, 0); }
public Input_parameterContext input_parameter() {
return getRuleContext(Input_parameterContext.class,0);
}
public TerminalNode NOT() { return getToken(JDQLParser.NOT, 0); }
public Like_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_like_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterLike_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitLike_expression(this);
}
}
public final Like_expressionContext like_expression() throws RecognitionException {
Like_expressionContext _localctx = new Like_expressionContext(_ctx, getState());
enterRule(_localctx, 34, RULE_like_expression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(182);
scalar_expression(0);
setState(184);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(183);
match(NOT);
}
}
setState(186);
match(LIKE);
setState(189);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
{
setState(187);
match(STRING);
}
break;
case COLON:
case QUESTION:
{
setState(188);
input_parameter();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class In_expressionContext extends ParserRuleContext {
public State_field_path_expressionContext state_field_path_expression() {
return getRuleContext(State_field_path_expressionContext.class,0);
}
public TerminalNode IN() { return getToken(JDQLParser.IN, 0); }
public TerminalNode LPAREN() { return getToken(JDQLParser.LPAREN, 0); }
public List in_item() {
return getRuleContexts(In_itemContext.class);
}
public In_itemContext in_item(int i) {
return getRuleContext(In_itemContext.class,i);
}
public TerminalNode RPAREN() { return getToken(JDQLParser.RPAREN, 0); }
public TerminalNode NOT() { return getToken(JDQLParser.NOT, 0); }
public List COMMA() { return getTokens(JDQLParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JDQLParser.COMMA, i);
}
public In_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_in_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterIn_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitIn_expression(this);
}
}
public final In_expressionContext in_expression() throws RecognitionException {
In_expressionContext _localctx = new In_expressionContext(_ctx, getState());
enterRule(_localctx, 36, RULE_in_expression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(191);
state_field_path_expression();
setState(193);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(192);
match(NOT);
}
}
setState(195);
match(IN);
setState(196);
match(LPAREN);
setState(197);
in_item();
setState(202);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(198);
match(COMMA);
setState(199);
in_item();
}
}
setState(204);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(205);
match(RPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class In_itemContext extends ParserRuleContext {
public LiteralContext literal() {
return getRuleContext(LiteralContext.class,0);
}
public Enum_literalContext enum_literal() {
return getRuleContext(Enum_literalContext.class,0);
}
public Input_parameterContext input_parameter() {
return getRuleContext(Input_parameterContext.class,0);
}
public In_itemContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_in_item; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterIn_item(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitIn_item(this);
}
}
public final In_itemContext in_item() throws RecognitionException {
In_itemContext _localctx = new In_itemContext(_ctx, getState());
enterRule(_localctx, 38, RULE_in_item);
try {
setState(210);
_errHandler.sync(this);
switch (_input.LA(1)) {
case STRING:
case INTEGER:
case DOUBLE:
enterOuterAlt(_localctx, 1);
{
setState(207);
literal();
}
break;
case FULLY_QUALIFIED_IDENTIFIER:
case IDENTIFIER:
enterOuterAlt(_localctx, 2);
{
setState(208);
enum_literal();
}
break;
case COLON:
case QUESTION:
enterOuterAlt(_localctx, 3);
{
setState(209);
input_parameter();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Null_comparison_expressionContext extends ParserRuleContext {
public State_field_path_expressionContext state_field_path_expression() {
return getRuleContext(State_field_path_expressionContext.class,0);
}
public TerminalNode IS() { return getToken(JDQLParser.IS, 0); }
public TerminalNode NULL() { return getToken(JDQLParser.NULL, 0); }
public TerminalNode NOT() { return getToken(JDQLParser.NOT, 0); }
public Null_comparison_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_null_comparison_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterNull_comparison_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitNull_comparison_expression(this);
}
}
public final Null_comparison_expressionContext null_comparison_expression() throws RecognitionException {
Null_comparison_expressionContext _localctx = new Null_comparison_expressionContext(_ctx, getState());
enterRule(_localctx, 40, RULE_null_comparison_expression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(212);
state_field_path_expression();
setState(213);
match(IS);
setState(215);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==NOT) {
{
setState(214);
match(NOT);
}
}
setState(217);
match(NULL);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Scalar_expressionContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(JDQLParser.LPAREN, 0); }
public List scalar_expression() {
return getRuleContexts(Scalar_expressionContext.class);
}
public Scalar_expressionContext scalar_expression(int i) {
return getRuleContext(Scalar_expressionContext.class,i);
}
public TerminalNode RPAREN() { return getToken(JDQLParser.RPAREN, 0); }
public Primary_expressionContext primary_expression() {
return getRuleContext(Primary_expressionContext.class,0);
}
public TerminalNode MUL() { return getToken(JDQLParser.MUL, 0); }
public TerminalNode DIV() { return getToken(JDQLParser.DIV, 0); }
public TerminalNode PLUS() { return getToken(JDQLParser.PLUS, 0); }
public TerminalNode MINUS() { return getToken(JDQLParser.MINUS, 0); }
public TerminalNode CONCAT() { return getToken(JDQLParser.CONCAT, 0); }
public Scalar_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_scalar_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterScalar_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitScalar_expression(this);
}
}
public final Scalar_expressionContext scalar_expression() throws RecognitionException {
return scalar_expression(0);
}
private Scalar_expressionContext scalar_expression(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
Scalar_expressionContext _localctx = new Scalar_expressionContext(_ctx, _parentState);
Scalar_expressionContext _prevctx = _localctx;
int _startState = 42;
enterRecursionRule(_localctx, 42, RULE_scalar_expression, _p);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(225);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LPAREN:
{
setState(220);
match(LPAREN);
setState(221);
scalar_expression(0);
setState(222);
match(RPAREN);
}
break;
case T__0:
case T__1:
case T__2:
case T__3:
case T__4:
case T__5:
case T__6:
case T__7:
case T__8:
case T__9:
case T__10:
case T__11:
case TRUE:
case FALSE:
case LOCAL_DATE:
case LOCAL_DATETIME:
case LOCAL_TIME:
case COLON:
case QUESTION:
case FULLY_QUALIFIED_IDENTIFIER:
case IDENTIFIER:
case STRING:
case INTEGER:
case DOUBLE:
{
setState(224);
primary_expression();
}
break;
default:
throw new NoViableAltException(this);
}
_ctx.stop = _input.LT(-1);
setState(244);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,25,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
setState(242);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,24,_ctx) ) {
case 1:
{
_localctx = new Scalar_expressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_scalar_expression);
setState(227);
if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)");
setState(228);
match(MUL);
setState(229);
scalar_expression(6);
}
break;
case 2:
{
_localctx = new Scalar_expressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_scalar_expression);
setState(230);
if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)");
setState(231);
match(DIV);
setState(232);
scalar_expression(5);
}
break;
case 3:
{
_localctx = new Scalar_expressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_scalar_expression);
setState(233);
if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
setState(234);
match(PLUS);
setState(235);
scalar_expression(4);
}
break;
case 4:
{
_localctx = new Scalar_expressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_scalar_expression);
setState(236);
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
setState(237);
match(MINUS);
setState(238);
scalar_expression(3);
}
break;
case 5:
{
_localctx = new Scalar_expressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_scalar_expression);
setState(239);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
setState(240);
match(CONCAT);
setState(241);
scalar_expression(2);
}
break;
}
}
}
setState(246);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,25,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Primary_expressionContext extends ParserRuleContext {
public Function_expressionContext function_expression() {
return getRuleContext(Function_expressionContext.class,0);
}
public Special_expressionContext special_expression() {
return getRuleContext(Special_expressionContext.class,0);
}
public State_field_path_expressionContext state_field_path_expression() {
return getRuleContext(State_field_path_expressionContext.class,0);
}
public Enum_literalContext enum_literal() {
return getRuleContext(Enum_literalContext.class,0);
}
public Input_parameterContext input_parameter() {
return getRuleContext(Input_parameterContext.class,0);
}
public LiteralContext literal() {
return getRuleContext(LiteralContext.class,0);
}
public Primary_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_primary_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterPrimary_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitPrimary_expression(this);
}
}
public final Primary_expressionContext primary_expression() throws RecognitionException {
Primary_expressionContext _localctx = new Primary_expressionContext(_ctx, getState());
enterRule(_localctx, 44, RULE_primary_expression);
try {
setState(253);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(247);
function_expression();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(248);
special_expression();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(249);
state_field_path_expression();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(250);
enum_literal();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(251);
input_parameter();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(252);
literal();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Function_expressionContext extends ParserRuleContext {
public List scalar_expression() {
return getRuleContexts(Scalar_expressionContext.class);
}
public Scalar_expressionContext scalar_expression(int i) {
return getRuleContext(Scalar_expressionContext.class,i);
}
public TerminalNode RPAREN() { return getToken(JDQLParser.RPAREN, 0); }
public TerminalNode COMMA() { return getToken(JDQLParser.COMMA, 0); }
public Function_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_function_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterFunction_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitFunction_expression(this);
}
}
public final Function_expressionContext function_expression() throws RecognitionException {
Function_expressionContext _localctx = new Function_expressionContext(_ctx, getState());
enterRule(_localctx, 46, RULE_function_expression);
int _la;
try {
setState(283);
_errHandler.sync(this);
switch (_input.LA(1)) {
case T__0:
case T__1:
enterOuterAlt(_localctx, 1);
{
setState(255);
_la = _input.LA(1);
if ( !(_la==T__0 || _la==T__1) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(256);
scalar_expression(0);
setState(257);
match(RPAREN);
}
break;
case T__2:
case T__3:
enterOuterAlt(_localctx, 2);
{
setState(259);
_la = _input.LA(1);
if ( !(_la==T__2 || _la==T__3) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(260);
scalar_expression(0);
setState(261);
match(RPAREN);
}
break;
case T__4:
case T__5:
enterOuterAlt(_localctx, 3);
{
setState(263);
_la = _input.LA(1);
if ( !(_la==T__4 || _la==T__5) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(264);
scalar_expression(0);
setState(265);
match(RPAREN);
}
break;
case T__6:
case T__7:
enterOuterAlt(_localctx, 4);
{
setState(267);
_la = _input.LA(1);
if ( !(_la==T__6 || _la==T__7) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(268);
scalar_expression(0);
setState(269);
match(RPAREN);
}
break;
case T__8:
case T__9:
enterOuterAlt(_localctx, 5);
{
setState(271);
_la = _input.LA(1);
if ( !(_la==T__8 || _la==T__9) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(272);
scalar_expression(0);
setState(273);
match(COMMA);
setState(274);
scalar_expression(0);
setState(275);
match(RPAREN);
}
break;
case T__10:
case T__11:
enterOuterAlt(_localctx, 6);
{
setState(277);
_la = _input.LA(1);
if ( !(_la==T__10 || _la==T__11) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(278);
scalar_expression(0);
setState(279);
match(COMMA);
setState(280);
scalar_expression(0);
setState(281);
match(RPAREN);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Special_expressionContext extends ParserRuleContext {
public TerminalNode LOCAL_DATE() { return getToken(JDQLParser.LOCAL_DATE, 0); }
public TerminalNode LOCAL_DATETIME() { return getToken(JDQLParser.LOCAL_DATETIME, 0); }
public TerminalNode LOCAL_TIME() { return getToken(JDQLParser.LOCAL_TIME, 0); }
public TerminalNode TRUE() { return getToken(JDQLParser.TRUE, 0); }
public TerminalNode FALSE() { return getToken(JDQLParser.FALSE, 0); }
public Special_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_special_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterSpecial_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitSpecial_expression(this);
}
}
public final Special_expressionContext special_expression() throws RecognitionException {
Special_expressionContext _localctx = new Special_expressionContext(_ctx, getState());
enterRule(_localctx, 48, RULE_special_expression);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(285);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 30266097664L) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class State_field_path_expressionContext extends ParserRuleContext {
public List IDENTIFIER() { return getTokens(JDQLParser.IDENTIFIER); }
public TerminalNode IDENTIFIER(int i) {
return getToken(JDQLParser.IDENTIFIER, i);
}
public List DOT() { return getTokens(JDQLParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(JDQLParser.DOT, i);
}
public TerminalNode FULLY_QUALIFIED_IDENTIFIER() { return getToken(JDQLParser.FULLY_QUALIFIED_IDENTIFIER, 0); }
public State_field_path_expressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_state_field_path_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterState_field_path_expression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitState_field_path_expression(this);
}
}
public final State_field_path_expressionContext state_field_path_expression() throws RecognitionException {
State_field_path_expressionContext _localctx = new State_field_path_expressionContext(_ctx, getState());
enterRule(_localctx, 50, RULE_state_field_path_expression);
try {
int _alt;
setState(296);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(287);
match(IDENTIFIER);
setState(292);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,28,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(288);
match(DOT);
setState(289);
match(IDENTIFIER);
}
}
}
setState(294);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,28,_ctx);
}
}
break;
case FULLY_QUALIFIED_IDENTIFIER:
enterOuterAlt(_localctx, 2);
{
setState(295);
match(FULLY_QUALIFIED_IDENTIFIER);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Entity_nameContext extends ParserRuleContext {
public TerminalNode IDENTIFIER() { return getToken(JDQLParser.IDENTIFIER, 0); }
public Entity_nameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_entity_name; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterEntity_name(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitEntity_name(this);
}
}
public final Entity_nameContext entity_name() throws RecognitionException {
Entity_nameContext _localctx = new Entity_nameContext(_ctx, getState());
enterRule(_localctx, 52, RULE_entity_name);
try {
enterOuterAlt(_localctx, 1);
{
setState(298);
match(IDENTIFIER);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Enum_literalContext extends ParserRuleContext {
public List IDENTIFIER() { return getTokens(JDQLParser.IDENTIFIER); }
public TerminalNode IDENTIFIER(int i) {
return getToken(JDQLParser.IDENTIFIER, i);
}
public List DOT() { return getTokens(JDQLParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(JDQLParser.DOT, i);
}
public TerminalNode FULLY_QUALIFIED_IDENTIFIER() { return getToken(JDQLParser.FULLY_QUALIFIED_IDENTIFIER, 0); }
public Enum_literalContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enum_literal; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterEnum_literal(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitEnum_literal(this);
}
}
public final Enum_literalContext enum_literal() throws RecognitionException {
Enum_literalContext _localctx = new Enum_literalContext(_ctx, getState());
enterRule(_localctx, 54, RULE_enum_literal);
try {
int _alt;
setState(309);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(300);
match(IDENTIFIER);
setState(305);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,30,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(301);
match(DOT);
setState(302);
match(IDENTIFIER);
}
}
}
setState(307);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,30,_ctx);
}
}
break;
case FULLY_QUALIFIED_IDENTIFIER:
enterOuterAlt(_localctx, 2);
{
setState(308);
match(FULLY_QUALIFIED_IDENTIFIER);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Input_parameterContext extends ParserRuleContext {
public TerminalNode COLON() { return getToken(JDQLParser.COLON, 0); }
public TerminalNode IDENTIFIER() { return getToken(JDQLParser.IDENTIFIER, 0); }
public TerminalNode QUESTION() { return getToken(JDQLParser.QUESTION, 0); }
public TerminalNode INTEGER() { return getToken(JDQLParser.INTEGER, 0); }
public Input_parameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_input_parameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterInput_parameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitInput_parameter(this);
}
}
public final Input_parameterContext input_parameter() throws RecognitionException {
Input_parameterContext _localctx = new Input_parameterContext(_ctx, getState());
enterRule(_localctx, 56, RULE_input_parameter);
try {
setState(315);
_errHandler.sync(this);
switch (_input.LA(1)) {
case COLON:
enterOuterAlt(_localctx, 1);
{
setState(311);
match(COLON);
setState(312);
match(IDENTIFIER);
}
break;
case QUESTION:
enterOuterAlt(_localctx, 2);
{
setState(313);
match(QUESTION);
setState(314);
match(INTEGER);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class LiteralContext extends ParserRuleContext {
public TerminalNode STRING() { return getToken(JDQLParser.STRING, 0); }
public TerminalNode INTEGER() { return getToken(JDQLParser.INTEGER, 0); }
public TerminalNode DOUBLE() { return getToken(JDQLParser.DOUBLE, 0); }
public LiteralContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_literal; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).enterLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JDQLListener ) ((JDQLListener)listener).exitLiteral(this);
}
}
public final LiteralContext literal() throws RecognitionException {
LiteralContext _localctx = new LiteralContext(_ctx, getState());
enterRule(_localctx, 58, RULE_literal);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(317);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & -2305843009213693952L) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
switch (ruleIndex) {
case 13:
return conditional_expression_sempred((Conditional_expressionContext)_localctx, predIndex);
case 21:
return scalar_expression_sempred((Scalar_expressionContext)_localctx, predIndex);
}
return true;
}
private boolean conditional_expression_sempred(Conditional_expressionContext _localctx, int predIndex) {
switch (predIndex) {
case 0:
return precpred(_ctx, 2);
case 1:
return precpred(_ctx, 1);
}
return true;
}
private boolean scalar_expression_sempred(Scalar_expressionContext _localctx, int predIndex) {
switch (predIndex) {
case 2:
return precpred(_ctx, 5);
case 3:
return precpred(_ctx, 4);
case 4:
return precpred(_ctx, 3);
case 5:
return precpred(_ctx, 2);
case 6:
return precpred(_ctx, 1);
}
return true;
}
public static final String _serializedATN =
"\u0004\u0001B\u0140\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+
"\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004\u0002"+
"\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007\u0002"+
"\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b\u0002"+
"\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002\u000f\u0007\u000f"+
"\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011\u0002\u0012\u0007\u0012"+
"\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014\u0002\u0015\u0007\u0015"+
"\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017\u0002\u0018\u0007\u0018"+
"\u0002\u0019\u0007\u0019\u0002\u001a\u0007\u001a\u0002\u001b\u0007\u001b"+
"\u0002\u001c\u0007\u001c\u0002\u001d\u0007\u001d\u0001\u0000\u0001\u0000"+
"\u0001\u0000\u0003\u0000@\b\u0000\u0001\u0001\u0003\u0001C\b\u0001\u0001"+
"\u0001\u0003\u0001F\b\u0001\u0001\u0001\u0003\u0001I\b\u0001\u0001\u0001"+
"\u0003\u0001L\b\u0001\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002"+
"\u0003\u0002R\b\u0002\u0001\u0003\u0001\u0003\u0001\u0003\u0003\u0003"+
"W\b\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005"+
"\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0005\u0006"+
"c\b\u0006\n\u0006\f\u0006f\t\u0006\u0001\u0007\u0001\u0007\u0001\u0007"+
"\u0001\u0007\u0003\u0007l\b\u0007\u0001\b\u0001\b\u0001\b\u0001\t\u0001"+
"\t\u0001\t\u0005\tt\b\t\n\t\f\tw\t\t\u0001\t\u0003\tz\b\t\u0001\n\u0001"+
"\n\u0001\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b"+
"\u0001\u000b\u0005\u000b\u0086\b\u000b\n\u000b\f\u000b\u0089\t\u000b\u0001"+
"\f\u0001\f\u0003\f\u008d\b\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+
"\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0003\r\u009b\b\r\u0001"+
"\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0005\r\u00a3\b\r\n\r\f\r\u00a6"+
"\t\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001"+
"\u000f\u0001\u0010\u0001\u0010\u0003\u0010\u00b0\b\u0010\u0001\u0010\u0001"+
"\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0003"+
"\u0011\u00b9\b\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0003\u0011\u00be"+
"\b\u0011\u0001\u0012\u0001\u0012\u0003\u0012\u00c2\b\u0012\u0001\u0012"+
"\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0005\u0012\u00c9\b\u0012"+
"\n\u0012\f\u0012\u00cc\t\u0012\u0001\u0012\u0001\u0012\u0001\u0013\u0001"+
"\u0013\u0001\u0013\u0003\u0013\u00d3\b\u0013\u0001\u0014\u0001\u0014\u0001"+
"\u0014\u0003\u0014\u00d8\b\u0014\u0001\u0014\u0001\u0014\u0001\u0015\u0001"+
"\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0003\u0015\u00e2"+
"\b\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+
"\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+
"\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0005\u0015\u00f3\b\u0015\n"+
"\u0015\f\u0015\u00f6\t\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+
"\u0016\u0001\u0016\u0001\u0016\u0003\u0016\u00fe\b\u0016\u0001\u0017\u0001"+
"\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001"+
"\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001"+
"\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001"+
"\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001"+
"\u0017\u0001\u0017\u0001\u0017\u0003\u0017\u011c\b\u0017\u0001\u0018\u0001"+
"\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0005\u0019\u0123\b\u0019\n"+
"\u0019\f\u0019\u0126\t\u0019\u0001\u0019\u0003\u0019\u0129\b\u0019\u0001"+
"\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0005\u001b\u0130"+
"\b\u001b\n\u001b\f\u001b\u0133\t\u001b\u0001\u001b\u0003\u001b\u0136\b"+
"\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0003\u001c\u013c"+
"\b\u001c\u0001\u001d\u0001\u001d\u0001\u001d\u0000\u0002\u001a*\u001e"+
"\u0000\u0002\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a"+
"\u001c\u001e \"$&(*,.02468:\u0000\n\u0001\u0000\u001c\u001d\u0001\u0000"+
"*/\u0001\u0000\u0001\u0002\u0001\u0000\u0003\u0004\u0001\u0000\u0005\u0006"+
"\u0001\u0000\u0007\b\u0001\u0000\t\n\u0001\u0000\u000b\f\u0002\u0000\u001a"+
"\u001b \"\u0001\u0000=?\u0154\u0000?\u0001\u0000\u0000\u0000\u0002B\u0001"+
"\u0000\u0000\u0000\u0004M\u0001\u0000\u0000\u0000\u0006S\u0001\u0000\u0000"+
"\u0000\bX\u0001\u0000\u0000\u0000\n[\u0001\u0000\u0000\u0000\f^\u0001"+
"\u0000\u0000\u0000\u000eg\u0001\u0000\u0000\u0000\u0010m\u0001\u0000\u0000"+
"\u0000\u0012y\u0001\u0000\u0000\u0000\u0014{\u0001\u0000\u0000\u0000\u0016"+
"\u0080\u0001\u0000\u0000\u0000\u0018\u008a\u0001\u0000\u0000\u0000\u001a"+
"\u009a\u0001\u0000\u0000\u0000\u001c\u00a7\u0001\u0000\u0000\u0000\u001e"+
"\u00ab\u0001\u0000\u0000\u0000 \u00ad\u0001\u0000\u0000\u0000\"\u00b6"+
"\u0001\u0000\u0000\u0000$\u00bf\u0001\u0000\u0000\u0000&\u00d2\u0001\u0000"+
"\u0000\u0000(\u00d4\u0001\u0000\u0000\u0000*\u00e1\u0001\u0000\u0000\u0000"+
",\u00fd\u0001\u0000\u0000\u0000.\u011b\u0001\u0000\u0000\u00000\u011d"+
"\u0001\u0000\u0000\u00002\u0128\u0001\u0000\u0000\u00004\u012a\u0001\u0000"+
"\u0000\u00006\u0135\u0001\u0000\u0000\u00008\u013b\u0001\u0000\u0000\u0000"+
":\u013d\u0001\u0000\u0000\u0000<@\u0003\u0002\u0001\u0000=@\u0003\u0004"+
"\u0002\u0000>@\u0003\u0006\u0003\u0000?<\u0001\u0000\u0000\u0000?=\u0001"+
"\u0000\u0000\u0000?>\u0001\u0000\u0000\u0000@\u0001\u0001\u0000\u0000"+
"\u0000AC\u0003\u0010\b\u0000BA\u0001\u0000\u0000\u0000BC\u0001\u0000\u0000"+
"\u0000CE\u0001\u0000\u0000\u0000DF\u0003\b\u0004\u0000ED\u0001\u0000\u0000"+
"\u0000EF\u0001\u0000\u0000\u0000FH\u0001\u0000\u0000\u0000GI\u0003\n\u0005"+
"\u0000HG\u0001\u0000\u0000\u0000HI\u0001\u0000\u0000\u0000IK\u0001\u0000"+
"\u0000\u0000JL\u0003\u0016\u000b\u0000KJ\u0001\u0000\u0000\u0000KL\u0001"+
"\u0000\u0000\u0000L\u0003\u0001\u0000\u0000\u0000MN\u0005\u000e\u0000"+
"\u0000NO\u00034\u001a\u0000OQ\u0003\f\u0006\u0000PR\u0003\n\u0005\u0000"+
"QP\u0001\u0000\u0000\u0000QR\u0001\u0000\u0000\u0000R\u0005\u0001\u0000"+
"\u0000\u0000ST\u0005\u000f\u0000\u0000TV\u0003\b\u0004\u0000UW\u0003\n"+
"\u0005\u0000VU\u0001\u0000\u0000\u0000VW\u0001\u0000\u0000\u0000W\u0007"+
"\u0001\u0000\u0000\u0000XY\u0005\u0010\u0000\u0000YZ\u00034\u001a\u0000"+
"Z\t\u0001\u0000\u0000\u0000[\\\u0005\u0011\u0000\u0000\\]\u0003\u001a"+
"\r\u0000]\u000b\u0001\u0000\u0000\u0000^_\u0005\u0012\u0000\u0000_d\u0003"+
"\u000e\u0007\u0000`a\u00055\u0000\u0000ac\u0003\u000e\u0007\u0000b`\u0001"+
"\u0000\u0000\u0000cf\u0001\u0000\u0000\u0000db\u0001\u0000\u0000\u0000"+
"de\u0001\u0000\u0000\u0000e\r\u0001\u0000\u0000\u0000fd\u0001\u0000\u0000"+
"\u0000gh\u00032\u0019\u0000hk\u0005*\u0000\u0000il\u0003*\u0015\u0000"+
"jl\u0005\u0018\u0000\u0000ki\u0001\u0000\u0000\u0000kj\u0001\u0000\u0000"+
"\u0000l\u000f\u0001\u0000\u0000\u0000mn\u0005\r\u0000\u0000no\u0003\u0012"+
"\t\u0000o\u0011\u0001\u0000\u0000\u0000pu\u00032\u0019\u0000qr\u00055"+
"\u0000\u0000rt\u00032\u0019\u0000sq\u0001\u0000\u0000\u0000tw\u0001\u0000"+
"\u0000\u0000us\u0001\u0000\u0000\u0000uv\u0001\u0000\u0000\u0000vz\u0001"+
"\u0000\u0000\u0000wu\u0001\u0000\u0000\u0000xz\u0003\u0014\n\u0000yp\u0001"+
"\u0000\u0000\u0000yx\u0001\u0000\u0000\u0000z\u0013\u0001\u0000\u0000"+
"\u0000{|\u0005\u0019\u0000\u0000|}\u00057\u0000\u0000}~\u0005%\u0000\u0000"+
"~\u007f\u00058\u0000\u0000\u007f\u0015\u0001\u0000\u0000\u0000\u0080\u0081"+
"\u0005\u0013\u0000\u0000\u0081\u0082\u0005\u0014\u0000\u0000\u0082\u0087"+
"\u0003\u0018\f\u0000\u0083\u0084\u00055\u0000\u0000\u0084\u0086\u0003"+
"\u0018\f\u0000\u0085\u0083\u0001\u0000\u0000\u0000\u0086\u0089\u0001\u0000"+
"\u0000\u0000\u0087\u0085\u0001\u0000\u0000\u0000\u0087\u0088\u0001\u0000"+
"\u0000\u0000\u0088\u0017\u0001\u0000\u0000\u0000\u0089\u0087\u0001\u0000"+
"\u0000\u0000\u008a\u008c\u00032\u0019\u0000\u008b\u008d\u0007\u0000\u0000"+
"\u0000\u008c\u008b\u0001\u0000\u0000\u0000\u008c\u008d\u0001\u0000\u0000"+
"\u0000\u008d\u0019\u0001\u0000\u0000\u0000\u008e\u008f\u0006\r\uffff\uffff"+
"\u0000\u008f\u0090\u00057\u0000\u0000\u0090\u0091\u0003\u001a\r\u0000"+
"\u0091\u0092\u00058\u0000\u0000\u0092\u009b\u0001\u0000\u0000\u0000\u0093"+
"\u009b\u0003(\u0014\u0000\u0094\u009b\u0003$\u0012\u0000\u0095\u009b\u0003"+
" \u0010\u0000\u0096\u009b\u0003\"\u0011\u0000\u0097\u009b\u0003\u001c"+
"\u000e\u0000\u0098\u0099\u0005\u0015\u0000\u0000\u0099\u009b\u0003\u001a"+
"\r\u0003\u009a\u008e\u0001\u0000\u0000\u0000\u009a\u0093\u0001\u0000\u0000"+
"\u0000\u009a\u0094\u0001\u0000\u0000\u0000\u009a\u0095\u0001\u0000\u0000"+
"\u0000\u009a\u0096\u0001\u0000\u0000\u0000\u009a\u0097\u0001\u0000\u0000"+
"\u0000\u009a\u0098\u0001\u0000\u0000\u0000\u009b\u00a4\u0001\u0000\u0000"+
"\u0000\u009c\u009d\n\u0002\u0000\u0000\u009d\u009e\u0005\u001e\u0000\u0000"+
"\u009e\u00a3\u0003\u001a\r\u0003\u009f\u00a0\n\u0001\u0000\u0000\u00a0"+
"\u00a1\u0005\u001f\u0000\u0000\u00a1\u00a3\u0003\u001a\r\u0002\u00a2\u009c"+
"\u0001\u0000\u0000\u0000\u00a2\u009f\u0001\u0000\u0000\u0000\u00a3\u00a6"+
"\u0001\u0000\u0000\u0000\u00a4\u00a2\u0001\u0000\u0000\u0000\u00a4\u00a5"+
"\u0001\u0000\u0000\u0000\u00a5\u001b\u0001\u0000\u0000\u0000\u00a6\u00a4"+
"\u0001\u0000\u0000\u0000\u00a7\u00a8\u0003*\u0015\u0000\u00a8\u00a9\u0003"+
"\u001e\u000f\u0000\u00a9\u00aa\u0003*\u0015\u0000\u00aa\u001d\u0001\u0000"+
"\u0000\u0000\u00ab\u00ac\u0007\u0001\u0000\u0000\u00ac\u001f\u0001\u0000"+
"\u0000\u0000\u00ad\u00af\u0003*\u0015\u0000\u00ae\u00b0\u0005\u0015\u0000"+
"\u0000\u00af\u00ae\u0001\u0000\u0000\u0000\u00af\u00b0\u0001\u0000\u0000"+
"\u0000\u00b0\u00b1\u0001\u0000\u0000\u0000\u00b1\u00b2\u0005#\u0000\u0000"+
"\u00b2\u00b3\u0003*\u0015\u0000\u00b3\u00b4\u0005\u001e\u0000\u0000\u00b4"+
"\u00b5\u0003*\u0015\u0000\u00b5!\u0001\u0000\u0000\u0000\u00b6\u00b8\u0003"+
"*\u0015\u0000\u00b7\u00b9\u0005\u0015\u0000\u0000\u00b8\u00b7\u0001\u0000"+
"\u0000\u0000\u00b8\u00b9\u0001\u0000\u0000\u0000\u00b9\u00ba\u0001\u0000"+
"\u0000\u0000\u00ba\u00bd\u0005$\u0000\u0000\u00bb\u00be\u0005=\u0000\u0000"+
"\u00bc\u00be\u00038\u001c\u0000\u00bd\u00bb\u0001\u0000\u0000\u0000\u00bd"+
"\u00bc\u0001\u0000\u0000\u0000\u00be#\u0001\u0000\u0000\u0000\u00bf\u00c1"+
"\u00032\u0019\u0000\u00c0\u00c2\u0005\u0015\u0000\u0000\u00c1\u00c0\u0001"+
"\u0000\u0000\u0000\u00c1\u00c2\u0001\u0000\u0000\u0000\u00c2\u00c3\u0001"+
"\u0000\u0000\u0000\u00c3\u00c4\u0005\u0016\u0000\u0000\u00c4\u00c5\u0005"+
"7\u0000\u0000\u00c5\u00ca\u0003&\u0013\u0000\u00c6\u00c7\u00055\u0000"+
"\u0000\u00c7\u00c9\u0003&\u0013\u0000\u00c8\u00c6\u0001\u0000\u0000\u0000"+
"\u00c9\u00cc\u0001\u0000\u0000\u0000\u00ca\u00c8\u0001\u0000\u0000\u0000"+
"\u00ca\u00cb\u0001\u0000\u0000\u0000\u00cb\u00cd\u0001\u0000\u0000\u0000"+
"\u00cc\u00ca\u0001\u0000\u0000\u0000\u00cd\u00ce\u00058\u0000\u0000\u00ce"+
"%\u0001\u0000\u0000\u0000\u00cf\u00d3\u0003:\u001d\u0000\u00d0\u00d3\u0003"+
"6\u001b\u0000\u00d1\u00d3\u00038\u001c\u0000\u00d2\u00cf\u0001\u0000\u0000"+
"\u0000\u00d2\u00d0\u0001\u0000\u0000\u0000\u00d2\u00d1\u0001\u0000\u0000"+
"\u0000\u00d3\'\u0001\u0000\u0000\u0000\u00d4\u00d5\u00032\u0019\u0000"+
"\u00d5\u00d7\u0005\u0017\u0000\u0000\u00d6\u00d8\u0005\u0015\u0000\u0000"+
"\u00d7\u00d6\u0001\u0000\u0000\u0000\u00d7\u00d8\u0001\u0000\u0000\u0000"+
"\u00d8\u00d9\u0001\u0000\u0000\u0000\u00d9\u00da\u0005\u0018\u0000\u0000"+
"\u00da)\u0001\u0000\u0000\u0000\u00db\u00dc\u0006\u0015\uffff\uffff\u0000"+
"\u00dc\u00dd\u00057\u0000\u0000\u00dd\u00de\u0003*\u0015\u0000\u00de\u00df"+
"\u00058\u0000\u0000\u00df\u00e2\u0001\u0000\u0000\u0000\u00e0\u00e2\u0003"+
",\u0016\u0000\u00e1\u00db\u0001\u0000\u0000\u0000\u00e1\u00e0\u0001\u0000"+
"\u0000\u0000\u00e2\u00f4\u0001\u0000\u0000\u0000\u00e3\u00e4\n\u0005\u0000"+
"\u0000\u00e4\u00e5\u00052\u0000\u0000\u00e5\u00f3\u0003*\u0015\u0006\u00e6"+
"\u00e7\n\u0004\u0000\u0000\u00e7\u00e8\u00053\u0000\u0000\u00e8\u00f3"+
"\u0003*\u0015\u0005\u00e9\u00ea\n\u0003\u0000\u0000\u00ea\u00eb\u0005"+
"0\u0000\u0000\u00eb\u00f3\u0003*\u0015\u0004\u00ec\u00ed\n\u0002\u0000"+
"\u0000\u00ed\u00ee\u00051\u0000\u0000\u00ee\u00f3\u0003*\u0015\u0003\u00ef"+
"\u00f0\n\u0001\u0000\u0000\u00f0\u00f1\u00054\u0000\u0000\u00f1\u00f3"+
"\u0003*\u0015\u0002\u00f2\u00e3\u0001\u0000\u0000\u0000\u00f2\u00e6\u0001"+
"\u0000\u0000\u0000\u00f2\u00e9\u0001\u0000\u0000\u0000\u00f2\u00ec\u0001"+
"\u0000\u0000\u0000\u00f2\u00ef\u0001\u0000\u0000\u0000\u00f3\u00f6\u0001"+
"\u0000\u0000\u0000\u00f4\u00f2\u0001\u0000\u0000\u0000\u00f4\u00f5\u0001"+
"\u0000\u0000\u0000\u00f5+\u0001\u0000\u0000\u0000\u00f6\u00f4\u0001\u0000"+
"\u0000\u0000\u00f7\u00fe\u0003.\u0017\u0000\u00f8\u00fe\u00030\u0018\u0000"+
"\u00f9\u00fe\u00032\u0019\u0000\u00fa\u00fe\u00036\u001b\u0000\u00fb\u00fe"+
"\u00038\u001c\u0000\u00fc\u00fe\u0003:\u001d\u0000\u00fd\u00f7\u0001\u0000"+
"\u0000\u0000\u00fd\u00f8\u0001\u0000\u0000\u0000\u00fd\u00f9\u0001\u0000"+
"\u0000\u0000\u00fd\u00fa\u0001\u0000\u0000\u0000\u00fd\u00fb\u0001\u0000"+
"\u0000\u0000\u00fd\u00fc\u0001\u0000\u0000\u0000\u00fe-\u0001\u0000\u0000"+
"\u0000\u00ff\u0100\u0007\u0002\u0000\u0000\u0100\u0101\u0003*\u0015\u0000"+
"\u0101\u0102\u00058\u0000\u0000\u0102\u011c\u0001\u0000\u0000\u0000\u0103"+
"\u0104\u0007\u0003\u0000\u0000\u0104\u0105\u0003*\u0015\u0000\u0105\u0106"+
"\u00058\u0000\u0000\u0106\u011c\u0001\u0000\u0000\u0000\u0107\u0108\u0007"+
"\u0004\u0000\u0000\u0108\u0109\u0003*\u0015\u0000\u0109\u010a\u00058\u0000"+
"\u0000\u010a\u011c\u0001\u0000\u0000\u0000\u010b\u010c\u0007\u0005\u0000"+
"\u0000\u010c\u010d\u0003*\u0015\u0000\u010d\u010e\u00058\u0000\u0000\u010e"+
"\u011c\u0001\u0000\u0000\u0000\u010f\u0110\u0007\u0006\u0000\u0000\u0110"+
"\u0111\u0003*\u0015\u0000\u0111\u0112\u00055\u0000\u0000\u0112\u0113\u0003"+
"*\u0015\u0000\u0113\u0114\u00058\u0000\u0000\u0114\u011c\u0001\u0000\u0000"+
"\u0000\u0115\u0116\u0007\u0007\u0000\u0000\u0116\u0117\u0003*\u0015\u0000"+
"\u0117\u0118\u00055\u0000\u0000\u0118\u0119\u0003*\u0015\u0000\u0119\u011a"+
"\u00058\u0000\u0000\u011a\u011c\u0001\u0000\u0000\u0000\u011b\u00ff\u0001"+
"\u0000\u0000\u0000\u011b\u0103\u0001\u0000\u0000\u0000\u011b\u0107\u0001"+
"\u0000\u0000\u0000\u011b\u010b\u0001\u0000\u0000\u0000\u011b\u010f\u0001"+
"\u0000\u0000\u0000\u011b\u0115\u0001\u0000\u0000\u0000\u011c/\u0001\u0000"+
"\u0000\u0000\u011d\u011e\u0007\b\u0000\u0000\u011e1\u0001\u0000\u0000"+
"\u0000\u011f\u0124\u0005<\u0000\u0000\u0120\u0121\u00056\u0000\u0000\u0121"+
"\u0123\u0005<\u0000\u0000\u0122\u0120\u0001\u0000\u0000\u0000\u0123\u0126"+
"\u0001\u0000\u0000\u0000\u0124\u0122\u0001\u0000\u0000\u0000\u0124\u0125"+
"\u0001\u0000\u0000\u0000\u0125\u0129\u0001\u0000\u0000\u0000\u0126\u0124"+
"\u0001\u0000\u0000\u0000\u0127\u0129\u0005;\u0000\u0000\u0128\u011f\u0001"+
"\u0000\u0000\u0000\u0128\u0127\u0001\u0000\u0000\u0000\u01293\u0001\u0000"+
"\u0000\u0000\u012a\u012b\u0005<\u0000\u0000\u012b5\u0001\u0000\u0000\u0000"+
"\u012c\u0131\u0005<\u0000\u0000\u012d\u012e\u00056\u0000\u0000\u012e\u0130"+
"\u0005<\u0000\u0000\u012f\u012d\u0001\u0000\u0000\u0000\u0130\u0133\u0001"+
"\u0000\u0000\u0000\u0131\u012f\u0001\u0000\u0000\u0000\u0131\u0132\u0001"+
"\u0000\u0000\u0000\u0132\u0136\u0001\u0000\u0000\u0000\u0133\u0131\u0001"+
"\u0000\u0000\u0000\u0134\u0136\u0005;\u0000\u0000\u0135\u012c\u0001\u0000"+
"\u0000\u0000\u0135\u0134\u0001\u0000\u0000\u0000\u01367\u0001\u0000\u0000"+
"\u0000\u0137\u0138\u00059\u0000\u0000\u0138\u013c\u0005<\u0000\u0000\u0139"+
"\u013a\u0005:\u0000\u0000\u013a\u013c\u0005>\u0000\u0000\u013b\u0137\u0001"+
"\u0000\u0000\u0000\u013b\u0139\u0001\u0000\u0000\u0000\u013c9\u0001\u0000"+
"\u0000\u0000\u013d\u013e\u0007\t\u0000\u0000\u013e;\u0001\u0000\u0000"+
"\u0000!?BEHKQVdkuy\u0087\u008c\u009a\u00a2\u00a4\u00af\u00b8\u00bd\u00c1"+
"\u00ca\u00d2\u00d7\u00e1\u00f2\u00f4\u00fd\u011b\u0124\u0128\u0131\u0135"+
"\u013b";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy