
com.nawforce.parsers.ApexParser Maven / Gradle / Ivy
// Generated from /Users/kevin/Projects/ApexLink/src/main/antlr4/com/nawforce/parsers/ApexParser.g4 by ANTLR 4.7.2
package com.nawforce.parsers;
import java.util.*;
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"})
public class ApexParser extends Parser {
static { RuntimeMetaData.checkVersion("4.7.2", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
ABSTRACT=1, BREAK=2, BYTE=3, CATCH=4, CHAR=5, CLASS=6, CONST=7, CONTINUE=8,
DEFAULT=9, DELETE=10, DO=11, ELSE=12, ENUM=13, EXTENDS=14, FINAL=15, FINALLY=16,
FLOAT=17, FOR=18, GET=19, GLOBAL=20, GOTO=21, IF=22, IMPLEMENTS=23, INHERITED=24,
INSERT=25, INSTANCEOF=26, INTERFACE=27, MERGE=28, NATIVE=29, NEW=30, NULL=31,
ON=32, OVERRIDE=33, PACKAGE=34, PRIVATE=35, PROTECTED=36, PUBLIC=37, RETURN=38,
RUNAS=39, SELECT=40, SET=41, SHARING=42, SHORT=43, STATIC=44, SUPER=45,
SWITCH=46, TESTMETHOD=47, THIS=48, THROW=49, TRANSIENT=50, TRY=51, UNDELETE=52,
UPDATE=53, UPSERT=54, VIRTUAL=55, VOID=56, WEBSERVICE=57, WHEN=58, WHILE=59,
WITH=60, WITHOUT=61, IntegerLiteral=62, NumberLiteral=63, BooleanLiteral=64,
StringLiteral=65, NullLiteral=66, LPAREN=67, RPAREN=68, LBRACE=69, RBRACE=70,
LBRACK=71, RBRACK=72, SEMI=73, COMMA=74, DOT=75, ASSIGN=76, LE=77, GE=78,
GT=79, LT=80, BANG=81, TILDE=82, QUESTION=83, COLON=84, EQUAL=85, TRIPLEEQUAL=86,
NOTEQUAL=87, LESSANDGREATER=88, TRIPLENOTEQUAL=89, AND=90, OR=91, INC=92,
DEC=93, ADD=94, SUB=95, MUL=96, DIV=97, BITAND=98, BITOR=99, CARET=100,
MOD=101, MAP=102, ADD_ASSIGN=103, SUB_ASSIGN=104, MUL_ASSIGN=105, DIV_ASSIGN=106,
AND_ASSIGN=107, OR_ASSIGN=108, XOR_ASSIGN=109, MOD_ASSIGN=110, LSHIFT_ASSIGN=111,
RSHIFT_ASSIGN=112, URSHIFT_ASSIGN=113, Identifier=114, AT=115, WS=116,
DOC_COMMENT=117, COMMENT=118, LINE_COMMENT=119;
public static final int
RULE_compilationUnit = 0, RULE_typeDeclaration = 1, RULE_classDeclaration = 2,
RULE_enumDeclaration = 3, RULE_enumConstants = 4, RULE_interfaceDeclaration = 5,
RULE_typeList = 6, RULE_classBody = 7, RULE_interfaceBody = 8, RULE_classBodyDeclaration = 9,
RULE_modifier = 10, RULE_memberDeclaration = 11, RULE_methodDeclaration = 12,
RULE_constructorDeclaration = 13, RULE_fieldDeclaration = 14, RULE_propertyDeclaration = 15,
RULE_interfaceMethodDeclaration = 16, RULE_variableDeclarators = 17, RULE_variableDeclarator = 18,
RULE_variableInitializer = 19, RULE_arrayInitializer = 20, RULE_typeRef = 21,
RULE_arraySubscripts = 22, RULE_typeName = 23, RULE_typeArguments = 24,
RULE_formalParameters = 25, RULE_formalParameterList = 26, RULE_formalParameter = 27,
RULE_qualifiedName = 28, RULE_literal = 29, RULE_annotation = 30, RULE_elementValuePairs = 31,
RULE_elementValuePair = 32, RULE_elementValue = 33, RULE_elementValueArrayInitializer = 34,
RULE_block = 35, RULE_localVariableDeclarationStatement = 36, RULE_localVariableDeclaration = 37,
RULE_statement = 38, RULE_ifStatement = 39, RULE_switchStatement = 40,
RULE_whenControl = 41, RULE_forStatement = 42, RULE_whileStatement = 43,
RULE_doWhileStatement = 44, RULE_tryStatement = 45, RULE_returnStatement = 46,
RULE_throwStatement = 47, RULE_breakStatement = 48, RULE_continueStatement = 49,
RULE_insertStatement = 50, RULE_updateStatement = 51, RULE_deleteStatement = 52,
RULE_undeleteStatement = 53, RULE_upsertStatement = 54, RULE_mergeStatement = 55,
RULE_runAsStatement = 56, RULE_expressionStatement = 57, RULE_propertyBlock = 58,
RULE_getter = 59, RULE_setter = 60, RULE_catchClause = 61, RULE_catchType = 62,
RULE_finallyBlock = 63, RULE_forControl = 64, RULE_forInit = 65, RULE_enhancedForControl = 66,
RULE_forUpdate = 67, RULE_parExpression = 68, RULE_expressionList = 69,
RULE_expression = 70, RULE_primary = 71, RULE_creator = 72, RULE_createdName = 73,
RULE_idCreatedNamePair = 74, RULE_noRest = 75, RULE_classCreatorRest = 76,
RULE_arrayCreatorRest = 77, RULE_mapCreatorRest = 78, RULE_mapCreatorRestPair = 79,
RULE_setCreatorRest = 80, RULE_arguments = 81, RULE_soqlLiteral = 82,
RULE_id = 83;
private static String[] makeRuleNames() {
return new String[] {
"compilationUnit", "typeDeclaration", "classDeclaration", "enumDeclaration",
"enumConstants", "interfaceDeclaration", "typeList", "classBody", "interfaceBody",
"classBodyDeclaration", "modifier", "memberDeclaration", "methodDeclaration",
"constructorDeclaration", "fieldDeclaration", "propertyDeclaration",
"interfaceMethodDeclaration", "variableDeclarators", "variableDeclarator",
"variableInitializer", "arrayInitializer", "typeRef", "arraySubscripts",
"typeName", "typeArguments", "formalParameters", "formalParameterList",
"formalParameter", "qualifiedName", "literal", "annotation", "elementValuePairs",
"elementValuePair", "elementValue", "elementValueArrayInitializer", "block",
"localVariableDeclarationStatement", "localVariableDeclaration", "statement",
"ifStatement", "switchStatement", "whenControl", "forStatement", "whileStatement",
"doWhileStatement", "tryStatement", "returnStatement", "throwStatement",
"breakStatement", "continueStatement", "insertStatement", "updateStatement",
"deleteStatement", "undeleteStatement", "upsertStatement", "mergeStatement",
"runAsStatement", "expressionStatement", "propertyBlock", "getter", "setter",
"catchClause", "catchType", "finallyBlock", "forControl", "forInit",
"enhancedForControl", "forUpdate", "parExpression", "expressionList",
"expression", "primary", "creator", "createdName", "idCreatedNamePair",
"noRest", "classCreatorRest", "arrayCreatorRest", "mapCreatorRest", "mapCreatorRestPair",
"setCreatorRest", "arguments", "soqlLiteral", "id"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "'abstract'", "'break'", "'byte'", "'catch'", "'char'", "'class'",
"'const'", "'continue'", "'default'", "'delete'", "'do'", "'else'", "'enum'",
"'extends'", "'final'", "'finally'", "'float'", "'for'", "'get'", "'global'",
"'goto'", "'if'", "'implements'", "'inherited'", "'insert'", "'instanceof'",
"'interface'", "'merge'", "'native'", "'new'", "'null'", "'on'", "'override'",
"'package'", "'private'", "'protected'", "'public'", "'return'", "'system.runas'",
"'select'", "'set'", "'sharing'", "'short'", "'static'", "'super'", "'switch'",
"'testmethod'", "'this'", "'throw'", "'transient'", "'try'", "'undelete'",
"'update'", "'upsert'", "'virtual'", "'void'", "'webservice'", "'when'",
"'while'", "'with'", "'without'", null, null, null, null, null, "'('",
"')'", "'{'", "'}'", "'['", "']'", "';'", "','", "'.'", "'='", "'<='",
"'>='", "'>'", "'<'", "'!'", "'~'", "'?'", "':'", "'=='", "'==='", "'!='",
"'<>'", "'!=='", "'&&'", "'||'", "'++'", "'--'", "'+'", "'-'", "'*'",
"'/'", "'&'", "'|'", "'^'", "'%'", "'=>'", "'+='", "'-='", "'*='", "'/='",
"'&='", "'|='", "'^='", "'%='", "'<<='", "'>>='", "'>>>='", null, "'@'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, "ABSTRACT", "BREAK", "BYTE", "CATCH", "CHAR", "CLASS", "CONST",
"CONTINUE", "DEFAULT", "DELETE", "DO", "ELSE", "ENUM", "EXTENDS", "FINAL",
"FINALLY", "FLOAT", "FOR", "GET", "GLOBAL", "GOTO", "IF", "IMPLEMENTS",
"INHERITED", "INSERT", "INSTANCEOF", "INTERFACE", "MERGE", "NATIVE",
"NEW", "NULL", "ON", "OVERRIDE", "PACKAGE", "PRIVATE", "PROTECTED", "PUBLIC",
"RETURN", "RUNAS", "SELECT", "SET", "SHARING", "SHORT", "STATIC", "SUPER",
"SWITCH", "TESTMETHOD", "THIS", "THROW", "TRANSIENT", "TRY", "UNDELETE",
"UPDATE", "UPSERT", "VIRTUAL", "VOID", "WEBSERVICE", "WHEN", "WHILE",
"WITH", "WITHOUT", "IntegerLiteral", "NumberLiteral", "BooleanLiteral",
"StringLiteral", "NullLiteral", "LPAREN", "RPAREN", "LBRACE", "RBRACE",
"LBRACK", "RBRACK", "SEMI", "COMMA", "DOT", "ASSIGN", "LE", "GE", "GT",
"LT", "BANG", "TILDE", "QUESTION", "COLON", "EQUAL", "TRIPLEEQUAL", "NOTEQUAL",
"LESSANDGREATER", "TRIPLENOTEQUAL", "AND", "OR", "INC", "DEC", "ADD",
"SUB", "MUL", "DIV", "BITAND", "BITOR", "CARET", "MOD", "MAP", "ADD_ASSIGN",
"SUB_ASSIGN", "MUL_ASSIGN", "DIV_ASSIGN", "AND_ASSIGN", "OR_ASSIGN",
"XOR_ASSIGN", "MOD_ASSIGN", "LSHIFT_ASSIGN", "RSHIFT_ASSIGN", "URSHIFT_ASSIGN",
"Identifier", "AT", "WS", "DOC_COMMENT", "COMMENT", "LINE_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 "ApexParser.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public ApexParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class CompilationUnitContext extends ParserRuleContext {
public TypeDeclarationContext typeDeclaration() {
return getRuleContext(TypeDeclarationContext.class,0);
}
public TerminalNode EOF() { return getToken(ApexParser.EOF, 0); }
public CompilationUnitContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compilationUnit; }
}
public final CompilationUnitContext compilationUnit() throws RecognitionException {
CompilationUnitContext _localctx = new CompilationUnitContext(_ctx, getState());
enterRule(_localctx, 0, RULE_compilationUnit);
try {
enterOuterAlt(_localctx, 1);
{
setState(168);
typeDeclaration();
setState(169);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeDeclarationContext extends ParserRuleContext {
public ClassDeclarationContext classDeclaration() {
return getRuleContext(ClassDeclarationContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public EnumDeclarationContext enumDeclaration() {
return getRuleContext(EnumDeclarationContext.class,0);
}
public InterfaceDeclarationContext interfaceDeclaration() {
return getRuleContext(InterfaceDeclarationContext.class,0);
}
public TypeDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeDeclaration; }
}
public final TypeDeclarationContext typeDeclaration() throws RecognitionException {
TypeDeclarationContext _localctx = new TypeDeclarationContext(_ctx, getState());
enterRule(_localctx, 2, RULE_typeDeclaration);
int _la;
try {
setState(192);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(174);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << FINAL) | (1L << GLOBAL) | (1L << INHERITED) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << STATIC) | (1L << TESTMETHOD) | (1L << TRANSIENT) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==AT) {
{
{
setState(171);
modifier();
}
}
setState(176);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(177);
classDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(181);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << FINAL) | (1L << GLOBAL) | (1L << INHERITED) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << STATIC) | (1L << TESTMETHOD) | (1L << TRANSIENT) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==AT) {
{
{
setState(178);
modifier();
}
}
setState(183);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(184);
enumDeclaration();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(188);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << FINAL) | (1L << GLOBAL) | (1L << INHERITED) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << STATIC) | (1L << TESTMETHOD) | (1L << TRANSIENT) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==AT) {
{
{
setState(185);
modifier();
}
}
setState(190);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(191);
interfaceDeclaration();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ClassDeclarationContext extends ParserRuleContext {
public TerminalNode CLASS() { return getToken(ApexParser.CLASS, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public ClassBodyContext classBody() {
return getRuleContext(ClassBodyContext.class,0);
}
public TerminalNode EXTENDS() { return getToken(ApexParser.EXTENDS, 0); }
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public TerminalNode IMPLEMENTS() { return getToken(ApexParser.IMPLEMENTS, 0); }
public TypeListContext typeList() {
return getRuleContext(TypeListContext.class,0);
}
public ClassDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classDeclaration; }
}
public final ClassDeclarationContext classDeclaration() throws RecognitionException {
ClassDeclarationContext _localctx = new ClassDeclarationContext(_ctx, getState());
enterRule(_localctx, 4, RULE_classDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(194);
match(CLASS);
setState(195);
id();
setState(198);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENDS) {
{
setState(196);
match(EXTENDS);
setState(197);
typeRef();
}
}
setState(202);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IMPLEMENTS) {
{
setState(200);
match(IMPLEMENTS);
setState(201);
typeList();
}
}
setState(204);
classBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EnumDeclarationContext extends ParserRuleContext {
public TerminalNode ENUM() { return getToken(ApexParser.ENUM, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public EnumConstantsContext enumConstants() {
return getRuleContext(EnumConstantsContext.class,0);
}
public EnumDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumDeclaration; }
}
public final EnumDeclarationContext enumDeclaration() throws RecognitionException {
EnumDeclarationContext _localctx = new EnumDeclarationContext(_ctx, getState());
enterRule(_localctx, 6, RULE_enumDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(206);
match(ENUM);
setState(207);
id();
setState(208);
match(LBRACE);
setState(210);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==Identifier) {
{
setState(209);
enumConstants();
}
}
setState(212);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EnumConstantsContext extends ParserRuleContext {
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public EnumConstantsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumConstants; }
}
public final EnumConstantsContext enumConstants() throws RecognitionException {
EnumConstantsContext _localctx = new EnumConstantsContext(_ctx, getState());
enterRule(_localctx, 8, RULE_enumConstants);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(214);
id();
setState(219);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(215);
match(COMMA);
setState(216);
id();
}
}
setState(221);
_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;
}
public static class InterfaceDeclarationContext extends ParserRuleContext {
public TerminalNode INTERFACE() { return getToken(ApexParser.INTERFACE, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public InterfaceBodyContext interfaceBody() {
return getRuleContext(InterfaceBodyContext.class,0);
}
public TerminalNode EXTENDS() { return getToken(ApexParser.EXTENDS, 0); }
public TypeListContext typeList() {
return getRuleContext(TypeListContext.class,0);
}
public InterfaceDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_interfaceDeclaration; }
}
public final InterfaceDeclarationContext interfaceDeclaration() throws RecognitionException {
InterfaceDeclarationContext _localctx = new InterfaceDeclarationContext(_ctx, getState());
enterRule(_localctx, 10, RULE_interfaceDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(222);
match(INTERFACE);
setState(223);
id();
setState(226);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENDS) {
{
setState(224);
match(EXTENDS);
setState(225);
typeList();
}
}
setState(228);
interfaceBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeListContext extends ParserRuleContext {
public List typeRef() {
return getRuleContexts(TypeRefContext.class);
}
public TypeRefContext typeRef(int i) {
return getRuleContext(TypeRefContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public TypeListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeList; }
}
public final TypeListContext typeList() throws RecognitionException {
TypeListContext _localctx = new TypeListContext(_ctx, getState());
enterRule(_localctx, 12, RULE_typeList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(230);
typeRef();
setState(235);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(231);
match(COMMA);
setState(232);
typeRef();
}
}
setState(237);
_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;
}
public static class ClassBodyContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List classBodyDeclaration() {
return getRuleContexts(ClassBodyDeclarationContext.class);
}
public ClassBodyDeclarationContext classBodyDeclaration(int i) {
return getRuleContext(ClassBodyDeclarationContext.class,i);
}
public ClassBodyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classBody; }
}
public final ClassBodyContext classBody() throws RecognitionException {
ClassBodyContext _localctx = new ClassBodyContext(_ctx, getState());
enterRule(_localctx, 14, RULE_classBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(238);
match(LBRACE);
setState(242);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT))) != 0) || ((((_la - 69)) & ~0x3f) == 0 && ((1L << (_la - 69)) & ((1L << (LBRACE - 69)) | (1L << (SEMI - 69)) | (1L << (Identifier - 69)) | (1L << (AT - 69)))) != 0)) {
{
{
setState(239);
classBodyDeclaration();
}
}
setState(244);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(245);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class InterfaceBodyContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List interfaceMethodDeclaration() {
return getRuleContexts(InterfaceMethodDeclarationContext.class);
}
public InterfaceMethodDeclarationContext interfaceMethodDeclaration(int i) {
return getRuleContext(InterfaceMethodDeclarationContext.class,i);
}
public InterfaceBodyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_interfaceBody; }
}
public final InterfaceBodyContext interfaceBody() throws RecognitionException {
InterfaceBodyContext _localctx = new InterfaceBodyContext(_ctx, getState());
enterRule(_localctx, 16, RULE_interfaceBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(247);
match(LBRACE);
setState(251);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==Identifier || _la==AT) {
{
{
setState(248);
interfaceMethodDeclaration();
}
}
setState(253);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(254);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ClassBodyDeclarationContext extends ParserRuleContext {
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode STATIC() { return getToken(ApexParser.STATIC, 0); }
public MemberDeclarationContext memberDeclaration() {
return getRuleContext(MemberDeclarationContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public ClassBodyDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classBodyDeclaration; }
}
public final ClassBodyDeclarationContext classBodyDeclaration() throws RecognitionException {
ClassBodyDeclarationContext _localctx = new ClassBodyDeclarationContext(_ctx, getState());
enterRule(_localctx, 18, RULE_classBodyDeclaration);
int _la;
try {
int _alt;
setState(268);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(256);
match(SEMI);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(258);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STATIC) {
{
setState(257);
match(STATIC);
}
}
setState(260);
block();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(264);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,13,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(261);
modifier();
}
}
}
setState(266);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,13,_ctx);
}
setState(267);
memberDeclaration();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ModifierContext extends ParserRuleContext {
public AnnotationContext annotation() {
return getRuleContext(AnnotationContext.class,0);
}
public TerminalNode GLOBAL() { return getToken(ApexParser.GLOBAL, 0); }
public TerminalNode PUBLIC() { return getToken(ApexParser.PUBLIC, 0); }
public TerminalNode PROTECTED() { return getToken(ApexParser.PROTECTED, 0); }
public TerminalNode PRIVATE() { return getToken(ApexParser.PRIVATE, 0); }
public TerminalNode TRANSIENT() { return getToken(ApexParser.TRANSIENT, 0); }
public TerminalNode STATIC() { return getToken(ApexParser.STATIC, 0); }
public TerminalNode ABSTRACT() { return getToken(ApexParser.ABSTRACT, 0); }
public TerminalNode FINAL() { return getToken(ApexParser.FINAL, 0); }
public TerminalNode WEBSERVICE() { return getToken(ApexParser.WEBSERVICE, 0); }
public TerminalNode OVERRIDE() { return getToken(ApexParser.OVERRIDE, 0); }
public TerminalNode VIRTUAL() { return getToken(ApexParser.VIRTUAL, 0); }
public TerminalNode TESTMETHOD() { return getToken(ApexParser.TESTMETHOD, 0); }
public TerminalNode WITH() { return getToken(ApexParser.WITH, 0); }
public TerminalNode SHARING() { return getToken(ApexParser.SHARING, 0); }
public TerminalNode WITHOUT() { return getToken(ApexParser.WITHOUT, 0); }
public TerminalNode INHERITED() { return getToken(ApexParser.INHERITED, 0); }
public ModifierContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_modifier; }
}
public final ModifierContext modifier() throws RecognitionException {
ModifierContext _localctx = new ModifierContext(_ctx, getState());
enterRule(_localctx, 20, RULE_modifier);
try {
setState(289);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AT:
enterOuterAlt(_localctx, 1);
{
setState(270);
annotation();
}
break;
case GLOBAL:
enterOuterAlt(_localctx, 2);
{
setState(271);
match(GLOBAL);
}
break;
case PUBLIC:
enterOuterAlt(_localctx, 3);
{
setState(272);
match(PUBLIC);
}
break;
case PROTECTED:
enterOuterAlt(_localctx, 4);
{
setState(273);
match(PROTECTED);
}
break;
case PRIVATE:
enterOuterAlt(_localctx, 5);
{
setState(274);
match(PRIVATE);
}
break;
case TRANSIENT:
enterOuterAlt(_localctx, 6);
{
setState(275);
match(TRANSIENT);
}
break;
case STATIC:
enterOuterAlt(_localctx, 7);
{
setState(276);
match(STATIC);
}
break;
case ABSTRACT:
enterOuterAlt(_localctx, 8);
{
setState(277);
match(ABSTRACT);
}
break;
case FINAL:
enterOuterAlt(_localctx, 9);
{
setState(278);
match(FINAL);
}
break;
case WEBSERVICE:
enterOuterAlt(_localctx, 10);
{
setState(279);
match(WEBSERVICE);
}
break;
case OVERRIDE:
enterOuterAlt(_localctx, 11);
{
setState(280);
match(OVERRIDE);
}
break;
case VIRTUAL:
enterOuterAlt(_localctx, 12);
{
setState(281);
match(VIRTUAL);
}
break;
case TESTMETHOD:
enterOuterAlt(_localctx, 13);
{
setState(282);
match(TESTMETHOD);
}
break;
case WITH:
enterOuterAlt(_localctx, 14);
{
setState(283);
match(WITH);
setState(284);
match(SHARING);
}
break;
case WITHOUT:
enterOuterAlt(_localctx, 15);
{
setState(285);
match(WITHOUT);
setState(286);
match(SHARING);
}
break;
case INHERITED:
enterOuterAlt(_localctx, 16);
{
setState(287);
match(INHERITED);
setState(288);
match(SHARING);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MemberDeclarationContext extends ParserRuleContext {
public MethodDeclarationContext methodDeclaration() {
return getRuleContext(MethodDeclarationContext.class,0);
}
public FieldDeclarationContext fieldDeclaration() {
return getRuleContext(FieldDeclarationContext.class,0);
}
public ConstructorDeclarationContext constructorDeclaration() {
return getRuleContext(ConstructorDeclarationContext.class,0);
}
public InterfaceDeclarationContext interfaceDeclaration() {
return getRuleContext(InterfaceDeclarationContext.class,0);
}
public ClassDeclarationContext classDeclaration() {
return getRuleContext(ClassDeclarationContext.class,0);
}
public EnumDeclarationContext enumDeclaration() {
return getRuleContext(EnumDeclarationContext.class,0);
}
public PropertyDeclarationContext propertyDeclaration() {
return getRuleContext(PropertyDeclarationContext.class,0);
}
public MemberDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_memberDeclaration; }
}
public final MemberDeclarationContext memberDeclaration() throws RecognitionException {
MemberDeclarationContext _localctx = new MemberDeclarationContext(_ctx, getState());
enterRule(_localctx, 22, RULE_memberDeclaration);
try {
setState(298);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,16,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(291);
methodDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(292);
fieldDeclaration();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(293);
constructorDeclaration();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(294);
interfaceDeclaration();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(295);
classDeclaration();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(296);
enumDeclaration();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(297);
propertyDeclaration();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MethodDeclarationContext extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public FormalParametersContext formalParameters() {
return getRuleContext(FormalParametersContext.class,0);
}
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public TerminalNode VOID() { return getToken(ApexParser.VOID, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public MethodDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_methodDeclaration; }
}
public final MethodDeclarationContext methodDeclaration() throws RecognitionException {
MethodDeclarationContext _localctx = new MethodDeclarationContext(_ctx, getState());
enterRule(_localctx, 24, RULE_methodDeclaration);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(303);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,17,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(300);
modifier();
}
}
}
setState(305);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,17,_ctx);
}
setState(308);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
case 1:
{
setState(306);
typeRef();
}
break;
case 2:
{
setState(307);
match(VOID);
}
break;
}
setState(310);
id();
setState(311);
formalParameters();
setState(314);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LBRACE:
{
setState(312);
block();
}
break;
case SEMI:
{
setState(313);
match(SEMI);
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ConstructorDeclarationContext extends ParserRuleContext {
public QualifiedNameContext qualifiedName() {
return getRuleContext(QualifiedNameContext.class,0);
}
public FormalParametersContext formalParameters() {
return getRuleContext(FormalParametersContext.class,0);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public ConstructorDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_constructorDeclaration; }
}
public final ConstructorDeclarationContext constructorDeclaration() throws RecognitionException {
ConstructorDeclarationContext _localctx = new ConstructorDeclarationContext(_ctx, getState());
enterRule(_localctx, 26, RULE_constructorDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(316);
qualifiedName();
setState(317);
formalParameters();
setState(318);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FieldDeclarationContext extends ParserRuleContext {
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public VariableDeclaratorsContext variableDeclarators() {
return getRuleContext(VariableDeclaratorsContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public FieldDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_fieldDeclaration; }
}
public final FieldDeclarationContext fieldDeclaration() throws RecognitionException {
FieldDeclarationContext _localctx = new FieldDeclarationContext(_ctx, getState());
enterRule(_localctx, 28, RULE_fieldDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(320);
typeRef();
setState(321);
variableDeclarators();
setState(322);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PropertyDeclarationContext extends ParserRuleContext {
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List propertyBlock() {
return getRuleContexts(PropertyBlockContext.class);
}
public PropertyBlockContext propertyBlock(int i) {
return getRuleContext(PropertyBlockContext.class,i);
}
public PropertyDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_propertyDeclaration; }
}
public final PropertyDeclarationContext propertyDeclaration() throws RecognitionException {
PropertyDeclarationContext _localctx = new PropertyDeclarationContext(_ctx, getState());
enterRule(_localctx, 30, RULE_propertyDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(324);
typeRef();
setState(325);
id();
setState(326);
match(LBRACE);
setState(330);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << FINAL) | (1L << GET) | (1L << GLOBAL) | (1L << INHERITED) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SET) | (1L << STATIC) | (1L << TESTMETHOD) | (1L << TRANSIENT) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==AT) {
{
{
setState(327);
propertyBlock();
}
}
setState(332);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(333);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class InterfaceMethodDeclarationContext extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public FormalParametersContext formalParameters() {
return getRuleContext(FormalParametersContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public TerminalNode VOID() { return getToken(ApexParser.VOID, 0); }
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public InterfaceMethodDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_interfaceMethodDeclaration; }
}
public final InterfaceMethodDeclarationContext interfaceMethodDeclaration() throws RecognitionException {
InterfaceMethodDeclarationContext _localctx = new InterfaceMethodDeclarationContext(_ctx, getState());
enterRule(_localctx, 32, RULE_interfaceMethodDeclaration);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(338);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,21,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(335);
modifier();
}
}
}
setState(340);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,21,_ctx);
}
setState(343);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,22,_ctx) ) {
case 1:
{
setState(341);
typeRef();
}
break;
case 2:
{
setState(342);
match(VOID);
}
break;
}
setState(345);
id();
setState(346);
formalParameters();
setState(347);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class VariableDeclaratorsContext extends ParserRuleContext {
public List variableDeclarator() {
return getRuleContexts(VariableDeclaratorContext.class);
}
public VariableDeclaratorContext variableDeclarator(int i) {
return getRuleContext(VariableDeclaratorContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public VariableDeclaratorsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableDeclarators; }
}
public final VariableDeclaratorsContext variableDeclarators() throws RecognitionException {
VariableDeclaratorsContext _localctx = new VariableDeclaratorsContext(_ctx, getState());
enterRule(_localctx, 34, RULE_variableDeclarators);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(349);
variableDeclarator();
setState(354);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(350);
match(COMMA);
setState(351);
variableDeclarator();
}
}
setState(356);
_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;
}
public static class VariableDeclaratorContext extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode ASSIGN() { return getToken(ApexParser.ASSIGN, 0); }
public VariableInitializerContext variableInitializer() {
return getRuleContext(VariableInitializerContext.class,0);
}
public VariableDeclaratorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableDeclarator; }
}
public final VariableDeclaratorContext variableDeclarator() throws RecognitionException {
VariableDeclaratorContext _localctx = new VariableDeclaratorContext(_ctx, getState());
enterRule(_localctx, 36, RULE_variableDeclarator);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(357);
id();
setState(360);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ASSIGN) {
{
setState(358);
match(ASSIGN);
setState(359);
variableInitializer();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class VariableInitializerContext extends ParserRuleContext {
public ArrayInitializerContext arrayInitializer() {
return getRuleContext(ArrayInitializerContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public VariableInitializerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableInitializer; }
}
public final VariableInitializerContext variableInitializer() throws RecognitionException {
VariableInitializerContext _localctx = new VariableInitializerContext(_ctx, getState());
enterRule(_localctx, 38, RULE_variableInitializer);
try {
setState(364);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LBRACE:
enterOuterAlt(_localctx, 1);
{
setState(362);
arrayInitializer();
}
break;
case ABSTRACT:
case BREAK:
case BYTE:
case CATCH:
case CHAR:
case CLASS:
case CONST:
case CONTINUE:
case DEFAULT:
case DELETE:
case DO:
case ELSE:
case ENUM:
case EXTENDS:
case FINAL:
case FINALLY:
case FLOAT:
case FOR:
case GET:
case GLOBAL:
case GOTO:
case IF:
case IMPLEMENTS:
case INHERITED:
case INSERT:
case INSTANCEOF:
case INTERFACE:
case MERGE:
case NATIVE:
case NEW:
case NULL:
case ON:
case OVERRIDE:
case PACKAGE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case RETURN:
case RUNAS:
case SELECT:
case SET:
case SHARING:
case SHORT:
case STATIC:
case SUPER:
case SWITCH:
case TESTMETHOD:
case THIS:
case THROW:
case TRANSIENT:
case TRY:
case UNDELETE:
case UPDATE:
case UPSERT:
case VIRTUAL:
case VOID:
case WEBSERVICE:
case WHEN:
case WHILE:
case WITH:
case WITHOUT:
case IntegerLiteral:
case NumberLiteral:
case BooleanLiteral:
case StringLiteral:
case LPAREN:
case LBRACK:
case BANG:
case TILDE:
case INC:
case DEC:
case ADD:
case SUB:
case Identifier:
enterOuterAlt(_localctx, 2);
{
setState(363);
expression(0);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ArrayInitializerContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List variableInitializer() {
return getRuleContexts(VariableInitializerContext.class);
}
public VariableInitializerContext variableInitializer(int i) {
return getRuleContext(VariableInitializerContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public ArrayInitializerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayInitializer; }
}
public final ArrayInitializerContext arrayInitializer() throws RecognitionException {
ArrayInitializerContext _localctx = new ArrayInitializerContext(_ctx, getState());
enterRule(_localctx, 40, RULE_arrayInitializer);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(366);
match(LBRACE);
setState(378);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACE - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(367);
variableInitializer();
setState(372);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,26,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(368);
match(COMMA);
setState(369);
variableInitializer();
}
}
}
setState(374);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,26,_ctx);
}
setState(376);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(375);
match(COMMA);
}
}
}
}
setState(380);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeRefContext extends ParserRuleContext {
public List typeName() {
return getRuleContexts(TypeNameContext.class);
}
public TypeNameContext typeName(int i) {
return getRuleContext(TypeNameContext.class,i);
}
public ArraySubscriptsContext arraySubscripts() {
return getRuleContext(ArraySubscriptsContext.class,0);
}
public List DOT() { return getTokens(ApexParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(ApexParser.DOT, i);
}
public TypeRefContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeRef; }
}
public final TypeRefContext typeRef() throws RecognitionException {
TypeRefContext _localctx = new TypeRefContext(_ctx, getState());
enterRule(_localctx, 42, RULE_typeRef);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(382);
typeName();
setState(387);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,29,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(383);
match(DOT);
setState(384);
typeName();
}
}
}
setState(389);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,29,_ctx);
}
setState(390);
arraySubscripts();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ArraySubscriptsContext extends ParserRuleContext {
public List LBRACK() { return getTokens(ApexParser.LBRACK); }
public TerminalNode LBRACK(int i) {
return getToken(ApexParser.LBRACK, i);
}
public List RBRACK() { return getTokens(ApexParser.RBRACK); }
public TerminalNode RBRACK(int i) {
return getToken(ApexParser.RBRACK, i);
}
public ArraySubscriptsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arraySubscripts; }
}
public final ArraySubscriptsContext arraySubscripts() throws RecognitionException {
ArraySubscriptsContext _localctx = new ArraySubscriptsContext(_ctx, getState());
enterRule(_localctx, 44, RULE_arraySubscripts);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(396);
_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(392);
match(LBRACK);
setState(393);
match(RBRACK);
}
}
}
setState(398);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,30,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeNameContext extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TypeArgumentsContext typeArguments() {
return getRuleContext(TypeArgumentsContext.class,0);
}
public TypeNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeName; }
}
public final TypeNameContext typeName() throws RecognitionException {
TypeNameContext _localctx = new TypeNameContext(_ctx, getState());
enterRule(_localctx, 46, RULE_typeName);
try {
enterOuterAlt(_localctx, 1);
{
setState(399);
id();
setState(401);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) {
case 1:
{
setState(400);
typeArguments();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeArgumentsContext extends ParserRuleContext {
public TerminalNode LT() { return getToken(ApexParser.LT, 0); }
public TypeListContext typeList() {
return getRuleContext(TypeListContext.class,0);
}
public TerminalNode GT() { return getToken(ApexParser.GT, 0); }
public TypeArgumentsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeArguments; }
}
public final TypeArgumentsContext typeArguments() throws RecognitionException {
TypeArgumentsContext _localctx = new TypeArgumentsContext(_ctx, getState());
enterRule(_localctx, 48, RULE_typeArguments);
try {
enterOuterAlt(_localctx, 1);
{
setState(403);
match(LT);
setState(404);
typeList();
setState(405);
match(GT);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FormalParametersContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public FormalParameterListContext formalParameterList() {
return getRuleContext(FormalParameterListContext.class,0);
}
public FormalParametersContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_formalParameters; }
}
public final FormalParametersContext formalParameters() throws RecognitionException {
FormalParametersContext _localctx = new FormalParametersContext(_ctx, getState());
enterRule(_localctx, 50, RULE_formalParameters);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(407);
match(LPAREN);
setState(409);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==Identifier || _la==AT) {
{
setState(408);
formalParameterList();
}
}
setState(411);
match(RPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FormalParameterListContext extends ParserRuleContext {
public List formalParameter() {
return getRuleContexts(FormalParameterContext.class);
}
public FormalParameterContext formalParameter(int i) {
return getRuleContext(FormalParameterContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public FormalParameterListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_formalParameterList; }
}
public final FormalParameterListContext formalParameterList() throws RecognitionException {
FormalParameterListContext _localctx = new FormalParameterListContext(_ctx, getState());
enterRule(_localctx, 52, RULE_formalParameterList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(413);
formalParameter();
setState(418);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(414);
match(COMMA);
setState(415);
formalParameter();
}
}
setState(420);
_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;
}
public static class FormalParameterContext extends ParserRuleContext {
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public FormalParameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_formalParameter; }
}
public final FormalParameterContext formalParameter() throws RecognitionException {
FormalParameterContext _localctx = new FormalParameterContext(_ctx, getState());
enterRule(_localctx, 54, RULE_formalParameter);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(424);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,34,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(421);
modifier();
}
}
}
setState(426);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,34,_ctx);
}
setState(427);
typeRef();
setState(428);
id();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class QualifiedNameContext extends ParserRuleContext {
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public List DOT() { return getTokens(ApexParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(ApexParser.DOT, i);
}
public QualifiedNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_qualifiedName; }
}
public final QualifiedNameContext qualifiedName() throws RecognitionException {
QualifiedNameContext _localctx = new QualifiedNameContext(_ctx, getState());
enterRule(_localctx, 56, RULE_qualifiedName);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(430);
id();
setState(435);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DOT) {
{
{
setState(431);
match(DOT);
setState(432);
id();
}
}
setState(437);
_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;
}
public static class LiteralContext extends ParserRuleContext {
public TerminalNode IntegerLiteral() { return getToken(ApexParser.IntegerLiteral, 0); }
public TerminalNode NumberLiteral() { return getToken(ApexParser.NumberLiteral, 0); }
public TerminalNode StringLiteral() { return getToken(ApexParser.StringLiteral, 0); }
public TerminalNode BooleanLiteral() { return getToken(ApexParser.BooleanLiteral, 0); }
public TerminalNode NULL() { return getToken(ApexParser.NULL, 0); }
public LiteralContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_literal; }
}
public final LiteralContext literal() throws RecognitionException {
LiteralContext _localctx = new LiteralContext(_ctx, getState());
enterRule(_localctx, 58, RULE_literal);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(438);
_la = _input.LA(1);
if ( !(((((_la - 31)) & ~0x3f) == 0 && ((1L << (_la - 31)) & ((1L << (NULL - 31)) | (1L << (IntegerLiteral - 31)) | (1L << (NumberLiteral - 31)) | (1L << (BooleanLiteral - 31)) | (1L << (StringLiteral - 31)))) != 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 static class AnnotationContext extends ParserRuleContext {
public TerminalNode AT() { return getToken(ApexParser.AT, 0); }
public QualifiedNameContext qualifiedName() {
return getRuleContext(QualifiedNameContext.class,0);
}
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public ElementValuePairsContext elementValuePairs() {
return getRuleContext(ElementValuePairsContext.class,0);
}
public ElementValueContext elementValue() {
return getRuleContext(ElementValueContext.class,0);
}
public AnnotationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_annotation; }
}
public final AnnotationContext annotation() throws RecognitionException {
AnnotationContext _localctx = new AnnotationContext(_ctx, getState());
enterRule(_localctx, 60, RULE_annotation);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(440);
match(AT);
setState(441);
qualifiedName();
setState(448);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LPAREN) {
{
setState(442);
match(LPAREN);
setState(445);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) {
case 1:
{
setState(443);
elementValuePairs();
}
break;
case 2:
{
setState(444);
elementValue();
}
break;
}
setState(447);
match(RPAREN);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ElementValuePairsContext extends ParserRuleContext {
public List elementValuePair() {
return getRuleContexts(ElementValuePairContext.class);
}
public ElementValuePairContext elementValuePair(int i) {
return getRuleContext(ElementValuePairContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public ElementValuePairsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elementValuePairs; }
}
public final ElementValuePairsContext elementValuePairs() throws RecognitionException {
ElementValuePairsContext _localctx = new ElementValuePairsContext(_ctx, getState());
enterRule(_localctx, 62, RULE_elementValuePairs);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(450);
elementValuePair();
setState(457);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==COMMA || _la==Identifier) {
{
{
setState(452);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(451);
match(COMMA);
}
}
setState(454);
elementValuePair();
}
}
setState(459);
_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;
}
public static class ElementValuePairContext extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode ASSIGN() { return getToken(ApexParser.ASSIGN, 0); }
public ElementValueContext elementValue() {
return getRuleContext(ElementValueContext.class,0);
}
public ElementValuePairContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elementValuePair; }
}
public final ElementValuePairContext elementValuePair() throws RecognitionException {
ElementValuePairContext _localctx = new ElementValuePairContext(_ctx, getState());
enterRule(_localctx, 64, RULE_elementValuePair);
try {
enterOuterAlt(_localctx, 1);
{
setState(460);
id();
setState(461);
match(ASSIGN);
setState(462);
elementValue();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ElementValueContext extends ParserRuleContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public AnnotationContext annotation() {
return getRuleContext(AnnotationContext.class,0);
}
public ElementValueArrayInitializerContext elementValueArrayInitializer() {
return getRuleContext(ElementValueArrayInitializerContext.class,0);
}
public ElementValueContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elementValue; }
}
public final ElementValueContext elementValue() throws RecognitionException {
ElementValueContext _localctx = new ElementValueContext(_ctx, getState());
enterRule(_localctx, 66, RULE_elementValue);
try {
setState(467);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ABSTRACT:
case BREAK:
case BYTE:
case CATCH:
case CHAR:
case CLASS:
case CONST:
case CONTINUE:
case DEFAULT:
case DELETE:
case DO:
case ELSE:
case ENUM:
case EXTENDS:
case FINAL:
case FINALLY:
case FLOAT:
case FOR:
case GET:
case GLOBAL:
case GOTO:
case IF:
case IMPLEMENTS:
case INHERITED:
case INSERT:
case INSTANCEOF:
case INTERFACE:
case MERGE:
case NATIVE:
case NEW:
case NULL:
case ON:
case OVERRIDE:
case PACKAGE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case RETURN:
case RUNAS:
case SELECT:
case SET:
case SHARING:
case SHORT:
case STATIC:
case SUPER:
case SWITCH:
case TESTMETHOD:
case THIS:
case THROW:
case TRANSIENT:
case TRY:
case UNDELETE:
case UPDATE:
case UPSERT:
case VIRTUAL:
case VOID:
case WEBSERVICE:
case WHEN:
case WHILE:
case WITH:
case WITHOUT:
case IntegerLiteral:
case NumberLiteral:
case BooleanLiteral:
case StringLiteral:
case LPAREN:
case LBRACK:
case BANG:
case TILDE:
case INC:
case DEC:
case ADD:
case SUB:
case Identifier:
enterOuterAlt(_localctx, 1);
{
setState(464);
expression(0);
}
break;
case AT:
enterOuterAlt(_localctx, 2);
{
setState(465);
annotation();
}
break;
case LBRACE:
enterOuterAlt(_localctx, 3);
{
setState(466);
elementValueArrayInitializer();
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ElementValueArrayInitializerContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List elementValue() {
return getRuleContexts(ElementValueContext.class);
}
public ElementValueContext elementValue(int i) {
return getRuleContext(ElementValueContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public ElementValueArrayInitializerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elementValueArrayInitializer; }
}
public final ElementValueArrayInitializerContext elementValueArrayInitializer() throws RecognitionException {
ElementValueArrayInitializerContext _localctx = new ElementValueArrayInitializerContext(_ctx, getState());
enterRule(_localctx, 68, RULE_elementValueArrayInitializer);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(469);
match(LBRACE);
setState(478);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACE - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)) | (1L << (AT - 64)))) != 0)) {
{
setState(470);
elementValue();
setState(475);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,41,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(471);
match(COMMA);
setState(472);
elementValue();
}
}
}
setState(477);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,41,_ctx);
}
}
}
setState(481);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(480);
match(COMMA);
}
}
setState(483);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class BlockContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List statement() {
return getRuleContexts(StatementContext.class);
}
public StatementContext statement(int i) {
return getRuleContext(StatementContext.class,i);
}
public BlockContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_block; }
}
public final BlockContext block() throws RecognitionException {
BlockContext _localctx = new BlockContext(_ctx, getState());
enterRule(_localctx, 70, RULE_block);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(485);
match(LBRACE);
setState(489);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACE - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)) | (1L << (AT - 64)))) != 0)) {
{
{
setState(486);
statement();
}
}
setState(491);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(492);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LocalVariableDeclarationStatementContext extends ParserRuleContext {
public LocalVariableDeclarationContext localVariableDeclaration() {
return getRuleContext(LocalVariableDeclarationContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public LocalVariableDeclarationStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_localVariableDeclarationStatement; }
}
public final LocalVariableDeclarationStatementContext localVariableDeclarationStatement() throws RecognitionException {
LocalVariableDeclarationStatementContext _localctx = new LocalVariableDeclarationStatementContext(_ctx, getState());
enterRule(_localctx, 72, RULE_localVariableDeclarationStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(494);
localVariableDeclaration();
setState(495);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LocalVariableDeclarationContext extends ParserRuleContext {
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public VariableDeclaratorsContext variableDeclarators() {
return getRuleContext(VariableDeclaratorsContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public LocalVariableDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_localVariableDeclaration; }
}
public final LocalVariableDeclarationContext localVariableDeclaration() throws RecognitionException {
LocalVariableDeclarationContext _localctx = new LocalVariableDeclarationContext(_ctx, getState());
enterRule(_localctx, 74, RULE_localVariableDeclaration);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(500);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,45,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(497);
modifier();
}
}
}
setState(502);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,45,_ctx);
}
setState(503);
typeRef();
setState(504);
variableDeclarators();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class StatementContext extends ParserRuleContext {
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public IfStatementContext ifStatement() {
return getRuleContext(IfStatementContext.class,0);
}
public SwitchStatementContext switchStatement() {
return getRuleContext(SwitchStatementContext.class,0);
}
public ForStatementContext forStatement() {
return getRuleContext(ForStatementContext.class,0);
}
public WhileStatementContext whileStatement() {
return getRuleContext(WhileStatementContext.class,0);
}
public DoWhileStatementContext doWhileStatement() {
return getRuleContext(DoWhileStatementContext.class,0);
}
public TryStatementContext tryStatement() {
return getRuleContext(TryStatementContext.class,0);
}
public ReturnStatementContext returnStatement() {
return getRuleContext(ReturnStatementContext.class,0);
}
public ThrowStatementContext throwStatement() {
return getRuleContext(ThrowStatementContext.class,0);
}
public BreakStatementContext breakStatement() {
return getRuleContext(BreakStatementContext.class,0);
}
public ContinueStatementContext continueStatement() {
return getRuleContext(ContinueStatementContext.class,0);
}
public InsertStatementContext insertStatement() {
return getRuleContext(InsertStatementContext.class,0);
}
public UpdateStatementContext updateStatement() {
return getRuleContext(UpdateStatementContext.class,0);
}
public DeleteStatementContext deleteStatement() {
return getRuleContext(DeleteStatementContext.class,0);
}
public UndeleteStatementContext undeleteStatement() {
return getRuleContext(UndeleteStatementContext.class,0);
}
public UpsertStatementContext upsertStatement() {
return getRuleContext(UpsertStatementContext.class,0);
}
public MergeStatementContext mergeStatement() {
return getRuleContext(MergeStatementContext.class,0);
}
public RunAsStatementContext runAsStatement() {
return getRuleContext(RunAsStatementContext.class,0);
}
public LocalVariableDeclarationStatementContext localVariableDeclarationStatement() {
return getRuleContext(LocalVariableDeclarationStatementContext.class,0);
}
public ExpressionStatementContext expressionStatement() {
return getRuleContext(ExpressionStatementContext.class,0);
}
public StatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_statement; }
}
public final StatementContext statement() throws RecognitionException {
StatementContext _localctx = new StatementContext(_ctx, getState());
enterRule(_localctx, 76, RULE_statement);
try {
setState(526);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(506);
block();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(507);
ifStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(508);
switchStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(509);
forStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(510);
whileStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(511);
doWhileStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(512);
tryStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(513);
returnStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(514);
throwStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(515);
breakStatement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(516);
continueStatement();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(517);
insertStatement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(518);
updateStatement();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(519);
deleteStatement();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(520);
undeleteStatement();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(521);
upsertStatement();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(522);
mergeStatement();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(523);
runAsStatement();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(524);
localVariableDeclarationStatement();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(525);
expressionStatement();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IfStatementContext extends ParserRuleContext {
public TerminalNode IF() { return getToken(ApexParser.IF, 0); }
public ParExpressionContext parExpression() {
return getRuleContext(ParExpressionContext.class,0);
}
public List statement() {
return getRuleContexts(StatementContext.class);
}
public StatementContext statement(int i) {
return getRuleContext(StatementContext.class,i);
}
public TerminalNode ELSE() { return getToken(ApexParser.ELSE, 0); }
public IfStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_ifStatement; }
}
public final IfStatementContext ifStatement() throws RecognitionException {
IfStatementContext _localctx = new IfStatementContext(_ctx, getState());
enterRule(_localctx, 78, RULE_ifStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(528);
match(IF);
setState(529);
parExpression();
setState(530);
statement();
setState(533);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,47,_ctx) ) {
case 1:
{
setState(531);
match(ELSE);
setState(532);
statement();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwitchStatementContext extends ParserRuleContext {
public TerminalNode SWITCH() { return getToken(ApexParser.SWITCH, 0); }
public TerminalNode ON() { return getToken(ApexParser.ON, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List whenControl() {
return getRuleContexts(WhenControlContext.class);
}
public WhenControlContext whenControl(int i) {
return getRuleContext(WhenControlContext.class,i);
}
public SwitchStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_switchStatement; }
}
public final SwitchStatementContext switchStatement() throws RecognitionException {
SwitchStatementContext _localctx = new SwitchStatementContext(_ctx, getState());
enterRule(_localctx, 80, RULE_switchStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(535);
match(SWITCH);
setState(536);
match(ON);
setState(537);
expression(0);
setState(538);
match(LBRACE);
setState(540);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(539);
whenControl();
}
}
setState(542);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==WHEN );
setState(544);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class WhenControlContext extends ParserRuleContext {
public TerminalNode WHEN() { return getToken(ApexParser.WHEN, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.class,0);
}
public TerminalNode ELSE() { return getToken(ApexParser.ELSE, 0); }
public WhenControlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_whenControl; }
}
public final WhenControlContext whenControl() throws RecognitionException {
WhenControlContext _localctx = new WhenControlContext(_ctx, getState());
enterRule(_localctx, 82, RULE_whenControl);
try {
enterOuterAlt(_localctx, 1);
{
setState(546);
match(WHEN);
setState(549);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,49,_ctx) ) {
case 1:
{
setState(547);
expressionList();
}
break;
case 2:
{
setState(548);
match(ELSE);
}
break;
}
setState(551);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ForStatementContext extends ParserRuleContext {
public TerminalNode FOR() { return getToken(ApexParser.FOR, 0); }
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public ForControlContext forControl() {
return getRuleContext(ForControlContext.class,0);
}
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public ForStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_forStatement; }
}
public final ForStatementContext forStatement() throws RecognitionException {
ForStatementContext _localctx = new ForStatementContext(_ctx, getState());
enterRule(_localctx, 84, RULE_forStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(553);
match(FOR);
setState(554);
match(LPAREN);
setState(555);
forControl();
setState(556);
match(RPAREN);
setState(557);
statement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class WhileStatementContext extends ParserRuleContext {
public TerminalNode WHILE() { return getToken(ApexParser.WHILE, 0); }
public ParExpressionContext parExpression() {
return getRuleContext(ParExpressionContext.class,0);
}
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public WhileStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_whileStatement; }
}
public final WhileStatementContext whileStatement() throws RecognitionException {
WhileStatementContext _localctx = new WhileStatementContext(_ctx, getState());
enterRule(_localctx, 86, RULE_whileStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(559);
match(WHILE);
setState(560);
parExpression();
setState(561);
statement();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DoWhileStatementContext extends ParserRuleContext {
public TerminalNode DO() { return getToken(ApexParser.DO, 0); }
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public TerminalNode WHILE() { return getToken(ApexParser.WHILE, 0); }
public ParExpressionContext parExpression() {
return getRuleContext(ParExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public DoWhileStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_doWhileStatement; }
}
public final DoWhileStatementContext doWhileStatement() throws RecognitionException {
DoWhileStatementContext _localctx = new DoWhileStatementContext(_ctx, getState());
enterRule(_localctx, 88, RULE_doWhileStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(563);
match(DO);
setState(564);
statement();
setState(565);
match(WHILE);
setState(566);
parExpression();
setState(567);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TryStatementContext extends ParserRuleContext {
public TerminalNode TRY() { return getToken(ApexParser.TRY, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public FinallyBlockContext finallyBlock() {
return getRuleContext(FinallyBlockContext.class,0);
}
public List catchClause() {
return getRuleContexts(CatchClauseContext.class);
}
public CatchClauseContext catchClause(int i) {
return getRuleContext(CatchClauseContext.class,i);
}
public TryStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tryStatement; }
}
public final TryStatementContext tryStatement() throws RecognitionException {
TryStatementContext _localctx = new TryStatementContext(_ctx, getState());
enterRule(_localctx, 90, RULE_tryStatement);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(569);
match(TRY);
setState(570);
block();
setState(580);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CATCH:
{
setState(572);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(571);
catchClause();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(574);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,50,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
setState(577);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,51,_ctx) ) {
case 1:
{
setState(576);
finallyBlock();
}
break;
}
}
break;
case FINALLY:
{
setState(579);
finallyBlock();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ReturnStatementContext extends ParserRuleContext {
public TerminalNode RETURN() { return getToken(ApexParser.RETURN, 0); }
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public ReturnStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_returnStatement; }
}
public final ReturnStatementContext returnStatement() throws RecognitionException {
ReturnStatementContext _localctx = new ReturnStatementContext(_ctx, getState());
enterRule(_localctx, 92, RULE_returnStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(582);
match(RETURN);
setState(584);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(583);
expression(0);
}
}
setState(586);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ThrowStatementContext extends ParserRuleContext {
public TerminalNode THROW() { return getToken(ApexParser.THROW, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public ThrowStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_throwStatement; }
}
public final ThrowStatementContext throwStatement() throws RecognitionException {
ThrowStatementContext _localctx = new ThrowStatementContext(_ctx, getState());
enterRule(_localctx, 94, RULE_throwStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(588);
match(THROW);
setState(589);
expression(0);
setState(590);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class BreakStatementContext extends ParserRuleContext {
public TerminalNode BREAK() { return getToken(ApexParser.BREAK, 0); }
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public BreakStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_breakStatement; }
}
public final BreakStatementContext breakStatement() throws RecognitionException {
BreakStatementContext _localctx = new BreakStatementContext(_ctx, getState());
enterRule(_localctx, 96, RULE_breakStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(592);
match(BREAK);
setState(593);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ContinueStatementContext extends ParserRuleContext {
public TerminalNode CONTINUE() { return getToken(ApexParser.CONTINUE, 0); }
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public ContinueStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_continueStatement; }
}
public final ContinueStatementContext continueStatement() throws RecognitionException {
ContinueStatementContext _localctx = new ContinueStatementContext(_ctx, getState());
enterRule(_localctx, 98, RULE_continueStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(595);
match(CONTINUE);
setState(596);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class InsertStatementContext extends ParserRuleContext {
public TerminalNode INSERT() { return getToken(ApexParser.INSERT, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public InsertStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_insertStatement; }
}
public final InsertStatementContext insertStatement() throws RecognitionException {
InsertStatementContext _localctx = new InsertStatementContext(_ctx, getState());
enterRule(_localctx, 100, RULE_insertStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(598);
match(INSERT);
setState(599);
expression(0);
setState(600);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UpdateStatementContext extends ParserRuleContext {
public TerminalNode UPDATE() { return getToken(ApexParser.UPDATE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public UpdateStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_updateStatement; }
}
public final UpdateStatementContext updateStatement() throws RecognitionException {
UpdateStatementContext _localctx = new UpdateStatementContext(_ctx, getState());
enterRule(_localctx, 102, RULE_updateStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(602);
match(UPDATE);
setState(603);
expression(0);
setState(604);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DeleteStatementContext extends ParserRuleContext {
public TerminalNode DELETE() { return getToken(ApexParser.DELETE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public DeleteStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_deleteStatement; }
}
public final DeleteStatementContext deleteStatement() throws RecognitionException {
DeleteStatementContext _localctx = new DeleteStatementContext(_ctx, getState());
enterRule(_localctx, 104, RULE_deleteStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(606);
match(DELETE);
setState(607);
expression(0);
setState(608);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UndeleteStatementContext extends ParserRuleContext {
public TerminalNode UNDELETE() { return getToken(ApexParser.UNDELETE, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public UndeleteStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_undeleteStatement; }
}
public final UndeleteStatementContext undeleteStatement() throws RecognitionException {
UndeleteStatementContext _localctx = new UndeleteStatementContext(_ctx, getState());
enterRule(_localctx, 106, RULE_undeleteStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(610);
match(UNDELETE);
setState(611);
expression(0);
setState(612);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class UpsertStatementContext extends ParserRuleContext {
public TerminalNode UPSERT() { return getToken(ApexParser.UPSERT, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public QualifiedNameContext qualifiedName() {
return getRuleContext(QualifiedNameContext.class,0);
}
public UpsertStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_upsertStatement; }
}
public final UpsertStatementContext upsertStatement() throws RecognitionException {
UpsertStatementContext _localctx = new UpsertStatementContext(_ctx, getState());
enterRule(_localctx, 108, RULE_upsertStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(614);
match(UPSERT);
setState(615);
expression(0);
setState(617);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==Identifier) {
{
setState(616);
qualifiedName();
}
}
setState(619);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MergeStatementContext extends ParserRuleContext {
public TerminalNode MERGE() { return getToken(ApexParser.MERGE, 0); }
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public MergeStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_mergeStatement; }
}
public final MergeStatementContext mergeStatement() throws RecognitionException {
MergeStatementContext _localctx = new MergeStatementContext(_ctx, getState());
enterRule(_localctx, 110, RULE_mergeStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(621);
match(MERGE);
setState(622);
expression(0);
setState(623);
expression(0);
setState(624);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class RunAsStatementContext extends ParserRuleContext {
public TerminalNode RUNAS() { return getToken(ApexParser.RUNAS, 0); }
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.class,0);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public RunAsStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_runAsStatement; }
}
public final RunAsStatementContext runAsStatement() throws RecognitionException {
RunAsStatementContext _localctx = new RunAsStatementContext(_ctx, getState());
enterRule(_localctx, 112, RULE_runAsStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(626);
match(RUNAS);
setState(627);
match(LPAREN);
setState(629);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(628);
expressionList();
}
}
setState(631);
match(RPAREN);
setState(633);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) {
case 1:
{
setState(632);
block();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ExpressionStatementContext extends ParserRuleContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public ExpressionStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expressionStatement; }
}
public final ExpressionStatementContext expressionStatement() throws RecognitionException {
ExpressionStatementContext _localctx = new ExpressionStatementContext(_ctx, getState());
enterRule(_localctx, 114, RULE_expressionStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(635);
expression(0);
setState(636);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PropertyBlockContext extends ParserRuleContext {
public GetterContext getter() {
return getRuleContext(GetterContext.class,0);
}
public SetterContext setter() {
return getRuleContext(SetterContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public PropertyBlockContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_propertyBlock; }
}
public final PropertyBlockContext propertyBlock() throws RecognitionException {
PropertyBlockContext _localctx = new PropertyBlockContext(_ctx, getState());
enterRule(_localctx, 116, RULE_propertyBlock);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(641);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << FINAL) | (1L << GLOBAL) | (1L << INHERITED) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << STATIC) | (1L << TESTMETHOD) | (1L << TRANSIENT) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==AT) {
{
{
setState(638);
modifier();
}
}
setState(643);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(646);
_errHandler.sync(this);
switch (_input.LA(1)) {
case GET:
{
setState(644);
getter();
}
break;
case SET:
{
setState(645);
setter();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class GetterContext extends ParserRuleContext {
public TerminalNode GET() { return getToken(ApexParser.GET, 0); }
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public GetterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_getter; }
}
public final GetterContext getter() throws RecognitionException {
GetterContext _localctx = new GetterContext(_ctx, getState());
enterRule(_localctx, 118, RULE_getter);
try {
enterOuterAlt(_localctx, 1);
{
setState(648);
match(GET);
setState(651);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SEMI:
{
setState(649);
match(SEMI);
}
break;
case LBRACE:
{
setState(650);
block();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SetterContext extends ParserRuleContext {
public TerminalNode SET() { return getToken(ApexParser.SET, 0); }
public TerminalNode SEMI() { return getToken(ApexParser.SEMI, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public SetterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_setter; }
}
public final SetterContext setter() throws RecognitionException {
SetterContext _localctx = new SetterContext(_ctx, getState());
enterRule(_localctx, 120, RULE_setter);
try {
enterOuterAlt(_localctx, 1);
{
setState(653);
match(SET);
setState(656);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SEMI:
{
setState(654);
match(SEMI);
}
break;
case LBRACE:
{
setState(655);
block();
}
break;
default:
throw new NoViableAltException(this);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CatchClauseContext extends ParserRuleContext {
public TerminalNode CATCH() { return getToken(ApexParser.CATCH, 0); }
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public CatchTypeContext catchType() {
return getRuleContext(CatchTypeContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public CatchClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_catchClause; }
}
public final CatchClauseContext catchClause() throws RecognitionException {
CatchClauseContext _localctx = new CatchClauseContext(_ctx, getState());
enterRule(_localctx, 122, RULE_catchClause);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(658);
match(CATCH);
setState(659);
match(LPAREN);
setState(663);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,61,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(660);
modifier();
}
}
}
setState(665);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,61,_ctx);
}
setState(666);
catchType();
setState(667);
id();
setState(668);
match(RPAREN);
setState(669);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CatchTypeContext extends ParserRuleContext {
public List qualifiedName() {
return getRuleContexts(QualifiedNameContext.class);
}
public QualifiedNameContext qualifiedName(int i) {
return getRuleContext(QualifiedNameContext.class,i);
}
public List BITOR() { return getTokens(ApexParser.BITOR); }
public TerminalNode BITOR(int i) {
return getToken(ApexParser.BITOR, i);
}
public CatchTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_catchType; }
}
public final CatchTypeContext catchType() throws RecognitionException {
CatchTypeContext _localctx = new CatchTypeContext(_ctx, getState());
enterRule(_localctx, 124, RULE_catchType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(671);
qualifiedName();
setState(676);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==BITOR) {
{
{
setState(672);
match(BITOR);
setState(673);
qualifiedName();
}
}
setState(678);
_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;
}
public static class FinallyBlockContext extends ParserRuleContext {
public TerminalNode FINALLY() { return getToken(ApexParser.FINALLY, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public FinallyBlockContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_finallyBlock; }
}
public final FinallyBlockContext finallyBlock() throws RecognitionException {
FinallyBlockContext _localctx = new FinallyBlockContext(_ctx, getState());
enterRule(_localctx, 126, RULE_finallyBlock);
try {
enterOuterAlt(_localctx, 1);
{
setState(679);
match(FINALLY);
setState(680);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ForControlContext extends ParserRuleContext {
public EnhancedForControlContext enhancedForControl() {
return getRuleContext(EnhancedForControlContext.class,0);
}
public List SEMI() { return getTokens(ApexParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(ApexParser.SEMI, i);
}
public ForInitContext forInit() {
return getRuleContext(ForInitContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public ForUpdateContext forUpdate() {
return getRuleContext(ForUpdateContext.class,0);
}
public ForControlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_forControl; }
}
public final ForControlContext forControl() throws RecognitionException {
ForControlContext _localctx = new ForControlContext(_ctx, getState());
enterRule(_localctx, 128, RULE_forControl);
int _la;
try {
setState(694);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(682);
enhancedForControl();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(684);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)) | (1L << (AT - 64)))) != 0)) {
{
setState(683);
forInit();
}
}
setState(686);
match(SEMI);
setState(688);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(687);
expression(0);
}
}
setState(690);
match(SEMI);
setState(692);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(691);
forUpdate();
}
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ForInitContext extends ParserRuleContext {
public LocalVariableDeclarationContext localVariableDeclaration() {
return getRuleContext(LocalVariableDeclarationContext.class,0);
}
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.class,0);
}
public ForInitContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_forInit; }
}
public final ForInitContext forInit() throws RecognitionException {
ForInitContext _localctx = new ForInitContext(_ctx, getState());
enterRule(_localctx, 130, RULE_forInit);
try {
setState(698);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,67,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(696);
localVariableDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(697);
expressionList();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EnhancedForControlContext extends ParserRuleContext {
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode COLON() { return getToken(ApexParser.COLON, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public EnhancedForControlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enhancedForControl; }
}
public final EnhancedForControlContext enhancedForControl() throws RecognitionException {
EnhancedForControlContext _localctx = new EnhancedForControlContext(_ctx, getState());
enterRule(_localctx, 132, RULE_enhancedForControl);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(703);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,68,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(700);
modifier();
}
}
}
setState(705);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,68,_ctx);
}
setState(706);
typeRef();
setState(707);
id();
setState(708);
match(COLON);
setState(709);
expression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ForUpdateContext extends ParserRuleContext {
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.class,0);
}
public ForUpdateContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_forUpdate; }
}
public final ForUpdateContext forUpdate() throws RecognitionException {
ForUpdateContext _localctx = new ForUpdateContext(_ctx, getState());
enterRule(_localctx, 134, RULE_forUpdate);
try {
enterOuterAlt(_localctx, 1);
{
setState(711);
expressionList();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParExpressionContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public ParExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parExpression; }
}
public final ParExpressionContext parExpression() throws RecognitionException {
ParExpressionContext _localctx = new ParExpressionContext(_ctx, getState());
enterRule(_localctx, 136, RULE_parExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(713);
match(LPAREN);
setState(714);
expression(0);
setState(715);
match(RPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ExpressionListContext extends ParserRuleContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public ExpressionListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expressionList; }
}
public final ExpressionListContext expressionList() throws RecognitionException {
ExpressionListContext _localctx = new ExpressionListContext(_ctx, getState());
enterRule(_localctx, 138, RULE_expressionList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(717);
expression(0);
setState(722);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(718);
match(COMMA);
setState(719);
expression(0);
}
}
setState(724);
_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;
}
public static class ExpressionContext extends ParserRuleContext {
public ExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expression; }
public ExpressionContext() { }
public void copyFrom(ExpressionContext ctx) {
super.copyFrom(ctx);
}
}
public static class PrimaryExpressionContext extends ExpressionContext {
public PrimaryContext primary() {
return getRuleContext(PrimaryContext.class,0);
}
public PrimaryExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class Arth1ExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode MUL() { return getToken(ApexParser.MUL, 0); }
public TerminalNode DIV() { return getToken(ApexParser.DIV, 0); }
public TerminalNode MOD() { return getToken(ApexParser.MOD, 0); }
public Arth1ExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class BitOrExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode BITOR() { return getToken(ApexParser.BITOR, 0); }
public BitOrExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class ArrayExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode LBRACK() { return getToken(ApexParser.LBRACK, 0); }
public TerminalNode RBRACK() { return getToken(ApexParser.RBRACK, 0); }
public ArrayExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class NewExpressionContext extends ExpressionContext {
public TerminalNode NEW() { return getToken(ApexParser.NEW, 0); }
public CreatorContext creator() {
return getRuleContext(CreatorContext.class,0);
}
public NewExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class AssignExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode ASSIGN() { return getToken(ApexParser.ASSIGN, 0); }
public TerminalNode ADD_ASSIGN() { return getToken(ApexParser.ADD_ASSIGN, 0); }
public TerminalNode SUB_ASSIGN() { return getToken(ApexParser.SUB_ASSIGN, 0); }
public TerminalNode MUL_ASSIGN() { return getToken(ApexParser.MUL_ASSIGN, 0); }
public TerminalNode DIV_ASSIGN() { return getToken(ApexParser.DIV_ASSIGN, 0); }
public TerminalNode AND_ASSIGN() { return getToken(ApexParser.AND_ASSIGN, 0); }
public TerminalNode OR_ASSIGN() { return getToken(ApexParser.OR_ASSIGN, 0); }
public TerminalNode XOR_ASSIGN() { return getToken(ApexParser.XOR_ASSIGN, 0); }
public TerminalNode RSHIFT_ASSIGN() { return getToken(ApexParser.RSHIFT_ASSIGN, 0); }
public TerminalNode URSHIFT_ASSIGN() { return getToken(ApexParser.URSHIFT_ASSIGN, 0); }
public TerminalNode LSHIFT_ASSIGN() { return getToken(ApexParser.LSHIFT_ASSIGN, 0); }
public TerminalNode MOD_ASSIGN() { return getToken(ApexParser.MOD_ASSIGN, 0); }
public AssignExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class BitNotExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode CARET() { return getToken(ApexParser.CARET, 0); }
public BitNotExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class Arth2ExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode ADD() { return getToken(ApexParser.ADD, 0); }
public TerminalNode SUB() { return getToken(ApexParser.SUB, 0); }
public Arth2ExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class LogAndExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode AND() { return getToken(ApexParser.AND, 0); }
public LogAndExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class CastExpressionContext extends ExpressionContext {
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public CastExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class BitAndExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode BITAND() { return getToken(ApexParser.BITAND, 0); }
public BitAndExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class IdExpressionContext extends ExpressionContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode DOT() { return getToken(ApexParser.DOT, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public IdExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class LogOrExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode OR() { return getToken(ApexParser.OR, 0); }
public LogOrExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class CondExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode QUESTION() { return getToken(ApexParser.QUESTION, 0); }
public TerminalNode COLON() { return getToken(ApexParser.COLON, 0); }
public CondExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class EqualityExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode TRIPLEEQUAL() { return getToken(ApexParser.TRIPLEEQUAL, 0); }
public TerminalNode TRIPLENOTEQUAL() { return getToken(ApexParser.TRIPLENOTEQUAL, 0); }
public TerminalNode EQUAL() { return getToken(ApexParser.EQUAL, 0); }
public TerminalNode NOTEQUAL() { return getToken(ApexParser.NOTEQUAL, 0); }
public TerminalNode LESSANDGREATER() { return getToken(ApexParser.LESSANDGREATER, 0); }
public EqualityExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class Cmp1ExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public List LT() { return getTokens(ApexParser.LT); }
public TerminalNode LT(int i) {
return getToken(ApexParser.LT, i);
}
public List GT() { return getTokens(ApexParser.GT); }
public TerminalNode GT(int i) {
return getToken(ApexParser.GT, i);
}
public Cmp1ExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class FunctionCallExpressionContext extends ExpressionContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.class,0);
}
public FunctionCallExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class Cmp2ExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode LT() { return getToken(ApexParser.LT, 0); }
public TerminalNode ASSIGN() { return getToken(ApexParser.ASSIGN, 0); }
public TerminalNode GT() { return getToken(ApexParser.GT, 0); }
public TerminalNode LE() { return getToken(ApexParser.LE, 0); }
public TerminalNode GE() { return getToken(ApexParser.GE, 0); }
public Cmp2ExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class PostOpExpressionContext extends ExpressionContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode INC() { return getToken(ApexParser.INC, 0); }
public TerminalNode DEC() { return getToken(ApexParser.DEC, 0); }
public PostOpExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class NegExpressionContext extends ExpressionContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode TILDE() { return getToken(ApexParser.TILDE, 0); }
public TerminalNode BANG() { return getToken(ApexParser.BANG, 0); }
public NegExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class PreOpExpressionContext extends ExpressionContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode ADD() { return getToken(ApexParser.ADD, 0); }
public TerminalNode SUB() { return getToken(ApexParser.SUB, 0); }
public TerminalNode INC() { return getToken(ApexParser.INC, 0); }
public TerminalNode DEC() { return getToken(ApexParser.DEC, 0); }
public PreOpExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class InstanceOfExpressionContext extends ExpressionContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode INSTANCEOF() { return getToken(ApexParser.INSTANCEOF, 0); }
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public InstanceOfExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public final ExpressionContext expression() throws RecognitionException {
return expression(0);
}
private ExpressionContext expression(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
ExpressionContext _localctx = new ExpressionContext(_ctx, _parentState);
ExpressionContext _prevctx = _localctx;
int _startState = 140;
enterRecursionRule(_localctx, 140, RULE_expression, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(738);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,70,_ctx) ) {
case 1:
{
_localctx = new NewExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(726);
match(NEW);
setState(727);
creator();
}
break;
case 2:
{
_localctx = new CastExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(728);
match(LPAREN);
setState(729);
typeRef();
setState(730);
match(RPAREN);
setState(731);
expression(18);
}
break;
case 3:
{
_localctx = new PreOpExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(733);
_la = _input.LA(1);
if ( !(((((_la - 92)) & ~0x3f) == 0 && ((1L << (_la - 92)) & ((1L << (INC - 92)) | (1L << (DEC - 92)) | (1L << (ADD - 92)) | (1L << (SUB - 92)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(734);
expression(16);
}
break;
case 4:
{
_localctx = new NegExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(735);
_la = _input.LA(1);
if ( !(_la==BANG || _la==TILDE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(736);
expression(15);
}
break;
case 5:
{
_localctx = new PrimaryExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(737);
primary();
}
break;
}
_ctx.stop = _input.LT(-1);
setState(817);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,75,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
setState(815);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,74,_ctx) ) {
case 1:
{
_localctx = new Arth1ExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(740);
if (!(precpred(_ctx, 14))) throw new FailedPredicateException(this, "precpred(_ctx, 14)");
setState(741);
_la = _input.LA(1);
if ( !(((((_la - 96)) & ~0x3f) == 0 && ((1L << (_la - 96)) & ((1L << (MUL - 96)) | (1L << (DIV - 96)) | (1L << (MOD - 96)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(742);
expression(15);
}
break;
case 2:
{
_localctx = new Arth2ExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(743);
if (!(precpred(_ctx, 13))) throw new FailedPredicateException(this, "precpred(_ctx, 13)");
setState(744);
_la = _input.LA(1);
if ( !(_la==ADD || _la==SUB) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(745);
expression(14);
}
break;
case 3:
{
_localctx = new Cmp1ExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(746);
if (!(precpred(_ctx, 12))) throw new FailedPredicateException(this, "precpred(_ctx, 12)");
setState(754);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,71,_ctx) ) {
case 1:
{
setState(747);
match(LT);
setState(748);
match(LT);
}
break;
case 2:
{
setState(749);
match(GT);
setState(750);
match(GT);
setState(751);
match(GT);
}
break;
case 3:
{
setState(752);
match(GT);
setState(753);
match(GT);
}
break;
}
setState(756);
expression(13);
}
break;
case 4:
{
_localctx = new Cmp2ExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(757);
if (!(precpred(_ctx, 11))) throw new FailedPredicateException(this, "precpred(_ctx, 11)");
setState(766);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,72,_ctx) ) {
case 1:
{
setState(758);
match(LT);
setState(759);
match(ASSIGN);
}
break;
case 2:
{
setState(760);
match(GT);
setState(761);
match(ASSIGN);
}
break;
case 3:
{
setState(762);
match(LE);
}
break;
case 4:
{
setState(763);
match(GE);
}
break;
case 5:
{
setState(764);
match(GT);
}
break;
case 6:
{
setState(765);
match(LT);
}
break;
}
setState(768);
expression(12);
}
break;
case 5:
{
_localctx = new EqualityExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(769);
if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)");
setState(770);
_la = _input.LA(1);
if ( !(((((_la - 85)) & ~0x3f) == 0 && ((1L << (_la - 85)) & ((1L << (EQUAL - 85)) | (1L << (TRIPLEEQUAL - 85)) | (1L << (NOTEQUAL - 85)) | (1L << (LESSANDGREATER - 85)) | (1L << (TRIPLENOTEQUAL - 85)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(771);
expression(10);
}
break;
case 6:
{
_localctx = new BitAndExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(772);
if (!(precpred(_ctx, 8))) throw new FailedPredicateException(this, "precpred(_ctx, 8)");
setState(773);
match(BITAND);
setState(774);
expression(9);
}
break;
case 7:
{
_localctx = new BitNotExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(775);
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
setState(776);
match(CARET);
setState(777);
expression(8);
}
break;
case 8:
{
_localctx = new BitOrExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(778);
if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)");
setState(779);
match(BITOR);
setState(780);
expression(7);
}
break;
case 9:
{
_localctx = new LogAndExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(781);
if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)");
setState(782);
match(AND);
setState(783);
expression(6);
}
break;
case 10:
{
_localctx = new LogOrExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(784);
if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)");
setState(785);
match(OR);
setState(786);
expression(5);
}
break;
case 11:
{
_localctx = new CondExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(787);
if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
setState(788);
match(QUESTION);
setState(789);
expression(0);
setState(790);
match(COLON);
setState(791);
expression(4);
}
break;
case 12:
{
_localctx = new AssignExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(793);
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
setState(794);
_la = _input.LA(1);
if ( !(((((_la - 76)) & ~0x3f) == 0 && ((1L << (_la - 76)) & ((1L << (ASSIGN - 76)) | (1L << (ADD_ASSIGN - 76)) | (1L << (SUB_ASSIGN - 76)) | (1L << (MUL_ASSIGN - 76)) | (1L << (DIV_ASSIGN - 76)) | (1L << (AND_ASSIGN - 76)) | (1L << (OR_ASSIGN - 76)) | (1L << (XOR_ASSIGN - 76)) | (1L << (MOD_ASSIGN - 76)) | (1L << (LSHIFT_ASSIGN - 76)) | (1L << (RSHIFT_ASSIGN - 76)) | (1L << (URSHIFT_ASSIGN - 76)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(795);
expression(2);
}
break;
case 13:
{
_localctx = new IdExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(796);
if (!(precpred(_ctx, 22))) throw new FailedPredicateException(this, "precpred(_ctx, 22)");
setState(797);
match(DOT);
setState(798);
id();
}
break;
case 14:
{
_localctx = new ArrayExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(799);
if (!(precpred(_ctx, 21))) throw new FailedPredicateException(this, "precpred(_ctx, 21)");
setState(800);
match(LBRACK);
setState(801);
expression(0);
setState(802);
match(RBRACK);
}
break;
case 15:
{
_localctx = new FunctionCallExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(804);
if (!(precpred(_ctx, 20))) throw new FailedPredicateException(this, "precpred(_ctx, 20)");
setState(805);
match(LPAREN);
setState(807);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(806);
expressionList();
}
}
setState(809);
match(RPAREN);
}
break;
case 16:
{
_localctx = new PostOpExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(810);
if (!(precpred(_ctx, 17))) throw new FailedPredicateException(this, "precpred(_ctx, 17)");
setState(811);
_la = _input.LA(1);
if ( !(_la==INC || _la==DEC) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 17:
{
_localctx = new InstanceOfExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(812);
if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)");
setState(813);
match(INSTANCEOF);
setState(814);
typeRef();
}
break;
}
}
}
setState(819);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,75,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class PrimaryContext extends ParserRuleContext {
public PrimaryContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_primary; }
public PrimaryContext() { }
public void copyFrom(PrimaryContext ctx) {
super.copyFrom(ctx);
}
}
public static class ThisPrimaryContext extends PrimaryContext {
public TerminalNode THIS() { return getToken(ApexParser.THIS, 0); }
public ThisPrimaryContext(PrimaryContext ctx) { copyFrom(ctx); }
}
public static class SoqlPrimaryContext extends PrimaryContext {
public SoqlLiteralContext soqlLiteral() {
return getRuleContext(SoqlLiteralContext.class,0);
}
public SoqlPrimaryContext(PrimaryContext ctx) { copyFrom(ctx); }
}
public static class SuperPrimaryContext extends PrimaryContext {
public TerminalNode SUPER() { return getToken(ApexParser.SUPER, 0); }
public SuperPrimaryContext(PrimaryContext ctx) { copyFrom(ctx); }
}
public static class TypeRefPrimaryContext extends PrimaryContext {
public TypeRefContext typeRef() {
return getRuleContext(TypeRefContext.class,0);
}
public TerminalNode DOT() { return getToken(ApexParser.DOT, 0); }
public TerminalNode CLASS() { return getToken(ApexParser.CLASS, 0); }
public TypeRefPrimaryContext(PrimaryContext ctx) { copyFrom(ctx); }
}
public static class IdPrimaryContext extends PrimaryContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public IdPrimaryContext(PrimaryContext ctx) { copyFrom(ctx); }
}
public static class LiteralPrimaryContext extends PrimaryContext {
public LiteralContext literal() {
return getRuleContext(LiteralContext.class,0);
}
public LiteralPrimaryContext(PrimaryContext ctx) { copyFrom(ctx); }
}
public static class SubPrimaryContext extends PrimaryContext {
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public SubPrimaryContext(PrimaryContext ctx) { copyFrom(ctx); }
}
public final PrimaryContext primary() throws RecognitionException {
PrimaryContext _localctx = new PrimaryContext(_ctx, getState());
enterRule(_localctx, 142, RULE_primary);
try {
setState(833);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,76,_ctx) ) {
case 1:
_localctx = new SubPrimaryContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(820);
match(LPAREN);
setState(821);
expression(0);
setState(822);
match(RPAREN);
}
break;
case 2:
_localctx = new ThisPrimaryContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(824);
match(THIS);
}
break;
case 3:
_localctx = new SuperPrimaryContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(825);
match(SUPER);
}
break;
case 4:
_localctx = new LiteralPrimaryContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(826);
literal();
}
break;
case 5:
_localctx = new TypeRefPrimaryContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(827);
typeRef();
setState(828);
match(DOT);
setState(829);
match(CLASS);
}
break;
case 6:
_localctx = new IdPrimaryContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(831);
id();
}
break;
case 7:
_localctx = new SoqlPrimaryContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(832);
soqlLiteral();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreatorContext extends ParserRuleContext {
public CreatedNameContext createdName() {
return getRuleContext(CreatedNameContext.class,0);
}
public NoRestContext noRest() {
return getRuleContext(NoRestContext.class,0);
}
public ClassCreatorRestContext classCreatorRest() {
return getRuleContext(ClassCreatorRestContext.class,0);
}
public ArrayCreatorRestContext arrayCreatorRest() {
return getRuleContext(ArrayCreatorRestContext.class,0);
}
public MapCreatorRestContext mapCreatorRest() {
return getRuleContext(MapCreatorRestContext.class,0);
}
public SetCreatorRestContext setCreatorRest() {
return getRuleContext(SetCreatorRestContext.class,0);
}
public CreatorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_creator; }
}
public final CreatorContext creator() throws RecognitionException {
CreatorContext _localctx = new CreatorContext(_ctx, getState());
enterRule(_localctx, 144, RULE_creator);
try {
enterOuterAlt(_localctx, 1);
{
setState(835);
createdName();
setState(841);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,77,_ctx) ) {
case 1:
{
setState(836);
noRest();
}
break;
case 2:
{
setState(837);
classCreatorRest();
}
break;
case 3:
{
setState(838);
arrayCreatorRest();
}
break;
case 4:
{
setState(839);
mapCreatorRest();
}
break;
case 5:
{
setState(840);
setCreatorRest();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CreatedNameContext extends ParserRuleContext {
public List idCreatedNamePair() {
return getRuleContexts(IdCreatedNamePairContext.class);
}
public IdCreatedNamePairContext idCreatedNamePair(int i) {
return getRuleContext(IdCreatedNamePairContext.class,i);
}
public List DOT() { return getTokens(ApexParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(ApexParser.DOT, i);
}
public CreatedNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createdName; }
}
public final CreatedNameContext createdName() throws RecognitionException {
CreatedNameContext _localctx = new CreatedNameContext(_ctx, getState());
enterRule(_localctx, 146, RULE_createdName);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(843);
idCreatedNamePair();
setState(848);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DOT) {
{
{
setState(844);
match(DOT);
setState(845);
idCreatedNamePair();
}
}
setState(850);
_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;
}
public static class IdCreatedNamePairContext extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode LT() { return getToken(ApexParser.LT, 0); }
public TypeListContext typeList() {
return getRuleContext(TypeListContext.class,0);
}
public TerminalNode GT() { return getToken(ApexParser.GT, 0); }
public IdCreatedNamePairContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_idCreatedNamePair; }
}
public final IdCreatedNamePairContext idCreatedNamePair() throws RecognitionException {
IdCreatedNamePairContext _localctx = new IdCreatedNamePairContext(_ctx, getState());
enterRule(_localctx, 148, RULE_idCreatedNamePair);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(851);
id();
setState(856);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(852);
match(LT);
setState(853);
typeList();
setState(854);
match(GT);
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class NoRestContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public NoRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_noRest; }
}
public final NoRestContext noRest() throws RecognitionException {
NoRestContext _localctx = new NoRestContext(_ctx, getState());
enterRule(_localctx, 150, RULE_noRest);
try {
enterOuterAlt(_localctx, 1);
{
setState(858);
match(LBRACE);
setState(859);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ClassCreatorRestContext extends ParserRuleContext {
public ArgumentsContext arguments() {
return getRuleContext(ArgumentsContext.class,0);
}
public ClassCreatorRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classCreatorRest; }
}
public final ClassCreatorRestContext classCreatorRest() throws RecognitionException {
ClassCreatorRestContext _localctx = new ClassCreatorRestContext(_ctx, getState());
enterRule(_localctx, 152, RULE_classCreatorRest);
try {
enterOuterAlt(_localctx, 1);
{
setState(861);
arguments();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ArrayCreatorRestContext extends ParserRuleContext {
public TerminalNode LBRACK() { return getToken(ApexParser.LBRACK, 0); }
public TerminalNode RBRACK() { return getToken(ApexParser.RBRACK, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public ArrayInitializerContext arrayInitializer() {
return getRuleContext(ArrayInitializerContext.class,0);
}
public ArrayCreatorRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayCreatorRest; }
}
public final ArrayCreatorRestContext arrayCreatorRest() throws RecognitionException {
ArrayCreatorRestContext _localctx = new ArrayCreatorRestContext(_ctx, getState());
enterRule(_localctx, 154, RULE_arrayCreatorRest);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(863);
match(LBRACK);
setState(865);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(864);
expression(0);
}
}
setState(867);
match(RBRACK);
setState(869);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,81,_ctx) ) {
case 1:
{
setState(868);
arrayInitializer();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MapCreatorRestContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public List mapCreatorRestPair() {
return getRuleContexts(MapCreatorRestPairContext.class);
}
public MapCreatorRestPairContext mapCreatorRestPair(int i) {
return getRuleContext(MapCreatorRestPairContext.class,i);
}
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public MapCreatorRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_mapCreatorRest; }
}
public final MapCreatorRestContext mapCreatorRest() throws RecognitionException {
MapCreatorRestContext _localctx = new MapCreatorRestContext(_ctx, getState());
enterRule(_localctx, 156, RULE_mapCreatorRest);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(871);
match(LBRACE);
setState(872);
mapCreatorRestPair();
setState(877);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(873);
match(COMMA);
setState(874);
mapCreatorRestPair();
}
}
setState(879);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(880);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MapCreatorRestPairContext extends ParserRuleContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode MAP() { return getToken(ApexParser.MAP, 0); }
public MapCreatorRestPairContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_mapCreatorRestPair; }
}
public final MapCreatorRestPairContext mapCreatorRestPair() throws RecognitionException {
MapCreatorRestPairContext _localctx = new MapCreatorRestPairContext(_ctx, getState());
enterRule(_localctx, 158, RULE_mapCreatorRestPair);
try {
enterOuterAlt(_localctx, 1);
{
setState(882);
expression(0);
setState(883);
match(MAP);
setState(884);
expression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SetCreatorRestContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(ApexParser.LBRACE, 0); }
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode RBRACE() { return getToken(ApexParser.RBRACE, 0); }
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public SetCreatorRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_setCreatorRest; }
}
public final SetCreatorRestContext setCreatorRest() throws RecognitionException {
SetCreatorRestContext _localctx = new SetCreatorRestContext(_ctx, getState());
enterRule(_localctx, 160, RULE_setCreatorRest);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(886);
match(LBRACE);
setState(887);
expression(0);
setState(892);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(888);
match(COMMA);
{
setState(889);
expression(0);
}
}
}
setState(894);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(895);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ArgumentsContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.class,0);
}
public ArgumentsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arguments; }
}
public final ArgumentsContext arguments() throws RecognitionException {
ArgumentsContext _localctx = new ArgumentsContext(_ctx, getState());
enterRule(_localctx, 162, RULE_arguments);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(897);
match(LPAREN);
setState(899);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << IntegerLiteral) | (1L << NumberLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACK - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(898);
expressionList();
}
}
setState(901);
match(RPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SoqlLiteralContext extends ParserRuleContext {
public TerminalNode LBRACK() { return getToken(ApexParser.LBRACK, 0); }
public List RBRACK() { return getTokens(ApexParser.RBRACK); }
public TerminalNode RBRACK(int i) {
return getToken(ApexParser.RBRACK, i);
}
public List soqlLiteral() {
return getRuleContexts(SoqlLiteralContext.class);
}
public SoqlLiteralContext soqlLiteral(int i) {
return getRuleContext(SoqlLiteralContext.class,i);
}
public SoqlLiteralContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_soqlLiteral; }
}
public final SoqlLiteralContext soqlLiteral() throws RecognitionException {
SoqlLiteralContext _localctx = new SoqlLiteralContext(_ctx, getState());
enterRule(_localctx, 164, RULE_soqlLiteral);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(903);
match(LBRACK);
setState(908);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,86,_ctx);
while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1+1 ) {
{
setState(906);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,85,_ctx) ) {
case 1:
{
setState(904);
soqlLiteral();
}
break;
case 2:
{
setState(905);
_la = _input.LA(1);
if ( _la <= 0 || (_la==RBRACK) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
}
}
}
setState(910);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,86,_ctx);
}
setState(911);
match(RBRACK);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IdContext extends ParserRuleContext {
public TerminalNode Identifier() { return getToken(ApexParser.Identifier, 0); }
public TerminalNode ABSTRACT() { return getToken(ApexParser.ABSTRACT, 0); }
public TerminalNode BREAK() { return getToken(ApexParser.BREAK, 0); }
public TerminalNode BYTE() { return getToken(ApexParser.BYTE, 0); }
public TerminalNode CATCH() { return getToken(ApexParser.CATCH, 0); }
public TerminalNode CHAR() { return getToken(ApexParser.CHAR, 0); }
public TerminalNode CLASS() { return getToken(ApexParser.CLASS, 0); }
public TerminalNode CONST() { return getToken(ApexParser.CONST, 0); }
public TerminalNode CONTINUE() { return getToken(ApexParser.CONTINUE, 0); }
public TerminalNode DEFAULT() { return getToken(ApexParser.DEFAULT, 0); }
public TerminalNode DELETE() { return getToken(ApexParser.DELETE, 0); }
public TerminalNode DO() { return getToken(ApexParser.DO, 0); }
public TerminalNode ELSE() { return getToken(ApexParser.ELSE, 0); }
public TerminalNode ENUM() { return getToken(ApexParser.ENUM, 0); }
public TerminalNode EXTENDS() { return getToken(ApexParser.EXTENDS, 0); }
public TerminalNode FINAL() { return getToken(ApexParser.FINAL, 0); }
public TerminalNode FINALLY() { return getToken(ApexParser.FINALLY, 0); }
public TerminalNode FLOAT() { return getToken(ApexParser.FLOAT, 0); }
public TerminalNode FOR() { return getToken(ApexParser.FOR, 0); }
public TerminalNode GET() { return getToken(ApexParser.GET, 0); }
public TerminalNode GLOBAL() { return getToken(ApexParser.GLOBAL, 0); }
public TerminalNode GOTO() { return getToken(ApexParser.GOTO, 0); }
public TerminalNode IF() { return getToken(ApexParser.IF, 0); }
public TerminalNode IMPLEMENTS() { return getToken(ApexParser.IMPLEMENTS, 0); }
public TerminalNode INHERITED() { return getToken(ApexParser.INHERITED, 0); }
public TerminalNode INSERT() { return getToken(ApexParser.INSERT, 0); }
public TerminalNode INSTANCEOF() { return getToken(ApexParser.INSTANCEOF, 0); }
public TerminalNode INTERFACE() { return getToken(ApexParser.INTERFACE, 0); }
public TerminalNode MERGE() { return getToken(ApexParser.MERGE, 0); }
public TerminalNode NATIVE() { return getToken(ApexParser.NATIVE, 0); }
public TerminalNode NEW() { return getToken(ApexParser.NEW, 0); }
public TerminalNode NULL() { return getToken(ApexParser.NULL, 0); }
public TerminalNode ON() { return getToken(ApexParser.ON, 0); }
public TerminalNode OVERRIDE() { return getToken(ApexParser.OVERRIDE, 0); }
public TerminalNode PACKAGE() { return getToken(ApexParser.PACKAGE, 0); }
public TerminalNode PRIVATE() { return getToken(ApexParser.PRIVATE, 0); }
public TerminalNode PROTECTED() { return getToken(ApexParser.PROTECTED, 0); }
public TerminalNode PUBLIC() { return getToken(ApexParser.PUBLIC, 0); }
public TerminalNode RETURN() { return getToken(ApexParser.RETURN, 0); }
public TerminalNode RUNAS() { return getToken(ApexParser.RUNAS, 0); }
public TerminalNode SELECT() { return getToken(ApexParser.SELECT, 0); }
public TerminalNode SET() { return getToken(ApexParser.SET, 0); }
public TerminalNode SHARING() { return getToken(ApexParser.SHARING, 0); }
public TerminalNode SHORT() { return getToken(ApexParser.SHORT, 0); }
public TerminalNode STATIC() { return getToken(ApexParser.STATIC, 0); }
public TerminalNode SWITCH() { return getToken(ApexParser.SWITCH, 0); }
public TerminalNode SUPER() { return getToken(ApexParser.SUPER, 0); }
public TerminalNode TESTMETHOD() { return getToken(ApexParser.TESTMETHOD, 0); }
public TerminalNode THIS() { return getToken(ApexParser.THIS, 0); }
public TerminalNode THROW() { return getToken(ApexParser.THROW, 0); }
public TerminalNode TRANSIENT() { return getToken(ApexParser.TRANSIENT, 0); }
public TerminalNode TRY() { return getToken(ApexParser.TRY, 0); }
public TerminalNode UNDELETE() { return getToken(ApexParser.UNDELETE, 0); }
public TerminalNode UPDATE() { return getToken(ApexParser.UPDATE, 0); }
public TerminalNode UPSERT() { return getToken(ApexParser.UPSERT, 0); }
public TerminalNode VIRTUAL() { return getToken(ApexParser.VIRTUAL, 0); }
public TerminalNode VOID() { return getToken(ApexParser.VOID, 0); }
public TerminalNode WEBSERVICE() { return getToken(ApexParser.WEBSERVICE, 0); }
public TerminalNode WHEN() { return getToken(ApexParser.WHEN, 0); }
public TerminalNode WHILE() { return getToken(ApexParser.WHILE, 0); }
public TerminalNode WITH() { return getToken(ApexParser.WITH, 0); }
public TerminalNode WITHOUT() { return getToken(ApexParser.WITHOUT, 0); }
public IdContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_id; }
}
public final IdContext id() throws RecognitionException {
IdContext _localctx = new IdContext(_ctx, getState());
enterRule(_localctx, 166, RULE_id);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(913);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BREAK) | (1L << BYTE) | (1L << CATCH) | (1L << CHAR) | (1L << CLASS) | (1L << CONST) | (1L << CONTINUE) | (1L << DEFAULT) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FLOAT) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << GOTO) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NATIVE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PACKAGE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << RUNAS) | (1L << SELECT) | (1L << SET) | (1L << SHARING) | (1L << SHORT) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==Identifier) ) {
_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 70:
return expression_sempred((ExpressionContext)_localctx, predIndex);
}
return true;
}
private boolean expression_sempred(ExpressionContext _localctx, int predIndex) {
switch (predIndex) {
case 0:
return precpred(_ctx, 14);
case 1:
return precpred(_ctx, 13);
case 2:
return precpred(_ctx, 12);
case 3:
return precpred(_ctx, 11);
case 4:
return precpred(_ctx, 9);
case 5:
return precpred(_ctx, 8);
case 6:
return precpred(_ctx, 7);
case 7:
return precpred(_ctx, 6);
case 8:
return precpred(_ctx, 5);
case 9:
return precpred(_ctx, 4);
case 10:
return precpred(_ctx, 3);
case 11:
return precpred(_ctx, 2);
case 12:
return precpred(_ctx, 22);
case 13:
return precpred(_ctx, 21);
case 14:
return precpred(_ctx, 20);
case 15:
return precpred(_ctx, 17);
case 16:
return precpred(_ctx, 10);
}
return true;
}
public static final String _serializedATN =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3y\u0396\4\2\t\2\4"+
"\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t"+
"\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
"\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+
",\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64\t"+
"\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:\4;\t;\4<\t<\4=\t="+
"\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I"+
"\tI\4J\tJ\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT"+
"\4U\tU\3\2\3\2\3\2\3\3\7\3\u00af\n\3\f\3\16\3\u00b2\13\3\3\3\3\3\7\3\u00b6"+
"\n\3\f\3\16\3\u00b9\13\3\3\3\3\3\7\3\u00bd\n\3\f\3\16\3\u00c0\13\3\3\3"+
"\5\3\u00c3\n\3\3\4\3\4\3\4\3\4\5\4\u00c9\n\4\3\4\3\4\5\4\u00cd\n\4\3\4"+
"\3\4\3\5\3\5\3\5\3\5\5\5\u00d5\n\5\3\5\3\5\3\6\3\6\3\6\7\6\u00dc\n\6\f"+
"\6\16\6\u00df\13\6\3\7\3\7\3\7\3\7\5\7\u00e5\n\7\3\7\3\7\3\b\3\b\3\b\7"+
"\b\u00ec\n\b\f\b\16\b\u00ef\13\b\3\t\3\t\7\t\u00f3\n\t\f\t\16\t\u00f6"+
"\13\t\3\t\3\t\3\n\3\n\7\n\u00fc\n\n\f\n\16\n\u00ff\13\n\3\n\3\n\3\13\3"+
"\13\5\13\u0105\n\13\3\13\3\13\7\13\u0109\n\13\f\13\16\13\u010c\13\13\3"+
"\13\5\13\u010f\n\13\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3"+
"\f\3\f\3\f\3\f\3\f\3\f\3\f\5\f\u0124\n\f\3\r\3\r\3\r\3\r\3\r\3\r\3\r\5"+
"\r\u012d\n\r\3\16\7\16\u0130\n\16\f\16\16\16\u0133\13\16\3\16\3\16\5\16"+
"\u0137\n\16\3\16\3\16\3\16\3\16\5\16\u013d\n\16\3\17\3\17\3\17\3\17\3"+
"\20\3\20\3\20\3\20\3\21\3\21\3\21\3\21\7\21\u014b\n\21\f\21\16\21\u014e"+
"\13\21\3\21\3\21\3\22\7\22\u0153\n\22\f\22\16\22\u0156\13\22\3\22\3\22"+
"\5\22\u015a\n\22\3\22\3\22\3\22\3\22\3\23\3\23\3\23\7\23\u0163\n\23\f"+
"\23\16\23\u0166\13\23\3\24\3\24\3\24\5\24\u016b\n\24\3\25\3\25\5\25\u016f"+
"\n\25\3\26\3\26\3\26\3\26\7\26\u0175\n\26\f\26\16\26\u0178\13\26\3\26"+
"\5\26\u017b\n\26\5\26\u017d\n\26\3\26\3\26\3\27\3\27\3\27\7\27\u0184\n"+
"\27\f\27\16\27\u0187\13\27\3\27\3\27\3\30\3\30\7\30\u018d\n\30\f\30\16"+
"\30\u0190\13\30\3\31\3\31\5\31\u0194\n\31\3\32\3\32\3\32\3\32\3\33\3\33"+
"\5\33\u019c\n\33\3\33\3\33\3\34\3\34\3\34\7\34\u01a3\n\34\f\34\16\34\u01a6"+
"\13\34\3\35\7\35\u01a9\n\35\f\35\16\35\u01ac\13\35\3\35\3\35\3\35\3\36"+
"\3\36\3\36\7\36\u01b4\n\36\f\36\16\36\u01b7\13\36\3\37\3\37\3 \3 \3 \3"+
" \3 \5 \u01c0\n \3 \5 \u01c3\n \3!\3!\5!\u01c7\n!\3!\7!\u01ca\n!\f!\16"+
"!\u01cd\13!\3\"\3\"\3\"\3\"\3#\3#\3#\5#\u01d6\n#\3$\3$\3$\3$\7$\u01dc"+
"\n$\f$\16$\u01df\13$\5$\u01e1\n$\3$\5$\u01e4\n$\3$\3$\3%\3%\7%\u01ea\n"+
"%\f%\16%\u01ed\13%\3%\3%\3&\3&\3&\3\'\7\'\u01f5\n\'\f\'\16\'\u01f8\13"+
"\'\3\'\3\'\3\'\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3(\3"+
"(\3(\5(\u0211\n(\3)\3)\3)\3)\3)\5)\u0218\n)\3*\3*\3*\3*\3*\6*\u021f\n"+
"*\r*\16*\u0220\3*\3*\3+\3+\3+\5+\u0228\n+\3+\3+\3,\3,\3,\3,\3,\3,\3-\3"+
"-\3-\3-\3.\3.\3.\3.\3.\3.\3/\3/\3/\6/\u023f\n/\r/\16/\u0240\3/\5/\u0244"+
"\n/\3/\5/\u0247\n/\3\60\3\60\5\60\u024b\n\60\3\60\3\60\3\61\3\61\3\61"+
"\3\61\3\62\3\62\3\62\3\63\3\63\3\63\3\64\3\64\3\64\3\64\3\65\3\65\3\65"+
"\3\65\3\66\3\66\3\66\3\66\3\67\3\67\3\67\3\67\38\38\38\58\u026c\n8\38"+
"\38\39\39\39\39\39\3:\3:\3:\5:\u0278\n:\3:\3:\5:\u027c\n:\3;\3;\3;\3<"+
"\7<\u0282\n<\f<\16<\u0285\13<\3<\3<\5<\u0289\n<\3=\3=\3=\5=\u028e\n=\3"+
">\3>\3>\5>\u0293\n>\3?\3?\3?\7?\u0298\n?\f?\16?\u029b\13?\3?\3?\3?\3?"+
"\3?\3@\3@\3@\7@\u02a5\n@\f@\16@\u02a8\13@\3A\3A\3A\3B\3B\5B\u02af\nB\3"+
"B\3B\5B\u02b3\nB\3B\3B\5B\u02b7\nB\5B\u02b9\nB\3C\3C\5C\u02bd\nC\3D\7"+
"D\u02c0\nD\fD\16D\u02c3\13D\3D\3D\3D\3D\3D\3E\3E\3F\3F\3F\3F\3G\3G\3G"+
"\7G\u02d3\nG\fG\16G\u02d6\13G\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\5"+
"H\u02e5\nH\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\5H\u02f5\nH\3H\3"+
"H\3H\3H\3H\3H\3H\3H\3H\3H\5H\u0301\nH\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3"+
"H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3H\3"+
"H\3H\3H\3H\3H\3H\5H\u032a\nH\3H\3H\3H\3H\3H\3H\7H\u0332\nH\fH\16H\u0335"+
"\13H\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\3I\5I\u0344\nI\3J\3J\3J\3J\3"+
"J\3J\5J\u034c\nJ\3K\3K\3K\7K\u0351\nK\fK\16K\u0354\13K\3L\3L\3L\3L\3L"+
"\5L\u035b\nL\3M\3M\3M\3N\3N\3O\3O\5O\u0364\nO\3O\3O\5O\u0368\nO\3P\3P"+
"\3P\3P\7P\u036e\nP\fP\16P\u0371\13P\3P\3P\3Q\3Q\3Q\3Q\3R\3R\3R\3R\7R\u037d"+
"\nR\fR\16R\u0380\13R\3R\3R\3S\3S\5S\u0386\nS\3S\3S\3T\3T\3T\7T\u038d\n"+
"T\fT\16T\u0390\13T\3T\3T\3U\3U\3U\3\u038e\3\u008eV\2\4\6\b\n\f\16\20\22"+
"\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFHJLNPRTVXZ\\^`bdfhjlnp"+
"rtvxz|~\u0080\u0082\u0084\u0086\u0088\u008a\u008c\u008e\u0090\u0092\u0094"+
"\u0096\u0098\u009a\u009c\u009e\u00a0\u00a2\u00a4\u00a6\u00a8\2\f\4\2!"+
"!@C\3\2^a\3\2ST\4\2bcgg\3\2`a\3\2W[\4\2NNis\3\2^_\3\2JJ\4\2\3?tt\2\u03e0"+
"\2\u00aa\3\2\2\2\4\u00c2\3\2\2\2\6\u00c4\3\2\2\2\b\u00d0\3\2\2\2\n\u00d8"+
"\3\2\2\2\f\u00e0\3\2\2\2\16\u00e8\3\2\2\2\20\u00f0\3\2\2\2\22\u00f9\3"+
"\2\2\2\24\u010e\3\2\2\2\26\u0123\3\2\2\2\30\u012c\3\2\2\2\32\u0131\3\2"+
"\2\2\34\u013e\3\2\2\2\36\u0142\3\2\2\2 \u0146\3\2\2\2\"\u0154\3\2\2\2"+
"$\u015f\3\2\2\2&\u0167\3\2\2\2(\u016e\3\2\2\2*\u0170\3\2\2\2,\u0180\3"+
"\2\2\2.\u018e\3\2\2\2\60\u0191\3\2\2\2\62\u0195\3\2\2\2\64\u0199\3\2\2"+
"\2\66\u019f\3\2\2\28\u01aa\3\2\2\2:\u01b0\3\2\2\2<\u01b8\3\2\2\2>\u01ba"+
"\3\2\2\2@\u01c4\3\2\2\2B\u01ce\3\2\2\2D\u01d5\3\2\2\2F\u01d7\3\2\2\2H"+
"\u01e7\3\2\2\2J\u01f0\3\2\2\2L\u01f6\3\2\2\2N\u0210\3\2\2\2P\u0212\3\2"+
"\2\2R\u0219\3\2\2\2T\u0224\3\2\2\2V\u022b\3\2\2\2X\u0231\3\2\2\2Z\u0235"+
"\3\2\2\2\\\u023b\3\2\2\2^\u0248\3\2\2\2`\u024e\3\2\2\2b\u0252\3\2\2\2"+
"d\u0255\3\2\2\2f\u0258\3\2\2\2h\u025c\3\2\2\2j\u0260\3\2\2\2l\u0264\3"+
"\2\2\2n\u0268\3\2\2\2p\u026f\3\2\2\2r\u0274\3\2\2\2t\u027d\3\2\2\2v\u0283"+
"\3\2\2\2x\u028a\3\2\2\2z\u028f\3\2\2\2|\u0294\3\2\2\2~\u02a1\3\2\2\2\u0080"+
"\u02a9\3\2\2\2\u0082\u02b8\3\2\2\2\u0084\u02bc\3\2\2\2\u0086\u02c1\3\2"+
"\2\2\u0088\u02c9\3\2\2\2\u008a\u02cb\3\2\2\2\u008c\u02cf\3\2\2\2\u008e"+
"\u02e4\3\2\2\2\u0090\u0343\3\2\2\2\u0092\u0345\3\2\2\2\u0094\u034d\3\2"+
"\2\2\u0096\u0355\3\2\2\2\u0098\u035c\3\2\2\2\u009a\u035f\3\2\2\2\u009c"+
"\u0361\3\2\2\2\u009e\u0369\3\2\2\2\u00a0\u0374\3\2\2\2\u00a2\u0378\3\2"+
"\2\2\u00a4\u0383\3\2\2\2\u00a6\u0389\3\2\2\2\u00a8\u0393\3\2\2\2\u00aa"+
"\u00ab\5\4\3\2\u00ab\u00ac\7\2\2\3\u00ac\3\3\2\2\2\u00ad\u00af\5\26\f"+
"\2\u00ae\u00ad\3\2\2\2\u00af\u00b2\3\2\2\2\u00b0\u00ae\3\2\2\2\u00b0\u00b1"+
"\3\2\2\2\u00b1\u00b3\3\2\2\2\u00b2\u00b0\3\2\2\2\u00b3\u00c3\5\6\4\2\u00b4"+
"\u00b6\5\26\f\2\u00b5\u00b4\3\2\2\2\u00b6\u00b9\3\2\2\2\u00b7\u00b5\3"+
"\2\2\2\u00b7\u00b8\3\2\2\2\u00b8\u00ba\3\2\2\2\u00b9\u00b7\3\2\2\2\u00ba"+
"\u00c3\5\b\5\2\u00bb\u00bd\5\26\f\2\u00bc\u00bb\3\2\2\2\u00bd\u00c0\3"+
"\2\2\2\u00be\u00bc\3\2\2\2\u00be\u00bf\3\2\2\2\u00bf\u00c1\3\2\2\2\u00c0"+
"\u00be\3\2\2\2\u00c1\u00c3\5\f\7\2\u00c2\u00b0\3\2\2\2\u00c2\u00b7\3\2"+
"\2\2\u00c2\u00be\3\2\2\2\u00c3\5\3\2\2\2\u00c4\u00c5\7\b\2\2\u00c5\u00c8"+
"\5\u00a8U\2\u00c6\u00c7\7\20\2\2\u00c7\u00c9\5,\27\2\u00c8\u00c6\3\2\2"+
"\2\u00c8\u00c9\3\2\2\2\u00c9\u00cc\3\2\2\2\u00ca\u00cb\7\31\2\2\u00cb"+
"\u00cd\5\16\b\2\u00cc\u00ca\3\2\2\2\u00cc\u00cd\3\2\2\2\u00cd\u00ce\3"+
"\2\2\2\u00ce\u00cf\5\20\t\2\u00cf\7\3\2\2\2\u00d0\u00d1\7\17\2\2\u00d1"+
"\u00d2\5\u00a8U\2\u00d2\u00d4\7G\2\2\u00d3\u00d5\5\n\6\2\u00d4\u00d3\3"+
"\2\2\2\u00d4\u00d5\3\2\2\2\u00d5\u00d6\3\2\2\2\u00d6\u00d7\7H\2\2\u00d7"+
"\t\3\2\2\2\u00d8\u00dd\5\u00a8U\2\u00d9\u00da\7L\2\2\u00da\u00dc\5\u00a8"+
"U\2\u00db\u00d9\3\2\2\2\u00dc\u00df\3\2\2\2\u00dd\u00db\3\2\2\2\u00dd"+
"\u00de\3\2\2\2\u00de\13\3\2\2\2\u00df\u00dd\3\2\2\2\u00e0\u00e1\7\35\2"+
"\2\u00e1\u00e4\5\u00a8U\2\u00e2\u00e3\7\20\2\2\u00e3\u00e5\5\16\b\2\u00e4"+
"\u00e2\3\2\2\2\u00e4\u00e5\3\2\2\2\u00e5\u00e6\3\2\2\2\u00e6\u00e7\5\22"+
"\n\2\u00e7\r\3\2\2\2\u00e8\u00ed\5,\27\2\u00e9\u00ea\7L\2\2\u00ea\u00ec"+
"\5,\27\2\u00eb\u00e9\3\2\2\2\u00ec\u00ef\3\2\2\2\u00ed\u00eb\3\2\2\2\u00ed"+
"\u00ee\3\2\2\2\u00ee\17\3\2\2\2\u00ef\u00ed\3\2\2\2\u00f0\u00f4\7G\2\2"+
"\u00f1\u00f3\5\24\13\2\u00f2\u00f1\3\2\2\2\u00f3\u00f6\3\2\2\2\u00f4\u00f2"+
"\3\2\2\2\u00f4\u00f5\3\2\2\2\u00f5\u00f7\3\2\2\2\u00f6\u00f4\3\2\2\2\u00f7"+
"\u00f8\7H\2\2\u00f8\21\3\2\2\2\u00f9\u00fd\7G\2\2\u00fa\u00fc\5\"\22\2"+
"\u00fb\u00fa\3\2\2\2\u00fc\u00ff\3\2\2\2\u00fd\u00fb\3\2\2\2\u00fd\u00fe"+
"\3\2\2\2\u00fe\u0100\3\2\2\2\u00ff\u00fd\3\2\2\2\u0100\u0101\7H\2\2\u0101"+
"\23\3\2\2\2\u0102\u010f\7K\2\2\u0103\u0105\7.\2\2\u0104\u0103\3\2\2\2"+
"\u0104\u0105\3\2\2\2\u0105\u0106\3\2\2\2\u0106\u010f\5H%\2\u0107\u0109"+
"\5\26\f\2\u0108\u0107\3\2\2\2\u0109\u010c\3\2\2\2\u010a\u0108\3\2\2\2"+
"\u010a\u010b\3\2\2\2\u010b\u010d\3\2\2\2\u010c\u010a\3\2\2\2\u010d\u010f"+
"\5\30\r\2\u010e\u0102\3\2\2\2\u010e\u0104\3\2\2\2\u010e\u010a\3\2\2\2"+
"\u010f\25\3\2\2\2\u0110\u0124\5> \2\u0111\u0124\7\26\2\2\u0112\u0124\7"+
"\'\2\2\u0113\u0124\7&\2\2\u0114\u0124\7%\2\2\u0115\u0124\7\64\2\2\u0116"+
"\u0124\7.\2\2\u0117\u0124\7\3\2\2\u0118\u0124\7\21\2\2\u0119\u0124\7;"+
"\2\2\u011a\u0124\7#\2\2\u011b\u0124\79\2\2\u011c\u0124\7\61\2\2\u011d"+
"\u011e\7>\2\2\u011e\u0124\7,\2\2\u011f\u0120\7?\2\2\u0120\u0124\7,\2\2"+
"\u0121\u0122\7\32\2\2\u0122\u0124\7,\2\2\u0123\u0110\3\2\2\2\u0123\u0111"+
"\3\2\2\2\u0123\u0112\3\2\2\2\u0123\u0113\3\2\2\2\u0123\u0114\3\2\2\2\u0123"+
"\u0115\3\2\2\2\u0123\u0116\3\2\2\2\u0123\u0117\3\2\2\2\u0123\u0118\3\2"+
"\2\2\u0123\u0119\3\2\2\2\u0123\u011a\3\2\2\2\u0123\u011b\3\2\2\2\u0123"+
"\u011c\3\2\2\2\u0123\u011d\3\2\2\2\u0123\u011f\3\2\2\2\u0123\u0121\3\2"+
"\2\2\u0124\27\3\2\2\2\u0125\u012d\5\32\16\2\u0126\u012d\5\36\20\2\u0127"+
"\u012d\5\34\17\2\u0128\u012d\5\f\7\2\u0129\u012d\5\6\4\2\u012a\u012d\5"+
"\b\5\2\u012b\u012d\5 \21\2\u012c\u0125\3\2\2\2\u012c\u0126\3\2\2\2\u012c"+
"\u0127\3\2\2\2\u012c\u0128\3\2\2\2\u012c\u0129\3\2\2\2\u012c\u012a\3\2"+
"\2\2\u012c\u012b\3\2\2\2\u012d\31\3\2\2\2\u012e\u0130\5\26\f\2\u012f\u012e"+
"\3\2\2\2\u0130\u0133\3\2\2\2\u0131\u012f\3\2\2\2\u0131\u0132\3\2\2\2\u0132"+
"\u0136\3\2\2\2\u0133\u0131\3\2\2\2\u0134\u0137\5,\27\2\u0135\u0137\7:"+
"\2\2\u0136\u0134\3\2\2\2\u0136\u0135\3\2\2\2\u0137\u0138\3\2\2\2\u0138"+
"\u0139\5\u00a8U\2\u0139\u013c\5\64\33\2\u013a\u013d\5H%\2\u013b\u013d"+
"\7K\2\2\u013c\u013a\3\2\2\2\u013c\u013b\3\2\2\2\u013d\33\3\2\2\2\u013e"+
"\u013f\5:\36\2\u013f\u0140\5\64\33\2\u0140\u0141\5H%\2\u0141\35\3\2\2"+
"\2\u0142\u0143\5,\27\2\u0143\u0144\5$\23\2\u0144\u0145\7K\2\2\u0145\37"+
"\3\2\2\2\u0146\u0147\5,\27\2\u0147\u0148\5\u00a8U\2\u0148\u014c\7G\2\2"+
"\u0149\u014b\5v<\2\u014a\u0149\3\2\2\2\u014b\u014e\3\2\2\2\u014c\u014a"+
"\3\2\2\2\u014c\u014d\3\2\2\2\u014d\u014f\3\2\2\2\u014e\u014c\3\2\2\2\u014f"+
"\u0150\7H\2\2\u0150!\3\2\2\2\u0151\u0153\5\26\f\2\u0152\u0151\3\2\2\2"+
"\u0153\u0156\3\2\2\2\u0154\u0152\3\2\2\2\u0154\u0155\3\2\2\2\u0155\u0159"+
"\3\2\2\2\u0156\u0154\3\2\2\2\u0157\u015a\5,\27\2\u0158\u015a\7:\2\2\u0159"+
"\u0157\3\2\2\2\u0159\u0158\3\2\2\2\u015a\u015b\3\2\2\2\u015b\u015c\5\u00a8"+
"U\2\u015c\u015d\5\64\33\2\u015d\u015e\7K\2\2\u015e#\3\2\2\2\u015f\u0164"+
"\5&\24\2\u0160\u0161\7L\2\2\u0161\u0163\5&\24\2\u0162\u0160\3\2\2\2\u0163"+
"\u0166\3\2\2\2\u0164\u0162\3\2\2\2\u0164\u0165\3\2\2\2\u0165%\3\2\2\2"+
"\u0166\u0164\3\2\2\2\u0167\u016a\5\u00a8U\2\u0168\u0169\7N\2\2\u0169\u016b"+
"\5(\25\2\u016a\u0168\3\2\2\2\u016a\u016b\3\2\2\2\u016b\'\3\2\2\2\u016c"+
"\u016f\5*\26\2\u016d\u016f\5\u008eH\2\u016e\u016c\3\2\2\2\u016e\u016d"+
"\3\2\2\2\u016f)\3\2\2\2\u0170\u017c\7G\2\2\u0171\u0176\5(\25\2\u0172\u0173"+
"\7L\2\2\u0173\u0175\5(\25\2\u0174\u0172\3\2\2\2\u0175\u0178\3\2\2\2\u0176"+
"\u0174\3\2\2\2\u0176\u0177\3\2\2\2\u0177\u017a\3\2\2\2\u0178\u0176\3\2"+
"\2\2\u0179\u017b\7L\2\2\u017a\u0179\3\2\2\2\u017a\u017b\3\2\2\2\u017b"+
"\u017d\3\2\2\2\u017c\u0171\3\2\2\2\u017c\u017d\3\2\2\2\u017d\u017e\3\2"+
"\2\2\u017e\u017f\7H\2\2\u017f+\3\2\2\2\u0180\u0185\5\60\31\2\u0181\u0182"+
"\7M\2\2\u0182\u0184\5\60\31\2\u0183\u0181\3\2\2\2\u0184\u0187\3\2\2\2"+
"\u0185\u0183\3\2\2\2\u0185\u0186\3\2\2\2\u0186\u0188\3\2\2\2\u0187\u0185"+
"\3\2\2\2\u0188\u0189\5.\30\2\u0189-\3\2\2\2\u018a\u018b\7I\2\2\u018b\u018d"+
"\7J\2\2\u018c\u018a\3\2\2\2\u018d\u0190\3\2\2\2\u018e\u018c\3\2\2\2\u018e"+
"\u018f\3\2\2\2\u018f/\3\2\2\2\u0190\u018e\3\2\2\2\u0191\u0193\5\u00a8"+
"U\2\u0192\u0194\5\62\32\2\u0193\u0192\3\2\2\2\u0193\u0194\3\2\2\2\u0194"+
"\61\3\2\2\2\u0195\u0196\7R\2\2\u0196\u0197\5\16\b\2\u0197\u0198\7Q\2\2"+
"\u0198\63\3\2\2\2\u0199\u019b\7E\2\2\u019a\u019c\5\66\34\2\u019b\u019a"+
"\3\2\2\2\u019b\u019c\3\2\2\2\u019c\u019d\3\2\2\2\u019d\u019e\7F\2\2\u019e"+
"\65\3\2\2\2\u019f\u01a4\58\35\2\u01a0\u01a1\7L\2\2\u01a1\u01a3\58\35\2"+
"\u01a2\u01a0\3\2\2\2\u01a3\u01a6\3\2\2\2\u01a4\u01a2\3\2\2\2\u01a4\u01a5"+
"\3\2\2\2\u01a5\67\3\2\2\2\u01a6\u01a4\3\2\2\2\u01a7\u01a9\5\26\f\2\u01a8"+
"\u01a7\3\2\2\2\u01a9\u01ac\3\2\2\2\u01aa\u01a8\3\2\2\2\u01aa\u01ab\3\2"+
"\2\2\u01ab\u01ad\3\2\2\2\u01ac\u01aa\3\2\2\2\u01ad\u01ae\5,\27\2\u01ae"+
"\u01af\5\u00a8U\2\u01af9\3\2\2\2\u01b0\u01b5\5\u00a8U\2\u01b1\u01b2\7"+
"M\2\2\u01b2\u01b4\5\u00a8U\2\u01b3\u01b1\3\2\2\2\u01b4\u01b7\3\2\2\2\u01b5"+
"\u01b3\3\2\2\2\u01b5\u01b6\3\2\2\2\u01b6;\3\2\2\2\u01b7\u01b5\3\2\2\2"+
"\u01b8\u01b9\t\2\2\2\u01b9=\3\2\2\2\u01ba\u01bb\7u\2\2\u01bb\u01c2\5:"+
"\36\2\u01bc\u01bf\7E\2\2\u01bd\u01c0\5@!\2\u01be\u01c0\5D#\2\u01bf\u01bd"+
"\3\2\2\2\u01bf\u01be\3\2\2\2\u01bf\u01c0\3\2\2\2\u01c0\u01c1\3\2\2\2\u01c1"+
"\u01c3\7F\2\2\u01c2\u01bc\3\2\2\2\u01c2\u01c3\3\2\2\2\u01c3?\3\2\2\2\u01c4"+
"\u01cb\5B\"\2\u01c5\u01c7\7L\2\2\u01c6\u01c5\3\2\2\2\u01c6\u01c7\3\2\2"+
"\2\u01c7\u01c8\3\2\2\2\u01c8\u01ca\5B\"\2\u01c9\u01c6\3\2\2\2\u01ca\u01cd"+
"\3\2\2\2\u01cb\u01c9\3\2\2\2\u01cb\u01cc\3\2\2\2\u01ccA\3\2\2\2\u01cd"+
"\u01cb\3\2\2\2\u01ce\u01cf\5\u00a8U\2\u01cf\u01d0\7N\2\2\u01d0\u01d1\5"+
"D#\2\u01d1C\3\2\2\2\u01d2\u01d6\5\u008eH\2\u01d3\u01d6\5> \2\u01d4\u01d6"+
"\5F$\2\u01d5\u01d2\3\2\2\2\u01d5\u01d3\3\2\2\2\u01d5\u01d4\3\2\2\2\u01d6"+
"E\3\2\2\2\u01d7\u01e0\7G\2\2\u01d8\u01dd\5D#\2\u01d9\u01da\7L\2\2\u01da"+
"\u01dc\5D#\2\u01db\u01d9\3\2\2\2\u01dc\u01df\3\2\2\2\u01dd\u01db\3\2\2"+
"\2\u01dd\u01de\3\2\2\2\u01de\u01e1\3\2\2\2\u01df\u01dd\3\2\2\2\u01e0\u01d8"+
"\3\2\2\2\u01e0\u01e1\3\2\2\2\u01e1\u01e3\3\2\2\2\u01e2\u01e4\7L\2\2\u01e3"+
"\u01e2\3\2\2\2\u01e3\u01e4\3\2\2\2\u01e4\u01e5\3\2\2\2\u01e5\u01e6\7H"+
"\2\2\u01e6G\3\2\2\2\u01e7\u01eb\7G\2\2\u01e8\u01ea\5N(\2\u01e9\u01e8\3"+
"\2\2\2\u01ea\u01ed\3\2\2\2\u01eb\u01e9\3\2\2\2\u01eb\u01ec\3\2\2\2\u01ec"+
"\u01ee\3\2\2\2\u01ed\u01eb\3\2\2\2\u01ee\u01ef\7H\2\2\u01efI\3\2\2\2\u01f0"+
"\u01f1\5L\'\2\u01f1\u01f2\7K\2\2\u01f2K\3\2\2\2\u01f3\u01f5\5\26\f\2\u01f4"+
"\u01f3\3\2\2\2\u01f5\u01f8\3\2\2\2\u01f6\u01f4\3\2\2\2\u01f6\u01f7\3\2"+
"\2\2\u01f7\u01f9\3\2\2\2\u01f8\u01f6\3\2\2\2\u01f9\u01fa\5,\27\2\u01fa"+
"\u01fb\5$\23\2\u01fbM\3\2\2\2\u01fc\u0211\5H%\2\u01fd\u0211\5P)\2\u01fe"+
"\u0211\5R*\2\u01ff\u0211\5V,\2\u0200\u0211\5X-\2\u0201\u0211\5Z.\2\u0202"+
"\u0211\5\\/\2\u0203\u0211\5^\60\2\u0204\u0211\5`\61\2\u0205\u0211\5b\62"+
"\2\u0206\u0211\5d\63\2\u0207\u0211\5f\64\2\u0208\u0211\5h\65\2\u0209\u0211"+
"\5j\66\2\u020a\u0211\5l\67\2\u020b\u0211\5n8\2\u020c\u0211\5p9\2\u020d"+
"\u0211\5r:\2\u020e\u0211\5J&\2\u020f\u0211\5t;\2\u0210\u01fc\3\2\2\2\u0210"+
"\u01fd\3\2\2\2\u0210\u01fe\3\2\2\2\u0210\u01ff\3\2\2\2\u0210\u0200\3\2"+
"\2\2\u0210\u0201\3\2\2\2\u0210\u0202\3\2\2\2\u0210\u0203\3\2\2\2\u0210"+
"\u0204\3\2\2\2\u0210\u0205\3\2\2\2\u0210\u0206\3\2\2\2\u0210\u0207\3\2"+
"\2\2\u0210\u0208\3\2\2\2\u0210\u0209\3\2\2\2\u0210\u020a\3\2\2\2\u0210"+
"\u020b\3\2\2\2\u0210\u020c\3\2\2\2\u0210\u020d\3\2\2\2\u0210\u020e\3\2"+
"\2\2\u0210\u020f\3\2\2\2\u0211O\3\2\2\2\u0212\u0213\7\30\2\2\u0213\u0214"+
"\5\u008aF\2\u0214\u0217\5N(\2\u0215\u0216\7\16\2\2\u0216\u0218\5N(\2\u0217"+
"\u0215\3\2\2\2\u0217\u0218\3\2\2\2\u0218Q\3\2\2\2\u0219\u021a\7\60\2\2"+
"\u021a\u021b\7\"\2\2\u021b\u021c\5\u008eH\2\u021c\u021e\7G\2\2\u021d\u021f"+
"\5T+\2\u021e\u021d\3\2\2\2\u021f\u0220\3\2\2\2\u0220\u021e\3\2\2\2\u0220"+
"\u0221\3\2\2\2\u0221\u0222\3\2\2\2\u0222\u0223\7H\2\2\u0223S\3\2\2\2\u0224"+
"\u0227\7<\2\2\u0225\u0228\5\u008cG\2\u0226\u0228\7\16\2\2\u0227\u0225"+
"\3\2\2\2\u0227\u0226\3\2\2\2\u0228\u0229\3\2\2\2\u0229\u022a\5H%\2\u022a"+
"U\3\2\2\2\u022b\u022c\7\24\2\2\u022c\u022d\7E\2\2\u022d\u022e\5\u0082"+
"B\2\u022e\u022f\7F\2\2\u022f\u0230\5N(\2\u0230W\3\2\2\2\u0231\u0232\7"+
"=\2\2\u0232\u0233\5\u008aF\2\u0233\u0234\5N(\2\u0234Y\3\2\2\2\u0235\u0236"+
"\7\r\2\2\u0236\u0237\5N(\2\u0237\u0238\7=\2\2\u0238\u0239\5\u008aF\2\u0239"+
"\u023a\7K\2\2\u023a[\3\2\2\2\u023b\u023c\7\65\2\2\u023c\u0246\5H%\2\u023d"+
"\u023f\5|?\2\u023e\u023d\3\2\2\2\u023f\u0240\3\2\2\2\u0240\u023e\3\2\2"+
"\2\u0240\u0241\3\2\2\2\u0241\u0243\3\2\2\2\u0242\u0244\5\u0080A\2\u0243"+
"\u0242\3\2\2\2\u0243\u0244\3\2\2\2\u0244\u0247\3\2\2\2\u0245\u0247\5\u0080"+
"A\2\u0246\u023e\3\2\2\2\u0246\u0245\3\2\2\2\u0247]\3\2\2\2\u0248\u024a"+
"\7(\2\2\u0249\u024b\5\u008eH\2\u024a\u0249\3\2\2\2\u024a\u024b\3\2\2\2"+
"\u024b\u024c\3\2\2\2\u024c\u024d\7K\2\2\u024d_\3\2\2\2\u024e\u024f\7\63"+
"\2\2\u024f\u0250\5\u008eH\2\u0250\u0251\7K\2\2\u0251a\3\2\2\2\u0252\u0253"+
"\7\4\2\2\u0253\u0254\7K\2\2\u0254c\3\2\2\2\u0255\u0256\7\n\2\2\u0256\u0257"+
"\7K\2\2\u0257e\3\2\2\2\u0258\u0259\7\33\2\2\u0259\u025a\5\u008eH\2\u025a"+
"\u025b\7K\2\2\u025bg\3\2\2\2\u025c\u025d\7\67\2\2\u025d\u025e\5\u008e"+
"H\2\u025e\u025f\7K\2\2\u025fi\3\2\2\2\u0260\u0261\7\f\2\2\u0261\u0262"+
"\5\u008eH\2\u0262\u0263\7K\2\2\u0263k\3\2\2\2\u0264\u0265\7\66\2\2\u0265"+
"\u0266\5\u008eH\2\u0266\u0267\7K\2\2\u0267m\3\2\2\2\u0268\u0269\78\2\2"+
"\u0269\u026b\5\u008eH\2\u026a\u026c\5:\36\2\u026b\u026a\3\2\2\2\u026b"+
"\u026c\3\2\2\2\u026c\u026d\3\2\2\2\u026d\u026e\7K\2\2\u026eo\3\2\2\2\u026f"+
"\u0270\7\36\2\2\u0270\u0271\5\u008eH\2\u0271\u0272\5\u008eH\2\u0272\u0273"+
"\7K\2\2\u0273q\3\2\2\2\u0274\u0275\7)\2\2\u0275\u0277\7E\2\2\u0276\u0278"+
"\5\u008cG\2\u0277\u0276\3\2\2\2\u0277\u0278\3\2\2\2\u0278\u0279\3\2\2"+
"\2\u0279\u027b\7F\2\2\u027a\u027c\5H%\2\u027b\u027a\3\2\2\2\u027b\u027c"+
"\3\2\2\2\u027cs\3\2\2\2\u027d\u027e\5\u008eH\2\u027e\u027f\7K\2\2\u027f"+
"u\3\2\2\2\u0280\u0282\5\26\f\2\u0281\u0280\3\2\2\2\u0282\u0285\3\2\2\2"+
"\u0283\u0281\3\2\2\2\u0283\u0284\3\2\2\2\u0284\u0288\3\2\2\2\u0285\u0283"+
"\3\2\2\2\u0286\u0289\5x=\2\u0287\u0289\5z>\2\u0288\u0286\3\2\2\2\u0288"+
"\u0287\3\2\2\2\u0289w\3\2\2\2\u028a\u028d\7\25\2\2\u028b\u028e\7K\2\2"+
"\u028c\u028e\5H%\2\u028d\u028b\3\2\2\2\u028d\u028c\3\2\2\2\u028ey\3\2"+
"\2\2\u028f\u0292\7+\2\2\u0290\u0293\7K\2\2\u0291\u0293\5H%\2\u0292\u0290"+
"\3\2\2\2\u0292\u0291\3\2\2\2\u0293{\3\2\2\2\u0294\u0295\7\6\2\2\u0295"+
"\u0299\7E\2\2\u0296\u0298\5\26\f\2\u0297\u0296\3\2\2\2\u0298\u029b\3\2"+
"\2\2\u0299\u0297\3\2\2\2\u0299\u029a\3\2\2\2\u029a\u029c\3\2\2\2\u029b"+
"\u0299\3\2\2\2\u029c\u029d\5~@\2\u029d\u029e\5\u00a8U\2\u029e\u029f\7"+
"F\2\2\u029f\u02a0\5H%\2\u02a0}\3\2\2\2\u02a1\u02a6\5:\36\2\u02a2\u02a3"+
"\7e\2\2\u02a3\u02a5\5:\36\2\u02a4\u02a2\3\2\2\2\u02a5\u02a8\3\2\2\2\u02a6"+
"\u02a4\3\2\2\2\u02a6\u02a7\3\2\2\2\u02a7\177\3\2\2\2\u02a8\u02a6\3\2\2"+
"\2\u02a9\u02aa\7\22\2\2\u02aa\u02ab\5H%\2\u02ab\u0081\3\2\2\2\u02ac\u02b9"+
"\5\u0086D\2\u02ad\u02af\5\u0084C\2\u02ae\u02ad\3\2\2\2\u02ae\u02af\3\2"+
"\2\2\u02af\u02b0\3\2\2\2\u02b0\u02b2\7K\2\2\u02b1\u02b3\5\u008eH\2\u02b2"+
"\u02b1\3\2\2\2\u02b2\u02b3\3\2\2\2\u02b3\u02b4\3\2\2\2\u02b4\u02b6\7K"+
"\2\2\u02b5\u02b7\5\u0088E\2\u02b6\u02b5\3\2\2\2\u02b6\u02b7\3\2\2\2\u02b7"+
"\u02b9\3\2\2\2\u02b8\u02ac\3\2\2\2\u02b8\u02ae\3\2\2\2\u02b9\u0083\3\2"+
"\2\2\u02ba\u02bd\5L\'\2\u02bb\u02bd\5\u008cG\2\u02bc\u02ba\3\2\2\2\u02bc"+
"\u02bb\3\2\2\2\u02bd\u0085\3\2\2\2\u02be\u02c0\5\26\f\2\u02bf\u02be\3"+
"\2\2\2\u02c0\u02c3\3\2\2\2\u02c1\u02bf\3\2\2\2\u02c1\u02c2\3\2\2\2\u02c2"+
"\u02c4\3\2\2\2\u02c3\u02c1\3\2\2\2\u02c4\u02c5\5,\27\2\u02c5\u02c6\5\u00a8"+
"U\2\u02c6\u02c7\7V\2\2\u02c7\u02c8\5\u008eH\2\u02c8\u0087\3\2\2\2\u02c9"+
"\u02ca\5\u008cG\2\u02ca\u0089\3\2\2\2\u02cb\u02cc\7E\2\2\u02cc\u02cd\5"+
"\u008eH\2\u02cd\u02ce\7F\2\2\u02ce\u008b\3\2\2\2\u02cf\u02d4\5\u008eH"+
"\2\u02d0\u02d1\7L\2\2\u02d1\u02d3\5\u008eH\2\u02d2\u02d0\3\2\2\2\u02d3"+
"\u02d6\3\2\2\2\u02d4\u02d2\3\2\2\2\u02d4\u02d5\3\2\2\2\u02d5\u008d\3\2"+
"\2\2\u02d6\u02d4\3\2\2\2\u02d7\u02d8\bH\1\2\u02d8\u02d9\7 \2\2\u02d9\u02e5"+
"\5\u0092J\2\u02da\u02db\7E\2\2\u02db\u02dc\5,\27\2\u02dc\u02dd\7F\2\2"+
"\u02dd\u02de\5\u008eH\24\u02de\u02e5\3\2\2\2\u02df\u02e0\t\3\2\2\u02e0"+
"\u02e5\5\u008eH\22\u02e1\u02e2\t\4\2\2\u02e2\u02e5\5\u008eH\21\u02e3\u02e5"+
"\5\u0090I\2\u02e4\u02d7\3\2\2\2\u02e4\u02da\3\2\2\2\u02e4\u02df\3\2\2"+
"\2\u02e4\u02e1\3\2\2\2\u02e4\u02e3\3\2\2\2\u02e5\u0333\3\2\2\2\u02e6\u02e7"+
"\f\20\2\2\u02e7\u02e8\t\5\2\2\u02e8\u0332\5\u008eH\21\u02e9\u02ea\f\17"+
"\2\2\u02ea\u02eb\t\6\2\2\u02eb\u0332\5\u008eH\20\u02ec\u02f4\f\16\2\2"+
"\u02ed\u02ee\7R\2\2\u02ee\u02f5\7R\2\2\u02ef\u02f0\7Q\2\2\u02f0\u02f1"+
"\7Q\2\2\u02f1\u02f5\7Q\2\2\u02f2\u02f3\7Q\2\2\u02f3\u02f5\7Q\2\2\u02f4"+
"\u02ed\3\2\2\2\u02f4\u02ef\3\2\2\2\u02f4\u02f2\3\2\2\2\u02f5\u02f6\3\2"+
"\2\2\u02f6\u0332\5\u008eH\17\u02f7\u0300\f\r\2\2\u02f8\u02f9\7R\2\2\u02f9"+
"\u0301\7N\2\2\u02fa\u02fb\7Q\2\2\u02fb\u0301\7N\2\2\u02fc\u0301\7O\2\2"+
"\u02fd\u0301\7P\2\2\u02fe\u0301\7Q\2\2\u02ff\u0301\7R\2\2\u0300\u02f8"+
"\3\2\2\2\u0300\u02fa\3\2\2\2\u0300\u02fc\3\2\2\2\u0300\u02fd\3\2\2\2\u0300"+
"\u02fe\3\2\2\2\u0300\u02ff\3\2\2\2\u0301\u0302\3\2\2\2\u0302\u0332\5\u008e"+
"H\16\u0303\u0304\f\13\2\2\u0304\u0305\t\7\2\2\u0305\u0332\5\u008eH\f\u0306"+
"\u0307\f\n\2\2\u0307\u0308\7d\2\2\u0308\u0332\5\u008eH\13\u0309\u030a"+
"\f\t\2\2\u030a\u030b\7f\2\2\u030b\u0332\5\u008eH\n\u030c\u030d\f\b\2\2"+
"\u030d\u030e\7e\2\2\u030e\u0332\5\u008eH\t\u030f\u0310\f\7\2\2\u0310\u0311"+
"\7\\\2\2\u0311\u0332\5\u008eH\b\u0312\u0313\f\6\2\2\u0313\u0314\7]\2\2"+
"\u0314\u0332\5\u008eH\7\u0315\u0316\f\5\2\2\u0316\u0317\7U\2\2\u0317\u0318"+
"\5\u008eH\2\u0318\u0319\7V\2\2\u0319\u031a\5\u008eH\6\u031a\u0332\3\2"+
"\2\2\u031b\u031c\f\4\2\2\u031c\u031d\t\b\2\2\u031d\u0332\5\u008eH\4\u031e"+
"\u031f\f\30\2\2\u031f\u0320\7M\2\2\u0320\u0332\5\u00a8U\2\u0321\u0322"+
"\f\27\2\2\u0322\u0323\7I\2\2\u0323\u0324\5\u008eH\2\u0324\u0325\7J\2\2"+
"\u0325\u0332\3\2\2\2\u0326\u0327\f\26\2\2\u0327\u0329\7E\2\2\u0328\u032a"+
"\5\u008cG\2\u0329\u0328\3\2\2\2\u0329\u032a\3\2\2\2\u032a\u032b\3\2\2"+
"\2\u032b\u0332\7F\2\2\u032c\u032d\f\23\2\2\u032d\u0332\t\t\2\2\u032e\u032f"+
"\f\f\2\2\u032f\u0330\7\34\2\2\u0330\u0332\5,\27\2\u0331\u02e6\3\2\2\2"+
"\u0331\u02e9\3\2\2\2\u0331\u02ec\3\2\2\2\u0331\u02f7\3\2\2\2\u0331\u0303"+
"\3\2\2\2\u0331\u0306\3\2\2\2\u0331\u0309\3\2\2\2\u0331\u030c\3\2\2\2\u0331"+
"\u030f\3\2\2\2\u0331\u0312\3\2\2\2\u0331\u0315\3\2\2\2\u0331\u031b\3\2"+
"\2\2\u0331\u031e\3\2\2\2\u0331\u0321\3\2\2\2\u0331\u0326\3\2\2\2\u0331"+
"\u032c\3\2\2\2\u0331\u032e\3\2\2\2\u0332\u0335\3\2\2\2\u0333\u0331\3\2"+
"\2\2\u0333\u0334\3\2\2\2\u0334\u008f\3\2\2\2\u0335\u0333\3\2\2\2\u0336"+
"\u0337\7E\2\2\u0337\u0338\5\u008eH\2\u0338\u0339\7F\2\2\u0339\u0344\3"+
"\2\2\2\u033a\u0344\7\62\2\2\u033b\u0344\7/\2\2\u033c\u0344\5<\37\2\u033d"+
"\u033e\5,\27\2\u033e\u033f\7M\2\2\u033f\u0340\7\b\2\2\u0340\u0344\3\2"+
"\2\2\u0341\u0344\5\u00a8U\2\u0342\u0344\5\u00a6T\2\u0343\u0336\3\2\2\2"+
"\u0343\u033a\3\2\2\2\u0343\u033b\3\2\2\2\u0343\u033c\3\2\2\2\u0343\u033d"+
"\3\2\2\2\u0343\u0341\3\2\2\2\u0343\u0342\3\2\2\2\u0344\u0091\3\2\2\2\u0345"+
"\u034b\5\u0094K\2\u0346\u034c\5\u0098M\2\u0347\u034c\5\u009aN\2\u0348"+
"\u034c\5\u009cO\2\u0349\u034c\5\u009eP\2\u034a\u034c\5\u00a2R\2\u034b"+
"\u0346\3\2\2\2\u034b\u0347\3\2\2\2\u034b\u0348\3\2\2\2\u034b\u0349\3\2"+
"\2\2\u034b\u034a\3\2\2\2\u034c\u0093\3\2\2\2\u034d\u0352\5\u0096L\2\u034e"+
"\u034f\7M\2\2\u034f\u0351\5\u0096L\2\u0350\u034e\3\2\2\2\u0351\u0354\3"+
"\2\2\2\u0352\u0350\3\2\2\2\u0352\u0353\3\2\2\2\u0353\u0095\3\2\2\2\u0354"+
"\u0352\3\2\2\2\u0355\u035a\5\u00a8U\2\u0356\u0357\7R\2\2\u0357\u0358\5"+
"\16\b\2\u0358\u0359\7Q\2\2\u0359\u035b\3\2\2\2\u035a\u0356\3\2\2\2\u035a"+
"\u035b\3\2\2\2\u035b\u0097\3\2\2\2\u035c\u035d\7G\2\2\u035d\u035e\7H\2"+
"\2\u035e\u0099\3\2\2\2\u035f\u0360\5\u00a4S\2\u0360\u009b\3\2\2\2\u0361"+
"\u0363\7I\2\2\u0362\u0364\5\u008eH\2\u0363\u0362\3\2\2\2\u0363\u0364\3"+
"\2\2\2\u0364\u0365\3\2\2\2\u0365\u0367\7J\2\2\u0366\u0368\5*\26\2\u0367"+
"\u0366\3\2\2\2\u0367\u0368\3\2\2\2\u0368\u009d\3\2\2\2\u0369\u036a\7G"+
"\2\2\u036a\u036f\5\u00a0Q\2\u036b\u036c\7L\2\2\u036c\u036e\5\u00a0Q\2"+
"\u036d\u036b\3\2\2\2\u036e\u0371\3\2\2\2\u036f\u036d\3\2\2\2\u036f\u0370"+
"\3\2\2\2\u0370\u0372\3\2\2\2\u0371\u036f\3\2\2\2\u0372\u0373\7H\2\2\u0373"+
"\u009f\3\2\2\2\u0374\u0375\5\u008eH\2\u0375\u0376\7h\2\2\u0376\u0377\5"+
"\u008eH\2\u0377\u00a1\3\2\2\2\u0378\u0379\7G\2\2\u0379\u037e\5\u008eH"+
"\2\u037a\u037b\7L\2\2\u037b\u037d\5\u008eH\2\u037c\u037a\3\2\2\2\u037d"+
"\u0380\3\2\2\2\u037e\u037c\3\2\2\2\u037e\u037f\3\2\2\2\u037f\u0381\3\2"+
"\2\2\u0380\u037e\3\2\2\2\u0381\u0382\7H\2\2\u0382\u00a3\3\2\2\2\u0383"+
"\u0385\7E\2\2\u0384\u0386\5\u008cG\2\u0385\u0384\3\2\2\2\u0385\u0386\3"+
"\2\2\2\u0386\u0387\3\2\2\2\u0387\u0388\7F\2\2\u0388\u00a5\3\2\2\2\u0389"+
"\u038e\7I\2\2\u038a\u038d\5\u00a6T\2\u038b\u038d\n\n\2\2\u038c\u038a\3"+
"\2\2\2\u038c\u038b\3\2\2\2\u038d\u0390\3\2\2\2\u038e\u038f\3\2\2\2\u038e"+
"\u038c\3\2\2\2\u038f\u0391\3\2\2\2\u0390\u038e\3\2\2\2\u0391\u0392\7J"+
"\2\2\u0392\u00a7\3\2\2\2\u0393\u0394\t\13\2\2\u0394\u00a9\3\2\2\2Y\u00b0"+
"\u00b7\u00be\u00c2\u00c8\u00cc\u00d4\u00dd\u00e4\u00ed\u00f4\u00fd\u0104"+
"\u010a\u010e\u0123\u012c\u0131\u0136\u013c\u014c\u0154\u0159\u0164\u016a"+
"\u016e\u0176\u017a\u017c\u0185\u018e\u0193\u019b\u01a4\u01aa\u01b5\u01bf"+
"\u01c2\u01c6\u01cb\u01d5\u01dd\u01e0\u01e3\u01eb\u01f6\u0210\u0217\u0220"+
"\u0227\u0240\u0243\u0246\u024a\u026b\u0277\u027b\u0283\u0288\u028d\u0292"+
"\u0299\u02a6\u02ae\u02b2\u02b6\u02b8\u02bc\u02c1\u02d4\u02e4\u02f4\u0300"+
"\u0329\u0331\u0333\u0343\u034b\u0352\u035a\u0363\u0367\u036f\u037e\u0385"+
"\u038c\u038e";
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