com.nawforce.runtime.parsers.ApexParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pkgforce_2.12 Show documentation
Show all versions of pkgforce_2.12 Show documentation
Salesforce Metadata Management Utility Library
The newest version!
// Generated from /Users/kevin/Projects/ApexLink/src/main/antlr4/com/nawforce/parsers/ApexParser.g4 by ANTLR 4.8
package com.nawforce.runtime.parsers;
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.8", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
ABSTRACT=1, AFTER=2, BEFORE=3, BREAK=4, CATCH=5, CLASS=6, CONTINUE=7,
DELETE=8, DO=9, ELSE=10, ENUM=11, EXTENDS=12, FINAL=13, FINALLY=14, FOR=15,
GET=16, GLOBAL=17, IF=18, IMPLEMENTS=19, INHERITED=20, INSERT=21, INSTANCEOF=22,
INTERFACE=23, MERGE=24, NEW=25, NULL=26, ON=27, OVERRIDE=28, PRIVATE=29,
PROTECTED=30, PUBLIC=31, RETURN=32, SYSTEMRUNAS=33, SET=34, SHARING=35,
STATIC=36, SUPER=37, SWITCH=38, TESTMETHOD=39, THIS=40, THROW=41, TRANSIENT=42,
TRIGGER=43, TRY=44, UNDELETE=45, UPDATE=46, UPSERT=47, VIRTUAL=48, VOID=49,
WEBSERVICE=50, WHEN=51, WHILE=52, WITH=53, WITHOUT=54, LIST=55, MAP=56,
IntegerLiteral=57, NumberLiteral=58, BooleanLiteral=59, StringLiteral=60,
NullLiteral=61, LPAREN=62, RPAREN=63, LBRACE=64, RBRACE=65, LBRACK=66,
RBRACK=67, SEMI=68, COMMA=69, DOT=70, ASSIGN=71, GT=72, LT=73, BANG=74,
TILDE=75, QUESTION=76, COLON=77, EQUAL=78, TRIPLEEQUAL=79, NOTEQUAL=80,
LESSANDGREATER=81, TRIPLENOTEQUAL=82, AND=83, OR=84, INC=85, DEC=86, ADD=87,
SUB=88, MUL=89, DIV=90, BITAND=91, BITOR=92, CARET=93, MOD=94, MAPTO=95,
ADD_ASSIGN=96, SUB_ASSIGN=97, MUL_ASSIGN=98, DIV_ASSIGN=99, AND_ASSIGN=100,
OR_ASSIGN=101, XOR_ASSIGN=102, MOD_ASSIGN=103, LSHIFT_ASSIGN=104, RSHIFT_ASSIGN=105,
URSHIFT_ASSIGN=106, AT=107, Identifier=108, WS=109, DOC_COMMENT=110, COMMENT=111,
LINE_COMMENT=112;
public static final int
RULE_triggerUnit = 0, RULE_triggerCase = 1, RULE_compilationUnit = 2,
RULE_typeDeclaration = 3, RULE_classDeclaration = 4, RULE_enumDeclaration = 5,
RULE_enumConstants = 6, RULE_interfaceDeclaration = 7, RULE_typeList = 8,
RULE_classBody = 9, RULE_interfaceBody = 10, RULE_classBodyDeclaration = 11,
RULE_modifier = 12, RULE_memberDeclaration = 13, RULE_methodDeclaration = 14,
RULE_constructorDeclaration = 15, RULE_fieldDeclaration = 16, RULE_propertyDeclaration = 17,
RULE_interfaceMethodDeclaration = 18, RULE_variableDeclarators = 19, RULE_variableDeclarator = 20,
RULE_arrayInitializer = 21, RULE_typeRef = 22, RULE_arraySubscripts = 23,
RULE_typeName = 24, RULE_typeArguments = 25, RULE_formalParameters = 26,
RULE_formalParameterList = 27, RULE_formalParameter = 28, RULE_qualifiedName = 29,
RULE_literal = 30, RULE_annotation = 31, RULE_elementValuePairs = 32,
RULE_elementValuePair = 33, RULE_elementValue = 34, RULE_elementValueArrayInitializer = 35,
RULE_block = 36, RULE_localVariableDeclarationStatement = 37, RULE_localVariableDeclaration = 38,
RULE_statement = 39, RULE_ifStatement = 40, RULE_switchStatement = 41,
RULE_whenControl = 42, RULE_whenValue = 43, RULE_whenLiteral = 44, RULE_forStatement = 45,
RULE_whileStatement = 46, RULE_doWhileStatement = 47, RULE_tryStatement = 48,
RULE_returnStatement = 49, RULE_throwStatement = 50, RULE_breakStatement = 51,
RULE_continueStatement = 52, RULE_insertStatement = 53, RULE_updateStatement = 54,
RULE_deleteStatement = 55, RULE_undeleteStatement = 56, RULE_upsertStatement = 57,
RULE_mergeStatement = 58, RULE_runAsStatement = 59, RULE_expressionStatement = 60,
RULE_propertyBlock = 61, RULE_getter = 62, RULE_setter = 63, RULE_catchClause = 64,
RULE_finallyBlock = 65, RULE_forControl = 66, RULE_forInit = 67, RULE_enhancedForControl = 68,
RULE_forUpdate = 69, RULE_parExpression = 70, RULE_expressionList = 71,
RULE_expression = 72, RULE_primary = 73, RULE_methodCall = 74, RULE_dotMethodCall = 75,
RULE_creator = 76, RULE_createdName = 77, RULE_idCreatedNamePair = 78,
RULE_noRest = 79, RULE_classCreatorRest = 80, RULE_arrayCreatorRest = 81,
RULE_mapCreatorRest = 82, RULE_mapCreatorRestPair = 83, RULE_setCreatorRest = 84,
RULE_arguments = 85, RULE_soqlLiteral = 86, RULE_id = 87, RULE_anyId = 88;
private static String[] makeRuleNames() {
return new String[] {
"triggerUnit", "triggerCase", "compilationUnit", "typeDeclaration", "classDeclaration",
"enumDeclaration", "enumConstants", "interfaceDeclaration", "typeList",
"classBody", "interfaceBody", "classBodyDeclaration", "modifier", "memberDeclaration",
"methodDeclaration", "constructorDeclaration", "fieldDeclaration", "propertyDeclaration",
"interfaceMethodDeclaration", "variableDeclarators", "variableDeclarator",
"arrayInitializer", "typeRef", "arraySubscripts", "typeName", "typeArguments",
"formalParameters", "formalParameterList", "formalParameter", "qualifiedName",
"literal", "annotation", "elementValuePairs", "elementValuePair", "elementValue",
"elementValueArrayInitializer", "block", "localVariableDeclarationStatement",
"localVariableDeclaration", "statement", "ifStatement", "switchStatement",
"whenControl", "whenValue", "whenLiteral", "forStatement", "whileStatement",
"doWhileStatement", "tryStatement", "returnStatement", "throwStatement",
"breakStatement", "continueStatement", "insertStatement", "updateStatement",
"deleteStatement", "undeleteStatement", "upsertStatement", "mergeStatement",
"runAsStatement", "expressionStatement", "propertyBlock", "getter", "setter",
"catchClause", "finallyBlock", "forControl", "forInit", "enhancedForControl",
"forUpdate", "parExpression", "expressionList", "expression", "primary",
"methodCall", "dotMethodCall", "creator", "createdName", "idCreatedNamePair",
"noRest", "classCreatorRest", "arrayCreatorRest", "mapCreatorRest", "mapCreatorRestPair",
"setCreatorRest", "arguments", "soqlLiteral", "id", "anyId"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "'abstract'", "'after'", "'before'", "'break'", "'catch'", "'class'",
"'continue'", "'delete'", "'do'", "'else'", "'enum'", "'extends'", "'final'",
"'finally'", "'for'", "'get'", "'global'", "'if'", "'implements'", "'inherited'",
"'insert'", "'instanceof'", "'interface'", "'merge'", "'new'", "'null'",
"'on'", "'override'", "'private'", "'protected'", "'public'", "'return'",
"'system.runas'", "'set'", "'sharing'", "'static'", "'super'", "'switch'",
"'testmethod'", "'this'", "'throw'", "'transient'", "'trigger'", "'try'",
"'undelete'", "'update'", "'upsert'", "'virtual'", "'void'", "'webservice'",
"'when'", "'while'", "'with'", "'without'", "'list'", "'map'", null,
null, null, null, null, "'('", "')'", "'{'", "'}'", "'['", "']'", "';'",
"','", "'.'", "'='", "'>'", "'<'", "'!'", "'~'", "'?'", "':'", "'=='",
"'==='", "'!='", "'<>'", "'!=='", "'&&'", "'||'", "'++'", "'--'", "'+'",
"'-'", "'*'", "'/'", "'&'", "'|'", "'^'", "'%'", "'=>'", "'+='", "'-='",
"'*='", "'/='", "'&='", "'|='", "'^='", "'%='", "'<<='", "'>>='", "'>>>='",
"'@'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, "ABSTRACT", "AFTER", "BEFORE", "BREAK", "CATCH", "CLASS", "CONTINUE",
"DELETE", "DO", "ELSE", "ENUM", "EXTENDS", "FINAL", "FINALLY", "FOR",
"GET", "GLOBAL", "IF", "IMPLEMENTS", "INHERITED", "INSERT", "INSTANCEOF",
"INTERFACE", "MERGE", "NEW", "NULL", "ON", "OVERRIDE", "PRIVATE", "PROTECTED",
"PUBLIC", "RETURN", "SYSTEMRUNAS", "SET", "SHARING", "STATIC", "SUPER",
"SWITCH", "TESTMETHOD", "THIS", "THROW", "TRANSIENT", "TRIGGER", "TRY",
"UNDELETE", "UPDATE", "UPSERT", "VIRTUAL", "VOID", "WEBSERVICE", "WHEN",
"WHILE", "WITH", "WITHOUT", "LIST", "MAP", "IntegerLiteral", "NumberLiteral",
"BooleanLiteral", "StringLiteral", "NullLiteral", "LPAREN", "RPAREN",
"LBRACE", "RBRACE", "LBRACK", "RBRACK", "SEMI", "COMMA", "DOT", "ASSIGN",
"GT", "LT", "BANG", "TILDE", "QUESTION", "COLON", "EQUAL", "TRIPLEEQUAL",
"NOTEQUAL", "LESSANDGREATER", "TRIPLENOTEQUAL", "AND", "OR", "INC", "DEC",
"ADD", "SUB", "MUL", "DIV", "BITAND", "BITOR", "CARET", "MOD", "MAPTO",
"ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "DIV_ASSIGN", "AND_ASSIGN",
"OR_ASSIGN", "XOR_ASSIGN", "MOD_ASSIGN", "LSHIFT_ASSIGN", "RSHIFT_ASSIGN",
"URSHIFT_ASSIGN", "AT", "Identifier", "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 void clearCache() {
_interp.clearDFA();
}
public ApexParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class TriggerUnitContext extends ParserRuleContext {
public TerminalNode TRIGGER() { return getToken(ApexParser.TRIGGER, 0); }
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public TerminalNode ON() { return getToken(ApexParser.ON, 0); }
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public List triggerCase() {
return getRuleContexts(TriggerCaseContext.class);
}
public TriggerCaseContext triggerCase(int i) {
return getRuleContext(TriggerCaseContext.class,i);
}
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode EOF() { return getToken(ApexParser.EOF, 0); }
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public TriggerUnitContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_triggerUnit; }
}
public final TriggerUnitContext triggerUnit() throws RecognitionException {
TriggerUnitContext _localctx = new TriggerUnitContext(_ctx, getState());
enterRule(_localctx, 0, RULE_triggerUnit);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(178);
match(TRIGGER);
setState(179);
id();
setState(180);
match(ON);
setState(181);
id();
setState(182);
match(LPAREN);
setState(183);
triggerCase();
setState(188);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(184);
match(COMMA);
setState(185);
triggerCase();
}
}
setState(190);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(191);
match(RPAREN);
setState(192);
block();
setState(193);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TriggerCaseContext extends ParserRuleContext {
public TerminalNode BEFORE() { return getToken(ApexParser.BEFORE, 0); }
public TerminalNode AFTER() { return getToken(ApexParser.AFTER, 0); }
public TerminalNode INSERT() { return getToken(ApexParser.INSERT, 0); }
public TerminalNode UPDATE() { return getToken(ApexParser.UPDATE, 0); }
public TerminalNode DELETE() { return getToken(ApexParser.DELETE, 0); }
public TerminalNode UNDELETE() { return getToken(ApexParser.UNDELETE, 0); }
public TriggerCaseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_triggerCase; }
}
public final TriggerCaseContext triggerCase() throws RecognitionException {
TriggerCaseContext _localctx = new TriggerCaseContext(_ctx, getState());
enterRule(_localctx, 2, RULE_triggerCase);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(195);
_la = _input.LA(1);
if ( !(_la==AFTER || _la==BEFORE) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(196);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << DELETE) | (1L << INSERT) | (1L << UNDELETE) | (1L << UPDATE))) != 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 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, 4, RULE_compilationUnit);
try {
enterOuterAlt(_localctx, 1);
{
setState(198);
typeDeclaration();
setState(199);
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, 6, RULE_typeDeclaration);
int _la;
try {
setState(222);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(204);
_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(201);
modifier();
}
}
setState(206);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(207);
classDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(211);
_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(208);
modifier();
}
}
setState(213);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(214);
enumDeclaration();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(218);
_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(215);
modifier();
}
}
setState(220);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(221);
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, 8, RULE_classDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(224);
match(CLASS);
setState(225);
id();
setState(228);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENDS) {
{
setState(226);
match(EXTENDS);
setState(227);
typeRef();
}
}
setState(232);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IMPLEMENTS) {
{
setState(230);
match(IMPLEMENTS);
setState(231);
typeList();
}
}
setState(234);
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, 10, RULE_enumDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(236);
match(ENUM);
setState(237);
id();
setState(238);
match(LBRACE);
setState(240);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << SET) | (1L << SHARING) | (1L << SWITCH) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==Identifier) {
{
setState(239);
enumConstants();
}
}
setState(242);
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, 12, RULE_enumConstants);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(244);
id();
setState(249);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(245);
match(COMMA);
setState(246);
id();
}
}
setState(251);
_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, 14, RULE_interfaceDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(252);
match(INTERFACE);
setState(253);
id();
setState(256);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENDS) {
{
setState(254);
match(EXTENDS);
setState(255);
typeList();
}
}
setState(258);
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, 16, RULE_typeList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(260);
typeRef();
setState(265);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(261);
match(COMMA);
setState(262);
typeRef();
}
}
setState(267);
_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, 18, RULE_classBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(268);
match(LBRACE);
setState(272);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << AFTER) | (1L << BEFORE) | (1L << CLASS) | (1L << ENUM) | (1L << FINAL) | (1L << GET) | (1L << GLOBAL) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SET) | (1L << SHARING) | (1L << STATIC) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (LBRACE - 64)) | (1L << (SEMI - 64)) | (1L << (AT - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
{
setState(269);
classBodyDeclaration();
}
}
setState(274);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(275);
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, 20, RULE_interfaceBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(277);
match(LBRACE);
setState(281);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << AFTER) | (1L << BEFORE) | (1L << FINAL) | (1L << GET) | (1L << GLOBAL) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SET) | (1L << SHARING) | (1L << STATIC) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << VIRTUAL) | (1L << VOID) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP))) != 0) || _la==AT || _la==Identifier) {
{
{
setState(278);
interfaceMethodDeclaration();
}
}
setState(283);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(284);
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, 22, RULE_classBodyDeclaration);
int _la;
try {
int _alt;
setState(298);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(286);
match(SEMI);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(288);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STATIC) {
{
setState(287);
match(STATIC);
}
}
setState(290);
block();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(294);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,14,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(291);
modifier();
}
}
}
setState(296);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,14,_ctx);
}
setState(297);
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, 24, RULE_modifier);
try {
setState(319);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AT:
enterOuterAlt(_localctx, 1);
{
setState(300);
annotation();
}
break;
case GLOBAL:
enterOuterAlt(_localctx, 2);
{
setState(301);
match(GLOBAL);
}
break;
case PUBLIC:
enterOuterAlt(_localctx, 3);
{
setState(302);
match(PUBLIC);
}
break;
case PROTECTED:
enterOuterAlt(_localctx, 4);
{
setState(303);
match(PROTECTED);
}
break;
case PRIVATE:
enterOuterAlt(_localctx, 5);
{
setState(304);
match(PRIVATE);
}
break;
case TRANSIENT:
enterOuterAlt(_localctx, 6);
{
setState(305);
match(TRANSIENT);
}
break;
case STATIC:
enterOuterAlt(_localctx, 7);
{
setState(306);
match(STATIC);
}
break;
case ABSTRACT:
enterOuterAlt(_localctx, 8);
{
setState(307);
match(ABSTRACT);
}
break;
case FINAL:
enterOuterAlt(_localctx, 9);
{
setState(308);
match(FINAL);
}
break;
case WEBSERVICE:
enterOuterAlt(_localctx, 10);
{
setState(309);
match(WEBSERVICE);
}
break;
case OVERRIDE:
enterOuterAlt(_localctx, 11);
{
setState(310);
match(OVERRIDE);
}
break;
case VIRTUAL:
enterOuterAlt(_localctx, 12);
{
setState(311);
match(VIRTUAL);
}
break;
case TESTMETHOD:
enterOuterAlt(_localctx, 13);
{
setState(312);
match(TESTMETHOD);
}
break;
case WITH:
enterOuterAlt(_localctx, 14);
{
setState(313);
match(WITH);
setState(314);
match(SHARING);
}
break;
case WITHOUT:
enterOuterAlt(_localctx, 15);
{
setState(315);
match(WITHOUT);
setState(316);
match(SHARING);
}
break;
case INHERITED:
enterOuterAlt(_localctx, 16);
{
setState(317);
match(INHERITED);
setState(318);
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, 26, RULE_memberDeclaration);
try {
setState(328);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(321);
methodDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(322);
fieldDeclaration();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(323);
constructorDeclaration();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(324);
interfaceDeclaration();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(325);
classDeclaration();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(326);
enumDeclaration();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(327);
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 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, 28, RULE_methodDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(332);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AFTER:
case BEFORE:
case GET:
case INHERITED:
case INSTANCEOF:
case SET:
case SHARING:
case SWITCH:
case TRANSIENT:
case TRIGGER:
case WHEN:
case WITH:
case WITHOUT:
case LIST:
case MAP:
case Identifier:
{
setState(330);
typeRef();
}
break;
case VOID:
{
setState(331);
match(VOID);
}
break;
default:
throw new NoViableAltException(this);
}
setState(334);
id();
setState(335);
formalParameters();
setState(338);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LBRACE:
{
setState(336);
block();
}
break;
case SEMI:
{
setState(337);
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, 30, RULE_constructorDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(340);
qualifiedName();
setState(341);
formalParameters();
setState(342);
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, 32, RULE_fieldDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(344);
typeRef();
setState(345);
variableDeclarators();
setState(346);
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, 34, RULE_propertyDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(348);
typeRef();
setState(349);
id();
setState(350);
match(LBRACE);
setState(354);
_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(351);
propertyBlock();
}
}
setState(356);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(357);
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, 36, RULE_interfaceMethodDeclaration);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(362);
_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(359);
modifier();
}
}
}
setState(364);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,21,_ctx);
}
setState(367);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AFTER:
case BEFORE:
case GET:
case INHERITED:
case INSTANCEOF:
case SET:
case SHARING:
case SWITCH:
case TRANSIENT:
case TRIGGER:
case WHEN:
case WITH:
case WITHOUT:
case LIST:
case MAP:
case Identifier:
{
setState(365);
typeRef();
}
break;
case VOID:
{
setState(366);
match(VOID);
}
break;
default:
throw new NoViableAltException(this);
}
setState(369);
id();
setState(370);
formalParameters();
setState(371);
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, 38, RULE_variableDeclarators);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(373);
variableDeclarator();
setState(378);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(374);
match(COMMA);
setState(375);
variableDeclarator();
}
}
setState(380);
_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 ExpressionContext expression() {
return getRuleContext(ExpressionContext.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, 40, RULE_variableDeclarator);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(381);
id();
setState(384);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ASSIGN) {
{
setState(382);
match(ASSIGN);
setState(383);
expression(0);
}
}
}
}
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 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 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, 42, RULE_arrayInitializer);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(386);
match(LBRACE);
setState(398);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(387);
expression(0);
setState(392);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,25,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(388);
match(COMMA);
setState(389);
expression(0);
}
}
}
setState(394);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,25,_ctx);
}
setState(396);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(395);
match(COMMA);
}
}
}
}
setState(400);
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, 44, RULE_typeRef);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(402);
typeName();
setState(407);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,28,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(403);
match(DOT);
setState(404);
typeName();
}
}
}
setState(409);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,28,_ctx);
}
setState(410);
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, 46, RULE_arraySubscripts);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(416);
_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(412);
match(LBRACK);
setState(413);
match(RBRACK);
}
}
}
setState(418);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,29,_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 TerminalNode LIST() { return getToken(ApexParser.LIST, 0); }
public TypeArgumentsContext typeArguments() {
return getRuleContext(TypeArgumentsContext.class,0);
}
public TerminalNode SET() { return getToken(ApexParser.SET, 0); }
public TerminalNode MAP() { return getToken(ApexParser.MAP, 0); }
public IdContext id() {
return getRuleContext(IdContext.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, 48, RULE_typeName);
try {
setState(435);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,34,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(419);
match(LIST);
setState(421);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,30,_ctx) ) {
case 1:
{
setState(420);
typeArguments();
}
break;
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(423);
match(SET);
setState(425);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) {
case 1:
{
setState(424);
typeArguments();
}
break;
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(427);
match(MAP);
setState(429);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,32,_ctx) ) {
case 1:
{
setState(428);
typeArguments();
}
break;
}
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(431);
id();
setState(433);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,33,_ctx) ) {
case 1:
{
setState(432);
typeArguments();
}
break;
}
}
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, 50, RULE_typeArguments);
try {
enterOuterAlt(_localctx, 1);
{
setState(437);
match(LT);
setState(438);
typeList();
setState(439);
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, 52, RULE_formalParameters);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(441);
match(LPAREN);
setState(443);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << AFTER) | (1L << BEFORE) | (1L << FINAL) | (1L << GET) | (1L << GLOBAL) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SET) | (1L << SHARING) | (1L << STATIC) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP))) != 0) || _la==AT || _la==Identifier) {
{
setState(442);
formalParameterList();
}
}
setState(445);
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, 54, RULE_formalParameterList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(447);
formalParameter();
setState(452);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(448);
match(COMMA);
setState(449);
formalParameter();
}
}
setState(454);
_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, 56, RULE_formalParameter);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(458);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,37,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(455);
modifier();
}
}
}
setState(460);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,37,_ctx);
}
setState(461);
typeRef();
setState(462);
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, 58, RULE_qualifiedName);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(464);
id();
setState(469);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DOT) {
{
{
setState(465);
match(DOT);
setState(466);
id();
}
}
setState(471);
_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, 60, RULE_literal);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(472);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << NULL) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral))) != 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, 62, RULE_annotation);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(474);
match(AT);
setState(475);
qualifiedName();
setState(482);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LPAREN) {
{
setState(476);
match(LPAREN);
setState(479);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) {
case 1:
{
setState(477);
elementValuePairs();
}
break;
case 2:
{
setState(478);
elementValue();
}
break;
}
setState(481);
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, 64, RULE_elementValuePairs);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(484);
elementValuePair();
setState(491);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << SET) | (1L << SHARING) | (1L << SWITCH) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==COMMA || _la==Identifier) {
{
{
setState(486);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(485);
match(COMMA);
}
}
setState(488);
elementValuePair();
}
}
setState(493);
_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, 66, RULE_elementValuePair);
try {
enterOuterAlt(_localctx, 1);
{
setState(494);
id();
setState(495);
match(ASSIGN);
setState(496);
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, 68, RULE_elementValue);
try {
setState(501);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AFTER:
case BEFORE:
case GET:
case INHERITED:
case INSTANCEOF:
case NEW:
case NULL:
case SET:
case SHARING:
case SUPER:
case SWITCH:
case THIS:
case TRANSIENT:
case TRIGGER:
case WHEN:
case WITH:
case WITHOUT:
case LIST:
case MAP:
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(498);
expression(0);
}
break;
case AT:
enterOuterAlt(_localctx, 2);
{
setState(499);
annotation();
}
break;
case LBRACE:
enterOuterAlt(_localctx, 3);
{
setState(500);
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, 70, RULE_elementValueArrayInitializer);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(503);
match(LBRACE);
setState(512);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 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 << (AT - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
setState(504);
elementValue();
setState(509);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,44,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(505);
match(COMMA);
setState(506);
elementValue();
}
}
}
setState(511);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,44,_ctx);
}
}
}
setState(515);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(514);
match(COMMA);
}
}
setState(517);
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, 72, RULE_block);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(519);
match(LBRACE);
setState(523);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << AFTER) | (1L << BEFORE) | (1L << BREAK) | (1L << CONTINUE) | (1L << DELETE) | (1L << DO) | (1L << FINAL) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << IF) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << MERGE) | (1L << NEW) | (1L << NULL) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << SYSTEMRUNAS) | (1L << SET) | (1L << SHARING) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 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 << (AT - 64)) | (1L << (Identifier - 64)))) != 0)) {
{
{
setState(520);
statement();
}
}
setState(525);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(526);
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, 74, RULE_localVariableDeclarationStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(528);
localVariableDeclaration();
setState(529);
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, 76, RULE_localVariableDeclaration);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(534);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,48,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(531);
modifier();
}
}
}
setState(536);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,48,_ctx);
}
setState(537);
typeRef();
setState(538);
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, 78, RULE_statement);
try {
setState(560);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,49,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(540);
block();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(541);
ifStatement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(542);
switchStatement();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(543);
forStatement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(544);
whileStatement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(545);
doWhileStatement();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(546);
tryStatement();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(547);
returnStatement();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(548);
throwStatement();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(549);
breakStatement();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(550);
continueStatement();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(551);
insertStatement();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(552);
updateStatement();
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(553);
deleteStatement();
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(554);
undeleteStatement();
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(555);
upsertStatement();
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(556);
mergeStatement();
}
break;
case 18:
enterOuterAlt(_localctx, 18);
{
setState(557);
runAsStatement();
}
break;
case 19:
enterOuterAlt(_localctx, 19);
{
setState(558);
localVariableDeclarationStatement();
}
break;
case 20:
enterOuterAlt(_localctx, 20);
{
setState(559);
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, 80, RULE_ifStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(562);
match(IF);
setState(563);
parExpression();
setState(564);
statement();
setState(567);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,50,_ctx) ) {
case 1:
{
setState(565);
match(ELSE);
setState(566);
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, 82, RULE_switchStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(569);
match(SWITCH);
setState(570);
match(ON);
setState(571);
expression(0);
setState(572);
match(LBRACE);
setState(574);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(573);
whenControl();
}
}
setState(576);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==WHEN );
setState(578);
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 WhenValueContext whenValue() {
return getRuleContext(WhenValueContext.class,0);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,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, 84, RULE_whenControl);
try {
enterOuterAlt(_localctx, 1);
{
setState(580);
match(WHEN);
setState(581);
whenValue();
setState(582);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class WhenValueContext extends ParserRuleContext {
public TerminalNode ELSE() { return getToken(ApexParser.ELSE, 0); }
public List whenLiteral() {
return getRuleContexts(WhenLiteralContext.class);
}
public WhenLiteralContext whenLiteral(int i) {
return getRuleContext(WhenLiteralContext.class,i);
}
public List COMMA() { return getTokens(ApexParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(ApexParser.COMMA, i);
}
public List id() {
return getRuleContexts(IdContext.class);
}
public IdContext id(int i) {
return getRuleContext(IdContext.class,i);
}
public WhenValueContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_whenValue; }
}
public final WhenValueContext whenValue() throws RecognitionException {
WhenValueContext _localctx = new WhenValueContext(_ctx, getState());
enterRule(_localctx, 86, RULE_whenValue);
int _la;
try {
setState(596);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,53,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(584);
match(ELSE);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(585);
whenLiteral();
setState(590);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(586);
match(COMMA);
setState(587);
whenLiteral();
}
}
setState(592);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(593);
id();
setState(594);
id();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class WhenLiteralContext extends ParserRuleContext {
public TerminalNode IntegerLiteral() { return getToken(ApexParser.IntegerLiteral, 0); }
public TerminalNode SUB() { return getToken(ApexParser.SUB, 0); }
public TerminalNode StringLiteral() { return getToken(ApexParser.StringLiteral, 0); }
public TerminalNode NULL() { return getToken(ApexParser.NULL, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public WhenLiteralContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_whenLiteral; }
}
public final WhenLiteralContext whenLiteral() throws RecognitionException {
WhenLiteralContext _localctx = new WhenLiteralContext(_ctx, getState());
enterRule(_localctx, 88, RULE_whenLiteral);
int _la;
try {
setState(605);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IntegerLiteral:
case SUB:
enterOuterAlt(_localctx, 1);
{
setState(599);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SUB) {
{
setState(598);
match(SUB);
}
}
setState(601);
match(IntegerLiteral);
}
break;
case StringLiteral:
enterOuterAlt(_localctx, 2);
{
setState(602);
match(StringLiteral);
}
break;
case NULL:
enterOuterAlt(_localctx, 3);
{
setState(603);
match(NULL);
}
break;
case AFTER:
case BEFORE:
case GET:
case INHERITED:
case INSTANCEOF:
case SET:
case SHARING:
case SWITCH:
case TRANSIENT:
case TRIGGER:
case WHEN:
case WITH:
case WITHOUT:
case Identifier:
enterOuterAlt(_localctx, 4);
{
setState(604);
id();
}
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 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, 90, RULE_forStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(607);
match(FOR);
setState(608);
match(LPAREN);
setState(609);
forControl();
setState(610);
match(RPAREN);
setState(611);
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, 92, RULE_whileStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(613);
match(WHILE);
setState(614);
parExpression();
setState(615);
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, 94, RULE_doWhileStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(617);
match(DO);
setState(618);
statement();
setState(619);
match(WHILE);
setState(620);
parExpression();
setState(621);
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, 96, RULE_tryStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(623);
match(TRY);
setState(624);
block();
setState(634);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CATCH:
{
setState(626);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(625);
catchClause();
}
}
setState(628);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CATCH );
setState(631);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FINALLY) {
{
setState(630);
finallyBlock();
}
}
}
break;
case FINALLY:
{
setState(633);
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, 98, RULE_returnStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(636);
match(RETURN);
setState(638);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(637);
expression(0);
}
}
setState(640);
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, 100, RULE_throwStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(642);
match(THROW);
setState(643);
expression(0);
setState(644);
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, 102, RULE_breakStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(646);
match(BREAK);
setState(647);
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, 104, RULE_continueStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(649);
match(CONTINUE);
setState(650);
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, 106, RULE_insertStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(652);
match(INSERT);
setState(653);
expression(0);
setState(654);
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, 108, RULE_updateStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(656);
match(UPDATE);
setState(657);
expression(0);
setState(658);
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, 110, RULE_deleteStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(660);
match(DELETE);
setState(661);
expression(0);
setState(662);
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, 112, RULE_undeleteStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(664);
match(UNDELETE);
setState(665);
expression(0);
setState(666);
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, 114, RULE_upsertStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(668);
match(UPSERT);
setState(669);
expression(0);
setState(671);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << SET) | (1L << SHARING) | (1L << SWITCH) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT))) != 0) || _la==Identifier) {
{
setState(670);
qualifiedName();
}
}
setState(673);
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, 116, RULE_mergeStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(675);
match(MERGE);
setState(676);
expression(0);
setState(677);
expression(0);
setState(678);
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 SYSTEMRUNAS() { return getToken(ApexParser.SYSTEMRUNAS, 0); }
public TerminalNode LPAREN() { return getToken(ApexParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(ApexParser.RPAREN, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.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, 118, RULE_runAsStatement);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(680);
match(SYSTEMRUNAS);
setState(681);
match(LPAREN);
setState(683);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(682);
expressionList();
}
}
setState(685);
match(RPAREN);
setState(686);
block();
}
}
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, 120, RULE_expressionStatement);
try {
enterOuterAlt(_localctx, 1);
{
setState(688);
expression(0);
setState(689);
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, 122, RULE_propertyBlock);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(694);
_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(691);
modifier();
}
}
setState(696);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(699);
_errHandler.sync(this);
switch (_input.LA(1)) {
case GET:
{
setState(697);
getter();
}
break;
case SET:
{
setState(698);
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, 124, RULE_getter);
try {
enterOuterAlt(_localctx, 1);
{
setState(701);
match(GET);
setState(704);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SEMI:
{
setState(702);
match(SEMI);
}
break;
case LBRACE:
{
setState(703);
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, 126, RULE_setter);
try {
enterOuterAlt(_localctx, 1);
{
setState(706);
match(SET);
setState(709);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SEMI:
{
setState(707);
match(SEMI);
}
break;
case LBRACE:
{
setState(708);
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 QualifiedNameContext qualifiedName() {
return getRuleContext(QualifiedNameContext.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, 128, RULE_catchClause);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(711);
match(CATCH);
setState(712);
match(LPAREN);
setState(716);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,66,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(713);
modifier();
}
}
}
setState(718);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,66,_ctx);
}
setState(719);
qualifiedName();
setState(720);
id();
setState(721);
match(RPAREN);
setState(722);
block();
}
}
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, 130, RULE_finallyBlock);
try {
enterOuterAlt(_localctx, 1);
{
setState(724);
match(FINALLY);
setState(725);
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, 132, RULE_forControl);
int _la;
try {
setState(739);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,70,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(727);
enhancedForControl();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(729);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << AFTER) | (1L << BEFORE) | (1L << FINAL) | (1L << GET) | (1L << GLOBAL) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SET) | (1L << SHARING) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (AT - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(728);
forInit();
}
}
setState(731);
match(SEMI);
setState(733);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(732);
expression(0);
}
}
setState(735);
match(SEMI);
setState(737);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(736);
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, 134, RULE_forInit);
try {
setState(743);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,71,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(741);
localVariableDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(742);
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 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, 136, RULE_enhancedForControl);
try {
enterOuterAlt(_localctx, 1);
{
setState(745);
typeRef();
setState(746);
id();
setState(747);
match(COLON);
setState(748);
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, 138, RULE_forUpdate);
try {
enterOuterAlt(_localctx, 1);
{
setState(750);
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, 140, RULE_parExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(752);
match(LPAREN);
setState(753);
expression(0);
setState(754);
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, 142, RULE_expressionList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(756);
expression(0);
setState(761);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(757);
match(COMMA);
setState(758);
expression(0);
}
}
setState(763);
_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 DotExpressionContext extends ExpressionContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode DOT() { return getToken(ApexParser.DOT, 0); }
public DotMethodCallContext dotMethodCall() {
return getRuleContext(DotMethodCallContext.class,0);
}
public AnyIdContext anyId() {
return getRuleContext(AnyIdContext.class,0);
}
public DotExpressionContext(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 MethodCallExpressionContext extends ExpressionContext {
public MethodCallContext methodCall() {
return getRuleContext(MethodCallContext.class,0);
}
public MethodCallExpressionContext(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 CmpExpressionContext extends ExpressionContext {
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode GT() { return getToken(ApexParser.GT, 0); }
public TerminalNode LT() { return getToken(ApexParser.LT, 0); }
public TerminalNode ASSIGN() { return getToken(ApexParser.ASSIGN, 0); }
public CmpExpressionContext(ExpressionContext ctx) { copyFrom(ctx); }
}
public static class BitExpressionContext 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 BitExpressionContext(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 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 = 144;
enterRecursionRule(_localctx, 144, RULE_expression, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(778);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,73,_ctx) ) {
case 1:
{
_localctx = new PrimaryExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(765);
primary();
}
break;
case 2:
{
_localctx = new MethodCallExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(766);
methodCall();
}
break;
case 3:
{
_localctx = new NewExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(767);
match(NEW);
setState(768);
creator();
}
break;
case 4:
{
_localctx = new CastExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(769);
match(LPAREN);
setState(770);
typeRef();
setState(771);
match(RPAREN);
setState(772);
expression(17);
}
break;
case 5:
{
_localctx = new PreOpExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(774);
_la = _input.LA(1);
if ( !(((((_la - 85)) & ~0x3f) == 0 && ((1L << (_la - 85)) & ((1L << (INC - 85)) | (1L << (DEC - 85)) | (1L << (ADD - 85)) | (1L << (SUB - 85)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(775);
expression(15);
}
break;
case 6:
{
_localctx = new NegExpressionContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(776);
_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(777);
expression(14);
}
break;
}
_ctx.stop = _input.LT(-1);
setState(848);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,78,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
setState(846);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,77,_ctx) ) {
case 1:
{
_localctx = new Arth1ExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(780);
if (!(precpred(_ctx, 13))) throw new FailedPredicateException(this, "precpred(_ctx, 13)");
setState(781);
_la = _input.LA(1);
if ( !(((((_la - 89)) & ~0x3f) == 0 && ((1L << (_la - 89)) & ((1L << (MUL - 89)) | (1L << (DIV - 89)) | (1L << (MOD - 89)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(782);
expression(14);
}
break;
case 2:
{
_localctx = new Arth2ExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(783);
if (!(precpred(_ctx, 12))) throw new FailedPredicateException(this, "precpred(_ctx, 12)");
setState(784);
_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(785);
expression(13);
}
break;
case 3:
{
_localctx = new BitExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(786);
if (!(precpred(_ctx, 11))) throw new FailedPredicateException(this, "precpred(_ctx, 11)");
setState(794);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,74,_ctx) ) {
case 1:
{
setState(787);
match(LT);
setState(788);
match(LT);
}
break;
case 2:
{
setState(789);
match(GT);
setState(790);
match(GT);
setState(791);
match(GT);
}
break;
case 3:
{
setState(792);
match(GT);
setState(793);
match(GT);
}
break;
}
setState(796);
expression(12);
}
break;
case 4:
{
_localctx = new CmpExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(797);
if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)");
setState(798);
_la = _input.LA(1);
if ( !(_la==GT || _la==LT) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(800);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ASSIGN) {
{
setState(799);
match(ASSIGN);
}
}
setState(802);
expression(11);
}
break;
case 5:
{
_localctx = new EqualityExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(803);
if (!(precpred(_ctx, 8))) throw new FailedPredicateException(this, "precpred(_ctx, 8)");
setState(804);
_la = _input.LA(1);
if ( !(((((_la - 78)) & ~0x3f) == 0 && ((1L << (_la - 78)) & ((1L << (EQUAL - 78)) | (1L << (TRIPLEEQUAL - 78)) | (1L << (NOTEQUAL - 78)) | (1L << (LESSANDGREATER - 78)) | (1L << (TRIPLENOTEQUAL - 78)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(805);
expression(9);
}
break;
case 6:
{
_localctx = new BitAndExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(806);
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
setState(807);
match(BITAND);
setState(808);
expression(8);
}
break;
case 7:
{
_localctx = new BitNotExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(809);
if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)");
setState(810);
match(CARET);
setState(811);
expression(7);
}
break;
case 8:
{
_localctx = new BitOrExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(812);
if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)");
setState(813);
match(BITOR);
setState(814);
expression(6);
}
break;
case 9:
{
_localctx = new LogAndExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(815);
if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)");
setState(816);
match(AND);
setState(817);
expression(5);
}
break;
case 10:
{
_localctx = new LogOrExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(818);
if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
setState(819);
match(OR);
setState(820);
expression(4);
}
break;
case 11:
{
_localctx = new CondExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(821);
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
setState(822);
match(QUESTION);
setState(823);
expression(0);
setState(824);
match(COLON);
setState(825);
expression(2);
}
break;
case 12:
{
_localctx = new AssignExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(827);
if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
setState(828);
_la = _input.LA(1);
if ( !(((((_la - 71)) & ~0x3f) == 0 && ((1L << (_la - 71)) & ((1L << (ASSIGN - 71)) | (1L << (ADD_ASSIGN - 71)) | (1L << (SUB_ASSIGN - 71)) | (1L << (MUL_ASSIGN - 71)) | (1L << (DIV_ASSIGN - 71)) | (1L << (AND_ASSIGN - 71)) | (1L << (OR_ASSIGN - 71)) | (1L << (XOR_ASSIGN - 71)) | (1L << (MOD_ASSIGN - 71)) | (1L << (LSHIFT_ASSIGN - 71)) | (1L << (RSHIFT_ASSIGN - 71)) | (1L << (URSHIFT_ASSIGN - 71)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(829);
expression(1);
}
break;
case 13:
{
_localctx = new DotExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(830);
if (!(precpred(_ctx, 21))) throw new FailedPredicateException(this, "precpred(_ctx, 21)");
setState(831);
match(DOT);
setState(834);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,76,_ctx) ) {
case 1:
{
setState(832);
dotMethodCall();
}
break;
case 2:
{
setState(833);
anyId();
}
break;
}
}
break;
case 14:
{
_localctx = new ArrayExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(836);
if (!(precpred(_ctx, 20))) throw new FailedPredicateException(this, "precpred(_ctx, 20)");
setState(837);
match(LBRACK);
setState(838);
expression(0);
setState(839);
match(RBRACK);
}
break;
case 15:
{
_localctx = new PostOpExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(841);
if (!(precpred(_ctx, 16))) throw new FailedPredicateException(this, "precpred(_ctx, 16)");
setState(842);
_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 16:
{
_localctx = new InstanceOfExpressionContext(new ExpressionContext(_parentctx, _parentState));
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(843);
if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)");
setState(844);
match(INSTANCEOF);
setState(845);
typeRef();
}
break;
}
}
}
setState(850);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,78,_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, 146, RULE_primary);
try {
setState(864);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,79,_ctx) ) {
case 1:
_localctx = new SubPrimaryContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(851);
match(LPAREN);
setState(852);
expression(0);
setState(853);
match(RPAREN);
}
break;
case 2:
_localctx = new ThisPrimaryContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(855);
match(THIS);
}
break;
case 3:
_localctx = new SuperPrimaryContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(856);
match(SUPER);
}
break;
case 4:
_localctx = new LiteralPrimaryContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(857);
literal();
}
break;
case 5:
_localctx = new TypeRefPrimaryContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(858);
typeRef();
setState(859);
match(DOT);
setState(860);
match(CLASS);
}
break;
case 6:
_localctx = new IdPrimaryContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(862);
id();
}
break;
case 7:
_localctx = new SoqlPrimaryContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(863);
soqlLiteral();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MethodCallContext extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.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 TerminalNode THIS() { return getToken(ApexParser.THIS, 0); }
public TerminalNode SUPER() { return getToken(ApexParser.SUPER, 0); }
public MethodCallContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_methodCall; }
}
public final MethodCallContext methodCall() throws RecognitionException {
MethodCallContext _localctx = new MethodCallContext(_ctx, getState());
enterRule(_localctx, 148, RULE_methodCall);
int _la;
try {
setState(885);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AFTER:
case BEFORE:
case GET:
case INHERITED:
case INSTANCEOF:
case SET:
case SHARING:
case SWITCH:
case TRANSIENT:
case TRIGGER:
case WHEN:
case WITH:
case WITHOUT:
case Identifier:
enterOuterAlt(_localctx, 1);
{
setState(866);
id();
setState(867);
match(LPAREN);
setState(869);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(868);
expressionList();
}
}
setState(871);
match(RPAREN);
}
break;
case THIS:
enterOuterAlt(_localctx, 2);
{
setState(873);
match(THIS);
setState(874);
match(LPAREN);
setState(876);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(875);
expressionList();
}
}
setState(878);
match(RPAREN);
}
break;
case SUPER:
enterOuterAlt(_localctx, 3);
{
setState(879);
match(SUPER);
setState(880);
match(LPAREN);
setState(882);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(881);
expressionList();
}
}
setState(884);
match(RPAREN);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DotMethodCallContext extends ParserRuleContext {
public AnyIdContext anyId() {
return getRuleContext(AnyIdContext.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 DotMethodCallContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_dotMethodCall; }
}
public final DotMethodCallContext dotMethodCall() throws RecognitionException {
DotMethodCallContext _localctx = new DotMethodCallContext(_ctx, getState());
enterRule(_localctx, 150, RULE_dotMethodCall);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(887);
anyId();
setState(888);
match(LPAREN);
setState(890);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(889);
expressionList();
}
}
setState(892);
match(RPAREN);
}
}
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, 152, RULE_creator);
try {
enterOuterAlt(_localctx, 1);
{
setState(894);
createdName();
setState(900);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,85,_ctx) ) {
case 1:
{
setState(895);
noRest();
}
break;
case 2:
{
setState(896);
classCreatorRest();
}
break;
case 3:
{
setState(897);
arrayCreatorRest();
}
break;
case 4:
{
setState(898);
mapCreatorRest();
}
break;
case 5:
{
setState(899);
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, 154, RULE_createdName);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(902);
idCreatedNamePair();
setState(907);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DOT) {
{
{
setState(903);
match(DOT);
setState(904);
idCreatedNamePair();
}
}
setState(909);
_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 AnyIdContext anyId() {
return getRuleContext(AnyIdContext.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, 156, RULE_idCreatedNamePair);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(910);
anyId();
setState(915);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(911);
match(LT);
setState(912);
typeList();
setState(913);
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, 158, RULE_noRest);
try {
enterOuterAlt(_localctx, 1);
{
setState(917);
match(LBRACE);
setState(918);
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, 160, RULE_classCreatorRest);
try {
enterOuterAlt(_localctx, 1);
{
setState(920);
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 ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RBRACK() { return getToken(ApexParser.RBRACK, 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, 162, RULE_arrayCreatorRest);
try {
setState(931);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,89,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(922);
match(LBRACK);
setState(923);
expression(0);
setState(924);
match(RBRACK);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(926);
match(LBRACK);
setState(927);
match(RBRACK);
setState(929);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,88,_ctx) ) {
case 1:
{
setState(928);
arrayInitializer();
}
break;
}
}
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, 164, RULE_mapCreatorRest);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(933);
match(LBRACE);
setState(934);
mapCreatorRestPair();
setState(939);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(935);
match(COMMA);
setState(936);
mapCreatorRestPair();
}
}
setState(941);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(942);
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 MAPTO() { return getToken(ApexParser.MAPTO, 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, 166, RULE_mapCreatorRestPair);
try {
enterOuterAlt(_localctx, 1);
{
setState(944);
expression(0);
setState(945);
match(MAPTO);
setState(946);
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, 168, RULE_setCreatorRest);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(948);
match(LBRACE);
setState(949);
expression(0);
setState(954);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(950);
match(COMMA);
{
setState(951);
expression(0);
}
}
}
setState(956);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(957);
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, 170, RULE_arguments);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(959);
match(LPAREN);
setState(961);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << NEW) | (1L << NULL) | (1L << SET) | (1L << SHARING) | (1L << SUPER) | (1L << SWITCH) | (1L << THIS) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP) | (1L << IntegerLiteral) | (1L << NumberLiteral) | (1L << BooleanLiteral) | (1L << StringLiteral) | (1L << LPAREN))) != 0) || ((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & ((1L << (LBRACK - 66)) | (1L << (BANG - 66)) | (1L << (TILDE - 66)) | (1L << (INC - 66)) | (1L << (DEC - 66)) | (1L << (ADD - 66)) | (1L << (SUB - 66)) | (1L << (Identifier - 66)))) != 0)) {
{
setState(960);
expressionList();
}
}
setState(963);
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, 172, RULE_soqlLiteral);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(965);
match(LBRACK);
setState(970);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,94,_ctx);
while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1+1 ) {
{
setState(968);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,93,_ctx) ) {
case 1:
{
setState(966);
soqlLiteral();
}
break;
case 2:
{
setState(967);
_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(972);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,94,_ctx);
}
setState(973);
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 AFTER() { return getToken(ApexParser.AFTER, 0); }
public TerminalNode BEFORE() { return getToken(ApexParser.BEFORE, 0); }
public TerminalNode GET() { return getToken(ApexParser.GET, 0); }
public TerminalNode INHERITED() { return getToken(ApexParser.INHERITED, 0); }
public TerminalNode INSTANCEOF() { return getToken(ApexParser.INSTANCEOF, 0); }
public TerminalNode SET() { return getToken(ApexParser.SET, 0); }
public TerminalNode SHARING() { return getToken(ApexParser.SHARING, 0); }
public TerminalNode SWITCH() { return getToken(ApexParser.SWITCH, 0); }
public TerminalNode TRANSIENT() { return getToken(ApexParser.TRANSIENT, 0); }
public TerminalNode TRIGGER() { return getToken(ApexParser.TRIGGER, 0); }
public TerminalNode WHEN() { return getToken(ApexParser.WHEN, 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, 174, RULE_id);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(975);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << AFTER) | (1L << BEFORE) | (1L << GET) | (1L << INHERITED) | (1L << INSTANCEOF) | (1L << SET) | (1L << SHARING) | (1L << SWITCH) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << WHEN) | (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 static class AnyIdContext extends ParserRuleContext {
public TerminalNode Identifier() { return getToken(ApexParser.Identifier, 0); }
public TerminalNode ABSTRACT() { return getToken(ApexParser.ABSTRACT, 0); }
public TerminalNode AFTER() { return getToken(ApexParser.AFTER, 0); }
public TerminalNode BEFORE() { return getToken(ApexParser.BEFORE, 0); }
public TerminalNode BREAK() { return getToken(ApexParser.BREAK, 0); }
public TerminalNode CATCH() { return getToken(ApexParser.CATCH, 0); }
public TerminalNode CLASS() { return getToken(ApexParser.CLASS, 0); }
public TerminalNode CONTINUE() { return getToken(ApexParser.CONTINUE, 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 FOR() { return getToken(ApexParser.FOR, 0); }
public TerminalNode GET() { return getToken(ApexParser.GET, 0); }
public TerminalNode GLOBAL() { return getToken(ApexParser.GLOBAL, 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 LIST() { return getToken(ApexParser.LIST, 0); }
public TerminalNode MAP() { return getToken(ApexParser.MAP, 0); }
public TerminalNode MERGE() { return getToken(ApexParser.MERGE, 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 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 SET() { return getToken(ApexParser.SET, 0); }
public TerminalNode SHARING() { return getToken(ApexParser.SHARING, 0); }
public TerminalNode STATIC() { return getToken(ApexParser.STATIC, 0); }
public TerminalNode SUPER() { return getToken(ApexParser.SUPER, 0); }
public TerminalNode SWITCH() { return getToken(ApexParser.SWITCH, 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 TRIGGER() { return getToken(ApexParser.TRIGGER, 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 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 AnyIdContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_anyId; }
}
public final AnyIdContext anyId() throws RecognitionException {
AnyIdContext _localctx = new AnyIdContext(_ctx, getState());
enterRule(_localctx, 176, RULE_anyId);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(977);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << AFTER) | (1L << BEFORE) | (1L << BREAK) | (1L << CATCH) | (1L << CLASS) | (1L << CONTINUE) | (1L << DELETE) | (1L << DO) | (1L << ELSE) | (1L << ENUM) | (1L << EXTENDS) | (1L << FINAL) | (1L << FINALLY) | (1L << FOR) | (1L << GET) | (1L << GLOBAL) | (1L << IF) | (1L << IMPLEMENTS) | (1L << INHERITED) | (1L << INSERT) | (1L << INSTANCEOF) | (1L << INTERFACE) | (1L << MERGE) | (1L << NEW) | (1L << NULL) | (1L << ON) | (1L << OVERRIDE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << SET) | (1L << SHARING) | (1L << STATIC) | (1L << SUPER) | (1L << SWITCH) | (1L << TESTMETHOD) | (1L << THIS) | (1L << THROW) | (1L << TRANSIENT) | (1L << TRIGGER) | (1L << TRY) | (1L << UNDELETE) | (1L << UPDATE) | (1L << UPSERT) | (1L << VIRTUAL) | (1L << WEBSERVICE) | (1L << WHEN) | (1L << WHILE) | (1L << WITH) | (1L << WITHOUT) | (1L << LIST) | (1L << MAP))) != 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 72:
return expression_sempred((ExpressionContext)_localctx, predIndex);
}
return true;
}
private boolean expression_sempred(ExpressionContext _localctx, int predIndex) {
switch (predIndex) {
case 0:
return precpred(_ctx, 13);
case 1:
return precpred(_ctx, 12);
case 2:
return precpred(_ctx, 11);
case 3:
return precpred(_ctx, 10);
case 4:
return precpred(_ctx, 8);
case 5:
return precpred(_ctx, 7);
case 6:
return precpred(_ctx, 6);
case 7:
return precpred(_ctx, 5);
case 8:
return precpred(_ctx, 4);
case 9:
return precpred(_ctx, 3);
case 10:
return precpred(_ctx, 2);
case 11:
return precpred(_ctx, 1);
case 12:
return precpred(_ctx, 21);
case 13:
return precpred(_ctx, 20);
case 14:
return precpred(_ctx, 16);
case 15:
return precpred(_ctx, 9);
}
return true;
}
public static final String _serializedATN =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3r\u03d6\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\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\7"+
"\2\u00bd\n\2\f\2\16\2\u00c0\13\2\3\2\3\2\3\2\3\2\3\3\3\3\3\3\3\4\3\4\3"+
"\4\3\5\7\5\u00cd\n\5\f\5\16\5\u00d0\13\5\3\5\3\5\7\5\u00d4\n\5\f\5\16"+
"\5\u00d7\13\5\3\5\3\5\7\5\u00db\n\5\f\5\16\5\u00de\13\5\3\5\5\5\u00e1"+
"\n\5\3\6\3\6\3\6\3\6\5\6\u00e7\n\6\3\6\3\6\5\6\u00eb\n\6\3\6\3\6\3\7\3"+
"\7\3\7\3\7\5\7\u00f3\n\7\3\7\3\7\3\b\3\b\3\b\7\b\u00fa\n\b\f\b\16\b\u00fd"+
"\13\b\3\t\3\t\3\t\3\t\5\t\u0103\n\t\3\t\3\t\3\n\3\n\3\n\7\n\u010a\n\n"+
"\f\n\16\n\u010d\13\n\3\13\3\13\7\13\u0111\n\13\f\13\16\13\u0114\13\13"+
"\3\13\3\13\3\f\3\f\7\f\u011a\n\f\f\f\16\f\u011d\13\f\3\f\3\f\3\r\3\r\5"+
"\r\u0123\n\r\3\r\3\r\7\r\u0127\n\r\f\r\16\r\u012a\13\r\3\r\5\r\u012d\n"+
"\r\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3"+
"\16\3\16\3\16\3\16\3\16\3\16\5\16\u0142\n\16\3\17\3\17\3\17\3\17\3\17"+
"\3\17\3\17\5\17\u014b\n\17\3\20\3\20\5\20\u014f\n\20\3\20\3\20\3\20\3"+
"\20\5\20\u0155\n\20\3\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\23\3\23"+
"\3\23\3\23\7\23\u0163\n\23\f\23\16\23\u0166\13\23\3\23\3\23\3\24\7\24"+
"\u016b\n\24\f\24\16\24\u016e\13\24\3\24\3\24\5\24\u0172\n\24\3\24\3\24"+
"\3\24\3\24\3\25\3\25\3\25\7\25\u017b\n\25\f\25\16\25\u017e\13\25\3\26"+
"\3\26\3\26\5\26\u0183\n\26\3\27\3\27\3\27\3\27\7\27\u0189\n\27\f\27\16"+
"\27\u018c\13\27\3\27\5\27\u018f\n\27\5\27\u0191\n\27\3\27\3\27\3\30\3"+
"\30\3\30\7\30\u0198\n\30\f\30\16\30\u019b\13\30\3\30\3\30\3\31\3\31\7"+
"\31\u01a1\n\31\f\31\16\31\u01a4\13\31\3\32\3\32\5\32\u01a8\n\32\3\32\3"+
"\32\5\32\u01ac\n\32\3\32\3\32\5\32\u01b0\n\32\3\32\3\32\5\32\u01b4\n\32"+
"\5\32\u01b6\n\32\3\33\3\33\3\33\3\33\3\34\3\34\5\34\u01be\n\34\3\34\3"+
"\34\3\35\3\35\3\35\7\35\u01c5\n\35\f\35\16\35\u01c8\13\35\3\36\7\36\u01cb"+
"\n\36\f\36\16\36\u01ce\13\36\3\36\3\36\3\36\3\37\3\37\3\37\7\37\u01d6"+
"\n\37\f\37\16\37\u01d9\13\37\3 \3 \3!\3!\3!\3!\3!\5!\u01e2\n!\3!\5!\u01e5"+
"\n!\3\"\3\"\5\"\u01e9\n\"\3\"\7\"\u01ec\n\"\f\"\16\"\u01ef\13\"\3#\3#"+
"\3#\3#\3$\3$\3$\5$\u01f8\n$\3%\3%\3%\3%\7%\u01fe\n%\f%\16%\u0201\13%\5"+
"%\u0203\n%\3%\5%\u0206\n%\3%\3%\3&\3&\7&\u020c\n&\f&\16&\u020f\13&\3&"+
"\3&\3\'\3\'\3\'\3(\7(\u0217\n(\f(\16(\u021a\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)\u0233\n)\3*\3*\3*\3"+
"*\3*\5*\u023a\n*\3+\3+\3+\3+\3+\6+\u0241\n+\r+\16+\u0242\3+\3+\3,\3,\3"+
",\3,\3-\3-\3-\3-\7-\u024f\n-\f-\16-\u0252\13-\3-\3-\3-\5-\u0257\n-\3."+
"\5.\u025a\n.\3.\3.\3.\3.\5.\u0260\n.\3/\3/\3/\3/\3/\3/\3\60\3\60\3\60"+
"\3\60\3\61\3\61\3\61\3\61\3\61\3\61\3\62\3\62\3\62\6\62\u0275\n\62\r\62"+
"\16\62\u0276\3\62\5\62\u027a\n\62\3\62\5\62\u027d\n\62\3\63\3\63\5\63"+
"\u0281\n\63\3\63\3\63\3\64\3\64\3\64\3\64\3\65\3\65\3\65\3\66\3\66\3\66"+
"\3\67\3\67\3\67\3\67\38\38\38\38\39\39\39\39\3:\3:\3:\3:\3;\3;\3;\5;\u02a2"+
"\n;\3;\3;\3<\3<\3<\3<\3<\3=\3=\3=\5=\u02ae\n=\3=\3=\3=\3>\3>\3>\3?\7?"+
"\u02b7\n?\f?\16?\u02ba\13?\3?\3?\5?\u02be\n?\3@\3@\3@\5@\u02c3\n@\3A\3"+
"A\3A\5A\u02c8\nA\3B\3B\3B\7B\u02cd\nB\fB\16B\u02d0\13B\3B\3B\3B\3B\3B"+
"\3C\3C\3C\3D\3D\5D\u02dc\nD\3D\3D\5D\u02e0\nD\3D\3D\5D\u02e4\nD\5D\u02e6"+
"\nD\3E\3E\5E\u02ea\nE\3F\3F\3F\3F\3F\3G\3G\3H\3H\3H\3H\3I\3I\3I\7I\u02fa"+
"\nI\fI\16I\u02fd\13I\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\5J\u030d"+
"\nJ\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\5J\u031d\nJ\3J\3J\3J\3J"+
"\5J\u0323\nJ\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J"+
"\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\3J\5J\u0345\nJ\3J\3J\3J\3J\3J\3J"+
"\3J\3J\3J\3J\7J\u0351\nJ\fJ\16J\u0354\13J\3K\3K\3K\3K\3K\3K\3K\3K\3K\3"+
"K\3K\3K\3K\5K\u0363\nK\3L\3L\3L\5L\u0368\nL\3L\3L\3L\3L\3L\5L\u036f\n"+
"L\3L\3L\3L\3L\5L\u0375\nL\3L\5L\u0378\nL\3M\3M\3M\5M\u037d\nM\3M\3M\3"+
"N\3N\3N\3N\3N\3N\5N\u0387\nN\3O\3O\3O\7O\u038c\nO\fO\16O\u038f\13O\3P"+
"\3P\3P\3P\3P\5P\u0396\nP\3Q\3Q\3Q\3R\3R\3S\3S\3S\3S\3S\3S\3S\5S\u03a4"+
"\nS\5S\u03a6\nS\3T\3T\3T\3T\7T\u03ac\nT\fT\16T\u03af\13T\3T\3T\3U\3U\3"+
"U\3U\3V\3V\3V\3V\7V\u03bb\nV\fV\16V\u03be\13V\3V\3V\3W\3W\5W\u03c4\nW"+
"\3W\3W\3X\3X\3X\7X\u03cb\nX\fX\16X\u03ce\13X\3X\3X\3Y\3Y\3Z\3Z\3Z\3\u03cc"+
"\3\u0092[\2\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\66"+
"8:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0084\u0086\u0088\u008a"+
"\u008c\u008e\u0090\u0092\u0094\u0096\u0098\u009a\u009c\u009e\u00a0\u00a2"+
"\u00a4\u00a6\u00a8\u00aa\u00ac\u00ae\u00b0\u00b2\2\20\3\2\4\5\5\2\n\n"+
"\27\27/\60\4\2\34\34;>\3\2WZ\3\2LM\4\2[\\``\3\2YZ\3\2JK\3\2PT\4\2IIbl"+
"\3\2WX\3\2EE\f\2\4\5\22\22\26\26\30\30$%((,-\65\65\678nn\6\2\3\"$\62\64"+
":nn\2\u0425\2\u00b4\3\2\2\2\4\u00c5\3\2\2\2\6\u00c8\3\2\2\2\b\u00e0\3"+
"\2\2\2\n\u00e2\3\2\2\2\f\u00ee\3\2\2\2\16\u00f6\3\2\2\2\20\u00fe\3\2\2"+
"\2\22\u0106\3\2\2\2\24\u010e\3\2\2\2\26\u0117\3\2\2\2\30\u012c\3\2\2\2"+
"\32\u0141\3\2\2\2\34\u014a\3\2\2\2\36\u014e\3\2\2\2 \u0156\3\2\2\2\"\u015a"+
"\3\2\2\2$\u015e\3\2\2\2&\u016c\3\2\2\2(\u0177\3\2\2\2*\u017f\3\2\2\2,"+
"\u0184\3\2\2\2.\u0194\3\2\2\2\60\u01a2\3\2\2\2\62\u01b5\3\2\2\2\64\u01b7"+
"\3\2\2\2\66\u01bb\3\2\2\28\u01c1\3\2\2\2:\u01cc\3\2\2\2<\u01d2\3\2\2\2"+
">\u01da\3\2\2\2@\u01dc\3\2\2\2B\u01e6\3\2\2\2D\u01f0\3\2\2\2F\u01f7\3"+
"\2\2\2H\u01f9\3\2\2\2J\u0209\3\2\2\2L\u0212\3\2\2\2N\u0218\3\2\2\2P\u0232"+
"\3\2\2\2R\u0234\3\2\2\2T\u023b\3\2\2\2V\u0246\3\2\2\2X\u0256\3\2\2\2Z"+
"\u025f\3\2\2\2\\\u0261\3\2\2\2^\u0267\3\2\2\2`\u026b\3\2\2\2b\u0271\3"+
"\2\2\2d\u027e\3\2\2\2f\u0284\3\2\2\2h\u0288\3\2\2\2j\u028b\3\2\2\2l\u028e"+
"\3\2\2\2n\u0292\3\2\2\2p\u0296\3\2\2\2r\u029a\3\2\2\2t\u029e\3\2\2\2v"+
"\u02a5\3\2\2\2x\u02aa\3\2\2\2z\u02b2\3\2\2\2|\u02b8\3\2\2\2~\u02bf\3\2"+
"\2\2\u0080\u02c4\3\2\2\2\u0082\u02c9\3\2\2\2\u0084\u02d6\3\2\2\2\u0086"+
"\u02e5\3\2\2\2\u0088\u02e9\3\2\2\2\u008a\u02eb\3\2\2\2\u008c\u02f0\3\2"+
"\2\2\u008e\u02f2\3\2\2\2\u0090\u02f6\3\2\2\2\u0092\u030c\3\2\2\2\u0094"+
"\u0362\3\2\2\2\u0096\u0377\3\2\2\2\u0098\u0379\3\2\2\2\u009a\u0380\3\2"+
"\2\2\u009c\u0388\3\2\2\2\u009e\u0390\3\2\2\2\u00a0\u0397\3\2\2\2\u00a2"+
"\u039a\3\2\2\2\u00a4\u03a5\3\2\2\2\u00a6\u03a7\3\2\2\2\u00a8\u03b2\3\2"+
"\2\2\u00aa\u03b6\3\2\2\2\u00ac\u03c1\3\2\2\2\u00ae\u03c7\3\2\2\2\u00b0"+
"\u03d1\3\2\2\2\u00b2\u03d3\3\2\2\2\u00b4\u00b5\7-\2\2\u00b5\u00b6\5\u00b0"+
"Y\2\u00b6\u00b7\7\35\2\2\u00b7\u00b8\5\u00b0Y\2\u00b8\u00b9\7@\2\2\u00b9"+
"\u00be\5\4\3\2\u00ba\u00bb\7G\2\2\u00bb\u00bd\5\4\3\2\u00bc\u00ba\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\u00c2\7A\2\2\u00c2\u00c3\5J&"+
"\2\u00c3\u00c4\7\2\2\3\u00c4\3\3\2\2\2\u00c5\u00c6\t\2\2\2\u00c6\u00c7"+
"\t\3\2\2\u00c7\5\3\2\2\2\u00c8\u00c9\5\b\5\2\u00c9\u00ca\7\2\2\3\u00ca"+
"\7\3\2\2\2\u00cb\u00cd\5\32\16\2\u00cc\u00cb\3\2\2\2\u00cd\u00d0\3\2\2"+
"\2\u00ce\u00cc\3\2\2\2\u00ce\u00cf\3\2\2\2\u00cf\u00d1\3\2\2\2\u00d0\u00ce"+
"\3\2\2\2\u00d1\u00e1\5\n\6\2\u00d2\u00d4\5\32\16\2\u00d3\u00d2\3\2\2\2"+
"\u00d4\u00d7\3\2\2\2\u00d5\u00d3\3\2\2\2\u00d5\u00d6\3\2\2\2\u00d6\u00d8"+
"\3\2\2\2\u00d7\u00d5\3\2\2\2\u00d8\u00e1\5\f\7\2\u00d9\u00db\5\32\16\2"+
"\u00da\u00d9\3\2\2\2\u00db\u00de\3\2\2\2\u00dc\u00da\3\2\2\2\u00dc\u00dd"+
"\3\2\2\2\u00dd\u00df\3\2\2\2\u00de\u00dc\3\2\2\2\u00df\u00e1\5\20\t\2"+
"\u00e0\u00ce\3\2\2\2\u00e0\u00d5\3\2\2\2\u00e0\u00dc\3\2\2\2\u00e1\t\3"+
"\2\2\2\u00e2\u00e3\7\b\2\2\u00e3\u00e6\5\u00b0Y\2\u00e4\u00e5\7\16\2\2"+
"\u00e5\u00e7\5.\30\2\u00e6\u00e4\3\2\2\2\u00e6\u00e7\3\2\2\2\u00e7\u00ea"+
"\3\2\2\2\u00e8\u00e9\7\25\2\2\u00e9\u00eb\5\22\n\2\u00ea\u00e8\3\2\2\2"+
"\u00ea\u00eb\3\2\2\2\u00eb\u00ec\3\2\2\2\u00ec\u00ed\5\24\13\2\u00ed\13"+
"\3\2\2\2\u00ee\u00ef\7\r\2\2\u00ef\u00f0\5\u00b0Y\2\u00f0\u00f2\7B\2\2"+
"\u00f1\u00f3\5\16\b\2\u00f2\u00f1\3\2\2\2\u00f2\u00f3\3\2\2\2\u00f3\u00f4"+
"\3\2\2\2\u00f4\u00f5\7C\2\2\u00f5\r\3\2\2\2\u00f6\u00fb\5\u00b0Y\2\u00f7"+
"\u00f8\7G\2\2\u00f8\u00fa\5\u00b0Y\2\u00f9\u00f7\3\2\2\2\u00fa\u00fd\3"+
"\2\2\2\u00fb\u00f9\3\2\2\2\u00fb\u00fc\3\2\2\2\u00fc\17\3\2\2\2\u00fd"+
"\u00fb\3\2\2\2\u00fe\u00ff\7\31\2\2\u00ff\u0102\5\u00b0Y\2\u0100\u0101"+
"\7\16\2\2\u0101\u0103\5\22\n\2\u0102\u0100\3\2\2\2\u0102\u0103\3\2\2\2"+
"\u0103\u0104\3\2\2\2\u0104\u0105\5\26\f\2\u0105\21\3\2\2\2\u0106\u010b"+
"\5.\30\2\u0107\u0108\7G\2\2\u0108\u010a\5.\30\2\u0109\u0107\3\2\2\2\u010a"+
"\u010d\3\2\2\2\u010b\u0109\3\2\2\2\u010b\u010c\3\2\2\2\u010c\23\3\2\2"+
"\2\u010d\u010b\3\2\2\2\u010e\u0112\7B\2\2\u010f\u0111\5\30\r\2\u0110\u010f"+
"\3\2\2\2\u0111\u0114\3\2\2\2\u0112\u0110\3\2\2\2\u0112\u0113\3\2\2\2\u0113"+
"\u0115\3\2\2\2\u0114\u0112\3\2\2\2\u0115\u0116\7C\2\2\u0116\25\3\2\2\2"+
"\u0117\u011b\7B\2\2\u0118\u011a\5&\24\2\u0119\u0118\3\2\2\2\u011a\u011d"+
"\3\2\2\2\u011b\u0119\3\2\2\2\u011b\u011c\3\2\2\2\u011c\u011e\3\2\2\2\u011d"+
"\u011b\3\2\2\2\u011e\u011f\7C\2\2\u011f\27\3\2\2\2\u0120\u012d\7F\2\2"+
"\u0121\u0123\7&\2\2\u0122\u0121\3\2\2\2\u0122\u0123\3\2\2\2\u0123\u0124"+
"\3\2\2\2\u0124\u012d\5J&\2\u0125\u0127\5\32\16\2\u0126\u0125\3\2\2\2\u0127"+
"\u012a\3\2\2\2\u0128\u0126\3\2\2\2\u0128\u0129\3\2\2\2\u0129\u012b\3\2"+
"\2\2\u012a\u0128\3\2\2\2\u012b\u012d\5\34\17\2\u012c\u0120\3\2\2\2\u012c"+
"\u0122\3\2\2\2\u012c\u0128\3\2\2\2\u012d\31\3\2\2\2\u012e\u0142\5@!\2"+
"\u012f\u0142\7\23\2\2\u0130\u0142\7!\2\2\u0131\u0142\7 \2\2\u0132\u0142"+
"\7\37\2\2\u0133\u0142\7,\2\2\u0134\u0142\7&\2\2\u0135\u0142\7\3\2\2\u0136"+
"\u0142\7\17\2\2\u0137\u0142\7\64\2\2\u0138\u0142\7\36\2\2\u0139\u0142"+
"\7\62\2\2\u013a\u0142\7)\2\2\u013b\u013c\7\67\2\2\u013c\u0142\7%\2\2\u013d"+
"\u013e\78\2\2\u013e\u0142\7%\2\2\u013f\u0140\7\26\2\2\u0140\u0142\7%\2"+
"\2\u0141\u012e\3\2\2\2\u0141\u012f\3\2\2\2\u0141\u0130\3\2\2\2\u0141\u0131"+
"\3\2\2\2\u0141\u0132\3\2\2\2\u0141\u0133\3\2\2\2\u0141\u0134\3\2\2\2\u0141"+
"\u0135\3\2\2\2\u0141\u0136\3\2\2\2\u0141\u0137\3\2\2\2\u0141\u0138\3\2"+
"\2\2\u0141\u0139\3\2\2\2\u0141\u013a\3\2\2\2\u0141\u013b\3\2\2\2\u0141"+
"\u013d\3\2\2\2\u0141\u013f\3\2\2\2\u0142\33\3\2\2\2\u0143\u014b\5\36\20"+
"\2\u0144\u014b\5\"\22\2\u0145\u014b\5 \21\2\u0146\u014b\5\20\t\2\u0147"+
"\u014b\5\n\6\2\u0148\u014b\5\f\7\2\u0149\u014b\5$\23\2\u014a\u0143\3\2"+
"\2\2\u014a\u0144\3\2\2\2\u014a\u0145\3\2\2\2\u014a\u0146\3\2\2\2\u014a"+
"\u0147\3\2\2\2\u014a\u0148\3\2\2\2\u014a\u0149\3\2\2\2\u014b\35\3\2\2"+
"\2\u014c\u014f\5.\30\2\u014d\u014f\7\63\2\2\u014e\u014c\3\2\2\2\u014e"+
"\u014d\3\2\2\2\u014f\u0150\3\2\2\2\u0150\u0151\5\u00b0Y\2\u0151\u0154"+
"\5\66\34\2\u0152\u0155\5J&\2\u0153\u0155\7F\2\2\u0154\u0152\3\2\2\2\u0154"+
"\u0153\3\2\2\2\u0155\37\3\2\2\2\u0156\u0157\5<\37\2\u0157\u0158\5\66\34"+
"\2\u0158\u0159\5J&\2\u0159!\3\2\2\2\u015a\u015b\5.\30\2\u015b\u015c\5"+
"(\25\2\u015c\u015d\7F\2\2\u015d#\3\2\2\2\u015e\u015f\5.\30\2\u015f\u0160"+
"\5\u00b0Y\2\u0160\u0164\7B\2\2\u0161\u0163\5|?\2\u0162\u0161\3\2\2\2\u0163"+
"\u0166\3\2\2\2\u0164\u0162\3\2\2\2\u0164\u0165\3\2\2\2\u0165\u0167\3\2"+
"\2\2\u0166\u0164\3\2\2\2\u0167\u0168\7C\2\2\u0168%\3\2\2\2\u0169\u016b"+
"\5\32\16\2\u016a\u0169\3\2\2\2\u016b\u016e\3\2\2\2\u016c\u016a\3\2\2\2"+
"\u016c\u016d\3\2\2\2\u016d\u0171\3\2\2\2\u016e\u016c\3\2\2\2\u016f\u0172"+
"\5.\30\2\u0170\u0172\7\63\2\2\u0171\u016f\3\2\2\2\u0171\u0170\3\2\2\2"+
"\u0172\u0173\3\2\2\2\u0173\u0174\5\u00b0Y\2\u0174\u0175\5\66\34\2\u0175"+
"\u0176\7F\2\2\u0176\'\3\2\2\2\u0177\u017c\5*\26\2\u0178\u0179\7G\2\2\u0179"+
"\u017b\5*\26\2\u017a\u0178\3\2\2\2\u017b\u017e\3\2\2\2\u017c\u017a\3\2"+
"\2\2\u017c\u017d\3\2\2\2\u017d)\3\2\2\2\u017e\u017c\3\2\2\2\u017f\u0182"+
"\5\u00b0Y\2\u0180\u0181\7I\2\2\u0181\u0183\5\u0092J\2\u0182\u0180\3\2"+
"\2\2\u0182\u0183\3\2\2\2\u0183+\3\2\2\2\u0184\u0190\7B\2\2\u0185\u018a"+
"\5\u0092J\2\u0186\u0187\7G\2\2\u0187\u0189\5\u0092J\2\u0188\u0186\3\2"+
"\2\2\u0189\u018c\3\2\2\2\u018a\u0188\3\2\2\2\u018a\u018b\3\2\2\2\u018b"+
"\u018e\3\2\2\2\u018c\u018a\3\2\2\2\u018d\u018f\7G\2\2\u018e\u018d\3\2"+
"\2\2\u018e\u018f\3\2\2\2\u018f\u0191\3\2\2\2\u0190\u0185\3\2\2\2\u0190"+
"\u0191\3\2\2\2\u0191\u0192\3\2\2\2\u0192\u0193\7C\2\2\u0193-\3\2\2\2\u0194"+
"\u0199\5\62\32\2\u0195\u0196\7H\2\2\u0196\u0198\5\62\32\2\u0197\u0195"+
"\3\2\2\2\u0198\u019b\3\2\2\2\u0199\u0197\3\2\2\2\u0199\u019a\3\2\2\2\u019a"+
"\u019c\3\2\2\2\u019b\u0199\3\2\2\2\u019c\u019d\5\60\31\2\u019d/\3\2\2"+
"\2\u019e\u019f\7D\2\2\u019f\u01a1\7E\2\2\u01a0\u019e\3\2\2\2\u01a1\u01a4"+
"\3\2\2\2\u01a2\u01a0\3\2\2\2\u01a2\u01a3\3\2\2\2\u01a3\61\3\2\2\2\u01a4"+
"\u01a2\3\2\2\2\u01a5\u01a7\79\2\2\u01a6\u01a8\5\64\33\2\u01a7\u01a6\3"+
"\2\2\2\u01a7\u01a8\3\2\2\2\u01a8\u01b6\3\2\2\2\u01a9\u01ab\7$\2\2\u01aa"+
"\u01ac\5\64\33\2\u01ab\u01aa\3\2\2\2\u01ab\u01ac\3\2\2\2\u01ac\u01b6\3"+
"\2\2\2\u01ad\u01af\7:\2\2\u01ae\u01b0\5\64\33\2\u01af\u01ae\3\2\2\2\u01af"+
"\u01b0\3\2\2\2\u01b0\u01b6\3\2\2\2\u01b1\u01b3\5\u00b0Y\2\u01b2\u01b4"+
"\5\64\33\2\u01b3\u01b2\3\2\2\2\u01b3\u01b4\3\2\2\2\u01b4\u01b6\3\2\2\2"+
"\u01b5\u01a5\3\2\2\2\u01b5\u01a9\3\2\2\2\u01b5\u01ad\3\2\2\2\u01b5\u01b1"+
"\3\2\2\2\u01b6\63\3\2\2\2\u01b7\u01b8\7K\2\2\u01b8\u01b9\5\22\n\2\u01b9"+
"\u01ba\7J\2\2\u01ba\65\3\2\2\2\u01bb\u01bd\7@\2\2\u01bc\u01be\58\35\2"+
"\u01bd\u01bc\3\2\2\2\u01bd\u01be\3\2\2\2\u01be\u01bf\3\2\2\2\u01bf\u01c0"+
"\7A\2\2\u01c0\67\3\2\2\2\u01c1\u01c6\5:\36\2\u01c2\u01c3\7G\2\2\u01c3"+
"\u01c5\5:\36\2\u01c4\u01c2\3\2\2\2\u01c5\u01c8\3\2\2\2\u01c6\u01c4\3\2"+
"\2\2\u01c6\u01c7\3\2\2\2\u01c79\3\2\2\2\u01c8\u01c6\3\2\2\2\u01c9\u01cb"+
"\5\32\16\2\u01ca\u01c9\3\2\2\2\u01cb\u01ce\3\2\2\2\u01cc\u01ca\3\2\2\2"+
"\u01cc\u01cd\3\2\2\2\u01cd\u01cf\3\2\2\2\u01ce\u01cc\3\2\2\2\u01cf\u01d0"+
"\5.\30\2\u01d0\u01d1\5\u00b0Y\2\u01d1;\3\2\2\2\u01d2\u01d7\5\u00b0Y\2"+
"\u01d3\u01d4\7H\2\2\u01d4\u01d6\5\u00b0Y\2\u01d5\u01d3\3\2\2\2\u01d6\u01d9"+
"\3\2\2\2\u01d7\u01d5\3\2\2\2\u01d7\u01d8\3\2\2\2\u01d8=\3\2\2\2\u01d9"+
"\u01d7\3\2\2\2\u01da\u01db\t\4\2\2\u01db?\3\2\2\2\u01dc\u01dd\7m\2\2\u01dd"+
"\u01e4\5<\37\2\u01de\u01e1\7@\2\2\u01df\u01e2\5B\"\2\u01e0\u01e2\5F$\2"+
"\u01e1\u01df\3\2\2\2\u01e1\u01e0\3\2\2\2\u01e1\u01e2\3\2\2\2\u01e2\u01e3"+
"\3\2\2\2\u01e3\u01e5\7A\2\2\u01e4\u01de\3\2\2\2\u01e4\u01e5\3\2\2\2\u01e5"+
"A\3\2\2\2\u01e6\u01ed\5D#\2\u01e7\u01e9\7G\2\2\u01e8\u01e7\3\2\2\2\u01e8"+
"\u01e9\3\2\2\2\u01e9\u01ea\3\2\2\2\u01ea\u01ec\5D#\2\u01eb\u01e8\3\2\2"+
"\2\u01ec\u01ef\3\2\2\2\u01ed\u01eb\3\2\2\2\u01ed\u01ee\3\2\2\2\u01eeC"+
"\3\2\2\2\u01ef\u01ed\3\2\2\2\u01f0\u01f1\5\u00b0Y\2\u01f1\u01f2\7I\2\2"+
"\u01f2\u01f3\5F$\2\u01f3E\3\2\2\2\u01f4\u01f8\5\u0092J\2\u01f5\u01f8\5"+
"@!\2\u01f6\u01f8\5H%\2\u01f7\u01f4\3\2\2\2\u01f7\u01f5\3\2\2\2\u01f7\u01f6"+
"\3\2\2\2\u01f8G\3\2\2\2\u01f9\u0202\7B\2\2\u01fa\u01ff\5F$\2\u01fb\u01fc"+
"\7G\2\2\u01fc\u01fe\5F$\2\u01fd\u01fb\3\2\2\2\u01fe\u0201\3\2\2\2\u01ff"+
"\u01fd\3\2\2\2\u01ff\u0200\3\2\2\2\u0200\u0203\3\2\2\2\u0201\u01ff\3\2"+
"\2\2\u0202\u01fa\3\2\2\2\u0202\u0203\3\2\2\2\u0203\u0205\3\2\2\2\u0204"+
"\u0206\7G\2\2\u0205\u0204\3\2\2\2\u0205\u0206\3\2\2\2\u0206\u0207\3\2"+
"\2\2\u0207\u0208\7C\2\2\u0208I\3\2\2\2\u0209\u020d\7B\2\2\u020a\u020c"+
"\5P)\2\u020b\u020a\3\2\2\2\u020c\u020f\3\2\2\2\u020d\u020b\3\2\2\2\u020d"+
"\u020e\3\2\2\2\u020e\u0210\3\2\2\2\u020f\u020d\3\2\2\2\u0210\u0211\7C"+
"\2\2\u0211K\3\2\2\2\u0212\u0213\5N(\2\u0213\u0214\7F\2\2\u0214M\3\2\2"+
"\2\u0215\u0217\5\32\16\2\u0216\u0215\3\2\2\2\u0217\u021a\3\2\2\2\u0218"+
"\u0216\3\2\2\2\u0218\u0219\3\2\2\2\u0219\u021b\3\2\2\2\u021a\u0218\3\2"+
"\2\2\u021b\u021c\5.\30\2\u021c\u021d\5(\25\2\u021dO\3\2\2\2\u021e\u0233"+
"\5J&\2\u021f\u0233\5R*\2\u0220\u0233\5T+\2\u0221\u0233\5\\/\2\u0222\u0233"+
"\5^\60\2\u0223\u0233\5`\61\2\u0224\u0233\5b\62\2\u0225\u0233\5d\63\2\u0226"+
"\u0233\5f\64\2\u0227\u0233\5h\65\2\u0228\u0233\5j\66\2\u0229\u0233\5l"+
"\67\2\u022a\u0233\5n8\2\u022b\u0233\5p9\2\u022c\u0233\5r:\2\u022d\u0233"+
"\5t;\2\u022e\u0233\5v<\2\u022f\u0233\5x=\2\u0230\u0233\5L\'\2\u0231\u0233"+
"\5z>\2\u0232\u021e\3\2\2\2\u0232\u021f\3\2\2\2\u0232\u0220\3\2\2\2\u0232"+
"\u0221\3\2\2\2\u0232\u0222\3\2\2\2\u0232\u0223\3\2\2\2\u0232\u0224\3\2"+
"\2\2\u0232\u0225\3\2\2\2\u0232\u0226\3\2\2\2\u0232\u0227\3\2\2\2\u0232"+
"\u0228\3\2\2\2\u0232\u0229\3\2\2\2\u0232\u022a\3\2\2\2\u0232\u022b\3\2"+
"\2\2\u0232\u022c\3\2\2\2\u0232\u022d\3\2\2\2\u0232\u022e\3\2\2\2\u0232"+
"\u022f\3\2\2\2\u0232\u0230\3\2\2\2\u0232\u0231\3\2\2\2\u0233Q\3\2\2\2"+
"\u0234\u0235\7\24\2\2\u0235\u0236\5\u008eH\2\u0236\u0239\5P)\2\u0237\u0238"+
"\7\f\2\2\u0238\u023a\5P)\2\u0239\u0237\3\2\2\2\u0239\u023a\3\2\2\2\u023a"+
"S\3\2\2\2\u023b\u023c\7(\2\2\u023c\u023d\7\35\2\2\u023d\u023e\5\u0092"+
"J\2\u023e\u0240\7B\2\2\u023f\u0241\5V,\2\u0240\u023f\3\2\2\2\u0241\u0242"+
"\3\2\2\2\u0242\u0240\3\2\2\2\u0242\u0243\3\2\2\2\u0243\u0244\3\2\2\2\u0244"+
"\u0245\7C\2\2\u0245U\3\2\2\2\u0246\u0247\7\65\2\2\u0247\u0248\5X-\2\u0248"+
"\u0249\5J&\2\u0249W\3\2\2\2\u024a\u0257\7\f\2\2\u024b\u0250\5Z.\2\u024c"+
"\u024d\7G\2\2\u024d\u024f\5Z.\2\u024e\u024c\3\2\2\2\u024f\u0252\3\2\2"+
"\2\u0250\u024e\3\2\2\2\u0250\u0251\3\2\2\2\u0251\u0257\3\2\2\2\u0252\u0250"+
"\3\2\2\2\u0253\u0254\5\u00b0Y\2\u0254\u0255\5\u00b0Y\2\u0255\u0257\3\2"+
"\2\2\u0256\u024a\3\2\2\2\u0256\u024b\3\2\2\2\u0256\u0253\3\2\2\2\u0257"+
"Y\3\2\2\2\u0258\u025a\7Z\2\2\u0259\u0258\3\2\2\2\u0259\u025a\3\2\2\2\u025a"+
"\u025b\3\2\2\2\u025b\u0260\7;\2\2\u025c\u0260\7>\2\2\u025d\u0260\7\34"+
"\2\2\u025e\u0260\5\u00b0Y\2\u025f\u0259\3\2\2\2\u025f\u025c\3\2\2\2\u025f"+
"\u025d\3\2\2\2\u025f\u025e\3\2\2\2\u0260[\3\2\2\2\u0261\u0262\7\21\2\2"+
"\u0262\u0263\7@\2\2\u0263\u0264\5\u0086D\2\u0264\u0265\7A\2\2\u0265\u0266"+
"\5P)\2\u0266]\3\2\2\2\u0267\u0268\7\66\2\2\u0268\u0269\5\u008eH\2\u0269"+
"\u026a\5P)\2\u026a_\3\2\2\2\u026b\u026c\7\13\2\2\u026c\u026d\5P)\2\u026d"+
"\u026e\7\66\2\2\u026e\u026f\5\u008eH\2\u026f\u0270\7F\2\2\u0270a\3\2\2"+
"\2\u0271\u0272\7.\2\2\u0272\u027c\5J&\2\u0273\u0275\5\u0082B\2\u0274\u0273"+
"\3\2\2\2\u0275\u0276\3\2\2\2\u0276\u0274\3\2\2\2\u0276\u0277\3\2\2\2\u0277"+
"\u0279\3\2\2\2\u0278\u027a\5\u0084C\2\u0279\u0278\3\2\2\2\u0279\u027a"+
"\3\2\2\2\u027a\u027d\3\2\2\2\u027b\u027d\5\u0084C\2\u027c\u0274\3\2\2"+
"\2\u027c\u027b\3\2\2\2\u027dc\3\2\2\2\u027e\u0280\7\"\2\2\u027f\u0281"+
"\5\u0092J\2\u0280\u027f\3\2\2\2\u0280\u0281\3\2\2\2\u0281\u0282\3\2\2"+
"\2\u0282\u0283\7F\2\2\u0283e\3\2\2\2\u0284\u0285\7+\2\2\u0285\u0286\5"+
"\u0092J\2\u0286\u0287\7F\2\2\u0287g\3\2\2\2\u0288\u0289\7\6\2\2\u0289"+
"\u028a\7F\2\2\u028ai\3\2\2\2\u028b\u028c\7\t\2\2\u028c\u028d\7F\2\2\u028d"+
"k\3\2\2\2\u028e\u028f\7\27\2\2\u028f\u0290\5\u0092J\2\u0290\u0291\7F\2"+
"\2\u0291m\3\2\2\2\u0292\u0293\7\60\2\2\u0293\u0294\5\u0092J\2\u0294\u0295"+
"\7F\2\2\u0295o\3\2\2\2\u0296\u0297\7\n\2\2\u0297\u0298\5\u0092J\2\u0298"+
"\u0299\7F\2\2\u0299q\3\2\2\2\u029a\u029b\7/\2\2\u029b\u029c\5\u0092J\2"+
"\u029c\u029d\7F\2\2\u029ds\3\2\2\2\u029e\u029f\7\61\2\2\u029f\u02a1\5"+
"\u0092J\2\u02a0\u02a2\5<\37\2\u02a1\u02a0\3\2\2\2\u02a1\u02a2\3\2\2\2"+
"\u02a2\u02a3\3\2\2\2\u02a3\u02a4\7F\2\2\u02a4u\3\2\2\2\u02a5\u02a6\7\32"+
"\2\2\u02a6\u02a7\5\u0092J\2\u02a7\u02a8\5\u0092J\2\u02a8\u02a9\7F\2\2"+
"\u02a9w\3\2\2\2\u02aa\u02ab\7#\2\2\u02ab\u02ad\7@\2\2\u02ac\u02ae\5\u0090"+
"I\2\u02ad\u02ac\3\2\2\2\u02ad\u02ae\3\2\2\2\u02ae\u02af\3\2\2\2\u02af"+
"\u02b0\7A\2\2\u02b0\u02b1\5J&\2\u02b1y\3\2\2\2\u02b2\u02b3\5\u0092J\2"+
"\u02b3\u02b4\7F\2\2\u02b4{\3\2\2\2\u02b5\u02b7\5\32\16\2\u02b6\u02b5\3"+
"\2\2\2\u02b7\u02ba\3\2\2\2\u02b8\u02b6\3\2\2\2\u02b8\u02b9\3\2\2\2\u02b9"+
"\u02bd\3\2\2\2\u02ba\u02b8\3\2\2\2\u02bb\u02be\5~@\2\u02bc\u02be\5\u0080"+
"A\2\u02bd\u02bb\3\2\2\2\u02bd\u02bc\3\2\2\2\u02be}\3\2\2\2\u02bf\u02c2"+
"\7\22\2\2\u02c0\u02c3\7F\2\2\u02c1\u02c3\5J&\2\u02c2\u02c0\3\2\2\2\u02c2"+
"\u02c1\3\2\2\2\u02c3\177\3\2\2\2\u02c4\u02c7\7$\2\2\u02c5\u02c8\7F\2\2"+
"\u02c6\u02c8\5J&\2\u02c7\u02c5\3\2\2\2\u02c7\u02c6\3\2\2\2\u02c8\u0081"+
"\3\2\2\2\u02c9\u02ca\7\7\2\2\u02ca\u02ce\7@\2\2\u02cb\u02cd\5\32\16\2"+
"\u02cc\u02cb\3\2\2\2\u02cd\u02d0\3\2\2\2\u02ce\u02cc\3\2\2\2\u02ce\u02cf"+
"\3\2\2\2\u02cf\u02d1\3\2\2\2\u02d0\u02ce\3\2\2\2\u02d1\u02d2\5<\37\2\u02d2"+
"\u02d3\5\u00b0Y\2\u02d3\u02d4\7A\2\2\u02d4\u02d5\5J&\2\u02d5\u0083\3\2"+
"\2\2\u02d6\u02d7\7\20\2\2\u02d7\u02d8\5J&\2\u02d8\u0085\3\2\2\2\u02d9"+
"\u02e6\5\u008aF\2\u02da\u02dc\5\u0088E\2\u02db\u02da\3\2\2\2\u02db\u02dc"+
"\3\2\2\2\u02dc\u02dd\3\2\2\2\u02dd\u02df\7F\2\2\u02de\u02e0\5\u0092J\2"+
"\u02df\u02de\3\2\2\2\u02df\u02e0\3\2\2\2\u02e0\u02e1\3\2\2\2\u02e1\u02e3"+
"\7F\2\2\u02e2\u02e4\5\u008cG\2\u02e3\u02e2\3\2\2\2\u02e3\u02e4\3\2\2\2"+
"\u02e4\u02e6\3\2\2\2\u02e5\u02d9\3\2\2\2\u02e5\u02db\3\2\2\2\u02e6\u0087"+
"\3\2\2\2\u02e7\u02ea\5N(\2\u02e8\u02ea\5\u0090I\2\u02e9\u02e7\3\2\2\2"+
"\u02e9\u02e8\3\2\2\2\u02ea\u0089\3\2\2\2\u02eb\u02ec\5.\30\2\u02ec\u02ed"+
"\5\u00b0Y\2\u02ed\u02ee\7O\2\2\u02ee\u02ef\5\u0092J\2\u02ef\u008b\3\2"+
"\2\2\u02f0\u02f1\5\u0090I\2\u02f1\u008d\3\2\2\2\u02f2\u02f3\7@\2\2\u02f3"+
"\u02f4\5\u0092J\2\u02f4\u02f5\7A\2\2\u02f5\u008f\3\2\2\2\u02f6\u02fb\5"+
"\u0092J\2\u02f7\u02f8\7G\2\2\u02f8\u02fa\5\u0092J\2\u02f9\u02f7\3\2\2"+
"\2\u02fa\u02fd\3\2\2\2\u02fb\u02f9\3\2\2\2\u02fb\u02fc\3\2\2\2\u02fc\u0091"+
"\3\2\2\2\u02fd\u02fb\3\2\2\2\u02fe\u02ff\bJ\1\2\u02ff\u030d\5\u0094K\2"+
"\u0300\u030d\5\u0096L\2\u0301\u0302\7\33\2\2\u0302\u030d\5\u009aN\2\u0303"+
"\u0304\7@\2\2\u0304\u0305\5.\30\2\u0305\u0306\7A\2\2\u0306\u0307\5\u0092"+
"J\23\u0307\u030d\3\2\2\2\u0308\u0309\t\5\2\2\u0309\u030d\5\u0092J\21\u030a"+
"\u030b\t\6\2\2\u030b\u030d\5\u0092J\20\u030c\u02fe\3\2\2\2\u030c\u0300"+
"\3\2\2\2\u030c\u0301\3\2\2\2\u030c\u0303\3\2\2\2\u030c\u0308\3\2\2\2\u030c"+
"\u030a\3\2\2\2\u030d\u0352\3\2\2\2\u030e\u030f\f\17\2\2\u030f\u0310\t"+
"\7\2\2\u0310\u0351\5\u0092J\20\u0311\u0312\f\16\2\2\u0312\u0313\t\b\2"+
"\2\u0313\u0351\5\u0092J\17\u0314\u031c\f\r\2\2\u0315\u0316\7K\2\2\u0316"+
"\u031d\7K\2\2\u0317\u0318\7J\2\2\u0318\u0319\7J\2\2\u0319\u031d\7J\2\2"+
"\u031a\u031b\7J\2\2\u031b\u031d\7J\2\2\u031c\u0315\3\2\2\2\u031c\u0317"+
"\3\2\2\2\u031c\u031a\3\2\2\2\u031d\u031e\3\2\2\2\u031e\u0351\5\u0092J"+
"\16\u031f\u0320\f\f\2\2\u0320\u0322\t\t\2\2\u0321\u0323\7I\2\2\u0322\u0321"+
"\3\2\2\2\u0322\u0323\3\2\2\2\u0323\u0324\3\2\2\2\u0324\u0351\5\u0092J"+
"\r\u0325\u0326\f\n\2\2\u0326\u0327\t\n\2\2\u0327\u0351\5\u0092J\13\u0328"+
"\u0329\f\t\2\2\u0329\u032a\7]\2\2\u032a\u0351\5\u0092J\n\u032b\u032c\f"+
"\b\2\2\u032c\u032d\7_\2\2\u032d\u0351\5\u0092J\t\u032e\u032f\f\7\2\2\u032f"+
"\u0330\7^\2\2\u0330\u0351\5\u0092J\b\u0331\u0332\f\6\2\2\u0332\u0333\7"+
"U\2\2\u0333\u0351\5\u0092J\7\u0334\u0335\f\5\2\2\u0335\u0336\7V\2\2\u0336"+
"\u0351\5\u0092J\6\u0337\u0338\f\4\2\2\u0338\u0339\7N\2\2\u0339\u033a\5"+
"\u0092J\2\u033a\u033b\7O\2\2\u033b\u033c\5\u0092J\4\u033c\u0351\3\2\2"+
"\2\u033d\u033e\f\3\2\2\u033e\u033f\t\13\2\2\u033f\u0351\5\u0092J\3\u0340"+
"\u0341\f\27\2\2\u0341\u0344\7H\2\2\u0342\u0345\5\u0098M\2\u0343\u0345"+
"\5\u00b2Z\2\u0344\u0342\3\2\2\2\u0344\u0343\3\2\2\2\u0345\u0351\3\2\2"+
"\2\u0346\u0347\f\26\2\2\u0347\u0348\7D\2\2\u0348\u0349\5\u0092J\2\u0349"+
"\u034a\7E\2\2\u034a\u0351\3\2\2\2\u034b\u034c\f\22\2\2\u034c\u0351\t\f"+
"\2\2\u034d\u034e\f\13\2\2\u034e\u034f\7\30\2\2\u034f\u0351\5.\30\2\u0350"+
"\u030e\3\2\2\2\u0350\u0311\3\2\2\2\u0350\u0314\3\2\2\2\u0350\u031f\3\2"+
"\2\2\u0350\u0325\3\2\2\2\u0350\u0328\3\2\2\2\u0350\u032b\3\2\2\2\u0350"+
"\u032e\3\2\2\2\u0350\u0331\3\2\2\2\u0350\u0334\3\2\2\2\u0350\u0337\3\2"+
"\2\2\u0350\u033d\3\2\2\2\u0350\u0340\3\2\2\2\u0350\u0346\3\2\2\2\u0350"+
"\u034b\3\2\2\2\u0350\u034d\3\2\2\2\u0351\u0354\3\2\2\2\u0352\u0350\3\2"+
"\2\2\u0352\u0353\3\2\2\2\u0353\u0093\3\2\2\2\u0354\u0352\3\2\2\2\u0355"+
"\u0356\7@\2\2\u0356\u0357\5\u0092J\2\u0357\u0358\7A\2\2\u0358\u0363\3"+
"\2\2\2\u0359\u0363\7*\2\2\u035a\u0363\7\'\2\2\u035b\u0363\5> \2\u035c"+
"\u035d\5.\30\2\u035d\u035e\7H\2\2\u035e\u035f\7\b\2\2\u035f\u0363\3\2"+
"\2\2\u0360\u0363\5\u00b0Y\2\u0361\u0363\5\u00aeX\2\u0362\u0355\3\2\2\2"+
"\u0362\u0359\3\2\2\2\u0362\u035a\3\2\2\2\u0362\u035b\3\2\2\2\u0362\u035c"+
"\3\2\2\2\u0362\u0360\3\2\2\2\u0362\u0361\3\2\2\2\u0363\u0095\3\2\2\2\u0364"+
"\u0365\5\u00b0Y\2\u0365\u0367\7@\2\2\u0366\u0368\5\u0090I\2\u0367\u0366"+
"\3\2\2\2\u0367\u0368\3\2\2\2\u0368\u0369\3\2\2\2\u0369\u036a\7A\2\2\u036a"+
"\u0378\3\2\2\2\u036b\u036c\7*\2\2\u036c\u036e\7@\2\2\u036d\u036f\5\u0090"+
"I\2\u036e\u036d\3\2\2\2\u036e\u036f\3\2\2\2\u036f\u0370\3\2\2\2\u0370"+
"\u0378\7A\2\2\u0371\u0372\7\'\2\2\u0372\u0374\7@\2\2\u0373\u0375\5\u0090"+
"I\2\u0374\u0373\3\2\2\2\u0374\u0375\3\2\2\2\u0375\u0376\3\2\2\2\u0376"+
"\u0378\7A\2\2\u0377\u0364\3\2\2\2\u0377\u036b\3\2\2\2\u0377\u0371\3\2"+
"\2\2\u0378\u0097\3\2\2\2\u0379\u037a\5\u00b2Z\2\u037a\u037c\7@\2\2\u037b"+
"\u037d\5\u0090I\2\u037c\u037b\3\2\2\2\u037c\u037d\3\2\2\2\u037d\u037e"+
"\3\2\2\2\u037e\u037f\7A\2\2\u037f\u0099\3\2\2\2\u0380\u0386\5\u009cO\2"+
"\u0381\u0387\5\u00a0Q\2\u0382\u0387\5\u00a2R\2\u0383\u0387\5\u00a4S\2"+
"\u0384\u0387\5\u00a6T\2\u0385\u0387\5\u00aaV\2\u0386\u0381\3\2\2\2\u0386"+
"\u0382\3\2\2\2\u0386\u0383\3\2\2\2\u0386\u0384\3\2\2\2\u0386\u0385\3\2"+
"\2\2\u0387\u009b\3\2\2\2\u0388\u038d\5\u009eP\2\u0389\u038a\7H\2\2\u038a"+
"\u038c\5\u009eP\2\u038b\u0389\3\2\2\2\u038c\u038f\3\2\2\2\u038d\u038b"+
"\3\2\2\2\u038d\u038e\3\2\2\2\u038e\u009d\3\2\2\2\u038f\u038d\3\2\2\2\u0390"+
"\u0395\5\u00b2Z\2\u0391\u0392\7K\2\2\u0392\u0393\5\22\n\2\u0393\u0394"+
"\7J\2\2\u0394\u0396\3\2\2\2\u0395\u0391\3\2\2\2\u0395\u0396\3\2\2\2\u0396"+
"\u009f\3\2\2\2\u0397\u0398\7B\2\2\u0398\u0399\7C\2\2\u0399\u00a1\3\2\2"+
"\2\u039a\u039b\5\u00acW\2\u039b\u00a3\3\2\2\2\u039c\u039d\7D\2\2\u039d"+
"\u039e\5\u0092J\2\u039e\u039f\7E\2\2\u039f\u03a6\3\2\2\2\u03a0\u03a1\7"+
"D\2\2\u03a1\u03a3\7E\2\2\u03a2\u03a4\5,\27\2\u03a3\u03a2\3\2\2\2\u03a3"+
"\u03a4\3\2\2\2\u03a4\u03a6\3\2\2\2\u03a5\u039c\3\2\2\2\u03a5\u03a0\3\2"+
"\2\2\u03a6\u00a5\3\2\2\2\u03a7\u03a8\7B\2\2\u03a8\u03ad\5\u00a8U\2\u03a9"+
"\u03aa\7G\2\2\u03aa\u03ac\5\u00a8U\2\u03ab\u03a9\3\2\2\2\u03ac\u03af\3"+
"\2\2\2\u03ad\u03ab\3\2\2\2\u03ad\u03ae\3\2\2\2\u03ae\u03b0\3\2\2\2\u03af"+
"\u03ad\3\2\2\2\u03b0\u03b1\7C\2\2\u03b1\u00a7\3\2\2\2\u03b2\u03b3\5\u0092"+
"J\2\u03b3\u03b4\7a\2\2\u03b4\u03b5\5\u0092J\2\u03b5\u00a9\3\2\2\2\u03b6"+
"\u03b7\7B\2\2\u03b7\u03bc\5\u0092J\2\u03b8\u03b9\7G\2\2\u03b9\u03bb\5"+
"\u0092J\2\u03ba\u03b8\3\2\2\2\u03bb\u03be\3\2\2\2\u03bc\u03ba\3\2\2\2"+
"\u03bc\u03bd\3\2\2\2\u03bd\u03bf\3\2\2\2\u03be\u03bc\3\2\2\2\u03bf\u03c0"+
"\7C\2\2\u03c0\u00ab\3\2\2\2\u03c1\u03c3\7@\2\2\u03c2\u03c4\5\u0090I\2"+
"\u03c3\u03c2\3\2\2\2\u03c3\u03c4\3\2\2\2\u03c4\u03c5\3\2\2\2\u03c5\u03c6"+
"\7A\2\2\u03c6\u00ad\3\2\2\2\u03c7\u03cc\7D\2\2\u03c8\u03cb\5\u00aeX\2"+
"\u03c9\u03cb\n\r\2\2\u03ca\u03c8\3\2\2\2\u03ca\u03c9\3\2\2\2\u03cb\u03ce"+
"\3\2\2\2\u03cc\u03cd\3\2\2\2\u03cc\u03ca\3\2\2\2\u03cd\u03cf\3\2\2\2\u03ce"+
"\u03cc\3\2\2\2\u03cf\u03d0\7E\2\2\u03d0\u00af\3\2\2\2\u03d1\u03d2\t\16"+
"\2\2\u03d2\u00b1\3\2\2\2\u03d3\u03d4\t\17\2\2\u03d4\u00b3\3\2\2\2a\u00be"+
"\u00ce\u00d5\u00dc\u00e0\u00e6\u00ea\u00f2\u00fb\u0102\u010b\u0112\u011b"+
"\u0122\u0128\u012c\u0141\u014a\u014e\u0154\u0164\u016c\u0171\u017c\u0182"+
"\u018a\u018e\u0190\u0199\u01a2\u01a7\u01ab\u01af\u01b3\u01b5\u01bd\u01c6"+
"\u01cc\u01d7\u01e1\u01e4\u01e8\u01ed\u01f7\u01ff\u0202\u0205\u020d\u0218"+
"\u0232\u0239\u0242\u0250\u0256\u0259\u025f\u0276\u0279\u027c\u0280\u02a1"+
"\u02ad\u02b8\u02bd\u02c2\u02c7\u02ce\u02db\u02df\u02e3\u02e5\u02e9\u02fb"+
"\u030c\u031c\u0322\u0344\u0350\u0352\u0362\u0367\u036e\u0374\u0377\u037c"+
"\u0386\u038d\u0395\u03a3\u03a5\u03ad\u03bc\u03c3\u03ca\u03cc";
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);
}
}
}