com.sap.psr.vulas.java.antlr.JavaParser Maven / Gradle / Ivy
// Generated from com/sap/psr/vulas/java/antlr/JavaParser.g4 by ANTLR 4.7.2
package com.sap.psr.vulas.java.antlr;
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 JavaParser extends Parser {
static { RuntimeMetaData.checkVersion("4.7.2", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
ABSTRACT=1, ASSERT=2, BOOLEAN=3, BREAK=4, BYTE=5, CASE=6, CATCH=7, CHAR=8,
CLASS=9, CONST=10, CONTINUE=11, DEFAULT=12, DO=13, DOUBLE=14, ELSE=15,
ENUM=16, EXTENDS=17, FINAL=18, FINALLY=19, FLOAT=20, FOR=21, IF=22, GOTO=23,
IMPLEMENTS=24, IMPORT=25, INSTANCEOF=26, INT=27, INTERFACE=28, LONG=29,
NATIVE=30, NEW=31, PACKAGE=32, PRIVATE=33, PROTECTED=34, PUBLIC=35, RETURN=36,
SHORT=37, STATIC=38, STRICTFP=39, SUPER=40, SWITCH=41, SYNCHRONIZED=42,
THIS=43, THROW=44, THROWS=45, TRANSIENT=46, TRY=47, VOID=48, VOLATILE=49,
WHILE=50, DECIMAL_LITERAL=51, HEX_LITERAL=52, OCT_LITERAL=53, BINARY_LITERAL=54,
FLOAT_LITERAL=55, HEX_FLOAT_LITERAL=56, BOOL_LITERAL=57, CHAR_LITERAL=58,
STRING_LITERAL=59, NULL_LITERAL=60, LPAREN=61, RPAREN=62, LBRACE=63, RBRACE=64,
LBRACK=65, RBRACK=66, SEMI=67, COMMA=68, DOT=69, ASSIGN=70, GT=71, LT=72,
BANG=73, TILDE=74, QUESTION=75, COLON=76, EQUAL=77, LE=78, GE=79, NOTEQUAL=80,
AND=81, OR=82, INC=83, DEC=84, ADD=85, SUB=86, MUL=87, DIV=88, BITAND=89,
BITOR=90, CARET=91, MOD=92, ADD_ASSIGN=93, SUB_ASSIGN=94, MUL_ASSIGN=95,
DIV_ASSIGN=96, AND_ASSIGN=97, OR_ASSIGN=98, XOR_ASSIGN=99, MOD_ASSIGN=100,
LSHIFT_ASSIGN=101, RSHIFT_ASSIGN=102, URSHIFT_ASSIGN=103, ARROW=104, COLONCOLON=105,
AT=106, ELLIPSIS=107, WS=108, COMMENT=109, LINE_COMMENT=110, IDENTIFIER=111;
public static final int
RULE_compilationUnit = 0, RULE_packageDeclaration = 1, RULE_importDeclaration = 2,
RULE_typeDeclaration = 3, RULE_modifier = 4, RULE_classOrInterfaceModifier = 5,
RULE_variableModifier = 6, RULE_classDeclaration = 7, RULE_typeParameters = 8,
RULE_typeParameter = 9, RULE_typeBound = 10, RULE_enumDeclaration = 11,
RULE_enumConstants = 12, RULE_enumConstant = 13, RULE_enumBodyDeclarations = 14,
RULE_interfaceDeclaration = 15, RULE_classBody = 16, RULE_interfaceBody = 17,
RULE_classBodyDeclaration = 18, RULE_memberDeclaration = 19, RULE_methodDeclaration = 20,
RULE_methodBody = 21, RULE_typeTypeOrVoid = 22, RULE_genericMethodDeclaration = 23,
RULE_genericConstructorDeclaration = 24, RULE_constructorDeclaration = 25,
RULE_fieldDeclaration = 26, RULE_interfaceBodyDeclaration = 27, RULE_interfaceMemberDeclaration = 28,
RULE_constDeclaration = 29, RULE_constantDeclarator = 30, RULE_interfaceMethodDeclaration = 31,
RULE_interfaceMethodModifier = 32, RULE_genericInterfaceMethodDeclaration = 33,
RULE_variableDeclarators = 34, RULE_variableDeclarator = 35, RULE_variableDeclaratorId = 36,
RULE_variableInitializer = 37, RULE_arrayInitializer = 38, RULE_classOrInterfaceType = 39,
RULE_typeArgument = 40, RULE_qualifiedNameList = 41, RULE_formalParameters = 42,
RULE_formalParameterList = 43, RULE_formalParameter = 44, RULE_lastFormalParameter = 45,
RULE_qualifiedName = 46, RULE_literal = 47, RULE_integerLiteral = 48,
RULE_floatLiteral = 49, RULE_annotation = 50, RULE_elementValuePairs = 51,
RULE_elementValuePair = 52, RULE_elementValue = 53, RULE_elementValueArrayInitializer = 54,
RULE_annotationTypeDeclaration = 55, RULE_annotationTypeBody = 56, RULE_annotationTypeElementDeclaration = 57,
RULE_annotationTypeElementRest = 58, RULE_annotationMethodOrConstantRest = 59,
RULE_annotationMethodRest = 60, RULE_annotationConstantRest = 61, RULE_defaultValue = 62,
RULE_block = 63, RULE_blockStatement = 64, RULE_localVariableDeclaration = 65,
RULE_localTypeDeclaration = 66, RULE_statement = 67, RULE_catchClause = 68,
RULE_catchType = 69, RULE_finallyBlock = 70, RULE_resourceSpecification = 71,
RULE_resources = 72, RULE_resource = 73, RULE_switchBlockStatementGroup = 74,
RULE_switchLabel = 75, RULE_forControl = 76, RULE_forInit = 77, RULE_enhancedForControl = 78,
RULE_parExpression = 79, RULE_expressionList = 80, RULE_expression = 81,
RULE_lambdaExpression = 82, RULE_lambdaParameters = 83, RULE_lambdaBody = 84,
RULE_primary = 85, RULE_classType = 86, RULE_creator = 87, RULE_createdName = 88,
RULE_innerCreator = 89, RULE_arrayCreatorRest = 90, RULE_classCreatorRest = 91,
RULE_explicitGenericInvocation = 92, RULE_typeArgumentsOrDiamond = 93,
RULE_nonWildcardTypeArgumentsOrDiamond = 94, RULE_nonWildcardTypeArguments = 95,
RULE_typeList = 96, RULE_typeType = 97, RULE_primitiveType = 98, RULE_typeArguments = 99,
RULE_superSuffix = 100, RULE_explicitGenericInvocationSuffix = 101, RULE_arguments = 102;
private static String[] makeRuleNames() {
return new String[] {
"compilationUnit", "packageDeclaration", "importDeclaration", "typeDeclaration",
"modifier", "classOrInterfaceModifier", "variableModifier", "classDeclaration",
"typeParameters", "typeParameter", "typeBound", "enumDeclaration", "enumConstants",
"enumConstant", "enumBodyDeclarations", "interfaceDeclaration", "classBody",
"interfaceBody", "classBodyDeclaration", "memberDeclaration", "methodDeclaration",
"methodBody", "typeTypeOrVoid", "genericMethodDeclaration", "genericConstructorDeclaration",
"constructorDeclaration", "fieldDeclaration", "interfaceBodyDeclaration",
"interfaceMemberDeclaration", "constDeclaration", "constantDeclarator",
"interfaceMethodDeclaration", "interfaceMethodModifier", "genericInterfaceMethodDeclaration",
"variableDeclarators", "variableDeclarator", "variableDeclaratorId",
"variableInitializer", "arrayInitializer", "classOrInterfaceType", "typeArgument",
"qualifiedNameList", "formalParameters", "formalParameterList", "formalParameter",
"lastFormalParameter", "qualifiedName", "literal", "integerLiteral",
"floatLiteral", "annotation", "elementValuePairs", "elementValuePair",
"elementValue", "elementValueArrayInitializer", "annotationTypeDeclaration",
"annotationTypeBody", "annotationTypeElementDeclaration", "annotationTypeElementRest",
"annotationMethodOrConstantRest", "annotationMethodRest", "annotationConstantRest",
"defaultValue", "block", "blockStatement", "localVariableDeclaration",
"localTypeDeclaration", "statement", "catchClause", "catchType", "finallyBlock",
"resourceSpecification", "resources", "resource", "switchBlockStatementGroup",
"switchLabel", "forControl", "forInit", "enhancedForControl", "parExpression",
"expressionList", "expression", "lambdaExpression", "lambdaParameters",
"lambdaBody", "primary", "classType", "creator", "createdName", "innerCreator",
"arrayCreatorRest", "classCreatorRest", "explicitGenericInvocation",
"typeArgumentsOrDiamond", "nonWildcardTypeArgumentsOrDiamond", "nonWildcardTypeArguments",
"typeList", "typeType", "primitiveType", "typeArguments", "superSuffix",
"explicitGenericInvocationSuffix", "arguments"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "'abstract'", "'assert'", "'boolean'", "'break'", "'byte'", "'case'",
"'catch'", "'char'", "'class'", "'const'", "'continue'", "'default'",
"'do'", "'double'", "'else'", "'enum'", "'extends'", "'final'", "'finally'",
"'float'", "'for'", "'if'", "'goto'", "'implements'", "'import'", "'instanceof'",
"'int'", "'interface'", "'long'", "'native'", "'new'", "'package'", "'private'",
"'protected'", "'public'", "'return'", "'short'", "'static'", "'strictfp'",
"'super'", "'switch'", "'synchronized'", "'this'", "'throw'", "'throws'",
"'transient'", "'try'", "'void'", "'volatile'", "'while'", null, null,
null, null, null, null, null, null, null, "'null'", "'('", "')'", "'{'",
"'}'", "'['", "']'", "';'", "','", "'.'", "'='", "'>'", "'<'", "'!'",
"'~'", "'?'", "':'", "'=='", "'<='", "'>='", "'!='", "'&&'", "'||'",
"'++'", "'--'", "'+'", "'-'", "'*'", "'/'", "'&'", "'|'", "'^'", "'%'",
"'+='", "'-='", "'*='", "'/='", "'&='", "'|='", "'^='", "'%='", "'<<='",
"'>>='", "'>>>='", "'->'", "'::'", "'@'", "'...'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, "ABSTRACT", "ASSERT", "BOOLEAN", "BREAK", "BYTE", "CASE", "CATCH",
"CHAR", "CLASS", "CONST", "CONTINUE", "DEFAULT", "DO", "DOUBLE", "ELSE",
"ENUM", "EXTENDS", "FINAL", "FINALLY", "FLOAT", "FOR", "IF", "GOTO",
"IMPLEMENTS", "IMPORT", "INSTANCEOF", "INT", "INTERFACE", "LONG", "NATIVE",
"NEW", "PACKAGE", "PRIVATE", "PROTECTED", "PUBLIC", "RETURN", "SHORT",
"STATIC", "STRICTFP", "SUPER", "SWITCH", "SYNCHRONIZED", "THIS", "THROW",
"THROWS", "TRANSIENT", "TRY", "VOID", "VOLATILE", "WHILE", "DECIMAL_LITERAL",
"HEX_LITERAL", "OCT_LITERAL", "BINARY_LITERAL", "FLOAT_LITERAL", "HEX_FLOAT_LITERAL",
"BOOL_LITERAL", "CHAR_LITERAL", "STRING_LITERAL", "NULL_LITERAL", "LPAREN",
"RPAREN", "LBRACE", "RBRACE", "LBRACK", "RBRACK", "SEMI", "COMMA", "DOT",
"ASSIGN", "GT", "LT", "BANG", "TILDE", "QUESTION", "COLON", "EQUAL",
"LE", "GE", "NOTEQUAL", "AND", "OR", "INC", "DEC", "ADD", "SUB", "MUL",
"DIV", "BITAND", "BITOR", "CARET", "MOD", "ADD_ASSIGN", "SUB_ASSIGN",
"MUL_ASSIGN", "DIV_ASSIGN", "AND_ASSIGN", "OR_ASSIGN", "XOR_ASSIGN",
"MOD_ASSIGN", "LSHIFT_ASSIGN", "RSHIFT_ASSIGN", "URSHIFT_ASSIGN", "ARROW",
"COLONCOLON", "AT", "ELLIPSIS", "WS", "COMMENT", "LINE_COMMENT", "IDENTIFIER"
};
}
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 "JavaParser.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
public JavaParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class CompilationUnitContext extends ParserRuleContext {
public TerminalNode EOF() { return getToken(JavaParser.EOF, 0); }
public PackageDeclarationContext packageDeclaration() {
return getRuleContext(PackageDeclarationContext.class,0);
}
public List importDeclaration() {
return getRuleContexts(ImportDeclarationContext.class);
}
public ImportDeclarationContext importDeclaration(int i) {
return getRuleContext(ImportDeclarationContext.class,i);
}
public List typeDeclaration() {
return getRuleContexts(TypeDeclarationContext.class);
}
public TypeDeclarationContext typeDeclaration(int i) {
return getRuleContext(TypeDeclarationContext.class,i);
}
public CompilationUnitContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_compilationUnit; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterCompilationUnit(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitCompilationUnit(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitCompilationUnit(this);
else return visitor.visitChildren(this);
}
}
public final CompilationUnitContext compilationUnit() throws RecognitionException {
CompilationUnitContext _localctx = new CompilationUnitContext(_ctx, getState());
enterRule(_localctx, 0, RULE_compilationUnit);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(207);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,0,_ctx) ) {
case 1:
{
setState(206);
packageDeclaration();
}
break;
}
setState(212);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==IMPORT) {
{
{
setState(209);
importDeclaration();
}
}
setState(214);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(218);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << CLASS) | (1L << ENUM) | (1L << FINAL) | (1L << INTERFACE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << STATIC) | (1L << STRICTFP))) != 0) || _la==SEMI || _la==AT) {
{
{
setState(215);
typeDeclaration();
}
}
setState(220);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(221);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PackageDeclarationContext extends ParserRuleContext {
public TerminalNode PACKAGE() { return getToken(JavaParser.PACKAGE, 0); }
public QualifiedNameContext qualifiedName() {
return getRuleContext(QualifiedNameContext.class,0);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public List annotation() {
return getRuleContexts(AnnotationContext.class);
}
public AnnotationContext annotation(int i) {
return getRuleContext(AnnotationContext.class,i);
}
public PackageDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_packageDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterPackageDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitPackageDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitPackageDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final PackageDeclarationContext packageDeclaration() throws RecognitionException {
PackageDeclarationContext _localctx = new PackageDeclarationContext(_ctx, getState());
enterRule(_localctx, 2, RULE_packageDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(226);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==AT) {
{
{
setState(223);
annotation();
}
}
setState(228);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(229);
match(PACKAGE);
setState(230);
qualifiedName();
setState(231);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ImportDeclarationContext extends ParserRuleContext {
public TerminalNode IMPORT() { return getToken(JavaParser.IMPORT, 0); }
public QualifiedNameContext qualifiedName() {
return getRuleContext(QualifiedNameContext.class,0);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public TerminalNode STATIC() { return getToken(JavaParser.STATIC, 0); }
public TerminalNode DOT() { return getToken(JavaParser.DOT, 0); }
public TerminalNode MUL() { return getToken(JavaParser.MUL, 0); }
public ImportDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_importDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterImportDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitImportDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitImportDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final ImportDeclarationContext importDeclaration() throws RecognitionException {
ImportDeclarationContext _localctx = new ImportDeclarationContext(_ctx, getState());
enterRule(_localctx, 4, RULE_importDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(233);
match(IMPORT);
setState(235);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STATIC) {
{
setState(234);
match(STATIC);
}
}
setState(237);
qualifiedName();
setState(240);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DOT) {
{
setState(238);
match(DOT);
setState(239);
match(MUL);
}
}
setState(242);
match(SEMI);
}
}
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 EnumDeclarationContext enumDeclaration() {
return getRuleContext(EnumDeclarationContext.class,0);
}
public InterfaceDeclarationContext interfaceDeclaration() {
return getRuleContext(InterfaceDeclarationContext.class,0);
}
public AnnotationTypeDeclarationContext annotationTypeDeclaration() {
return getRuleContext(AnnotationTypeDeclarationContext.class,0);
}
public List classOrInterfaceModifier() {
return getRuleContexts(ClassOrInterfaceModifierContext.class);
}
public ClassOrInterfaceModifierContext classOrInterfaceModifier(int i) {
return getRuleContext(ClassOrInterfaceModifierContext.class,i);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public TypeDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final TypeDeclarationContext typeDeclaration() throws RecognitionException {
TypeDeclarationContext _localctx = new TypeDeclarationContext(_ctx, getState());
enterRule(_localctx, 6, RULE_typeDeclaration);
try {
int _alt;
setState(257);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ABSTRACT:
case CLASS:
case ENUM:
case FINAL:
case INTERFACE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case STRICTFP:
case AT:
enterOuterAlt(_localctx, 1);
{
setState(247);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,6,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(244);
classOrInterfaceModifier();
}
}
}
setState(249);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,6,_ctx);
}
setState(254);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CLASS:
{
setState(250);
classDeclaration();
}
break;
case ENUM:
{
setState(251);
enumDeclaration();
}
break;
case INTERFACE:
{
setState(252);
interfaceDeclaration();
}
break;
case AT:
{
setState(253);
annotationTypeDeclaration();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case SEMI:
enterOuterAlt(_localctx, 2);
{
setState(256);
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 ModifierContext extends ParserRuleContext {
public ClassOrInterfaceModifierContext classOrInterfaceModifier() {
return getRuleContext(ClassOrInterfaceModifierContext.class,0);
}
public TerminalNode NATIVE() { return getToken(JavaParser.NATIVE, 0); }
public TerminalNode SYNCHRONIZED() { return getToken(JavaParser.SYNCHRONIZED, 0); }
public TerminalNode TRANSIENT() { return getToken(JavaParser.TRANSIENT, 0); }
public TerminalNode VOLATILE() { return getToken(JavaParser.VOLATILE, 0); }
public ModifierContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_modifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterModifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitModifier(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitModifier(this);
else return visitor.visitChildren(this);
}
}
public final ModifierContext modifier() throws RecognitionException {
ModifierContext _localctx = new ModifierContext(_ctx, getState());
enterRule(_localctx, 8, RULE_modifier);
try {
setState(264);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ABSTRACT:
case FINAL:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case STRICTFP:
case AT:
enterOuterAlt(_localctx, 1);
{
setState(259);
classOrInterfaceModifier();
}
break;
case NATIVE:
enterOuterAlt(_localctx, 2);
{
setState(260);
match(NATIVE);
}
break;
case SYNCHRONIZED:
enterOuterAlt(_localctx, 3);
{
setState(261);
match(SYNCHRONIZED);
}
break;
case TRANSIENT:
enterOuterAlt(_localctx, 4);
{
setState(262);
match(TRANSIENT);
}
break;
case VOLATILE:
enterOuterAlt(_localctx, 5);
{
setState(263);
match(VOLATILE);
}
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 ClassOrInterfaceModifierContext extends ParserRuleContext {
public AnnotationContext annotation() {
return getRuleContext(AnnotationContext.class,0);
}
public TerminalNode PUBLIC() { return getToken(JavaParser.PUBLIC, 0); }
public TerminalNode PROTECTED() { return getToken(JavaParser.PROTECTED, 0); }
public TerminalNode PRIVATE() { return getToken(JavaParser.PRIVATE, 0); }
public TerminalNode STATIC() { return getToken(JavaParser.STATIC, 0); }
public TerminalNode ABSTRACT() { return getToken(JavaParser.ABSTRACT, 0); }
public TerminalNode FINAL() { return getToken(JavaParser.FINAL, 0); }
public TerminalNode STRICTFP() { return getToken(JavaParser.STRICTFP, 0); }
public ClassOrInterfaceModifierContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classOrInterfaceModifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterClassOrInterfaceModifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitClassOrInterfaceModifier(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitClassOrInterfaceModifier(this);
else return visitor.visitChildren(this);
}
}
public final ClassOrInterfaceModifierContext classOrInterfaceModifier() throws RecognitionException {
ClassOrInterfaceModifierContext _localctx = new ClassOrInterfaceModifierContext(_ctx, getState());
enterRule(_localctx, 10, RULE_classOrInterfaceModifier);
try {
setState(274);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AT:
enterOuterAlt(_localctx, 1);
{
setState(266);
annotation();
}
break;
case PUBLIC:
enterOuterAlt(_localctx, 2);
{
setState(267);
match(PUBLIC);
}
break;
case PROTECTED:
enterOuterAlt(_localctx, 3);
{
setState(268);
match(PROTECTED);
}
break;
case PRIVATE:
enterOuterAlt(_localctx, 4);
{
setState(269);
match(PRIVATE);
}
break;
case STATIC:
enterOuterAlt(_localctx, 5);
{
setState(270);
match(STATIC);
}
break;
case ABSTRACT:
enterOuterAlt(_localctx, 6);
{
setState(271);
match(ABSTRACT);
}
break;
case FINAL:
enterOuterAlt(_localctx, 7);
{
setState(272);
match(FINAL);
}
break;
case STRICTFP:
enterOuterAlt(_localctx, 8);
{
setState(273);
match(STRICTFP);
}
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 VariableModifierContext extends ParserRuleContext {
public TerminalNode FINAL() { return getToken(JavaParser.FINAL, 0); }
public AnnotationContext annotation() {
return getRuleContext(AnnotationContext.class,0);
}
public VariableModifierContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableModifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterVariableModifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitVariableModifier(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitVariableModifier(this);
else return visitor.visitChildren(this);
}
}
public final VariableModifierContext variableModifier() throws RecognitionException {
VariableModifierContext _localctx = new VariableModifierContext(_ctx, getState());
enterRule(_localctx, 12, RULE_variableModifier);
try {
setState(278);
_errHandler.sync(this);
switch (_input.LA(1)) {
case FINAL:
enterOuterAlt(_localctx, 1);
{
setState(276);
match(FINAL);
}
break;
case AT:
enterOuterAlt(_localctx, 2);
{
setState(277);
annotation();
}
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 ClassDeclarationContext extends ParserRuleContext {
public TerminalNode CLASS() { return getToken(JavaParser.CLASS, 0); }
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public ClassBodyContext classBody() {
return getRuleContext(ClassBodyContext.class,0);
}
public TypeParametersContext typeParameters() {
return getRuleContext(TypeParametersContext.class,0);
}
public TerminalNode EXTENDS() { return getToken(JavaParser.EXTENDS, 0); }
public TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public TerminalNode IMPLEMENTS() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterClassDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitClassDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitClassDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final ClassDeclarationContext classDeclaration() throws RecognitionException {
ClassDeclarationContext _localctx = new ClassDeclarationContext(_ctx, getState());
enterRule(_localctx, 14, RULE_classDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(280);
match(CLASS);
setState(281);
match(IDENTIFIER);
setState(283);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(282);
typeParameters();
}
}
setState(287);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENDS) {
{
setState(285);
match(EXTENDS);
setState(286);
typeType();
}
}
setState(291);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IMPLEMENTS) {
{
setState(289);
match(IMPLEMENTS);
setState(290);
typeList();
}
}
setState(293);
classBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeParametersContext extends ParserRuleContext {
public TerminalNode LT() { return getToken(JavaParser.LT, 0); }
public List typeParameter() {
return getRuleContexts(TypeParameterContext.class);
}
public TypeParameterContext typeParameter(int i) {
return getRuleContext(TypeParameterContext.class,i);
}
public TerminalNode GT() { return getToken(JavaParser.GT, 0); }
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public TypeParametersContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeParameters; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeParameters(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeParameters(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeParameters(this);
else return visitor.visitChildren(this);
}
}
public final TypeParametersContext typeParameters() throws RecognitionException {
TypeParametersContext _localctx = new TypeParametersContext(_ctx, getState());
enterRule(_localctx, 16, RULE_typeParameters);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(295);
match(LT);
setState(296);
typeParameter();
setState(301);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(297);
match(COMMA);
setState(298);
typeParameter();
}
}
setState(303);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(304);
match(GT);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeParameterContext extends ParserRuleContext {
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public List annotation() {
return getRuleContexts(AnnotationContext.class);
}
public AnnotationContext annotation(int i) {
return getRuleContext(AnnotationContext.class,i);
}
public TerminalNode EXTENDS() { return getToken(JavaParser.EXTENDS, 0); }
public TypeBoundContext typeBound() {
return getRuleContext(TypeBoundContext.class,0);
}
public TypeParameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeParameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeParameter(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeParameter(this);
else return visitor.visitChildren(this);
}
}
public final TypeParameterContext typeParameter() throws RecognitionException {
TypeParameterContext _localctx = new TypeParameterContext(_ctx, getState());
enterRule(_localctx, 18, RULE_typeParameter);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(309);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==AT) {
{
{
setState(306);
annotation();
}
}
setState(311);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(312);
match(IDENTIFIER);
setState(315);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENDS) {
{
setState(313);
match(EXTENDS);
setState(314);
typeBound();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeBoundContext extends ParserRuleContext {
public List typeType() {
return getRuleContexts(TypeTypeContext.class);
}
public TypeTypeContext typeType(int i) {
return getRuleContext(TypeTypeContext.class,i);
}
public List BITAND() { return getTokens(JavaParser.BITAND); }
public TerminalNode BITAND(int i) {
return getToken(JavaParser.BITAND, i);
}
public TypeBoundContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeBound; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeBound(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeBound(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeBound(this);
else return visitor.visitChildren(this);
}
}
public final TypeBoundContext typeBound() throws RecognitionException {
TypeBoundContext _localctx = new TypeBoundContext(_ctx, getState());
enterRule(_localctx, 20, RULE_typeBound);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(317);
typeType();
setState(322);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==BITAND) {
{
{
setState(318);
match(BITAND);
setState(319);
typeType();
}
}
setState(324);
_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 EnumDeclarationContext extends ParserRuleContext {
public TerminalNode ENUM() { return getToken(JavaParser.ENUM, 0); }
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TerminalNode LBRACE() { return getToken(JavaParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(JavaParser.RBRACE, 0); }
public TerminalNode IMPLEMENTS() { return getToken(JavaParser.IMPLEMENTS, 0); }
public TypeListContext typeList() {
return getRuleContext(TypeListContext.class,0);
}
public EnumConstantsContext enumConstants() {
return getRuleContext(EnumConstantsContext.class,0);
}
public TerminalNode COMMA() { return getToken(JavaParser.COMMA, 0); }
public EnumBodyDeclarationsContext enumBodyDeclarations() {
return getRuleContext(EnumBodyDeclarationsContext.class,0);
}
public EnumDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterEnumDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitEnumDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitEnumDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final EnumDeclarationContext enumDeclaration() throws RecognitionException {
EnumDeclarationContext _localctx = new EnumDeclarationContext(_ctx, getState());
enterRule(_localctx, 22, RULE_enumDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(325);
match(ENUM);
setState(326);
match(IDENTIFIER);
setState(329);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IMPLEMENTS) {
{
setState(327);
match(IMPLEMENTS);
setState(328);
typeList();
}
}
setState(331);
match(LBRACE);
setState(333);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AT || _la==IDENTIFIER) {
{
setState(332);
enumConstants();
}
}
setState(336);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(335);
match(COMMA);
}
}
setState(339);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SEMI) {
{
setState(338);
enumBodyDeclarations();
}
}
setState(341);
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 enumConstant() {
return getRuleContexts(EnumConstantContext.class);
}
public EnumConstantContext enumConstant(int i) {
return getRuleContext(EnumConstantContext.class,i);
}
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public EnumConstantsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumConstants; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterEnumConstants(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitEnumConstants(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitEnumConstants(this);
else return visitor.visitChildren(this);
}
}
public final EnumConstantsContext enumConstants() throws RecognitionException {
EnumConstantsContext _localctx = new EnumConstantsContext(_ctx, getState());
enterRule(_localctx, 24, RULE_enumConstants);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(343);
enumConstant();
setState(348);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,23,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(344);
match(COMMA);
setState(345);
enumConstant();
}
}
}
setState(350);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,23,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EnumConstantContext extends ParserRuleContext {
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public List annotation() {
return getRuleContexts(AnnotationContext.class);
}
public AnnotationContext annotation(int i) {
return getRuleContext(AnnotationContext.class,i);
}
public ArgumentsContext arguments() {
return getRuleContext(ArgumentsContext.class,0);
}
public ClassBodyContext classBody() {
return getRuleContext(ClassBodyContext.class,0);
}
public EnumConstantContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumConstant; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterEnumConstant(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitEnumConstant(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitEnumConstant(this);
else return visitor.visitChildren(this);
}
}
public final EnumConstantContext enumConstant() throws RecognitionException {
EnumConstantContext _localctx = new EnumConstantContext(_ctx, getState());
enterRule(_localctx, 26, RULE_enumConstant);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(354);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==AT) {
{
{
setState(351);
annotation();
}
}
setState(356);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(357);
match(IDENTIFIER);
setState(359);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LPAREN) {
{
setState(358);
arguments();
}
}
setState(362);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LBRACE) {
{
setState(361);
classBody();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class EnumBodyDeclarationsContext extends ParserRuleContext {
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public List classBodyDeclaration() {
return getRuleContexts(ClassBodyDeclarationContext.class);
}
public ClassBodyDeclarationContext classBodyDeclaration(int i) {
return getRuleContext(ClassBodyDeclarationContext.class,i);
}
public EnumBodyDeclarationsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enumBodyDeclarations; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterEnumBodyDeclarations(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitEnumBodyDeclarations(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitEnumBodyDeclarations(this);
else return visitor.visitChildren(this);
}
}
public final EnumBodyDeclarationsContext enumBodyDeclarations() throws RecognitionException {
EnumBodyDeclarationsContext _localctx = new EnumBodyDeclarationsContext(_ctx, getState());
enterRule(_localctx, 28, RULE_enumBodyDeclarations);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(364);
match(SEMI);
setState(368);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << DOUBLE) | (1L << ENUM) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << INTERFACE) | (1L << LONG) | (1L << NATIVE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SHORT) | (1L << STATIC) | (1L << STRICTFP) | (1L << SYNCHRONIZED) | (1L << TRANSIENT) | (1L << VOID) | (1L << VOLATILE) | (1L << LBRACE))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (SEMI - 67)) | (1L << (LT - 67)) | (1L << (AT - 67)) | (1L << (IDENTIFIER - 67)))) != 0)) {
{
{
setState(365);
classBodyDeclaration();
}
}
setState(370);
_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(JavaParser.INTERFACE, 0); }
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public InterfaceBodyContext interfaceBody() {
return getRuleContext(InterfaceBodyContext.class,0);
}
public TypeParametersContext typeParameters() {
return getRuleContext(TypeParametersContext.class,0);
}
public TerminalNode EXTENDS() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterInterfaceDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitInterfaceDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitInterfaceDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final InterfaceDeclarationContext interfaceDeclaration() throws RecognitionException {
InterfaceDeclarationContext _localctx = new InterfaceDeclarationContext(_ctx, getState());
enterRule(_localctx, 30, RULE_interfaceDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(371);
match(INTERFACE);
setState(372);
match(IDENTIFIER);
setState(374);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(373);
typeParameters();
}
}
setState(378);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENDS) {
{
setState(376);
match(EXTENDS);
setState(377);
typeList();
}
}
setState(380);
interfaceBody();
}
}
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(JavaParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterClassBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitClassBody(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitClassBody(this);
else return visitor.visitChildren(this);
}
}
public final ClassBodyContext classBody() throws RecognitionException {
ClassBodyContext _localctx = new ClassBodyContext(_ctx, getState());
enterRule(_localctx, 32, RULE_classBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(382);
match(LBRACE);
setState(386);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << DOUBLE) | (1L << ENUM) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << INTERFACE) | (1L << LONG) | (1L << NATIVE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SHORT) | (1L << STATIC) | (1L << STRICTFP) | (1L << SYNCHRONIZED) | (1L << TRANSIENT) | (1L << VOID) | (1L << VOLATILE) | (1L << LBRACE))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (SEMI - 67)) | (1L << (LT - 67)) | (1L << (AT - 67)) | (1L << (IDENTIFIER - 67)))) != 0)) {
{
{
setState(383);
classBodyDeclaration();
}
}
setState(388);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(389);
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(JavaParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(JavaParser.RBRACE, 0); }
public List interfaceBodyDeclaration() {
return getRuleContexts(InterfaceBodyDeclarationContext.class);
}
public InterfaceBodyDeclarationContext interfaceBodyDeclaration(int i) {
return getRuleContext(InterfaceBodyDeclarationContext.class,i);
}
public InterfaceBodyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_interfaceBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterInterfaceBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitInterfaceBody(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitInterfaceBody(this);
else return visitor.visitChildren(this);
}
}
public final InterfaceBodyContext interfaceBody() throws RecognitionException {
InterfaceBodyContext _localctx = new InterfaceBodyContext(_ctx, getState());
enterRule(_localctx, 34, RULE_interfaceBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(391);
match(LBRACE);
setState(395);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << DEFAULT) | (1L << DOUBLE) | (1L << ENUM) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << INTERFACE) | (1L << LONG) | (1L << NATIVE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SHORT) | (1L << STATIC) | (1L << STRICTFP) | (1L << SYNCHRONIZED) | (1L << TRANSIENT) | (1L << VOID) | (1L << VOLATILE))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (SEMI - 67)) | (1L << (LT - 67)) | (1L << (AT - 67)) | (1L << (IDENTIFIER - 67)))) != 0)) {
{
{
setState(392);
interfaceBodyDeclaration();
}
}
setState(397);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(398);
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(JavaParser.SEMI, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode STATIC() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterClassBodyDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitClassBodyDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitClassBodyDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final ClassBodyDeclarationContext classBodyDeclaration() throws RecognitionException {
ClassBodyDeclarationContext _localctx = new ClassBodyDeclarationContext(_ctx, getState());
enterRule(_localctx, 36, RULE_classBodyDeclaration);
int _la;
try {
int _alt;
setState(412);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,34,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(400);
match(SEMI);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(402);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==STATIC) {
{
setState(401);
match(STATIC);
}
}
setState(404);
block();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(408);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,33,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(405);
modifier();
}
}
}
setState(410);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,33,_ctx);
}
setState(411);
memberDeclaration();
}
break;
}
}
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 GenericMethodDeclarationContext genericMethodDeclaration() {
return getRuleContext(GenericMethodDeclarationContext.class,0);
}
public FieldDeclarationContext fieldDeclaration() {
return getRuleContext(FieldDeclarationContext.class,0);
}
public ConstructorDeclarationContext constructorDeclaration() {
return getRuleContext(ConstructorDeclarationContext.class,0);
}
public GenericConstructorDeclarationContext genericConstructorDeclaration() {
return getRuleContext(GenericConstructorDeclarationContext.class,0);
}
public InterfaceDeclarationContext interfaceDeclaration() {
return getRuleContext(InterfaceDeclarationContext.class,0);
}
public AnnotationTypeDeclarationContext annotationTypeDeclaration() {
return getRuleContext(AnnotationTypeDeclarationContext.class,0);
}
public ClassDeclarationContext classDeclaration() {
return getRuleContext(ClassDeclarationContext.class,0);
}
public EnumDeclarationContext enumDeclaration() {
return getRuleContext(EnumDeclarationContext.class,0);
}
public MemberDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_memberDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterMemberDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitMemberDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitMemberDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final MemberDeclarationContext memberDeclaration() throws RecognitionException {
MemberDeclarationContext _localctx = new MemberDeclarationContext(_ctx, getState());
enterRule(_localctx, 38, RULE_memberDeclaration);
try {
setState(423);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(414);
methodDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(415);
genericMethodDeclaration();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(416);
fieldDeclaration();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(417);
constructorDeclaration();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(418);
genericConstructorDeclaration();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(419);
interfaceDeclaration();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(420);
annotationTypeDeclaration();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(421);
classDeclaration();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(422);
enumDeclaration();
}
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 TypeTypeOrVoidContext typeTypeOrVoid() {
return getRuleContext(TypeTypeOrVoidContext.class,0);
}
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public FormalParametersContext formalParameters() {
return getRuleContext(FormalParametersContext.class,0);
}
public MethodBodyContext methodBody() {
return getRuleContext(MethodBodyContext.class,0);
}
public List LBRACK() { return getTokens(JavaParser.LBRACK); }
public TerminalNode LBRACK(int i) {
return getToken(JavaParser.LBRACK, i);
}
public List RBRACK() { return getTokens(JavaParser.RBRACK); }
public TerminalNode RBRACK(int i) {
return getToken(JavaParser.RBRACK, i);
}
public TerminalNode THROWS() { return getToken(JavaParser.THROWS, 0); }
public QualifiedNameListContext qualifiedNameList() {
return getRuleContext(QualifiedNameListContext.class,0);
}
public MethodDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_methodDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterMethodDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitMethodDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitMethodDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final MethodDeclarationContext methodDeclaration() throws RecognitionException {
MethodDeclarationContext _localctx = new MethodDeclarationContext(_ctx, getState());
enterRule(_localctx, 40, RULE_methodDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(425);
typeTypeOrVoid();
setState(426);
match(IDENTIFIER);
setState(427);
formalParameters();
setState(432);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==LBRACK) {
{
{
setState(428);
match(LBRACK);
setState(429);
match(RBRACK);
}
}
setState(434);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(437);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==THROWS) {
{
setState(435);
match(THROWS);
setState(436);
qualifiedNameList();
}
}
setState(439);
methodBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class MethodBodyContext extends ParserRuleContext {
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public MethodBodyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_methodBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterMethodBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitMethodBody(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitMethodBody(this);
else return visitor.visitChildren(this);
}
}
public final MethodBodyContext methodBody() throws RecognitionException {
MethodBodyContext _localctx = new MethodBodyContext(_ctx, getState());
enterRule(_localctx, 42, RULE_methodBody);
try {
setState(443);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LBRACE:
enterOuterAlt(_localctx, 1);
{
setState(441);
block();
}
break;
case SEMI:
enterOuterAlt(_localctx, 2);
{
setState(442);
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 TypeTypeOrVoidContext extends ParserRuleContext {
public TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public TerminalNode VOID() { return getToken(JavaParser.VOID, 0); }
public TypeTypeOrVoidContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeTypeOrVoid; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeTypeOrVoid(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeTypeOrVoid(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeTypeOrVoid(this);
else return visitor.visitChildren(this);
}
}
public final TypeTypeOrVoidContext typeTypeOrVoid() throws RecognitionException {
TypeTypeOrVoidContext _localctx = new TypeTypeOrVoidContext(_ctx, getState());
enterRule(_localctx, 44, RULE_typeTypeOrVoid);
try {
setState(447);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case SHORT:
case AT:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(445);
typeType();
}
break;
case VOID:
enterOuterAlt(_localctx, 2);
{
setState(446);
match(VOID);
}
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 GenericMethodDeclarationContext extends ParserRuleContext {
public TypeParametersContext typeParameters() {
return getRuleContext(TypeParametersContext.class,0);
}
public MethodDeclarationContext methodDeclaration() {
return getRuleContext(MethodDeclarationContext.class,0);
}
public GenericMethodDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericMethodDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterGenericMethodDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitGenericMethodDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitGenericMethodDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final GenericMethodDeclarationContext genericMethodDeclaration() throws RecognitionException {
GenericMethodDeclarationContext _localctx = new GenericMethodDeclarationContext(_ctx, getState());
enterRule(_localctx, 46, RULE_genericMethodDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(449);
typeParameters();
setState(450);
methodDeclaration();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class GenericConstructorDeclarationContext extends ParserRuleContext {
public TypeParametersContext typeParameters() {
return getRuleContext(TypeParametersContext.class,0);
}
public ConstructorDeclarationContext constructorDeclaration() {
return getRuleContext(ConstructorDeclarationContext.class,0);
}
public GenericConstructorDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericConstructorDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterGenericConstructorDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitGenericConstructorDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitGenericConstructorDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final GenericConstructorDeclarationContext genericConstructorDeclaration() throws RecognitionException {
GenericConstructorDeclarationContext _localctx = new GenericConstructorDeclarationContext(_ctx, getState());
enterRule(_localctx, 48, RULE_genericConstructorDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(452);
typeParameters();
setState(453);
constructorDeclaration();
}
}
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 BlockContext constructorBody;
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public FormalParametersContext formalParameters() {
return getRuleContext(FormalParametersContext.class,0);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode THROWS() { return getToken(JavaParser.THROWS, 0); }
public QualifiedNameListContext qualifiedNameList() {
return getRuleContext(QualifiedNameListContext.class,0);
}
public ConstructorDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_constructorDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterConstructorDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitConstructorDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitConstructorDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final ConstructorDeclarationContext constructorDeclaration() throws RecognitionException {
ConstructorDeclarationContext _localctx = new ConstructorDeclarationContext(_ctx, getState());
enterRule(_localctx, 50, RULE_constructorDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(455);
match(IDENTIFIER);
setState(456);
formalParameters();
setState(459);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==THROWS) {
{
setState(457);
match(THROWS);
setState(458);
qualifiedNameList();
}
}
setState(461);
((ConstructorDeclarationContext)_localctx).constructorBody = 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 TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public VariableDeclaratorsContext variableDeclarators() {
return getRuleContext(VariableDeclaratorsContext.class,0);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public FieldDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_fieldDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterFieldDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitFieldDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitFieldDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final FieldDeclarationContext fieldDeclaration() throws RecognitionException {
FieldDeclarationContext _localctx = new FieldDeclarationContext(_ctx, getState());
enterRule(_localctx, 52, RULE_fieldDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(463);
typeType();
setState(464);
variableDeclarators();
setState(465);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class InterfaceBodyDeclarationContext extends ParserRuleContext {
public InterfaceMemberDeclarationContext interfaceMemberDeclaration() {
return getRuleContext(InterfaceMemberDeclarationContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public InterfaceBodyDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_interfaceBodyDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterInterfaceBodyDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitInterfaceBodyDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitInterfaceBodyDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final InterfaceBodyDeclarationContext interfaceBodyDeclaration() throws RecognitionException {
InterfaceBodyDeclarationContext _localctx = new InterfaceBodyDeclarationContext(_ctx, getState());
enterRule(_localctx, 54, RULE_interfaceBodyDeclaration);
try {
int _alt;
setState(475);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ABSTRACT:
case BOOLEAN:
case BYTE:
case CHAR:
case CLASS:
case DEFAULT:
case DOUBLE:
case ENUM:
case FINAL:
case FLOAT:
case INT:
case INTERFACE:
case LONG:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case SHORT:
case STATIC:
case STRICTFP:
case SYNCHRONIZED:
case TRANSIENT:
case VOID:
case VOLATILE:
case LT:
case AT:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(470);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,41,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(467);
modifier();
}
}
}
setState(472);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,41,_ctx);
}
setState(473);
interfaceMemberDeclaration();
}
break;
case SEMI:
enterOuterAlt(_localctx, 2);
{
setState(474);
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 InterfaceMemberDeclarationContext extends ParserRuleContext {
public ConstDeclarationContext constDeclaration() {
return getRuleContext(ConstDeclarationContext.class,0);
}
public InterfaceMethodDeclarationContext interfaceMethodDeclaration() {
return getRuleContext(InterfaceMethodDeclarationContext.class,0);
}
public GenericInterfaceMethodDeclarationContext genericInterfaceMethodDeclaration() {
return getRuleContext(GenericInterfaceMethodDeclarationContext.class,0);
}
public InterfaceDeclarationContext interfaceDeclaration() {
return getRuleContext(InterfaceDeclarationContext.class,0);
}
public AnnotationTypeDeclarationContext annotationTypeDeclaration() {
return getRuleContext(AnnotationTypeDeclarationContext.class,0);
}
public ClassDeclarationContext classDeclaration() {
return getRuleContext(ClassDeclarationContext.class,0);
}
public EnumDeclarationContext enumDeclaration() {
return getRuleContext(EnumDeclarationContext.class,0);
}
public InterfaceMemberDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_interfaceMemberDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterInterfaceMemberDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitInterfaceMemberDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitInterfaceMemberDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final InterfaceMemberDeclarationContext interfaceMemberDeclaration() throws RecognitionException {
InterfaceMemberDeclarationContext _localctx = new InterfaceMemberDeclarationContext(_ctx, getState());
enterRule(_localctx, 56, RULE_interfaceMemberDeclaration);
try {
setState(484);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,43,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(477);
constDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(478);
interfaceMethodDeclaration();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(479);
genericInterfaceMethodDeclaration();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(480);
interfaceDeclaration();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(481);
annotationTypeDeclaration();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(482);
classDeclaration();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(483);
enumDeclaration();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ConstDeclarationContext extends ParserRuleContext {
public TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public List constantDeclarator() {
return getRuleContexts(ConstantDeclaratorContext.class);
}
public ConstantDeclaratorContext constantDeclarator(int i) {
return getRuleContext(ConstantDeclaratorContext.class,i);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public ConstDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_constDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterConstDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitConstDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitConstDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final ConstDeclarationContext constDeclaration() throws RecognitionException {
ConstDeclarationContext _localctx = new ConstDeclarationContext(_ctx, getState());
enterRule(_localctx, 58, RULE_constDeclaration);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(486);
typeType();
setState(487);
constantDeclarator();
setState(492);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(488);
match(COMMA);
setState(489);
constantDeclarator();
}
}
setState(494);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(495);
match(SEMI);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ConstantDeclaratorContext extends ParserRuleContext {
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TerminalNode ASSIGN() { return getToken(JavaParser.ASSIGN, 0); }
public VariableInitializerContext variableInitializer() {
return getRuleContext(VariableInitializerContext.class,0);
}
public List LBRACK() { return getTokens(JavaParser.LBRACK); }
public TerminalNode LBRACK(int i) {
return getToken(JavaParser.LBRACK, i);
}
public List RBRACK() { return getTokens(JavaParser.RBRACK); }
public TerminalNode RBRACK(int i) {
return getToken(JavaParser.RBRACK, i);
}
public ConstantDeclaratorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_constantDeclarator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterConstantDeclarator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitConstantDeclarator(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitConstantDeclarator(this);
else return visitor.visitChildren(this);
}
}
public final ConstantDeclaratorContext constantDeclarator() throws RecognitionException {
ConstantDeclaratorContext _localctx = new ConstantDeclaratorContext(_ctx, getState());
enterRule(_localctx, 60, RULE_constantDeclarator);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(497);
match(IDENTIFIER);
setState(502);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==LBRACK) {
{
{
setState(498);
match(LBRACK);
setState(499);
match(RBRACK);
}
}
setState(504);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(505);
match(ASSIGN);
setState(506);
variableInitializer();
}
}
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 TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public FormalParametersContext formalParameters() {
return getRuleContext(FormalParametersContext.class,0);
}
public MethodBodyContext methodBody() {
return getRuleContext(MethodBodyContext.class,0);
}
public TypeTypeOrVoidContext typeTypeOrVoid() {
return getRuleContext(TypeTypeOrVoidContext.class,0);
}
public TypeParametersContext typeParameters() {
return getRuleContext(TypeParametersContext.class,0);
}
public List interfaceMethodModifier() {
return getRuleContexts(InterfaceMethodModifierContext.class);
}
public InterfaceMethodModifierContext interfaceMethodModifier(int i) {
return getRuleContext(InterfaceMethodModifierContext.class,i);
}
public List LBRACK() { return getTokens(JavaParser.LBRACK); }
public TerminalNode LBRACK(int i) {
return getToken(JavaParser.LBRACK, i);
}
public List RBRACK() { return getTokens(JavaParser.RBRACK); }
public TerminalNode RBRACK(int i) {
return getToken(JavaParser.RBRACK, i);
}
public TerminalNode THROWS() { return getToken(JavaParser.THROWS, 0); }
public QualifiedNameListContext qualifiedNameList() {
return getRuleContext(QualifiedNameListContext.class,0);
}
public List annotation() {
return getRuleContexts(AnnotationContext.class);
}
public AnnotationContext annotation(int i) {
return getRuleContext(AnnotationContext.class,i);
}
public InterfaceMethodDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_interfaceMethodDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterInterfaceMethodDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitInterfaceMethodDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitInterfaceMethodDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final InterfaceMethodDeclarationContext interfaceMethodDeclaration() throws RecognitionException {
InterfaceMethodDeclarationContext _localctx = new InterfaceMethodDeclarationContext(_ctx, getState());
enterRule(_localctx, 62, RULE_interfaceMethodDeclaration);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(511);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,46,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(508);
interfaceMethodModifier();
}
}
}
setState(513);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,46,_ctx);
}
setState(524);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case SHORT:
case VOID:
case AT:
case IDENTIFIER:
{
setState(514);
typeTypeOrVoid();
}
break;
case LT:
{
setState(515);
typeParameters();
setState(519);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,47,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(516);
annotation();
}
}
}
setState(521);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,47,_ctx);
}
setState(522);
typeTypeOrVoid();
}
break;
default:
throw new NoViableAltException(this);
}
setState(526);
match(IDENTIFIER);
setState(527);
formalParameters();
setState(532);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==LBRACK) {
{
{
setState(528);
match(LBRACK);
setState(529);
match(RBRACK);
}
}
setState(534);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(537);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==THROWS) {
{
setState(535);
match(THROWS);
setState(536);
qualifiedNameList();
}
}
setState(539);
methodBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class InterfaceMethodModifierContext extends ParserRuleContext {
public AnnotationContext annotation() {
return getRuleContext(AnnotationContext.class,0);
}
public TerminalNode PUBLIC() { return getToken(JavaParser.PUBLIC, 0); }
public TerminalNode ABSTRACT() { return getToken(JavaParser.ABSTRACT, 0); }
public TerminalNode DEFAULT() { return getToken(JavaParser.DEFAULT, 0); }
public TerminalNode STATIC() { return getToken(JavaParser.STATIC, 0); }
public TerminalNode STRICTFP() { return getToken(JavaParser.STRICTFP, 0); }
public InterfaceMethodModifierContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_interfaceMethodModifier; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterInterfaceMethodModifier(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitInterfaceMethodModifier(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitInterfaceMethodModifier(this);
else return visitor.visitChildren(this);
}
}
public final InterfaceMethodModifierContext interfaceMethodModifier() throws RecognitionException {
InterfaceMethodModifierContext _localctx = new InterfaceMethodModifierContext(_ctx, getState());
enterRule(_localctx, 64, RULE_interfaceMethodModifier);
try {
setState(547);
_errHandler.sync(this);
switch (_input.LA(1)) {
case AT:
enterOuterAlt(_localctx, 1);
{
setState(541);
annotation();
}
break;
case PUBLIC:
enterOuterAlt(_localctx, 2);
{
setState(542);
match(PUBLIC);
}
break;
case ABSTRACT:
enterOuterAlt(_localctx, 3);
{
setState(543);
match(ABSTRACT);
}
break;
case DEFAULT:
enterOuterAlt(_localctx, 4);
{
setState(544);
match(DEFAULT);
}
break;
case STATIC:
enterOuterAlt(_localctx, 5);
{
setState(545);
match(STATIC);
}
break;
case STRICTFP:
enterOuterAlt(_localctx, 6);
{
setState(546);
match(STRICTFP);
}
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 GenericInterfaceMethodDeclarationContext extends ParserRuleContext {
public TypeParametersContext typeParameters() {
return getRuleContext(TypeParametersContext.class,0);
}
public InterfaceMethodDeclarationContext interfaceMethodDeclaration() {
return getRuleContext(InterfaceMethodDeclarationContext.class,0);
}
public GenericInterfaceMethodDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_genericInterfaceMethodDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterGenericInterfaceMethodDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitGenericInterfaceMethodDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitGenericInterfaceMethodDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final GenericInterfaceMethodDeclarationContext genericInterfaceMethodDeclaration() throws RecognitionException {
GenericInterfaceMethodDeclarationContext _localctx = new GenericInterfaceMethodDeclarationContext(_ctx, getState());
enterRule(_localctx, 66, RULE_genericInterfaceMethodDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(549);
typeParameters();
setState(550);
interfaceMethodDeclaration();
}
}
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(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public VariableDeclaratorsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableDeclarators; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterVariableDeclarators(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitVariableDeclarators(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitVariableDeclarators(this);
else return visitor.visitChildren(this);
}
}
public final VariableDeclaratorsContext variableDeclarators() throws RecognitionException {
VariableDeclaratorsContext _localctx = new VariableDeclaratorsContext(_ctx, getState());
enterRule(_localctx, 68, RULE_variableDeclarators);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(552);
variableDeclarator();
setState(557);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(553);
match(COMMA);
setState(554);
variableDeclarator();
}
}
setState(559);
_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 VariableDeclaratorIdContext variableDeclaratorId() {
return getRuleContext(VariableDeclaratorIdContext.class,0);
}
public TerminalNode ASSIGN() { return getToken(JavaParser.ASSIGN, 0); }
public VariableInitializerContext variableInitializer() {
return getRuleContext(VariableInitializerContext.class,0);
}
public VariableDeclaratorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableDeclarator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterVariableDeclarator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitVariableDeclarator(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitVariableDeclarator(this);
else return visitor.visitChildren(this);
}
}
public final VariableDeclaratorContext variableDeclarator() throws RecognitionException {
VariableDeclaratorContext _localctx = new VariableDeclaratorContext(_ctx, getState());
enterRule(_localctx, 70, RULE_variableDeclarator);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(560);
variableDeclaratorId();
setState(563);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==ASSIGN) {
{
setState(561);
match(ASSIGN);
setState(562);
variableInitializer();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class VariableDeclaratorIdContext extends ParserRuleContext {
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public List LBRACK() { return getTokens(JavaParser.LBRACK); }
public TerminalNode LBRACK(int i) {
return getToken(JavaParser.LBRACK, i);
}
public List RBRACK() { return getTokens(JavaParser.RBRACK); }
public TerminalNode RBRACK(int i) {
return getToken(JavaParser.RBRACK, i);
}
public VariableDeclaratorIdContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableDeclaratorId; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterVariableDeclaratorId(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitVariableDeclaratorId(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitVariableDeclaratorId(this);
else return visitor.visitChildren(this);
}
}
public final VariableDeclaratorIdContext variableDeclaratorId() throws RecognitionException {
VariableDeclaratorIdContext _localctx = new VariableDeclaratorIdContext(_ctx, getState());
enterRule(_localctx, 72, RULE_variableDeclaratorId);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(565);
match(IDENTIFIER);
setState(570);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==LBRACK) {
{
{
setState(566);
match(LBRACK);
setState(567);
match(RBRACK);
}
}
setState(572);
_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 VariableInitializerContext extends ParserRuleContext {
public ArrayInitializerContext arrayInitializer() {
return getRuleContext(ArrayInitializerContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public VariableInitializerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_variableInitializer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterVariableInitializer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitVariableInitializer(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitVariableInitializer(this);
else return visitor.visitChildren(this);
}
}
public final VariableInitializerContext variableInitializer() throws RecognitionException {
VariableInitializerContext _localctx = new VariableInitializerContext(_ctx, getState());
enterRule(_localctx, 74, RULE_variableInitializer);
try {
setState(575);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LBRACE:
enterOuterAlt(_localctx, 1);
{
setState(573);
arrayInitializer();
}
break;
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case NEW:
case SHORT:
case SUPER:
case THIS:
case VOID:
case DECIMAL_LITERAL:
case HEX_LITERAL:
case OCT_LITERAL:
case BINARY_LITERAL:
case FLOAT_LITERAL:
case HEX_FLOAT_LITERAL:
case BOOL_LITERAL:
case CHAR_LITERAL:
case STRING_LITERAL:
case NULL_LITERAL:
case LPAREN:
case LT:
case BANG:
case TILDE:
case INC:
case DEC:
case ADD:
case SUB:
case AT:
case IDENTIFIER:
enterOuterAlt(_localctx, 2);
{
setState(574);
expression(0);
}
break;
default:
throw new NoViableAltException(this);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ArrayInitializerContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(JavaParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(JavaParser.RBRACE, 0); }
public List variableInitializer() {
return getRuleContexts(VariableInitializerContext.class);
}
public VariableInitializerContext variableInitializer(int i) {
return getRuleContext(VariableInitializerContext.class,i);
}
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public ArrayInitializerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayInitializer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterArrayInitializer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitArrayInitializer(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitArrayInitializer(this);
else return visitor.visitChildren(this);
}
}
public final ArrayInitializerContext arrayInitializer() throws RecognitionException {
ArrayInitializerContext _localctx = new ArrayInitializerContext(_ctx, getState());
enterRule(_localctx, 76, RULE_arrayInitializer);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(577);
match(LBRACE);
setState(589);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << NEW) | (1L << SHORT) | (1L << SUPER) | (1L << THIS) | (1L << VOID) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN) | (1L << LBRACE))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (LT - 72)) | (1L << (BANG - 72)) | (1L << (TILDE - 72)) | (1L << (INC - 72)) | (1L << (DEC - 72)) | (1L << (ADD - 72)) | (1L << (SUB - 72)) | (1L << (AT - 72)) | (1L << (IDENTIFIER - 72)))) != 0)) {
{
setState(578);
variableInitializer();
setState(583);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,56,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(579);
match(COMMA);
setState(580);
variableInitializer();
}
}
}
setState(585);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,56,_ctx);
}
setState(587);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(586);
match(COMMA);
}
}
}
}
setState(591);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ClassOrInterfaceTypeContext extends ParserRuleContext {
public List IDENTIFIER() { return getTokens(JavaParser.IDENTIFIER); }
public TerminalNode IDENTIFIER(int i) {
return getToken(JavaParser.IDENTIFIER, i);
}
public List typeArguments() {
return getRuleContexts(TypeArgumentsContext.class);
}
public TypeArgumentsContext typeArguments(int i) {
return getRuleContext(TypeArgumentsContext.class,i);
}
public List DOT() { return getTokens(JavaParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(JavaParser.DOT, i);
}
public ClassOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classOrInterfaceType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterClassOrInterfaceType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitClassOrInterfaceType(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitClassOrInterfaceType(this);
else return visitor.visitChildren(this);
}
}
public final ClassOrInterfaceTypeContext classOrInterfaceType() throws RecognitionException {
ClassOrInterfaceTypeContext _localctx = new ClassOrInterfaceTypeContext(_ctx, getState());
enterRule(_localctx, 78, RULE_classOrInterfaceType);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(593);
match(IDENTIFIER);
setState(595);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,59,_ctx) ) {
case 1:
{
setState(594);
typeArguments();
}
break;
}
setState(604);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,61,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(597);
match(DOT);
setState(598);
match(IDENTIFIER);
setState(600);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,60,_ctx) ) {
case 1:
{
setState(599);
typeArguments();
}
break;
}
}
}
}
setState(606);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,61,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeArgumentContext extends ParserRuleContext {
public TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public TerminalNode QUESTION() { return getToken(JavaParser.QUESTION, 0); }
public TerminalNode EXTENDS() { return getToken(JavaParser.EXTENDS, 0); }
public TerminalNode SUPER() { return getToken(JavaParser.SUPER, 0); }
public TypeArgumentContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeArgument; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeArgument(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeArgument(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeArgument(this);
else return visitor.visitChildren(this);
}
}
public final TypeArgumentContext typeArgument() throws RecognitionException {
TypeArgumentContext _localctx = new TypeArgumentContext(_ctx, getState());
enterRule(_localctx, 80, RULE_typeArgument);
int _la;
try {
setState(613);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case SHORT:
case AT:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(607);
typeType();
}
break;
case QUESTION:
enterOuterAlt(_localctx, 2);
{
setState(608);
match(QUESTION);
setState(611);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==EXTENDS || _la==SUPER) {
{
setState(609);
_la = _input.LA(1);
if ( !(_la==EXTENDS || _la==SUPER) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(610);
typeType();
}
}
}
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 QualifiedNameListContext extends ParserRuleContext {
public List qualifiedName() {
return getRuleContexts(QualifiedNameContext.class);
}
public QualifiedNameContext qualifiedName(int i) {
return getRuleContext(QualifiedNameContext.class,i);
}
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public QualifiedNameListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_qualifiedNameList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterQualifiedNameList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitQualifiedNameList(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitQualifiedNameList(this);
else return visitor.visitChildren(this);
}
}
public final QualifiedNameListContext qualifiedNameList() throws RecognitionException {
QualifiedNameListContext _localctx = new QualifiedNameListContext(_ctx, getState());
enterRule(_localctx, 82, RULE_qualifiedNameList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(615);
qualifiedName();
setState(620);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(616);
match(COMMA);
setState(617);
qualifiedName();
}
}
setState(622);
_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 FormalParametersContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterFormalParameters(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitFormalParameters(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitFormalParameters(this);
else return visitor.visitChildren(this);
}
}
public final FormalParametersContext formalParameters() throws RecognitionException {
FormalParametersContext _localctx = new FormalParametersContext(_ctx, getState());
enterRule(_localctx, 84, RULE_formalParameters);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(623);
match(LPAREN);
setState(625);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << SHORT))) != 0) || _la==AT || _la==IDENTIFIER) {
{
setState(624);
formalParameterList();
}
}
setState(627);
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(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public LastFormalParameterContext lastFormalParameter() {
return getRuleContext(LastFormalParameterContext.class,0);
}
public FormalParameterListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_formalParameterList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterFormalParameterList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitFormalParameterList(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitFormalParameterList(this);
else return visitor.visitChildren(this);
}
}
public final FormalParameterListContext formalParameterList() throws RecognitionException {
FormalParameterListContext _localctx = new FormalParameterListContext(_ctx, getState());
enterRule(_localctx, 86, RULE_formalParameterList);
int _la;
try {
int _alt;
setState(642);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(629);
formalParameter();
setState(634);
_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(630);
match(COMMA);
setState(631);
formalParameter();
}
}
}
setState(636);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,66,_ctx);
}
setState(639);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(637);
match(COMMA);
setState(638);
lastFormalParameter();
}
}
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(641);
lastFormalParameter();
}
break;
}
}
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 TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public VariableDeclaratorIdContext variableDeclaratorId() {
return getRuleContext(VariableDeclaratorIdContext.class,0);
}
public List variableModifier() {
return getRuleContexts(VariableModifierContext.class);
}
public VariableModifierContext variableModifier(int i) {
return getRuleContext(VariableModifierContext.class,i);
}
public FormalParameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_formalParameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterFormalParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitFormalParameter(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitFormalParameter(this);
else return visitor.visitChildren(this);
}
}
public final FormalParameterContext formalParameter() throws RecognitionException {
FormalParameterContext _localctx = new FormalParameterContext(_ctx, getState());
enterRule(_localctx, 88, RULE_formalParameter);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(647);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,69,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(644);
variableModifier();
}
}
}
setState(649);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,69,_ctx);
}
setState(650);
typeType();
setState(651);
variableDeclaratorId();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LastFormalParameterContext extends ParserRuleContext {
public TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public TerminalNode ELLIPSIS() { return getToken(JavaParser.ELLIPSIS, 0); }
public VariableDeclaratorIdContext variableDeclaratorId() {
return getRuleContext(VariableDeclaratorIdContext.class,0);
}
public List variableModifier() {
return getRuleContexts(VariableModifierContext.class);
}
public VariableModifierContext variableModifier(int i) {
return getRuleContext(VariableModifierContext.class,i);
}
public LastFormalParameterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lastFormalParameter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterLastFormalParameter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitLastFormalParameter(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitLastFormalParameter(this);
else return visitor.visitChildren(this);
}
}
public final LastFormalParameterContext lastFormalParameter() throws RecognitionException {
LastFormalParameterContext _localctx = new LastFormalParameterContext(_ctx, getState());
enterRule(_localctx, 90, RULE_lastFormalParameter);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(656);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,70,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(653);
variableModifier();
}
}
}
setState(658);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,70,_ctx);
}
setState(659);
typeType();
setState(660);
match(ELLIPSIS);
setState(661);
variableDeclaratorId();
}
}
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 IDENTIFIER() { return getTokens(JavaParser.IDENTIFIER); }
public TerminalNode IDENTIFIER(int i) {
return getToken(JavaParser.IDENTIFIER, i);
}
public List DOT() { return getTokens(JavaParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(JavaParser.DOT, i);
}
public QualifiedNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_qualifiedName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterQualifiedName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitQualifiedName(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitQualifiedName(this);
else return visitor.visitChildren(this);
}
}
public final QualifiedNameContext qualifiedName() throws RecognitionException {
QualifiedNameContext _localctx = new QualifiedNameContext(_ctx, getState());
enterRule(_localctx, 92, RULE_qualifiedName);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(663);
match(IDENTIFIER);
setState(668);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,71,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(664);
match(DOT);
setState(665);
match(IDENTIFIER);
}
}
}
setState(670);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,71,_ctx);
}
}
}
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 IntegerLiteralContext integerLiteral() {
return getRuleContext(IntegerLiteralContext.class,0);
}
public FloatLiteralContext floatLiteral() {
return getRuleContext(FloatLiteralContext.class,0);
}
public TerminalNode CHAR_LITERAL() { return getToken(JavaParser.CHAR_LITERAL, 0); }
public TerminalNode STRING_LITERAL() { return getToken(JavaParser.STRING_LITERAL, 0); }
public TerminalNode BOOL_LITERAL() { return getToken(JavaParser.BOOL_LITERAL, 0); }
public TerminalNode NULL_LITERAL() { return getToken(JavaParser.NULL_LITERAL, 0); }
public LiteralContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_literal; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitLiteral(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitLiteral(this);
else return visitor.visitChildren(this);
}
}
public final LiteralContext literal() throws RecognitionException {
LiteralContext _localctx = new LiteralContext(_ctx, getState());
enterRule(_localctx, 94, RULE_literal);
try {
setState(677);
_errHandler.sync(this);
switch (_input.LA(1)) {
case DECIMAL_LITERAL:
case HEX_LITERAL:
case OCT_LITERAL:
case BINARY_LITERAL:
enterOuterAlt(_localctx, 1);
{
setState(671);
integerLiteral();
}
break;
case FLOAT_LITERAL:
case HEX_FLOAT_LITERAL:
enterOuterAlt(_localctx, 2);
{
setState(672);
floatLiteral();
}
break;
case CHAR_LITERAL:
enterOuterAlt(_localctx, 3);
{
setState(673);
match(CHAR_LITERAL);
}
break;
case STRING_LITERAL:
enterOuterAlt(_localctx, 4);
{
setState(674);
match(STRING_LITERAL);
}
break;
case BOOL_LITERAL:
enterOuterAlt(_localctx, 5);
{
setState(675);
match(BOOL_LITERAL);
}
break;
case NULL_LITERAL:
enterOuterAlt(_localctx, 6);
{
setState(676);
match(NULL_LITERAL);
}
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 IntegerLiteralContext extends ParserRuleContext {
public TerminalNode DECIMAL_LITERAL() { return getToken(JavaParser.DECIMAL_LITERAL, 0); }
public TerminalNode HEX_LITERAL() { return getToken(JavaParser.HEX_LITERAL, 0); }
public TerminalNode OCT_LITERAL() { return getToken(JavaParser.OCT_LITERAL, 0); }
public TerminalNode BINARY_LITERAL() { return getToken(JavaParser.BINARY_LITERAL, 0); }
public IntegerLiteralContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_integerLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterIntegerLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitIntegerLiteral(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitIntegerLiteral(this);
else return visitor.visitChildren(this);
}
}
public final IntegerLiteralContext integerLiteral() throws RecognitionException {
IntegerLiteralContext _localctx = new IntegerLiteralContext(_ctx, getState());
enterRule(_localctx, 96, RULE_integerLiteral);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(679);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL))) != 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 FloatLiteralContext extends ParserRuleContext {
public TerminalNode FLOAT_LITERAL() { return getToken(JavaParser.FLOAT_LITERAL, 0); }
public TerminalNode HEX_FLOAT_LITERAL() { return getToken(JavaParser.HEX_FLOAT_LITERAL, 0); }
public FloatLiteralContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_floatLiteral; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterFloatLiteral(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitFloatLiteral(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitFloatLiteral(this);
else return visitor.visitChildren(this);
}
}
public final FloatLiteralContext floatLiteral() throws RecognitionException {
FloatLiteralContext _localctx = new FloatLiteralContext(_ctx, getState());
enterRule(_localctx, 98, RULE_floatLiteral);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(681);
_la = _input.LA(1);
if ( !(_la==FLOAT_LITERAL || _la==HEX_FLOAT_LITERAL) ) {
_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(JavaParser.AT, 0); }
public QualifiedNameContext qualifiedName() {
return getRuleContext(QualifiedNameContext.class,0);
}
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterAnnotation(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitAnnotation(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitAnnotation(this);
else return visitor.visitChildren(this);
}
}
public final AnnotationContext annotation() throws RecognitionException {
AnnotationContext _localctx = new AnnotationContext(_ctx, getState());
enterRule(_localctx, 100, RULE_annotation);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(683);
match(AT);
setState(684);
qualifiedName();
setState(691);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LPAREN) {
{
setState(685);
match(LPAREN);
setState(688);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,73,_ctx) ) {
case 1:
{
setState(686);
elementValuePairs();
}
break;
case 2:
{
setState(687);
elementValue();
}
break;
}
setState(690);
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(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public ElementValuePairsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elementValuePairs; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterElementValuePairs(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitElementValuePairs(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitElementValuePairs(this);
else return visitor.visitChildren(this);
}
}
public final ElementValuePairsContext elementValuePairs() throws RecognitionException {
ElementValuePairsContext _localctx = new ElementValuePairsContext(_ctx, getState());
enterRule(_localctx, 102, RULE_elementValuePairs);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(693);
elementValuePair();
setState(698);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(694);
match(COMMA);
setState(695);
elementValuePair();
}
}
setState(700);
_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 TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TerminalNode ASSIGN() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterElementValuePair(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitElementValuePair(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitElementValuePair(this);
else return visitor.visitChildren(this);
}
}
public final ElementValuePairContext elementValuePair() throws RecognitionException {
ElementValuePairContext _localctx = new ElementValuePairContext(_ctx, getState());
enterRule(_localctx, 104, RULE_elementValuePair);
try {
enterOuterAlt(_localctx, 1);
{
setState(701);
match(IDENTIFIER);
setState(702);
match(ASSIGN);
setState(703);
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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterElementValue(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitElementValue(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitElementValue(this);
else return visitor.visitChildren(this);
}
}
public final ElementValueContext elementValue() throws RecognitionException {
ElementValueContext _localctx = new ElementValueContext(_ctx, getState());
enterRule(_localctx, 106, RULE_elementValue);
try {
setState(708);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,76,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(705);
expression(0);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(706);
annotation();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(707);
elementValueArrayInitializer();
}
break;
}
}
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(JavaParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(JavaParser.RBRACE, 0); }
public List elementValue() {
return getRuleContexts(ElementValueContext.class);
}
public ElementValueContext elementValue(int i) {
return getRuleContext(ElementValueContext.class,i);
}
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public ElementValueArrayInitializerContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elementValueArrayInitializer; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterElementValueArrayInitializer(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitElementValueArrayInitializer(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitElementValueArrayInitializer(this);
else return visitor.visitChildren(this);
}
}
public final ElementValueArrayInitializerContext elementValueArrayInitializer() throws RecognitionException {
ElementValueArrayInitializerContext _localctx = new ElementValueArrayInitializerContext(_ctx, getState());
enterRule(_localctx, 108, RULE_elementValueArrayInitializer);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(710);
match(LBRACE);
setState(719);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << NEW) | (1L << SHORT) | (1L << SUPER) | (1L << THIS) | (1L << VOID) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN) | (1L << LBRACE))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (LT - 72)) | (1L << (BANG - 72)) | (1L << (TILDE - 72)) | (1L << (INC - 72)) | (1L << (DEC - 72)) | (1L << (ADD - 72)) | (1L << (SUB - 72)) | (1L << (AT - 72)) | (1L << (IDENTIFIER - 72)))) != 0)) {
{
setState(711);
elementValue();
setState(716);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,77,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(712);
match(COMMA);
setState(713);
elementValue();
}
}
}
setState(718);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,77,_ctx);
}
}
}
setState(722);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(721);
match(COMMA);
}
}
setState(724);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AnnotationTypeDeclarationContext extends ParserRuleContext {
public TerminalNode AT() { return getToken(JavaParser.AT, 0); }
public TerminalNode INTERFACE() { return getToken(JavaParser.INTERFACE, 0); }
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public AnnotationTypeBodyContext annotationTypeBody() {
return getRuleContext(AnnotationTypeBodyContext.class,0);
}
public AnnotationTypeDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_annotationTypeDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterAnnotationTypeDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitAnnotationTypeDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitAnnotationTypeDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final AnnotationTypeDeclarationContext annotationTypeDeclaration() throws RecognitionException {
AnnotationTypeDeclarationContext _localctx = new AnnotationTypeDeclarationContext(_ctx, getState());
enterRule(_localctx, 110, RULE_annotationTypeDeclaration);
try {
enterOuterAlt(_localctx, 1);
{
setState(726);
match(AT);
setState(727);
match(INTERFACE);
setState(728);
match(IDENTIFIER);
setState(729);
annotationTypeBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AnnotationTypeBodyContext extends ParserRuleContext {
public TerminalNode LBRACE() { return getToken(JavaParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(JavaParser.RBRACE, 0); }
public List annotationTypeElementDeclaration() {
return getRuleContexts(AnnotationTypeElementDeclarationContext.class);
}
public AnnotationTypeElementDeclarationContext annotationTypeElementDeclaration(int i) {
return getRuleContext(AnnotationTypeElementDeclarationContext.class,i);
}
public AnnotationTypeBodyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_annotationTypeBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterAnnotationTypeBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitAnnotationTypeBody(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitAnnotationTypeBody(this);
else return visitor.visitChildren(this);
}
}
public final AnnotationTypeBodyContext annotationTypeBody() throws RecognitionException {
AnnotationTypeBodyContext _localctx = new AnnotationTypeBodyContext(_ctx, getState());
enterRule(_localctx, 112, RULE_annotationTypeBody);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(731);
match(LBRACE);
setState(735);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << DOUBLE) | (1L << ENUM) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << INTERFACE) | (1L << LONG) | (1L << NATIVE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SHORT) | (1L << STATIC) | (1L << STRICTFP) | (1L << SYNCHRONIZED) | (1L << TRANSIENT) | (1L << VOLATILE))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (SEMI - 67)) | (1L << (AT - 67)) | (1L << (IDENTIFIER - 67)))) != 0)) {
{
{
setState(732);
annotationTypeElementDeclaration();
}
}
setState(737);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(738);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AnnotationTypeElementDeclarationContext extends ParserRuleContext {
public AnnotationTypeElementRestContext annotationTypeElementRest() {
return getRuleContext(AnnotationTypeElementRestContext.class,0);
}
public List modifier() {
return getRuleContexts(ModifierContext.class);
}
public ModifierContext modifier(int i) {
return getRuleContext(ModifierContext.class,i);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public AnnotationTypeElementDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_annotationTypeElementDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterAnnotationTypeElementDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitAnnotationTypeElementDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitAnnotationTypeElementDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final AnnotationTypeElementDeclarationContext annotationTypeElementDeclaration() throws RecognitionException {
AnnotationTypeElementDeclarationContext _localctx = new AnnotationTypeElementDeclarationContext(_ctx, getState());
enterRule(_localctx, 114, RULE_annotationTypeElementDeclaration);
try {
int _alt;
setState(748);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ABSTRACT:
case BOOLEAN:
case BYTE:
case CHAR:
case CLASS:
case DOUBLE:
case ENUM:
case FINAL:
case FLOAT:
case INT:
case INTERFACE:
case LONG:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case SHORT:
case STATIC:
case STRICTFP:
case SYNCHRONIZED:
case TRANSIENT:
case VOLATILE:
case AT:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(743);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,81,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(740);
modifier();
}
}
}
setState(745);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,81,_ctx);
}
setState(746);
annotationTypeElementRest();
}
break;
case SEMI:
enterOuterAlt(_localctx, 2);
{
setState(747);
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 AnnotationTypeElementRestContext extends ParserRuleContext {
public TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public AnnotationMethodOrConstantRestContext annotationMethodOrConstantRest() {
return getRuleContext(AnnotationMethodOrConstantRestContext.class,0);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public ClassDeclarationContext classDeclaration() {
return getRuleContext(ClassDeclarationContext.class,0);
}
public InterfaceDeclarationContext interfaceDeclaration() {
return getRuleContext(InterfaceDeclarationContext.class,0);
}
public EnumDeclarationContext enumDeclaration() {
return getRuleContext(EnumDeclarationContext.class,0);
}
public AnnotationTypeDeclarationContext annotationTypeDeclaration() {
return getRuleContext(AnnotationTypeDeclarationContext.class,0);
}
public AnnotationTypeElementRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_annotationTypeElementRest; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterAnnotationTypeElementRest(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitAnnotationTypeElementRest(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitAnnotationTypeElementRest(this);
else return visitor.visitChildren(this);
}
}
public final AnnotationTypeElementRestContext annotationTypeElementRest() throws RecognitionException {
AnnotationTypeElementRestContext _localctx = new AnnotationTypeElementRestContext(_ctx, getState());
enterRule(_localctx, 116, RULE_annotationTypeElementRest);
try {
setState(770);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,87,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(750);
typeType();
setState(751);
annotationMethodOrConstantRest();
setState(752);
match(SEMI);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(754);
classDeclaration();
setState(756);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,83,_ctx) ) {
case 1:
{
setState(755);
match(SEMI);
}
break;
}
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(758);
interfaceDeclaration();
setState(760);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,84,_ctx) ) {
case 1:
{
setState(759);
match(SEMI);
}
break;
}
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(762);
enumDeclaration();
setState(764);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,85,_ctx) ) {
case 1:
{
setState(763);
match(SEMI);
}
break;
}
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(766);
annotationTypeDeclaration();
setState(768);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,86,_ctx) ) {
case 1:
{
setState(767);
match(SEMI);
}
break;
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AnnotationMethodOrConstantRestContext extends ParserRuleContext {
public AnnotationMethodRestContext annotationMethodRest() {
return getRuleContext(AnnotationMethodRestContext.class,0);
}
public AnnotationConstantRestContext annotationConstantRest() {
return getRuleContext(AnnotationConstantRestContext.class,0);
}
public AnnotationMethodOrConstantRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_annotationMethodOrConstantRest; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterAnnotationMethodOrConstantRest(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitAnnotationMethodOrConstantRest(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitAnnotationMethodOrConstantRest(this);
else return visitor.visitChildren(this);
}
}
public final AnnotationMethodOrConstantRestContext annotationMethodOrConstantRest() throws RecognitionException {
AnnotationMethodOrConstantRestContext _localctx = new AnnotationMethodOrConstantRestContext(_ctx, getState());
enterRule(_localctx, 118, RULE_annotationMethodOrConstantRest);
try {
setState(774);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,88,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(772);
annotationMethodRest();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(773);
annotationConstantRest();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AnnotationMethodRestContext extends ParserRuleContext {
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(JavaParser.RPAREN, 0); }
public DefaultValueContext defaultValue() {
return getRuleContext(DefaultValueContext.class,0);
}
public AnnotationMethodRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_annotationMethodRest; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterAnnotationMethodRest(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitAnnotationMethodRest(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitAnnotationMethodRest(this);
else return visitor.visitChildren(this);
}
}
public final AnnotationMethodRestContext annotationMethodRest() throws RecognitionException {
AnnotationMethodRestContext _localctx = new AnnotationMethodRestContext(_ctx, getState());
enterRule(_localctx, 120, RULE_annotationMethodRest);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(776);
match(IDENTIFIER);
setState(777);
match(LPAREN);
setState(778);
match(RPAREN);
setState(780);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==DEFAULT) {
{
setState(779);
defaultValue();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AnnotationConstantRestContext extends ParserRuleContext {
public VariableDeclaratorsContext variableDeclarators() {
return getRuleContext(VariableDeclaratorsContext.class,0);
}
public AnnotationConstantRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_annotationConstantRest; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterAnnotationConstantRest(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitAnnotationConstantRest(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitAnnotationConstantRest(this);
else return visitor.visitChildren(this);
}
}
public final AnnotationConstantRestContext annotationConstantRest() throws RecognitionException {
AnnotationConstantRestContext _localctx = new AnnotationConstantRestContext(_ctx, getState());
enterRule(_localctx, 122, RULE_annotationConstantRest);
try {
enterOuterAlt(_localctx, 1);
{
setState(782);
variableDeclarators();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class DefaultValueContext extends ParserRuleContext {
public TerminalNode DEFAULT() { return getToken(JavaParser.DEFAULT, 0); }
public ElementValueContext elementValue() {
return getRuleContext(ElementValueContext.class,0);
}
public DefaultValueContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_defaultValue; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterDefaultValue(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitDefaultValue(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitDefaultValue(this);
else return visitor.visitChildren(this);
}
}
public final DefaultValueContext defaultValue() throws RecognitionException {
DefaultValueContext _localctx = new DefaultValueContext(_ctx, getState());
enterRule(_localctx, 124, RULE_defaultValue);
try {
enterOuterAlt(_localctx, 1);
{
setState(784);
match(DEFAULT);
setState(785);
elementValue();
}
}
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(JavaParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(JavaParser.RBRACE, 0); }
public List blockStatement() {
return getRuleContexts(BlockStatementContext.class);
}
public BlockStatementContext blockStatement(int i) {
return getRuleContext(BlockStatementContext.class,i);
}
public BlockContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_block; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitBlock(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitBlock(this);
else return visitor.visitChildren(this);
}
}
public final BlockContext block() throws RecognitionException {
BlockContext _localctx = new BlockContext(_ctx, getState());
enterRule(_localctx, 126, RULE_block);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(787);
match(LBRACE);
setState(791);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << ASSERT) | (1L << BOOLEAN) | (1L << BREAK) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << CONTINUE) | (1L << DO) | (1L << DOUBLE) | (1L << FINAL) | (1L << FLOAT) | (1L << FOR) | (1L << IF) | (1L << INT) | (1L << INTERFACE) | (1L << LONG) | (1L << NEW) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << SHORT) | (1L << STATIC) | (1L << STRICTFP) | (1L << SUPER) | (1L << SWITCH) | (1L << SYNCHRONIZED) | (1L << THIS) | (1L << THROW) | (1L << TRY) | (1L << VOID) | (1L << WHILE) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN) | (1L << LBRACE))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (SEMI - 67)) | (1L << (LT - 67)) | (1L << (BANG - 67)) | (1L << (TILDE - 67)) | (1L << (INC - 67)) | (1L << (DEC - 67)) | (1L << (ADD - 67)) | (1L << (SUB - 67)) | (1L << (AT - 67)) | (1L << (IDENTIFIER - 67)))) != 0)) {
{
{
setState(788);
blockStatement();
}
}
setState(793);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(794);
match(RBRACE);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class BlockStatementContext extends ParserRuleContext {
public LocalVariableDeclarationContext localVariableDeclaration() {
return getRuleContext(LocalVariableDeclarationContext.class,0);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public StatementContext statement() {
return getRuleContext(StatementContext.class,0);
}
public LocalTypeDeclarationContext localTypeDeclaration() {
return getRuleContext(LocalTypeDeclarationContext.class,0);
}
public BlockStatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_blockStatement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterBlockStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitBlockStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitBlockStatement(this);
else return visitor.visitChildren(this);
}
}
public final BlockStatementContext blockStatement() throws RecognitionException {
BlockStatementContext _localctx = new BlockStatementContext(_ctx, getState());
enterRule(_localctx, 128, RULE_blockStatement);
try {
setState(801);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,91,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(796);
localVariableDeclaration();
setState(797);
match(SEMI);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(799);
statement();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(800);
localTypeDeclaration();
}
break;
}
}
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 TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public VariableDeclaratorsContext variableDeclarators() {
return getRuleContext(VariableDeclaratorsContext.class,0);
}
public List variableModifier() {
return getRuleContexts(VariableModifierContext.class);
}
public VariableModifierContext variableModifier(int i) {
return getRuleContext(VariableModifierContext.class,i);
}
public LocalVariableDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_localVariableDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterLocalVariableDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitLocalVariableDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitLocalVariableDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final LocalVariableDeclarationContext localVariableDeclaration() throws RecognitionException {
LocalVariableDeclarationContext _localctx = new LocalVariableDeclarationContext(_ctx, getState());
enterRule(_localctx, 130, RULE_localVariableDeclaration);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(806);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,92,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(803);
variableModifier();
}
}
}
setState(808);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,92,_ctx);
}
setState(809);
typeType();
setState(810);
variableDeclarators();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LocalTypeDeclarationContext extends ParserRuleContext {
public ClassDeclarationContext classDeclaration() {
return getRuleContext(ClassDeclarationContext.class,0);
}
public InterfaceDeclarationContext interfaceDeclaration() {
return getRuleContext(InterfaceDeclarationContext.class,0);
}
public List classOrInterfaceModifier() {
return getRuleContexts(ClassOrInterfaceModifierContext.class);
}
public ClassOrInterfaceModifierContext classOrInterfaceModifier(int i) {
return getRuleContext(ClassOrInterfaceModifierContext.class,i);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public LocalTypeDeclarationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_localTypeDeclaration; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterLocalTypeDeclaration(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitLocalTypeDeclaration(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitLocalTypeDeclaration(this);
else return visitor.visitChildren(this);
}
}
public final LocalTypeDeclarationContext localTypeDeclaration() throws RecognitionException {
LocalTypeDeclarationContext _localctx = new LocalTypeDeclarationContext(_ctx, getState());
enterRule(_localctx, 132, RULE_localTypeDeclaration);
int _la;
try {
setState(823);
_errHandler.sync(this);
switch (_input.LA(1)) {
case ABSTRACT:
case CLASS:
case FINAL:
case INTERFACE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case STRICTFP:
case AT:
enterOuterAlt(_localctx, 1);
{
setState(815);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << FINAL) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << STATIC) | (1L << STRICTFP))) != 0) || _la==AT) {
{
{
setState(812);
classOrInterfaceModifier();
}
}
setState(817);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(820);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CLASS:
{
setState(818);
classDeclaration();
}
break;
case INTERFACE:
{
setState(819);
interfaceDeclaration();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case SEMI:
enterOuterAlt(_localctx, 2);
{
setState(822);
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 StatementContext extends ParserRuleContext {
public BlockContext blockLabel;
public ExpressionContext statementExpression;
public Token identifierLabel;
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode ASSERT() { return getToken(JavaParser.ASSERT, 0); }
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public TerminalNode COLON() { return getToken(JavaParser.COLON, 0); }
public TerminalNode IF() { return getToken(JavaParser.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(JavaParser.ELSE, 0); }
public TerminalNode FOR() { return getToken(JavaParser.FOR, 0); }
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public ForControlContext forControl() {
return getRuleContext(ForControlContext.class,0);
}
public TerminalNode RPAREN() { return getToken(JavaParser.RPAREN, 0); }
public TerminalNode WHILE() { return getToken(JavaParser.WHILE, 0); }
public TerminalNode DO() { return getToken(JavaParser.DO, 0); }
public TerminalNode TRY() { return getToken(JavaParser.TRY, 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 ResourceSpecificationContext resourceSpecification() {
return getRuleContext(ResourceSpecificationContext.class,0);
}
public TerminalNode SWITCH() { return getToken(JavaParser.SWITCH, 0); }
public TerminalNode LBRACE() { return getToken(JavaParser.LBRACE, 0); }
public TerminalNode RBRACE() { return getToken(JavaParser.RBRACE, 0); }
public List switchBlockStatementGroup() {
return getRuleContexts(SwitchBlockStatementGroupContext.class);
}
public SwitchBlockStatementGroupContext switchBlockStatementGroup(int i) {
return getRuleContext(SwitchBlockStatementGroupContext.class,i);
}
public List switchLabel() {
return getRuleContexts(SwitchLabelContext.class);
}
public SwitchLabelContext switchLabel(int i) {
return getRuleContext(SwitchLabelContext.class,i);
}
public TerminalNode SYNCHRONIZED() { return getToken(JavaParser.SYNCHRONIZED, 0); }
public TerminalNode RETURN() { return getToken(JavaParser.RETURN, 0); }
public TerminalNode THROW() { return getToken(JavaParser.THROW, 0); }
public TerminalNode BREAK() { return getToken(JavaParser.BREAK, 0); }
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TerminalNode CONTINUE() { return getToken(JavaParser.CONTINUE, 0); }
public StatementContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_statement; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterStatement(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitStatement(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitStatement(this);
else return visitor.visitChildren(this);
}
}
public final StatementContext statement() throws RecognitionException {
StatementContext _localctx = new StatementContext(_ctx, getState());
enterRule(_localctx, 134, RULE_statement);
int _la;
try {
int _alt;
setState(929);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,108,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(825);
((StatementContext)_localctx).blockLabel = block();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(826);
match(ASSERT);
setState(827);
expression(0);
setState(830);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COLON) {
{
setState(828);
match(COLON);
setState(829);
expression(0);
}
}
setState(832);
match(SEMI);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(834);
match(IF);
setState(835);
parExpression();
setState(836);
statement();
setState(839);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,97,_ctx) ) {
case 1:
{
setState(837);
match(ELSE);
setState(838);
statement();
}
break;
}
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(841);
match(FOR);
setState(842);
match(LPAREN);
setState(843);
forControl();
setState(844);
match(RPAREN);
setState(845);
statement();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(847);
match(WHILE);
setState(848);
parExpression();
setState(849);
statement();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(851);
match(DO);
setState(852);
statement();
setState(853);
match(WHILE);
setState(854);
parExpression();
setState(855);
match(SEMI);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(857);
match(TRY);
setState(858);
block();
setState(868);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CATCH:
{
setState(860);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(859);
catchClause();
}
}
setState(862);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CATCH );
setState(865);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FINALLY) {
{
setState(864);
finallyBlock();
}
}
}
break;
case FINALLY:
{
setState(867);
finallyBlock();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(870);
match(TRY);
setState(871);
resourceSpecification();
setState(872);
block();
setState(876);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==CATCH) {
{
{
setState(873);
catchClause();
}
}
setState(878);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(880);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==FINALLY) {
{
setState(879);
finallyBlock();
}
}
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(882);
match(SWITCH);
setState(883);
parExpression();
setState(884);
match(LBRACE);
setState(888);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,103,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(885);
switchBlockStatementGroup();
}
}
}
setState(890);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,103,_ctx);
}
setState(894);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==CASE || _la==DEFAULT) {
{
{
setState(891);
switchLabel();
}
}
setState(896);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(897);
match(RBRACE);
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(899);
match(SYNCHRONIZED);
setState(900);
parExpression();
setState(901);
block();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(903);
match(RETURN);
setState(905);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << NEW) | (1L << SHORT) | (1L << SUPER) | (1L << THIS) | (1L << VOID) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (LT - 72)) | (1L << (BANG - 72)) | (1L << (TILDE - 72)) | (1L << (INC - 72)) | (1L << (DEC - 72)) | (1L << (ADD - 72)) | (1L << (SUB - 72)) | (1L << (AT - 72)) | (1L << (IDENTIFIER - 72)))) != 0)) {
{
setState(904);
expression(0);
}
}
setState(907);
match(SEMI);
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(908);
match(THROW);
setState(909);
expression(0);
setState(910);
match(SEMI);
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(912);
match(BREAK);
setState(914);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IDENTIFIER) {
{
setState(913);
match(IDENTIFIER);
}
}
setState(916);
match(SEMI);
}
break;
case 14:
enterOuterAlt(_localctx, 14);
{
setState(917);
match(CONTINUE);
setState(919);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==IDENTIFIER) {
{
setState(918);
match(IDENTIFIER);
}
}
setState(921);
match(SEMI);
}
break;
case 15:
enterOuterAlt(_localctx, 15);
{
setState(922);
match(SEMI);
}
break;
case 16:
enterOuterAlt(_localctx, 16);
{
setState(923);
((StatementContext)_localctx).statementExpression = expression(0);
setState(924);
match(SEMI);
}
break;
case 17:
enterOuterAlt(_localctx, 17);
{
setState(926);
((StatementContext)_localctx).identifierLabel = match(IDENTIFIER);
setState(927);
match(COLON);
setState(928);
statement();
}
break;
}
}
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(JavaParser.CATCH, 0); }
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public CatchTypeContext catchType() {
return getRuleContext(CatchTypeContext.class,0);
}
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TerminalNode RPAREN() { return getToken(JavaParser.RPAREN, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public List variableModifier() {
return getRuleContexts(VariableModifierContext.class);
}
public VariableModifierContext variableModifier(int i) {
return getRuleContext(VariableModifierContext.class,i);
}
public CatchClauseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_catchClause; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterCatchClause(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitCatchClause(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitCatchClause(this);
else return visitor.visitChildren(this);
}
}
public final CatchClauseContext catchClause() throws RecognitionException {
CatchClauseContext _localctx = new CatchClauseContext(_ctx, getState());
enterRule(_localctx, 136, RULE_catchClause);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(931);
match(CATCH);
setState(932);
match(LPAREN);
setState(936);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==FINAL || _la==AT) {
{
{
setState(933);
variableModifier();
}
}
setState(938);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(939);
catchType();
setState(940);
match(IDENTIFIER);
setState(941);
match(RPAREN);
setState(942);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class CatchTypeContext extends ParserRuleContext {
public List qualifiedName() {
return getRuleContexts(QualifiedNameContext.class);
}
public QualifiedNameContext qualifiedName(int i) {
return getRuleContext(QualifiedNameContext.class,i);
}
public List BITOR() { return getTokens(JavaParser.BITOR); }
public TerminalNode BITOR(int i) {
return getToken(JavaParser.BITOR, i);
}
public CatchTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_catchType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterCatchType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitCatchType(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitCatchType(this);
else return visitor.visitChildren(this);
}
}
public final CatchTypeContext catchType() throws RecognitionException {
CatchTypeContext _localctx = new CatchTypeContext(_ctx, getState());
enterRule(_localctx, 138, RULE_catchType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(944);
qualifiedName();
setState(949);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==BITOR) {
{
{
setState(945);
match(BITOR);
setState(946);
qualifiedName();
}
}
setState(951);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FinallyBlockContext extends ParserRuleContext {
public TerminalNode FINALLY() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterFinallyBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitFinallyBlock(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitFinallyBlock(this);
else return visitor.visitChildren(this);
}
}
public final FinallyBlockContext finallyBlock() throws RecognitionException {
FinallyBlockContext _localctx = new FinallyBlockContext(_ctx, getState());
enterRule(_localctx, 140, RULE_finallyBlock);
try {
enterOuterAlt(_localctx, 1);
{
setState(952);
match(FINALLY);
setState(953);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ResourceSpecificationContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public ResourcesContext resources() {
return getRuleContext(ResourcesContext.class,0);
}
public TerminalNode RPAREN() { return getToken(JavaParser.RPAREN, 0); }
public TerminalNode SEMI() { return getToken(JavaParser.SEMI, 0); }
public ResourceSpecificationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_resourceSpecification; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterResourceSpecification(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitResourceSpecification(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitResourceSpecification(this);
else return visitor.visitChildren(this);
}
}
public final ResourceSpecificationContext resourceSpecification() throws RecognitionException {
ResourceSpecificationContext _localctx = new ResourceSpecificationContext(_ctx, getState());
enterRule(_localctx, 142, RULE_resourceSpecification);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(955);
match(LPAREN);
setState(956);
resources();
setState(958);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==SEMI) {
{
setState(957);
match(SEMI);
}
}
setState(960);
match(RPAREN);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ResourcesContext extends ParserRuleContext {
public List resource() {
return getRuleContexts(ResourceContext.class);
}
public ResourceContext resource(int i) {
return getRuleContext(ResourceContext.class,i);
}
public List SEMI() { return getTokens(JavaParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(JavaParser.SEMI, i);
}
public ResourcesContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_resources; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterResources(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitResources(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitResources(this);
else return visitor.visitChildren(this);
}
}
public final ResourcesContext resources() throws RecognitionException {
ResourcesContext _localctx = new ResourcesContext(_ctx, getState());
enterRule(_localctx, 144, RULE_resources);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(962);
resource();
setState(967);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,112,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(963);
match(SEMI);
setState(964);
resource();
}
}
}
setState(969);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,112,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ResourceContext extends ParserRuleContext {
public ClassOrInterfaceTypeContext classOrInterfaceType() {
return getRuleContext(ClassOrInterfaceTypeContext.class,0);
}
public VariableDeclaratorIdContext variableDeclaratorId() {
return getRuleContext(VariableDeclaratorIdContext.class,0);
}
public TerminalNode ASSIGN() { return getToken(JavaParser.ASSIGN, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public List variableModifier() {
return getRuleContexts(VariableModifierContext.class);
}
public VariableModifierContext variableModifier(int i) {
return getRuleContext(VariableModifierContext.class,i);
}
public ResourceContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_resource; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterResource(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitResource(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitResource(this);
else return visitor.visitChildren(this);
}
}
public final ResourceContext resource() throws RecognitionException {
ResourceContext _localctx = new ResourceContext(_ctx, getState());
enterRule(_localctx, 146, RULE_resource);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(973);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==FINAL || _la==AT) {
{
{
setState(970);
variableModifier();
}
}
setState(975);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(976);
classOrInterfaceType();
setState(977);
variableDeclaratorId();
setState(978);
match(ASSIGN);
setState(979);
expression(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwitchBlockStatementGroupContext extends ParserRuleContext {
public List switchLabel() {
return getRuleContexts(SwitchLabelContext.class);
}
public SwitchLabelContext switchLabel(int i) {
return getRuleContext(SwitchLabelContext.class,i);
}
public List blockStatement() {
return getRuleContexts(BlockStatementContext.class);
}
public BlockStatementContext blockStatement(int i) {
return getRuleContext(BlockStatementContext.class,i);
}
public SwitchBlockStatementGroupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_switchBlockStatementGroup; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterSwitchBlockStatementGroup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitSwitchBlockStatementGroup(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitSwitchBlockStatementGroup(this);
else return visitor.visitChildren(this);
}
}
public final SwitchBlockStatementGroupContext switchBlockStatementGroup() throws RecognitionException {
SwitchBlockStatementGroupContext _localctx = new SwitchBlockStatementGroupContext(_ctx, getState());
enterRule(_localctx, 148, RULE_switchBlockStatementGroup);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(982);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(981);
switchLabel();
}
}
setState(984);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( _la==CASE || _la==DEFAULT );
setState(987);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(986);
blockStatement();
}
}
setState(989);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << ASSERT) | (1L << BOOLEAN) | (1L << BREAK) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << CONTINUE) | (1L << DO) | (1L << DOUBLE) | (1L << FINAL) | (1L << FLOAT) | (1L << FOR) | (1L << IF) | (1L << INT) | (1L << INTERFACE) | (1L << LONG) | (1L << NEW) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << RETURN) | (1L << SHORT) | (1L << STATIC) | (1L << STRICTFP) | (1L << SUPER) | (1L << SWITCH) | (1L << SYNCHRONIZED) | (1L << THIS) | (1L << THROW) | (1L << TRY) | (1L << VOID) | (1L << WHILE) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN) | (1L << LBRACE))) != 0) || ((((_la - 67)) & ~0x3f) == 0 && ((1L << (_la - 67)) & ((1L << (SEMI - 67)) | (1L << (LT - 67)) | (1L << (BANG - 67)) | (1L << (TILDE - 67)) | (1L << (INC - 67)) | (1L << (DEC - 67)) | (1L << (ADD - 67)) | (1L << (SUB - 67)) | (1L << (AT - 67)) | (1L << (IDENTIFIER - 67)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SwitchLabelContext extends ParserRuleContext {
public ExpressionContext constantExpression;
public Token enumConstantName;
public TerminalNode CASE() { return getToken(JavaParser.CASE, 0); }
public TerminalNode COLON() { return getToken(JavaParser.COLON, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TerminalNode DEFAULT() { return getToken(JavaParser.DEFAULT, 0); }
public SwitchLabelContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_switchLabel; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterSwitchLabel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitSwitchLabel(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitSwitchLabel(this);
else return visitor.visitChildren(this);
}
}
public final SwitchLabelContext switchLabel() throws RecognitionException {
SwitchLabelContext _localctx = new SwitchLabelContext(_ctx, getState());
enterRule(_localctx, 150, RULE_switchLabel);
try {
setState(999);
_errHandler.sync(this);
switch (_input.LA(1)) {
case CASE:
enterOuterAlt(_localctx, 1);
{
setState(991);
match(CASE);
setState(994);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,116,_ctx) ) {
case 1:
{
setState(992);
((SwitchLabelContext)_localctx).constantExpression = expression(0);
}
break;
case 2:
{
setState(993);
((SwitchLabelContext)_localctx).enumConstantName = match(IDENTIFIER);
}
break;
}
setState(996);
match(COLON);
}
break;
case DEFAULT:
enterOuterAlt(_localctx, 2);
{
setState(997);
match(DEFAULT);
setState(998);
match(COLON);
}
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 ForControlContext extends ParserRuleContext {
public ExpressionListContext forUpdate;
public EnhancedForControlContext enhancedForControl() {
return getRuleContext(EnhancedForControlContext.class,0);
}
public List SEMI() { return getTokens(JavaParser.SEMI); }
public TerminalNode SEMI(int i) {
return getToken(JavaParser.SEMI, i);
}
public ForInitContext forInit() {
return getRuleContext(ForInitContext.class,0);
}
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.class,0);
}
public ForControlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_forControl; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterForControl(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitForControl(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitForControl(this);
else return visitor.visitChildren(this);
}
}
public final ForControlContext forControl() throws RecognitionException {
ForControlContext _localctx = new ForControlContext(_ctx, getState());
enterRule(_localctx, 152, RULE_forControl);
int _la;
try {
setState(1013);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,121,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1001);
enhancedForControl();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1003);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << NEW) | (1L << SHORT) | (1L << SUPER) | (1L << THIS) | (1L << VOID) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (LT - 72)) | (1L << (BANG - 72)) | (1L << (TILDE - 72)) | (1L << (INC - 72)) | (1L << (DEC - 72)) | (1L << (ADD - 72)) | (1L << (SUB - 72)) | (1L << (AT - 72)) | (1L << (IDENTIFIER - 72)))) != 0)) {
{
setState(1002);
forInit();
}
}
setState(1005);
match(SEMI);
setState(1007);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << NEW) | (1L << SHORT) | (1L << SUPER) | (1L << THIS) | (1L << VOID) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (LT - 72)) | (1L << (BANG - 72)) | (1L << (TILDE - 72)) | (1L << (INC - 72)) | (1L << (DEC - 72)) | (1L << (ADD - 72)) | (1L << (SUB - 72)) | (1L << (AT - 72)) | (1L << (IDENTIFIER - 72)))) != 0)) {
{
setState(1006);
expression(0);
}
}
setState(1009);
match(SEMI);
setState(1011);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << NEW) | (1L << SHORT) | (1L << SUPER) | (1L << THIS) | (1L << VOID) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (LT - 72)) | (1L << (BANG - 72)) | (1L << (TILDE - 72)) | (1L << (INC - 72)) | (1L << (DEC - 72)) | (1L << (ADD - 72)) | (1L << (SUB - 72)) | (1L << (AT - 72)) | (1L << (IDENTIFIER - 72)))) != 0)) {
{
setState(1010);
((ForControlContext)_localctx).forUpdate = expressionList();
}
}
}
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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterForInit(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitForInit(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitForInit(this);
else return visitor.visitChildren(this);
}
}
public final ForInitContext forInit() throws RecognitionException {
ForInitContext _localctx = new ForInitContext(_ctx, getState());
enterRule(_localctx, 154, RULE_forInit);
try {
setState(1017);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,122,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1015);
localVariableDeclaration();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1016);
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 TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public VariableDeclaratorIdContext variableDeclaratorId() {
return getRuleContext(VariableDeclaratorIdContext.class,0);
}
public TerminalNode COLON() { return getToken(JavaParser.COLON, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public List variableModifier() {
return getRuleContexts(VariableModifierContext.class);
}
public VariableModifierContext variableModifier(int i) {
return getRuleContext(VariableModifierContext.class,i);
}
public EnhancedForControlContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_enhancedForControl; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterEnhancedForControl(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitEnhancedForControl(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitEnhancedForControl(this);
else return visitor.visitChildren(this);
}
}
public final EnhancedForControlContext enhancedForControl() throws RecognitionException {
EnhancedForControlContext _localctx = new EnhancedForControlContext(_ctx, getState());
enterRule(_localctx, 156, RULE_enhancedForControl);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1022);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,123,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1019);
variableModifier();
}
}
}
setState(1024);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,123,_ctx);
}
setState(1025);
typeType();
setState(1026);
variableDeclaratorId();
setState(1027);
match(COLON);
setState(1028);
expression(0);
}
}
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(JavaParser.LPAREN, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RPAREN() { return getToken(JavaParser.RPAREN, 0); }
public ParExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterParExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitParExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitParExpression(this);
else return visitor.visitChildren(this);
}
}
public final ParExpressionContext parExpression() throws RecognitionException {
ParExpressionContext _localctx = new ParExpressionContext(_ctx, getState());
enterRule(_localctx, 158, RULE_parExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(1030);
match(LPAREN);
setState(1031);
expression(0);
setState(1032);
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(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public ExpressionListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expressionList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterExpressionList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitExpressionList(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitExpressionList(this);
else return visitor.visitChildren(this);
}
}
public final ExpressionListContext expressionList() throws RecognitionException {
ExpressionListContext _localctx = new ExpressionListContext(_ctx, getState());
enterRule(_localctx, 160, RULE_expressionList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1034);
expression(0);
setState(1039);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1035);
match(COMMA);
setState(1036);
expression(0);
}
}
setState(1041);
_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 Token prefix;
public Token bop;
public Token postfix;
public PrimaryContext primary() {
return getRuleContext(PrimaryContext.class,0);
}
public TerminalNode NEW() { return getToken(JavaParser.NEW, 0); }
public CreatorContext creator() {
return getRuleContext(CreatorContext.class,0);
}
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public TypeTypeContext typeType() {
return getRuleContext(TypeTypeContext.class,0);
}
public TerminalNode RPAREN() { return getToken(JavaParser.RPAREN, 0); }
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public TerminalNode ADD() { return getToken(JavaParser.ADD, 0); }
public TerminalNode SUB() { return getToken(JavaParser.SUB, 0); }
public TerminalNode INC() { return getToken(JavaParser.INC, 0); }
public TerminalNode DEC() { return getToken(JavaParser.DEC, 0); }
public TerminalNode TILDE() { return getToken(JavaParser.TILDE, 0); }
public TerminalNode BANG() { return getToken(JavaParser.BANG, 0); }
public LambdaExpressionContext lambdaExpression() {
return getRuleContext(LambdaExpressionContext.class,0);
}
public TerminalNode COLONCOLON() { return getToken(JavaParser.COLONCOLON, 0); }
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TypeArgumentsContext typeArguments() {
return getRuleContext(TypeArgumentsContext.class,0);
}
public ClassTypeContext classType() {
return getRuleContext(ClassTypeContext.class,0);
}
public TerminalNode MUL() { return getToken(JavaParser.MUL, 0); }
public TerminalNode DIV() { return getToken(JavaParser.DIV, 0); }
public TerminalNode MOD() { return getToken(JavaParser.MOD, 0); }
public List LT() { return getTokens(JavaParser.LT); }
public TerminalNode LT(int i) {
return getToken(JavaParser.LT, i);
}
public List GT() { return getTokens(JavaParser.GT); }
public TerminalNode GT(int i) {
return getToken(JavaParser.GT, i);
}
public TerminalNode LE() { return getToken(JavaParser.LE, 0); }
public TerminalNode GE() { return getToken(JavaParser.GE, 0); }
public TerminalNode EQUAL() { return getToken(JavaParser.EQUAL, 0); }
public TerminalNode NOTEQUAL() { return getToken(JavaParser.NOTEQUAL, 0); }
public TerminalNode BITAND() { return getToken(JavaParser.BITAND, 0); }
public TerminalNode CARET() { return getToken(JavaParser.CARET, 0); }
public TerminalNode BITOR() { return getToken(JavaParser.BITOR, 0); }
public TerminalNode AND() { return getToken(JavaParser.AND, 0); }
public TerminalNode OR() { return getToken(JavaParser.OR, 0); }
public TerminalNode COLON() { return getToken(JavaParser.COLON, 0); }
public TerminalNode QUESTION() { return getToken(JavaParser.QUESTION, 0); }
public TerminalNode ASSIGN() { return getToken(JavaParser.ASSIGN, 0); }
public TerminalNode ADD_ASSIGN() { return getToken(JavaParser.ADD_ASSIGN, 0); }
public TerminalNode SUB_ASSIGN() { return getToken(JavaParser.SUB_ASSIGN, 0); }
public TerminalNode MUL_ASSIGN() { return getToken(JavaParser.MUL_ASSIGN, 0); }
public TerminalNode DIV_ASSIGN() { return getToken(JavaParser.DIV_ASSIGN, 0); }
public TerminalNode AND_ASSIGN() { return getToken(JavaParser.AND_ASSIGN, 0); }
public TerminalNode OR_ASSIGN() { return getToken(JavaParser.OR_ASSIGN, 0); }
public TerminalNode XOR_ASSIGN() { return getToken(JavaParser.XOR_ASSIGN, 0); }
public TerminalNode RSHIFT_ASSIGN() { return getToken(JavaParser.RSHIFT_ASSIGN, 0); }
public TerminalNode URSHIFT_ASSIGN() { return getToken(JavaParser.URSHIFT_ASSIGN, 0); }
public TerminalNode LSHIFT_ASSIGN() { return getToken(JavaParser.LSHIFT_ASSIGN, 0); }
public TerminalNode MOD_ASSIGN() { return getToken(JavaParser.MOD_ASSIGN, 0); }
public TerminalNode DOT() { return getToken(JavaParser.DOT, 0); }
public TerminalNode THIS() { return getToken(JavaParser.THIS, 0); }
public InnerCreatorContext innerCreator() {
return getRuleContext(InnerCreatorContext.class,0);
}
public TerminalNode SUPER() { return getToken(JavaParser.SUPER, 0); }
public SuperSuffixContext superSuffix() {
return getRuleContext(SuperSuffixContext.class,0);
}
public ExplicitGenericInvocationContext explicitGenericInvocation() {
return getRuleContext(ExplicitGenericInvocationContext.class,0);
}
public NonWildcardTypeArgumentsContext nonWildcardTypeArguments() {
return getRuleContext(NonWildcardTypeArgumentsContext.class,0);
}
public TerminalNode LBRACK() { return getToken(JavaParser.LBRACK, 0); }
public TerminalNode RBRACK() { return getToken(JavaParser.RBRACK, 0); }
public ExpressionListContext expressionList() {
return getRuleContext(ExpressionListContext.class,0);
}
public TerminalNode INSTANCEOF() { return getToken(JavaParser.INSTANCEOF, 0); }
public ExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitExpression(this);
else return visitor.visitChildren(this);
}
}
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 = 162;
enterRecursionRule(_localctx, 162, RULE_expression, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1072);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,128,_ctx) ) {
case 1:
{
setState(1043);
primary();
}
break;
case 2:
{
setState(1044);
match(NEW);
setState(1045);
creator();
}
break;
case 3:
{
setState(1046);
match(LPAREN);
setState(1047);
typeType();
setState(1048);
match(RPAREN);
setState(1049);
expression(21);
}
break;
case 4:
{
setState(1051);
((ExpressionContext)_localctx).prefix = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 83)) & ~0x3f) == 0 && ((1L << (_la - 83)) & ((1L << (INC - 83)) | (1L << (DEC - 83)) | (1L << (ADD - 83)) | (1L << (SUB - 83)))) != 0)) ) {
((ExpressionContext)_localctx).prefix = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1052);
expression(19);
}
break;
case 5:
{
setState(1053);
((ExpressionContext)_localctx).prefix = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==BANG || _la==TILDE) ) {
((ExpressionContext)_localctx).prefix = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1054);
expression(18);
}
break;
case 6:
{
setState(1055);
lambdaExpression();
}
break;
case 7:
{
setState(1056);
typeType();
setState(1057);
match(COLONCOLON);
setState(1063);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LT:
case IDENTIFIER:
{
setState(1059);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(1058);
typeArguments();
}
}
setState(1061);
match(IDENTIFIER);
}
break;
case NEW:
{
setState(1062);
match(NEW);
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 8:
{
setState(1065);
classType();
setState(1066);
match(COLONCOLON);
setState(1068);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(1067);
typeArguments();
}
}
setState(1070);
match(NEW);
}
break;
}
_ctx.stop = _input.LT(-1);
setState(1159);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,135,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
setState(1157);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,134,_ctx) ) {
case 1:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1074);
if (!(precpred(_ctx, 17))) throw new FailedPredicateException(this, "precpred(_ctx, 17)");
setState(1075);
((ExpressionContext)_localctx).bop = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 87)) & ~0x3f) == 0 && ((1L << (_la - 87)) & ((1L << (MUL - 87)) | (1L << (DIV - 87)) | (1L << (MOD - 87)))) != 0)) ) {
((ExpressionContext)_localctx).bop = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1076);
expression(18);
}
break;
case 2:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1077);
if (!(precpred(_ctx, 16))) throw new FailedPredicateException(this, "precpred(_ctx, 16)");
setState(1078);
((ExpressionContext)_localctx).bop = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==ADD || _la==SUB) ) {
((ExpressionContext)_localctx).bop = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1079);
expression(17);
}
break;
case 3:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1080);
if (!(precpred(_ctx, 15))) throw new FailedPredicateException(this, "precpred(_ctx, 15)");
setState(1088);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,129,_ctx) ) {
case 1:
{
setState(1081);
match(LT);
setState(1082);
match(LT);
}
break;
case 2:
{
setState(1083);
match(GT);
setState(1084);
match(GT);
setState(1085);
match(GT);
}
break;
case 3:
{
setState(1086);
match(GT);
setState(1087);
match(GT);
}
break;
}
setState(1090);
expression(16);
}
break;
case 4:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1091);
if (!(precpred(_ctx, 14))) throw new FailedPredicateException(this, "precpred(_ctx, 14)");
setState(1092);
((ExpressionContext)_localctx).bop = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 71)) & ~0x3f) == 0 && ((1L << (_la - 71)) & ((1L << (GT - 71)) | (1L << (LT - 71)) | (1L << (LE - 71)) | (1L << (GE - 71)))) != 0)) ) {
((ExpressionContext)_localctx).bop = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1093);
expression(15);
}
break;
case 5:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1094);
if (!(precpred(_ctx, 12))) throw new FailedPredicateException(this, "precpred(_ctx, 12)");
setState(1095);
((ExpressionContext)_localctx).bop = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==EQUAL || _la==NOTEQUAL) ) {
((ExpressionContext)_localctx).bop = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1096);
expression(13);
}
break;
case 6:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1097);
if (!(precpred(_ctx, 11))) throw new FailedPredicateException(this, "precpred(_ctx, 11)");
setState(1098);
((ExpressionContext)_localctx).bop = match(BITAND);
setState(1099);
expression(12);
}
break;
case 7:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1100);
if (!(precpred(_ctx, 10))) throw new FailedPredicateException(this, "precpred(_ctx, 10)");
setState(1101);
((ExpressionContext)_localctx).bop = match(CARET);
setState(1102);
expression(11);
}
break;
case 8:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1103);
if (!(precpred(_ctx, 9))) throw new FailedPredicateException(this, "precpred(_ctx, 9)");
setState(1104);
((ExpressionContext)_localctx).bop = match(BITOR);
setState(1105);
expression(10);
}
break;
case 9:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1106);
if (!(precpred(_ctx, 8))) throw new FailedPredicateException(this, "precpred(_ctx, 8)");
setState(1107);
((ExpressionContext)_localctx).bop = match(AND);
setState(1108);
expression(9);
}
break;
case 10:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1109);
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
setState(1110);
((ExpressionContext)_localctx).bop = match(OR);
setState(1111);
expression(8);
}
break;
case 11:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1112);
if (!(precpred(_ctx, 6))) throw new FailedPredicateException(this, "precpred(_ctx, 6)");
setState(1113);
((ExpressionContext)_localctx).bop = match(QUESTION);
setState(1114);
expression(0);
setState(1115);
match(COLON);
setState(1116);
expression(7);
}
break;
case 12:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1118);
if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)");
setState(1119);
((ExpressionContext)_localctx).bop = _input.LT(1);
_la = _input.LA(1);
if ( !(((((_la - 70)) & ~0x3f) == 0 && ((1L << (_la - 70)) & ((1L << (ASSIGN - 70)) | (1L << (ADD_ASSIGN - 70)) | (1L << (SUB_ASSIGN - 70)) | (1L << (MUL_ASSIGN - 70)) | (1L << (DIV_ASSIGN - 70)) | (1L << (AND_ASSIGN - 70)) | (1L << (OR_ASSIGN - 70)) | (1L << (XOR_ASSIGN - 70)) | (1L << (MOD_ASSIGN - 70)) | (1L << (LSHIFT_ASSIGN - 70)) | (1L << (RSHIFT_ASSIGN - 70)) | (1L << (URSHIFT_ASSIGN - 70)))) != 0)) ) {
((ExpressionContext)_localctx).bop = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(1120);
expression(5);
}
break;
case 13:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1121);
if (!(precpred(_ctx, 25))) throw new FailedPredicateException(this, "precpred(_ctx, 25)");
setState(1122);
((ExpressionContext)_localctx).bop = match(DOT);
setState(1133);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IDENTIFIER:
{
setState(1123);
match(IDENTIFIER);
}
break;
case THIS:
{
setState(1124);
match(THIS);
}
break;
case NEW:
{
setState(1125);
match(NEW);
setState(1127);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(1126);
nonWildcardTypeArguments();
}
}
setState(1129);
innerCreator();
}
break;
case SUPER:
{
setState(1130);
match(SUPER);
setState(1131);
superSuffix();
}
break;
case LT:
{
setState(1132);
explicitGenericInvocation();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
case 14:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1135);
if (!(precpred(_ctx, 24))) throw new FailedPredicateException(this, "precpred(_ctx, 24)");
setState(1136);
match(LBRACK);
setState(1137);
expression(0);
setState(1138);
match(RBRACK);
}
break;
case 15:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1140);
if (!(precpred(_ctx, 23))) throw new FailedPredicateException(this, "precpred(_ctx, 23)");
setState(1141);
match(LPAREN);
setState(1143);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << NEW) | (1L << SHORT) | (1L << SUPER) | (1L << THIS) | (1L << VOID) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (LT - 72)) | (1L << (BANG - 72)) | (1L << (TILDE - 72)) | (1L << (INC - 72)) | (1L << (DEC - 72)) | (1L << (ADD - 72)) | (1L << (SUB - 72)) | (1L << (AT - 72)) | (1L << (IDENTIFIER - 72)))) != 0)) {
{
setState(1142);
expressionList();
}
}
setState(1145);
match(RPAREN);
}
break;
case 16:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1146);
if (!(precpred(_ctx, 20))) throw new FailedPredicateException(this, "precpred(_ctx, 20)");
setState(1147);
((ExpressionContext)_localctx).postfix = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==INC || _la==DEC) ) {
((ExpressionContext)_localctx).postfix = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
break;
case 17:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1148);
if (!(precpred(_ctx, 13))) throw new FailedPredicateException(this, "precpred(_ctx, 13)");
setState(1149);
((ExpressionContext)_localctx).bop = match(INSTANCEOF);
setState(1150);
typeType();
}
break;
case 18:
{
_localctx = new ExpressionContext(_parentctx, _parentState);
pushNewRecursionContext(_localctx, _startState, RULE_expression);
setState(1151);
if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
setState(1152);
match(COLONCOLON);
setState(1154);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(1153);
typeArguments();
}
}
setState(1156);
match(IDENTIFIER);
}
break;
}
}
}
setState(1161);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,135,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class LambdaExpressionContext extends ParserRuleContext {
public LambdaParametersContext lambdaParameters() {
return getRuleContext(LambdaParametersContext.class,0);
}
public TerminalNode ARROW() { return getToken(JavaParser.ARROW, 0); }
public LambdaBodyContext lambdaBody() {
return getRuleContext(LambdaBodyContext.class,0);
}
public LambdaExpressionContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lambdaExpression; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterLambdaExpression(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitLambdaExpression(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitLambdaExpression(this);
else return visitor.visitChildren(this);
}
}
public final LambdaExpressionContext lambdaExpression() throws RecognitionException {
LambdaExpressionContext _localctx = new LambdaExpressionContext(_ctx, getState());
enterRule(_localctx, 164, RULE_lambdaExpression);
try {
enterOuterAlt(_localctx, 1);
{
setState(1162);
lambdaParameters();
setState(1163);
match(ARROW);
setState(1164);
lambdaBody();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LambdaParametersContext extends ParserRuleContext {
public List IDENTIFIER() { return getTokens(JavaParser.IDENTIFIER); }
public TerminalNode IDENTIFIER(int i) {
return getToken(JavaParser.IDENTIFIER, i);
}
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(JavaParser.RPAREN, 0); }
public FormalParameterListContext formalParameterList() {
return getRuleContext(FormalParameterListContext.class,0);
}
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public LambdaParametersContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lambdaParameters; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterLambdaParameters(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitLambdaParameters(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitLambdaParameters(this);
else return visitor.visitChildren(this);
}
}
public final LambdaParametersContext lambdaParameters() throws RecognitionException {
LambdaParametersContext _localctx = new LambdaParametersContext(_ctx, getState());
enterRule(_localctx, 166, RULE_lambdaParameters);
int _la;
try {
setState(1182);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,138,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1166);
match(IDENTIFIER);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1167);
match(LPAREN);
setState(1169);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << SHORT))) != 0) || _la==AT || _la==IDENTIFIER) {
{
setState(1168);
formalParameterList();
}
}
setState(1171);
match(RPAREN);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1172);
match(LPAREN);
setState(1173);
match(IDENTIFIER);
setState(1178);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1174);
match(COMMA);
setState(1175);
match(IDENTIFIER);
}
}
setState(1180);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1181);
match(RPAREN);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LambdaBodyContext extends ParserRuleContext {
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public LambdaBodyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lambdaBody; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterLambdaBody(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitLambdaBody(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitLambdaBody(this);
else return visitor.visitChildren(this);
}
}
public final LambdaBodyContext lambdaBody() throws RecognitionException {
LambdaBodyContext _localctx = new LambdaBodyContext(_ctx, getState());
enterRule(_localctx, 168, RULE_lambdaBody);
try {
setState(1186);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case NEW:
case SHORT:
case SUPER:
case THIS:
case VOID:
case DECIMAL_LITERAL:
case HEX_LITERAL:
case OCT_LITERAL:
case BINARY_LITERAL:
case FLOAT_LITERAL:
case HEX_FLOAT_LITERAL:
case BOOL_LITERAL:
case CHAR_LITERAL:
case STRING_LITERAL:
case NULL_LITERAL:
case LPAREN:
case LT:
case BANG:
case TILDE:
case INC:
case DEC:
case ADD:
case SUB:
case AT:
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(1184);
expression(0);
}
break;
case LBRACE:
enterOuterAlt(_localctx, 2);
{
setState(1185);
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 PrimaryContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public ExpressionContext expression() {
return getRuleContext(ExpressionContext.class,0);
}
public TerminalNode RPAREN() { return getToken(JavaParser.RPAREN, 0); }
public TerminalNode THIS() { return getToken(JavaParser.THIS, 0); }
public TerminalNode SUPER() { return getToken(JavaParser.SUPER, 0); }
public LiteralContext literal() {
return getRuleContext(LiteralContext.class,0);
}
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public TypeTypeOrVoidContext typeTypeOrVoid() {
return getRuleContext(TypeTypeOrVoidContext.class,0);
}
public TerminalNode DOT() { return getToken(JavaParser.DOT, 0); }
public TerminalNode CLASS() { return getToken(JavaParser.CLASS, 0); }
public NonWildcardTypeArgumentsContext nonWildcardTypeArguments() {
return getRuleContext(NonWildcardTypeArgumentsContext.class,0);
}
public ExplicitGenericInvocationSuffixContext explicitGenericInvocationSuffix() {
return getRuleContext(ExplicitGenericInvocationSuffixContext.class,0);
}
public ArgumentsContext arguments() {
return getRuleContext(ArgumentsContext.class,0);
}
public PrimaryContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_primary; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterPrimary(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitPrimary(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitPrimary(this);
else return visitor.visitChildren(this);
}
}
public final PrimaryContext primary() throws RecognitionException {
PrimaryContext _localctx = new PrimaryContext(_ctx, getState());
enterRule(_localctx, 170, RULE_primary);
try {
setState(1206);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,141,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1188);
match(LPAREN);
setState(1189);
expression(0);
setState(1190);
match(RPAREN);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1192);
match(THIS);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(1193);
match(SUPER);
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(1194);
literal();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(1195);
match(IDENTIFIER);
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(1196);
typeTypeOrVoid();
setState(1197);
match(DOT);
setState(1198);
match(CLASS);
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(1200);
nonWildcardTypeArguments();
setState(1204);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SUPER:
case IDENTIFIER:
{
setState(1201);
explicitGenericInvocationSuffix();
}
break;
case THIS:
{
setState(1202);
match(THIS);
setState(1203);
arguments();
}
break;
default:
throw new NoViableAltException(this);
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ClassTypeContext extends ParserRuleContext {
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public ClassOrInterfaceTypeContext classOrInterfaceType() {
return getRuleContext(ClassOrInterfaceTypeContext.class,0);
}
public TerminalNode DOT() { return getToken(JavaParser.DOT, 0); }
public List annotation() {
return getRuleContexts(AnnotationContext.class);
}
public AnnotationContext annotation(int i) {
return getRuleContext(AnnotationContext.class,i);
}
public TypeArgumentsContext typeArguments() {
return getRuleContext(TypeArgumentsContext.class,0);
}
public ClassTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterClassType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitClassType(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitClassType(this);
else return visitor.visitChildren(this);
}
}
public final ClassTypeContext classType() throws RecognitionException {
ClassTypeContext _localctx = new ClassTypeContext(_ctx, getState());
enterRule(_localctx, 172, RULE_classType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1211);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,142,_ctx) ) {
case 1:
{
setState(1208);
classOrInterfaceType();
setState(1209);
match(DOT);
}
break;
}
setState(1216);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==AT) {
{
{
setState(1213);
annotation();
}
}
setState(1218);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1219);
match(IDENTIFIER);
setState(1221);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(1220);
typeArguments();
}
}
}
}
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 NonWildcardTypeArgumentsContext nonWildcardTypeArguments() {
return getRuleContext(NonWildcardTypeArgumentsContext.class,0);
}
public CreatedNameContext createdName() {
return getRuleContext(CreatedNameContext.class,0);
}
public ClassCreatorRestContext classCreatorRest() {
return getRuleContext(ClassCreatorRestContext.class,0);
}
public ArrayCreatorRestContext arrayCreatorRest() {
return getRuleContext(ArrayCreatorRestContext.class,0);
}
public CreatorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_creator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterCreator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitCreator(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitCreator(this);
else return visitor.visitChildren(this);
}
}
public final CreatorContext creator() throws RecognitionException {
CreatorContext _localctx = new CreatorContext(_ctx, getState());
enterRule(_localctx, 174, RULE_creator);
try {
setState(1232);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LT:
enterOuterAlt(_localctx, 1);
{
setState(1223);
nonWildcardTypeArguments();
setState(1224);
createdName();
setState(1225);
classCreatorRest();
}
break;
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case SHORT:
case IDENTIFIER:
enterOuterAlt(_localctx, 2);
{
setState(1227);
createdName();
setState(1230);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LBRACK:
{
setState(1228);
arrayCreatorRest();
}
break;
case LPAREN:
{
setState(1229);
classCreatorRest();
}
break;
default:
throw new NoViableAltException(this);
}
}
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 CreatedNameContext extends ParserRuleContext {
public List IDENTIFIER() { return getTokens(JavaParser.IDENTIFIER); }
public TerminalNode IDENTIFIER(int i) {
return getToken(JavaParser.IDENTIFIER, i);
}
public List typeArgumentsOrDiamond() {
return getRuleContexts(TypeArgumentsOrDiamondContext.class);
}
public TypeArgumentsOrDiamondContext typeArgumentsOrDiamond(int i) {
return getRuleContext(TypeArgumentsOrDiamondContext.class,i);
}
public List DOT() { return getTokens(JavaParser.DOT); }
public TerminalNode DOT(int i) {
return getToken(JavaParser.DOT, i);
}
public PrimitiveTypeContext primitiveType() {
return getRuleContext(PrimitiveTypeContext.class,0);
}
public CreatedNameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_createdName; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterCreatedName(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitCreatedName(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitCreatedName(this);
else return visitor.visitChildren(this);
}
}
public final CreatedNameContext createdName() throws RecognitionException {
CreatedNameContext _localctx = new CreatedNameContext(_ctx, getState());
enterRule(_localctx, 176, RULE_createdName);
int _la;
try {
setState(1249);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IDENTIFIER:
enterOuterAlt(_localctx, 1);
{
setState(1234);
match(IDENTIFIER);
setState(1236);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(1235);
typeArgumentsOrDiamond();
}
}
setState(1245);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==DOT) {
{
{
setState(1238);
match(DOT);
setState(1239);
match(IDENTIFIER);
setState(1241);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(1240);
typeArgumentsOrDiamond();
}
}
}
}
setState(1247);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
break;
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case SHORT:
enterOuterAlt(_localctx, 2);
{
setState(1248);
primitiveType();
}
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 InnerCreatorContext extends ParserRuleContext {
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public ClassCreatorRestContext classCreatorRest() {
return getRuleContext(ClassCreatorRestContext.class,0);
}
public NonWildcardTypeArgumentsOrDiamondContext nonWildcardTypeArgumentsOrDiamond() {
return getRuleContext(NonWildcardTypeArgumentsOrDiamondContext.class,0);
}
public InnerCreatorContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_innerCreator; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterInnerCreator(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitInnerCreator(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitInnerCreator(this);
else return visitor.visitChildren(this);
}
}
public final InnerCreatorContext innerCreator() throws RecognitionException {
InnerCreatorContext _localctx = new InnerCreatorContext(_ctx, getState());
enterRule(_localctx, 178, RULE_innerCreator);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1251);
match(IDENTIFIER);
setState(1253);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==LT) {
{
setState(1252);
nonWildcardTypeArgumentsOrDiamond();
}
}
setState(1255);
classCreatorRest();
}
}
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 List LBRACK() { return getTokens(JavaParser.LBRACK); }
public TerminalNode LBRACK(int i) {
return getToken(JavaParser.LBRACK, i);
}
public List RBRACK() { return getTokens(JavaParser.RBRACK); }
public TerminalNode RBRACK(int i) {
return getToken(JavaParser.RBRACK, i);
}
public ArrayInitializerContext arrayInitializer() {
return getRuleContext(ArrayInitializerContext.class,0);
}
public List expression() {
return getRuleContexts(ExpressionContext.class);
}
public ExpressionContext expression(int i) {
return getRuleContext(ExpressionContext.class,i);
}
public ArrayCreatorRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_arrayCreatorRest; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterArrayCreatorRest(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitArrayCreatorRest(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitArrayCreatorRest(this);
else return visitor.visitChildren(this);
}
}
public final ArrayCreatorRestContext arrayCreatorRest() throws RecognitionException {
ArrayCreatorRestContext _localctx = new ArrayCreatorRestContext(_ctx, getState());
enterRule(_localctx, 180, RULE_arrayCreatorRest);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1257);
match(LBRACK);
setState(1285);
_errHandler.sync(this);
switch (_input.LA(1)) {
case RBRACK:
{
setState(1258);
match(RBRACK);
setState(1263);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==LBRACK) {
{
{
setState(1259);
match(LBRACK);
setState(1260);
match(RBRACK);
}
}
setState(1265);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1266);
arrayInitializer();
}
break;
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case NEW:
case SHORT:
case SUPER:
case THIS:
case VOID:
case DECIMAL_LITERAL:
case HEX_LITERAL:
case OCT_LITERAL:
case BINARY_LITERAL:
case FLOAT_LITERAL:
case HEX_FLOAT_LITERAL:
case BOOL_LITERAL:
case CHAR_LITERAL:
case STRING_LITERAL:
case NULL_LITERAL:
case LPAREN:
case LT:
case BANG:
case TILDE:
case INC:
case DEC:
case ADD:
case SUB:
case AT:
case IDENTIFIER:
{
setState(1267);
expression(0);
setState(1268);
match(RBRACK);
setState(1275);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,153,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1269);
match(LBRACK);
setState(1270);
expression(0);
setState(1271);
match(RBRACK);
}
}
}
setState(1277);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,153,_ctx);
}
setState(1282);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,154,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1278);
match(LBRACK);
setState(1279);
match(RBRACK);
}
}
}
setState(1284);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,154,_ctx);
}
}
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 ClassCreatorRestContext extends ParserRuleContext {
public ArgumentsContext arguments() {
return getRuleContext(ArgumentsContext.class,0);
}
public ClassBodyContext classBody() {
return getRuleContext(ClassBodyContext.class,0);
}
public ClassCreatorRestContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_classCreatorRest; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterClassCreatorRest(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitClassCreatorRest(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitClassCreatorRest(this);
else return visitor.visitChildren(this);
}
}
public final ClassCreatorRestContext classCreatorRest() throws RecognitionException {
ClassCreatorRestContext _localctx = new ClassCreatorRestContext(_ctx, getState());
enterRule(_localctx, 182, RULE_classCreatorRest);
try {
enterOuterAlt(_localctx, 1);
{
setState(1287);
arguments();
setState(1289);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,156,_ctx) ) {
case 1:
{
setState(1288);
classBody();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ExplicitGenericInvocationContext extends ParserRuleContext {
public NonWildcardTypeArgumentsContext nonWildcardTypeArguments() {
return getRuleContext(NonWildcardTypeArgumentsContext.class,0);
}
public ExplicitGenericInvocationSuffixContext explicitGenericInvocationSuffix() {
return getRuleContext(ExplicitGenericInvocationSuffixContext.class,0);
}
public ExplicitGenericInvocationContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_explicitGenericInvocation; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterExplicitGenericInvocation(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitExplicitGenericInvocation(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitExplicitGenericInvocation(this);
else return visitor.visitChildren(this);
}
}
public final ExplicitGenericInvocationContext explicitGenericInvocation() throws RecognitionException {
ExplicitGenericInvocationContext _localctx = new ExplicitGenericInvocationContext(_ctx, getState());
enterRule(_localctx, 184, RULE_explicitGenericInvocation);
try {
enterOuterAlt(_localctx, 1);
{
setState(1291);
nonWildcardTypeArguments();
setState(1292);
explicitGenericInvocationSuffix();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TypeArgumentsOrDiamondContext extends ParserRuleContext {
public TerminalNode LT() { return getToken(JavaParser.LT, 0); }
public TerminalNode GT() { return getToken(JavaParser.GT, 0); }
public TypeArgumentsContext typeArguments() {
return getRuleContext(TypeArgumentsContext.class,0);
}
public TypeArgumentsOrDiamondContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeArgumentsOrDiamond; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeArgumentsOrDiamond(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeArgumentsOrDiamond(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeArgumentsOrDiamond(this);
else return visitor.visitChildren(this);
}
}
public final TypeArgumentsOrDiamondContext typeArgumentsOrDiamond() throws RecognitionException {
TypeArgumentsOrDiamondContext _localctx = new TypeArgumentsOrDiamondContext(_ctx, getState());
enterRule(_localctx, 186, RULE_typeArgumentsOrDiamond);
try {
setState(1297);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,157,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1294);
match(LT);
setState(1295);
match(GT);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1296);
typeArguments();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class NonWildcardTypeArgumentsOrDiamondContext extends ParserRuleContext {
public TerminalNode LT() { return getToken(JavaParser.LT, 0); }
public TerminalNode GT() { return getToken(JavaParser.GT, 0); }
public NonWildcardTypeArgumentsContext nonWildcardTypeArguments() {
return getRuleContext(NonWildcardTypeArgumentsContext.class,0);
}
public NonWildcardTypeArgumentsOrDiamondContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_nonWildcardTypeArgumentsOrDiamond; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterNonWildcardTypeArgumentsOrDiamond(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitNonWildcardTypeArgumentsOrDiamond(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitNonWildcardTypeArgumentsOrDiamond(this);
else return visitor.visitChildren(this);
}
}
public final NonWildcardTypeArgumentsOrDiamondContext nonWildcardTypeArgumentsOrDiamond() throws RecognitionException {
NonWildcardTypeArgumentsOrDiamondContext _localctx = new NonWildcardTypeArgumentsOrDiamondContext(_ctx, getState());
enterRule(_localctx, 188, RULE_nonWildcardTypeArgumentsOrDiamond);
try {
setState(1302);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,158,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(1299);
match(LT);
setState(1300);
match(GT);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(1301);
nonWildcardTypeArguments();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class NonWildcardTypeArgumentsContext extends ParserRuleContext {
public TerminalNode LT() { return getToken(JavaParser.LT, 0); }
public TypeListContext typeList() {
return getRuleContext(TypeListContext.class,0);
}
public TerminalNode GT() { return getToken(JavaParser.GT, 0); }
public NonWildcardTypeArgumentsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_nonWildcardTypeArguments; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterNonWildcardTypeArguments(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitNonWildcardTypeArguments(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitNonWildcardTypeArguments(this);
else return visitor.visitChildren(this);
}
}
public final NonWildcardTypeArgumentsContext nonWildcardTypeArguments() throws RecognitionException {
NonWildcardTypeArgumentsContext _localctx = new NonWildcardTypeArgumentsContext(_ctx, getState());
enterRule(_localctx, 190, RULE_nonWildcardTypeArguments);
try {
enterOuterAlt(_localctx, 1);
{
setState(1304);
match(LT);
setState(1305);
typeList();
setState(1306);
match(GT);
}
}
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 typeType() {
return getRuleContexts(TypeTypeContext.class);
}
public TypeTypeContext typeType(int i) {
return getRuleContext(TypeTypeContext.class,i);
}
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public TypeListContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeList; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeList(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeList(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeList(this);
else return visitor.visitChildren(this);
}
}
public final TypeListContext typeList() throws RecognitionException {
TypeListContext _localctx = new TypeListContext(_ctx, getState());
enterRule(_localctx, 192, RULE_typeList);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1308);
typeType();
setState(1313);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1309);
match(COMMA);
setState(1310);
typeType();
}
}
setState(1315);
_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 TypeTypeContext extends ParserRuleContext {
public ClassOrInterfaceTypeContext classOrInterfaceType() {
return getRuleContext(ClassOrInterfaceTypeContext.class,0);
}
public PrimitiveTypeContext primitiveType() {
return getRuleContext(PrimitiveTypeContext.class,0);
}
public AnnotationContext annotation() {
return getRuleContext(AnnotationContext.class,0);
}
public List LBRACK() { return getTokens(JavaParser.LBRACK); }
public TerminalNode LBRACK(int i) {
return getToken(JavaParser.LBRACK, i);
}
public List RBRACK() { return getTokens(JavaParser.RBRACK); }
public TerminalNode RBRACK(int i) {
return getToken(JavaParser.RBRACK, i);
}
public TypeTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeType(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeType(this);
else return visitor.visitChildren(this);
}
}
public final TypeTypeContext typeType() throws RecognitionException {
TypeTypeContext _localctx = new TypeTypeContext(_ctx, getState());
enterRule(_localctx, 194, RULE_typeType);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(1317);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==AT) {
{
setState(1316);
annotation();
}
}
setState(1321);
_errHandler.sync(this);
switch (_input.LA(1)) {
case IDENTIFIER:
{
setState(1319);
classOrInterfaceType();
}
break;
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case SHORT:
{
setState(1320);
primitiveType();
}
break;
default:
throw new NoViableAltException(this);
}
setState(1327);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,162,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(1323);
match(LBRACK);
setState(1324);
match(RBRACK);
}
}
}
setState(1329);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,162,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class PrimitiveTypeContext extends ParserRuleContext {
public TerminalNode BOOLEAN() { return getToken(JavaParser.BOOLEAN, 0); }
public TerminalNode CHAR() { return getToken(JavaParser.CHAR, 0); }
public TerminalNode BYTE() { return getToken(JavaParser.BYTE, 0); }
public TerminalNode SHORT() { return getToken(JavaParser.SHORT, 0); }
public TerminalNode INT() { return getToken(JavaParser.INT, 0); }
public TerminalNode LONG() { return getToken(JavaParser.LONG, 0); }
public TerminalNode FLOAT() { return getToken(JavaParser.FLOAT, 0); }
public TerminalNode DOUBLE() { return getToken(JavaParser.DOUBLE, 0); }
public PrimitiveTypeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_primitiveType; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterPrimitiveType(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitPrimitiveType(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitPrimitiveType(this);
else return visitor.visitChildren(this);
}
}
public final PrimitiveTypeContext primitiveType() throws RecognitionException {
PrimitiveTypeContext _localctx = new PrimitiveTypeContext(_ctx, getState());
enterRule(_localctx, 196, RULE_primitiveType);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1330);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << SHORT))) != 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 TypeArgumentsContext extends ParserRuleContext {
public TerminalNode LT() { return getToken(JavaParser.LT, 0); }
public List typeArgument() {
return getRuleContexts(TypeArgumentContext.class);
}
public TypeArgumentContext typeArgument(int i) {
return getRuleContext(TypeArgumentContext.class,i);
}
public TerminalNode GT() { return getToken(JavaParser.GT, 0); }
public List COMMA() { return getTokens(JavaParser.COMMA); }
public TerminalNode COMMA(int i) {
return getToken(JavaParser.COMMA, i);
}
public TypeArgumentsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_typeArguments; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterTypeArguments(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitTypeArguments(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitTypeArguments(this);
else return visitor.visitChildren(this);
}
}
public final TypeArgumentsContext typeArguments() throws RecognitionException {
TypeArgumentsContext _localctx = new TypeArgumentsContext(_ctx, getState());
enterRule(_localctx, 198, RULE_typeArguments);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1332);
match(LT);
setState(1333);
typeArgument();
setState(1338);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==COMMA) {
{
{
setState(1334);
match(COMMA);
setState(1335);
typeArgument();
}
}
setState(1340);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(1341);
match(GT);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class SuperSuffixContext extends ParserRuleContext {
public ArgumentsContext arguments() {
return getRuleContext(ArgumentsContext.class,0);
}
public TerminalNode DOT() { return getToken(JavaParser.DOT, 0); }
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public SuperSuffixContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_superSuffix; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterSuperSuffix(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitSuperSuffix(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitSuperSuffix(this);
else return visitor.visitChildren(this);
}
}
public final SuperSuffixContext superSuffix() throws RecognitionException {
SuperSuffixContext _localctx = new SuperSuffixContext(_ctx, getState());
enterRule(_localctx, 200, RULE_superSuffix);
try {
setState(1349);
_errHandler.sync(this);
switch (_input.LA(1)) {
case LPAREN:
enterOuterAlt(_localctx, 1);
{
setState(1343);
arguments();
}
break;
case DOT:
enterOuterAlt(_localctx, 2);
{
setState(1344);
match(DOT);
setState(1345);
match(IDENTIFIER);
setState(1347);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,164,_ctx) ) {
case 1:
{
setState(1346);
arguments();
}
break;
}
}
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 ExplicitGenericInvocationSuffixContext extends ParserRuleContext {
public TerminalNode SUPER() { return getToken(JavaParser.SUPER, 0); }
public SuperSuffixContext superSuffix() {
return getRuleContext(SuperSuffixContext.class,0);
}
public TerminalNode IDENTIFIER() { return getToken(JavaParser.IDENTIFIER, 0); }
public ArgumentsContext arguments() {
return getRuleContext(ArgumentsContext.class,0);
}
public ExplicitGenericInvocationSuffixContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_explicitGenericInvocationSuffix; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterExplicitGenericInvocationSuffix(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitExplicitGenericInvocationSuffix(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitExplicitGenericInvocationSuffix(this);
else return visitor.visitChildren(this);
}
}
public final ExplicitGenericInvocationSuffixContext explicitGenericInvocationSuffix() throws RecognitionException {
ExplicitGenericInvocationSuffixContext _localctx = new ExplicitGenericInvocationSuffixContext(_ctx, getState());
enterRule(_localctx, 202, RULE_explicitGenericInvocationSuffix);
try {
setState(1355);
_errHandler.sync(this);
switch (_input.LA(1)) {
case SUPER:
enterOuterAlt(_localctx, 1);
{
setState(1351);
match(SUPER);
setState(1352);
superSuffix();
}
break;
case IDENTIFIER:
enterOuterAlt(_localctx, 2);
{
setState(1353);
match(IDENTIFIER);
setState(1354);
arguments();
}
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 ArgumentsContext extends ParserRuleContext {
public TerminalNode LPAREN() { return getToken(JavaParser.LPAREN, 0); }
public TerminalNode RPAREN() { return getToken(JavaParser.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; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).enterArguments(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof JavaParserListener ) ((JavaParserListener)listener).exitArguments(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof JavaParserVisitor ) return ((JavaParserVisitor extends T>)visitor).visitArguments(this);
else return visitor.visitChildren(this);
}
}
public final ArgumentsContext arguments() throws RecognitionException {
ArgumentsContext _localctx = new ArgumentsContext(_ctx, getState());
enterRule(_localctx, 204, RULE_arguments);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(1357);
match(LPAREN);
setState(1359);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << NEW) | (1L << SHORT) | (1L << SUPER) | (1L << THIS) | (1L << VOID) | (1L << DECIMAL_LITERAL) | (1L << HEX_LITERAL) | (1L << OCT_LITERAL) | (1L << BINARY_LITERAL) | (1L << FLOAT_LITERAL) | (1L << HEX_FLOAT_LITERAL) | (1L << BOOL_LITERAL) | (1L << CHAR_LITERAL) | (1L << STRING_LITERAL) | (1L << NULL_LITERAL) | (1L << LPAREN))) != 0) || ((((_la - 72)) & ~0x3f) == 0 && ((1L << (_la - 72)) & ((1L << (LT - 72)) | (1L << (BANG - 72)) | (1L << (TILDE - 72)) | (1L << (INC - 72)) | (1L << (DEC - 72)) | (1L << (ADD - 72)) | (1L << (SUB - 72)) | (1L << (AT - 72)) | (1L << (IDENTIFIER - 72)))) != 0)) {
{
setState(1358);
expressionList();
}
}
setState(1361);
match(RPAREN);
}
}
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 81:
return expression_sempred((ExpressionContext)_localctx, predIndex);
}
return true;
}
private boolean expression_sempred(ExpressionContext _localctx, int predIndex) {
switch (predIndex) {
case 0:
return precpred(_ctx, 17);
case 1:
return precpred(_ctx, 16);
case 2:
return precpred(_ctx, 15);
case 3:
return precpred(_ctx, 14);
case 4:
return precpred(_ctx, 12);
case 5:
return precpred(_ctx, 11);
case 6:
return precpred(_ctx, 10);
case 7:
return precpred(_ctx, 9);
case 8:
return precpred(_ctx, 8);
case 9:
return precpred(_ctx, 7);
case 10:
return precpred(_ctx, 6);
case 11:
return precpred(_ctx, 5);
case 12:
return precpred(_ctx, 25);
case 13:
return precpred(_ctx, 24);
case 14:
return precpred(_ctx, 23);
case 15:
return precpred(_ctx, 20);
case 16:
return precpred(_ctx, 13);
case 17:
return precpred(_ctx, 3);
}
return true;
}
public static final String _serializedATN =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3q\u0556\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\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\3\2\5\2\u00d2\n\2"+
"\3\2\7\2\u00d5\n\2\f\2\16\2\u00d8\13\2\3\2\7\2\u00db\n\2\f\2\16\2\u00de"+
"\13\2\3\2\3\2\3\3\7\3\u00e3\n\3\f\3\16\3\u00e6\13\3\3\3\3\3\3\3\3\3\3"+
"\4\3\4\5\4\u00ee\n\4\3\4\3\4\3\4\5\4\u00f3\n\4\3\4\3\4\3\5\7\5\u00f8\n"+
"\5\f\5\16\5\u00fb\13\5\3\5\3\5\3\5\3\5\5\5\u0101\n\5\3\5\5\5\u0104\n\5"+
"\3\6\3\6\3\6\3\6\3\6\5\6\u010b\n\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\5\7"+
"\u0115\n\7\3\b\3\b\5\b\u0119\n\b\3\t\3\t\3\t\5\t\u011e\n\t\3\t\3\t\5\t"+
"\u0122\n\t\3\t\3\t\5\t\u0126\n\t\3\t\3\t\3\n\3\n\3\n\3\n\7\n\u012e\n\n"+
"\f\n\16\n\u0131\13\n\3\n\3\n\3\13\7\13\u0136\n\13\f\13\16\13\u0139\13"+
"\13\3\13\3\13\3\13\5\13\u013e\n\13\3\f\3\f\3\f\7\f\u0143\n\f\f\f\16\f"+
"\u0146\13\f\3\r\3\r\3\r\3\r\5\r\u014c\n\r\3\r\3\r\5\r\u0150\n\r\3\r\5"+
"\r\u0153\n\r\3\r\5\r\u0156\n\r\3\r\3\r\3\16\3\16\3\16\7\16\u015d\n\16"+
"\f\16\16\16\u0160\13\16\3\17\7\17\u0163\n\17\f\17\16\17\u0166\13\17\3"+
"\17\3\17\5\17\u016a\n\17\3\17\5\17\u016d\n\17\3\20\3\20\7\20\u0171\n\20"+
"\f\20\16\20\u0174\13\20\3\21\3\21\3\21\5\21\u0179\n\21\3\21\3\21\5\21"+
"\u017d\n\21\3\21\3\21\3\22\3\22\7\22\u0183\n\22\f\22\16\22\u0186\13\22"+
"\3\22\3\22\3\23\3\23\7\23\u018c\n\23\f\23\16\23\u018f\13\23\3\23\3\23"+
"\3\24\3\24\5\24\u0195\n\24\3\24\3\24\7\24\u0199\n\24\f\24\16\24\u019c"+
"\13\24\3\24\5\24\u019f\n\24\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3"+
"\25\5\25\u01aa\n\25\3\26\3\26\3\26\3\26\3\26\7\26\u01b1\n\26\f\26\16\26"+
"\u01b4\13\26\3\26\3\26\5\26\u01b8\n\26\3\26\3\26\3\27\3\27\5\27\u01be"+
"\n\27\3\30\3\30\5\30\u01c2\n\30\3\31\3\31\3\31\3\32\3\32\3\32\3\33\3\33"+
"\3\33\3\33\5\33\u01ce\n\33\3\33\3\33\3\34\3\34\3\34\3\34\3\35\7\35\u01d7"+
"\n\35\f\35\16\35\u01da\13\35\3\35\3\35\5\35\u01de\n\35\3\36\3\36\3\36"+
"\3\36\3\36\3\36\3\36\5\36\u01e7\n\36\3\37\3\37\3\37\3\37\7\37\u01ed\n"+
"\37\f\37\16\37\u01f0\13\37\3\37\3\37\3 \3 \3 \7 \u01f7\n \f \16 \u01fa"+
"\13 \3 \3 \3 \3!\7!\u0200\n!\f!\16!\u0203\13!\3!\3!\3!\7!\u0208\n!\f!"+
"\16!\u020b\13!\3!\3!\5!\u020f\n!\3!\3!\3!\3!\7!\u0215\n!\f!\16!\u0218"+
"\13!\3!\3!\5!\u021c\n!\3!\3!\3\"\3\"\3\"\3\"\3\"\3\"\5\"\u0226\n\"\3#"+
"\3#\3#\3$\3$\3$\7$\u022e\n$\f$\16$\u0231\13$\3%\3%\3%\5%\u0236\n%\3&\3"+
"&\3&\7&\u023b\n&\f&\16&\u023e\13&\3\'\3\'\5\'\u0242\n\'\3(\3(\3(\3(\7"+
"(\u0248\n(\f(\16(\u024b\13(\3(\5(\u024e\n(\5(\u0250\n(\3(\3(\3)\3)\5)"+
"\u0256\n)\3)\3)\3)\5)\u025b\n)\7)\u025d\n)\f)\16)\u0260\13)\3*\3*\3*\3"+
"*\5*\u0266\n*\5*\u0268\n*\3+\3+\3+\7+\u026d\n+\f+\16+\u0270\13+\3,\3,"+
"\5,\u0274\n,\3,\3,\3-\3-\3-\7-\u027b\n-\f-\16-\u027e\13-\3-\3-\5-\u0282"+
"\n-\3-\5-\u0285\n-\3.\7.\u0288\n.\f.\16.\u028b\13.\3.\3.\3.\3/\7/\u0291"+
"\n/\f/\16/\u0294\13/\3/\3/\3/\3/\3\60\3\60\3\60\7\60\u029d\n\60\f\60\16"+
"\60\u02a0\13\60\3\61\3\61\3\61\3\61\3\61\3\61\5\61\u02a8\n\61\3\62\3\62"+
"\3\63\3\63\3\64\3\64\3\64\3\64\3\64\5\64\u02b3\n\64\3\64\5\64\u02b6\n"+
"\64\3\65\3\65\3\65\7\65\u02bb\n\65\f\65\16\65\u02be\13\65\3\66\3\66\3"+
"\66\3\66\3\67\3\67\3\67\5\67\u02c7\n\67\38\38\38\38\78\u02cd\n8\f8\16"+
"8\u02d0\138\58\u02d2\n8\38\58\u02d5\n8\38\38\39\39\39\39\39\3:\3:\7:\u02e0"+
"\n:\f:\16:\u02e3\13:\3:\3:\3;\7;\u02e8\n;\f;\16;\u02eb\13;\3;\3;\5;\u02ef"+
"\n;\3<\3<\3<\3<\3<\3<\5<\u02f7\n<\3<\3<\5<\u02fb\n<\3<\3<\5<\u02ff\n<"+
"\3<\3<\5<\u0303\n<\5<\u0305\n<\3=\3=\5=\u0309\n=\3>\3>\3>\3>\5>\u030f"+
"\n>\3?\3?\3@\3@\3@\3A\3A\7A\u0318\nA\fA\16A\u031b\13A\3A\3A\3B\3B\3B\3"+
"B\3B\5B\u0324\nB\3C\7C\u0327\nC\fC\16C\u032a\13C\3C\3C\3C\3D\7D\u0330"+
"\nD\fD\16D\u0333\13D\3D\3D\5D\u0337\nD\3D\5D\u033a\nD\3E\3E\3E\3E\3E\5"+
"E\u0341\nE\3E\3E\3E\3E\3E\3E\3E\5E\u034a\nE\3E\3E\3E\3E\3E\3E\3E\3E\3"+
"E\3E\3E\3E\3E\3E\3E\3E\3E\3E\3E\6E\u035f\nE\rE\16E\u0360\3E\5E\u0364\n"+
"E\3E\5E\u0367\nE\3E\3E\3E\3E\7E\u036d\nE\fE\16E\u0370\13E\3E\5E\u0373"+
"\nE\3E\3E\3E\3E\7E\u0379\nE\fE\16E\u037c\13E\3E\7E\u037f\nE\fE\16E\u0382"+
"\13E\3E\3E\3E\3E\3E\3E\3E\3E\5E\u038c\nE\3E\3E\3E\3E\3E\3E\3E\5E\u0395"+
"\nE\3E\3E\3E\5E\u039a\nE\3E\3E\3E\3E\3E\3E\3E\3E\5E\u03a4\nE\3F\3F\3F"+
"\7F\u03a9\nF\fF\16F\u03ac\13F\3F\3F\3F\3F\3F\3G\3G\3G\7G\u03b6\nG\fG\16"+
"G\u03b9\13G\3H\3H\3H\3I\3I\3I\5I\u03c1\nI\3I\3I\3J\3J\3J\7J\u03c8\nJ\f"+
"J\16J\u03cb\13J\3K\7K\u03ce\nK\fK\16K\u03d1\13K\3K\3K\3K\3K\3K\3L\6L\u03d9"+
"\nL\rL\16L\u03da\3L\6L\u03de\nL\rL\16L\u03df\3M\3M\3M\5M\u03e5\nM\3M\3"+
"M\3M\5M\u03ea\nM\3N\3N\5N\u03ee\nN\3N\3N\5N\u03f2\nN\3N\3N\5N\u03f6\n"+
"N\5N\u03f8\nN\3O\3O\5O\u03fc\nO\3P\7P\u03ff\nP\fP\16P\u0402\13P\3P\3P"+
"\3P\3P\3P\3Q\3Q\3Q\3Q\3R\3R\3R\7R\u0410\nR\fR\16R\u0413\13R\3S\3S\3S\3"+
"S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\5S\u0426\nS\3S\3S\5S\u042a\n"+
"S\3S\3S\3S\5S\u042f\nS\3S\3S\5S\u0433\nS\3S\3S\3S\3S\3S\3S\3S\3S\3S\3"+
"S\3S\3S\3S\3S\5S\u0443\nS\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3"+
"S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\3S\5"+
"S\u046a\nS\3S\3S\3S\3S\5S\u0470\nS\3S\3S\3S\3S\3S\3S\3S\3S\5S\u047a\n"+
"S\3S\3S\3S\3S\3S\3S\3S\3S\3S\5S\u0485\nS\3S\7S\u0488\nS\fS\16S\u048b\13"+
"S\3T\3T\3T\3T\3U\3U\3U\5U\u0494\nU\3U\3U\3U\3U\3U\7U\u049b\nU\fU\16U\u049e"+
"\13U\3U\5U\u04a1\nU\3V\3V\5V\u04a5\nV\3W\3W\3W\3W\3W\3W\3W\3W\3W\3W\3"+
"W\3W\3W\3W\3W\3W\5W\u04b7\nW\5W\u04b9\nW\3X\3X\3X\5X\u04be\nX\3X\7X\u04c1"+
"\nX\fX\16X\u04c4\13X\3X\3X\5X\u04c8\nX\3Y\3Y\3Y\3Y\3Y\3Y\3Y\5Y\u04d1\n"+
"Y\5Y\u04d3\nY\3Z\3Z\5Z\u04d7\nZ\3Z\3Z\3Z\5Z\u04dc\nZ\7Z\u04de\nZ\fZ\16"+
"Z\u04e1\13Z\3Z\5Z\u04e4\nZ\3[\3[\5[\u04e8\n[\3[\3[\3\\\3\\\3\\\3\\\7\\"+
"\u04f0\n\\\f\\\16\\\u04f3\13\\\3\\\3\\\3\\\3\\\3\\\3\\\3\\\7\\\u04fc\n"+
"\\\f\\\16\\\u04ff\13\\\3\\\3\\\7\\\u0503\n\\\f\\\16\\\u0506\13\\\5\\\u0508"+
"\n\\\3]\3]\5]\u050c\n]\3^\3^\3^\3_\3_\3_\5_\u0514\n_\3`\3`\3`\5`\u0519"+
"\n`\3a\3a\3a\3a\3b\3b\3b\7b\u0522\nb\fb\16b\u0525\13b\3c\5c\u0528\nc\3"+
"c\3c\5c\u052c\nc\3c\3c\7c\u0530\nc\fc\16c\u0533\13c\3d\3d\3e\3e\3e\3e"+
"\7e\u053b\ne\fe\16e\u053e\13e\3e\3e\3f\3f\3f\3f\5f\u0546\nf\5f\u0548\n"+
"f\3g\3g\3g\3g\5g\u054e\ng\3h\3h\5h\u0552\nh\3h\3h\3h\2\3\u00a4i\2\4\6"+
"\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFHJLNPRT"+
"VXZ\\^`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\u00b4\u00b6\u00b8\u00ba\u00bc\u00be"+
"\u00c0\u00c2\u00c4\u00c6\u00c8\u00ca\u00cc\u00ce\2\16\4\2\23\23**\3\2"+
"\658\3\29:\3\2UX\3\2KL\4\2YZ^^\3\2WX\4\2IJPQ\4\2OORR\4\2HH_i\3\2UV\n\2"+
"\5\5\7\7\n\n\20\20\26\26\35\35\37\37\'\'\2\u05eb\2\u00d1\3\2\2\2\4\u00e4"+
"\3\2\2\2\6\u00eb\3\2\2\2\b\u0103\3\2\2\2\n\u010a\3\2\2\2\f\u0114\3\2\2"+
"\2\16\u0118\3\2\2\2\20\u011a\3\2\2\2\22\u0129\3\2\2\2\24\u0137\3\2\2\2"+
"\26\u013f\3\2\2\2\30\u0147\3\2\2\2\32\u0159\3\2\2\2\34\u0164\3\2\2\2\36"+
"\u016e\3\2\2\2 \u0175\3\2\2\2\"\u0180\3\2\2\2$\u0189\3\2\2\2&\u019e\3"+
"\2\2\2(\u01a9\3\2\2\2*\u01ab\3\2\2\2,\u01bd\3\2\2\2.\u01c1\3\2\2\2\60"+
"\u01c3\3\2\2\2\62\u01c6\3\2\2\2\64\u01c9\3\2\2\2\66\u01d1\3\2\2\28\u01dd"+
"\3\2\2\2:\u01e6\3\2\2\2<\u01e8\3\2\2\2>\u01f3\3\2\2\2@\u0201\3\2\2\2B"+
"\u0225\3\2\2\2D\u0227\3\2\2\2F\u022a\3\2\2\2H\u0232\3\2\2\2J\u0237\3\2"+
"\2\2L\u0241\3\2\2\2N\u0243\3\2\2\2P\u0253\3\2\2\2R\u0267\3\2\2\2T\u0269"+
"\3\2\2\2V\u0271\3\2\2\2X\u0284\3\2\2\2Z\u0289\3\2\2\2\\\u0292\3\2\2\2"+
"^\u0299\3\2\2\2`\u02a7\3\2\2\2b\u02a9\3\2\2\2d\u02ab\3\2\2\2f\u02ad\3"+
"\2\2\2h\u02b7\3\2\2\2j\u02bf\3\2\2\2l\u02c6\3\2\2\2n\u02c8\3\2\2\2p\u02d8"+
"\3\2\2\2r\u02dd\3\2\2\2t\u02ee\3\2\2\2v\u0304\3\2\2\2x\u0308\3\2\2\2z"+
"\u030a\3\2\2\2|\u0310\3\2\2\2~\u0312\3\2\2\2\u0080\u0315\3\2\2\2\u0082"+
"\u0323\3\2\2\2\u0084\u0328\3\2\2\2\u0086\u0339\3\2\2\2\u0088\u03a3\3\2"+
"\2\2\u008a\u03a5\3\2\2\2\u008c\u03b2\3\2\2\2\u008e\u03ba\3\2\2\2\u0090"+
"\u03bd\3\2\2\2\u0092\u03c4\3\2\2\2\u0094\u03cf\3\2\2\2\u0096\u03d8\3\2"+
"\2\2\u0098\u03e9\3\2\2\2\u009a\u03f7\3\2\2\2\u009c\u03fb\3\2\2\2\u009e"+
"\u0400\3\2\2\2\u00a0\u0408\3\2\2\2\u00a2\u040c\3\2\2\2\u00a4\u0432\3\2"+
"\2\2\u00a6\u048c\3\2\2\2\u00a8\u04a0\3\2\2\2\u00aa\u04a4\3\2\2\2\u00ac"+
"\u04b8\3\2\2\2\u00ae\u04bd\3\2\2\2\u00b0\u04d2\3\2\2\2\u00b2\u04e3\3\2"+
"\2\2\u00b4\u04e5\3\2\2\2\u00b6\u04eb\3\2\2\2\u00b8\u0509\3\2\2\2\u00ba"+
"\u050d\3\2\2\2\u00bc\u0513\3\2\2\2\u00be\u0518\3\2\2\2\u00c0\u051a\3\2"+
"\2\2\u00c2\u051e\3\2\2\2\u00c4\u0527\3\2\2\2\u00c6\u0534\3\2\2\2\u00c8"+
"\u0536\3\2\2\2\u00ca\u0547\3\2\2\2\u00cc\u054d\3\2\2\2\u00ce\u054f\3\2"+
"\2\2\u00d0\u00d2\5\4\3\2\u00d1\u00d0\3\2\2\2\u00d1\u00d2\3\2\2\2\u00d2"+
"\u00d6\3\2\2\2\u00d3\u00d5\5\6\4\2\u00d4\u00d3\3\2\2\2\u00d5\u00d8\3\2"+
"\2\2\u00d6\u00d4\3\2\2\2\u00d6\u00d7\3\2\2\2\u00d7\u00dc\3\2\2\2\u00d8"+
"\u00d6\3\2\2\2\u00d9\u00db\5\b\5\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\u00e0\7\2\2\3\u00e0\3\3\2\2\2\u00e1\u00e3\5f\64\2"+
"\u00e2\u00e1\3\2\2\2\u00e3\u00e6\3\2\2\2\u00e4\u00e2\3\2\2\2\u00e4\u00e5"+
"\3\2\2\2\u00e5\u00e7\3\2\2\2\u00e6\u00e4\3\2\2\2\u00e7\u00e8\7\"\2\2\u00e8"+
"\u00e9\5^\60\2\u00e9\u00ea\7E\2\2\u00ea\5\3\2\2\2\u00eb\u00ed\7\33\2\2"+
"\u00ec\u00ee\7(\2\2\u00ed\u00ec\3\2\2\2\u00ed\u00ee\3\2\2\2\u00ee\u00ef"+
"\3\2\2\2\u00ef\u00f2\5^\60\2\u00f0\u00f1\7G\2\2\u00f1\u00f3\7Y\2\2\u00f2"+
"\u00f0\3\2\2\2\u00f2\u00f3\3\2\2\2\u00f3\u00f4\3\2\2\2\u00f4\u00f5\7E"+
"\2\2\u00f5\7\3\2\2\2\u00f6\u00f8\5\f\7\2\u00f7\u00f6\3\2\2\2\u00f8\u00fb"+
"\3\2\2\2\u00f9\u00f7\3\2\2\2\u00f9\u00fa\3\2\2\2\u00fa\u0100\3\2\2\2\u00fb"+
"\u00f9\3\2\2\2\u00fc\u0101\5\20\t\2\u00fd\u0101\5\30\r\2\u00fe\u0101\5"+
" \21\2\u00ff\u0101\5p9\2\u0100\u00fc\3\2\2\2\u0100\u00fd\3\2\2\2\u0100"+
"\u00fe\3\2\2\2\u0100\u00ff\3\2\2\2\u0101\u0104\3\2\2\2\u0102\u0104\7E"+
"\2\2\u0103\u00f9\3\2\2\2\u0103\u0102\3\2\2\2\u0104\t\3\2\2\2\u0105\u010b"+
"\5\f\7\2\u0106\u010b\7 \2\2\u0107\u010b\7,\2\2\u0108\u010b\7\60\2\2\u0109"+
"\u010b\7\63\2\2\u010a\u0105\3\2\2\2\u010a\u0106\3\2\2\2\u010a\u0107\3"+
"\2\2\2\u010a\u0108\3\2\2\2\u010a\u0109\3\2\2\2\u010b\13\3\2\2\2\u010c"+
"\u0115\5f\64\2\u010d\u0115\7%\2\2\u010e\u0115\7$\2\2\u010f\u0115\7#\2"+
"\2\u0110\u0115\7(\2\2\u0111\u0115\7\3\2\2\u0112\u0115\7\24\2\2\u0113\u0115"+
"\7)\2\2\u0114\u010c\3\2\2\2\u0114\u010d\3\2\2\2\u0114\u010e\3\2\2\2\u0114"+
"\u010f\3\2\2\2\u0114\u0110\3\2\2\2\u0114\u0111\3\2\2\2\u0114\u0112\3\2"+
"\2\2\u0114\u0113\3\2\2\2\u0115\r\3\2\2\2\u0116\u0119\7\24\2\2\u0117\u0119"+
"\5f\64\2\u0118\u0116\3\2\2\2\u0118\u0117\3\2\2\2\u0119\17\3\2\2\2\u011a"+
"\u011b\7\13\2\2\u011b\u011d\7q\2\2\u011c\u011e\5\22\n\2\u011d\u011c\3"+
"\2\2\2\u011d\u011e\3\2\2\2\u011e\u0121\3\2\2\2\u011f\u0120\7\23\2\2\u0120"+
"\u0122\5\u00c4c\2\u0121\u011f\3\2\2\2\u0121\u0122\3\2\2\2\u0122\u0125"+
"\3\2\2\2\u0123\u0124\7\32\2\2\u0124\u0126\5\u00c2b\2\u0125\u0123\3\2\2"+
"\2\u0125\u0126\3\2\2\2\u0126\u0127\3\2\2\2\u0127\u0128\5\"\22\2\u0128"+
"\21\3\2\2\2\u0129\u012a\7J\2\2\u012a\u012f\5\24\13\2\u012b\u012c\7F\2"+
"\2\u012c\u012e\5\24\13\2\u012d\u012b\3\2\2\2\u012e\u0131\3\2\2\2\u012f"+
"\u012d\3\2\2\2\u012f\u0130\3\2\2\2\u0130\u0132\3\2\2\2\u0131\u012f\3\2"+
"\2\2\u0132\u0133\7I\2\2\u0133\23\3\2\2\2\u0134\u0136\5f\64\2\u0135\u0134"+
"\3\2\2\2\u0136\u0139\3\2\2\2\u0137\u0135\3\2\2\2\u0137\u0138\3\2\2\2\u0138"+
"\u013a\3\2\2\2\u0139\u0137\3\2\2\2\u013a\u013d\7q\2\2\u013b\u013c\7\23"+
"\2\2\u013c\u013e\5\26\f\2\u013d\u013b\3\2\2\2\u013d\u013e\3\2\2\2\u013e"+
"\25\3\2\2\2\u013f\u0144\5\u00c4c\2\u0140\u0141\7[\2\2\u0141\u0143\5\u00c4"+
"c\2\u0142\u0140\3\2\2\2\u0143\u0146\3\2\2\2\u0144\u0142\3\2\2\2\u0144"+
"\u0145\3\2\2\2\u0145\27\3\2\2\2\u0146\u0144\3\2\2\2\u0147\u0148\7\22\2"+
"\2\u0148\u014b\7q\2\2\u0149\u014a\7\32\2\2\u014a\u014c\5\u00c2b\2\u014b"+
"\u0149\3\2\2\2\u014b\u014c\3\2\2\2\u014c\u014d\3\2\2\2\u014d\u014f\7A"+
"\2\2\u014e\u0150\5\32\16\2\u014f\u014e\3\2\2\2\u014f\u0150\3\2\2\2\u0150"+
"\u0152\3\2\2\2\u0151\u0153\7F\2\2\u0152\u0151\3\2\2\2\u0152\u0153\3\2"+
"\2\2\u0153\u0155\3\2\2\2\u0154\u0156\5\36\20\2\u0155\u0154\3\2\2\2\u0155"+
"\u0156\3\2\2\2\u0156\u0157\3\2\2\2\u0157\u0158\7B\2\2\u0158\31\3\2\2\2"+
"\u0159\u015e\5\34\17\2\u015a\u015b\7F\2\2\u015b\u015d\5\34\17\2\u015c"+
"\u015a\3\2\2\2\u015d\u0160\3\2\2\2\u015e\u015c\3\2\2\2\u015e\u015f\3\2"+
"\2\2\u015f\33\3\2\2\2\u0160\u015e\3\2\2\2\u0161\u0163\5f\64\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\u0169\7q\2\2\u0168\u016a\5\u00ce"+
"h\2\u0169\u0168\3\2\2\2\u0169\u016a\3\2\2\2\u016a\u016c\3\2\2\2\u016b"+
"\u016d\5\"\22\2\u016c\u016b\3\2\2\2\u016c\u016d\3\2\2\2\u016d\35\3\2\2"+
"\2\u016e\u0172\7E\2\2\u016f\u0171\5&\24\2\u0170\u016f\3\2\2\2\u0171\u0174"+
"\3\2\2\2\u0172\u0170\3\2\2\2\u0172\u0173\3\2\2\2\u0173\37\3\2\2\2\u0174"+
"\u0172\3\2\2\2\u0175\u0176\7\36\2\2\u0176\u0178\7q\2\2\u0177\u0179\5\22"+
"\n\2\u0178\u0177\3\2\2\2\u0178\u0179\3\2\2\2\u0179\u017c\3\2\2\2\u017a"+
"\u017b\7\23\2\2\u017b\u017d\5\u00c2b\2\u017c\u017a\3\2\2\2\u017c\u017d"+
"\3\2\2\2\u017d\u017e\3\2\2\2\u017e\u017f\5$\23\2\u017f!\3\2\2\2\u0180"+
"\u0184\7A\2\2\u0181\u0183\5&\24\2\u0182\u0181\3\2\2\2\u0183\u0186\3\2"+
"\2\2\u0184\u0182\3\2\2\2\u0184\u0185\3\2\2\2\u0185\u0187\3\2\2\2\u0186"+
"\u0184\3\2\2\2\u0187\u0188\7B\2\2\u0188#\3\2\2\2\u0189\u018d\7A\2\2\u018a"+
"\u018c\58\35\2\u018b\u018a\3\2\2\2\u018c\u018f\3\2\2\2\u018d\u018b\3\2"+
"\2\2\u018d\u018e\3\2\2\2\u018e\u0190\3\2\2\2\u018f\u018d\3\2\2\2\u0190"+
"\u0191\7B\2\2\u0191%\3\2\2\2\u0192\u019f\7E\2\2\u0193\u0195\7(\2\2\u0194"+
"\u0193\3\2\2\2\u0194\u0195\3\2\2\2\u0195\u0196\3\2\2\2\u0196\u019f\5\u0080"+
"A\2\u0197\u0199\5\n\6\2\u0198\u0197\3\2\2\2\u0199\u019c\3\2\2\2\u019a"+
"\u0198\3\2\2\2\u019a\u019b\3\2\2\2\u019b\u019d\3\2\2\2\u019c\u019a\3\2"+
"\2\2\u019d\u019f\5(\25\2\u019e\u0192\3\2\2\2\u019e\u0194\3\2\2\2\u019e"+
"\u019a\3\2\2\2\u019f\'\3\2\2\2\u01a0\u01aa\5*\26\2\u01a1\u01aa\5\60\31"+
"\2\u01a2\u01aa\5\66\34\2\u01a3\u01aa\5\64\33\2\u01a4\u01aa\5\62\32\2\u01a5"+
"\u01aa\5 \21\2\u01a6\u01aa\5p9\2\u01a7\u01aa\5\20\t\2\u01a8\u01aa\5\30"+
"\r\2\u01a9\u01a0\3\2\2\2\u01a9\u01a1\3\2\2\2\u01a9\u01a2\3\2\2\2\u01a9"+
"\u01a3\3\2\2\2\u01a9\u01a4\3\2\2\2\u01a9\u01a5\3\2\2\2\u01a9\u01a6\3\2"+
"\2\2\u01a9\u01a7\3\2\2\2\u01a9\u01a8\3\2\2\2\u01aa)\3\2\2\2\u01ab\u01ac"+
"\5.\30\2\u01ac\u01ad\7q\2\2\u01ad\u01b2\5V,\2\u01ae\u01af\7C\2\2\u01af"+
"\u01b1\7D\2\2\u01b0\u01ae\3\2\2\2\u01b1\u01b4\3\2\2\2\u01b2\u01b0\3\2"+
"\2\2\u01b2\u01b3\3\2\2\2\u01b3\u01b7\3\2\2\2\u01b4\u01b2\3\2\2\2\u01b5"+
"\u01b6\7/\2\2\u01b6\u01b8\5T+\2\u01b7\u01b5\3\2\2\2\u01b7\u01b8\3\2\2"+
"\2\u01b8\u01b9\3\2\2\2\u01b9\u01ba\5,\27\2\u01ba+\3\2\2\2\u01bb\u01be"+
"\5\u0080A\2\u01bc\u01be\7E\2\2\u01bd\u01bb\3\2\2\2\u01bd\u01bc\3\2\2\2"+
"\u01be-\3\2\2\2\u01bf\u01c2\5\u00c4c\2\u01c0\u01c2\7\62\2\2\u01c1\u01bf"+
"\3\2\2\2\u01c1\u01c0\3\2\2\2\u01c2/\3\2\2\2\u01c3\u01c4\5\22\n\2\u01c4"+
"\u01c5\5*\26\2\u01c5\61\3\2\2\2\u01c6\u01c7\5\22\n\2\u01c7\u01c8\5\64"+
"\33\2\u01c8\63\3\2\2\2\u01c9\u01ca\7q\2\2\u01ca\u01cd\5V,\2\u01cb\u01cc"+
"\7/\2\2\u01cc\u01ce\5T+\2\u01cd\u01cb\3\2\2\2\u01cd\u01ce\3\2\2\2\u01ce"+
"\u01cf\3\2\2\2\u01cf\u01d0\5\u0080A\2\u01d0\65\3\2\2\2\u01d1\u01d2\5\u00c4"+
"c\2\u01d2\u01d3\5F$\2\u01d3\u01d4\7E\2\2\u01d4\67\3\2\2\2\u01d5\u01d7"+
"\5\n\6\2\u01d6\u01d5\3\2\2\2\u01d7\u01da\3\2\2\2\u01d8\u01d6\3\2\2\2\u01d8"+
"\u01d9\3\2\2\2\u01d9\u01db\3\2\2\2\u01da\u01d8\3\2\2\2\u01db\u01de\5:"+
"\36\2\u01dc\u01de\7E\2\2\u01dd\u01d8\3\2\2\2\u01dd\u01dc\3\2\2\2\u01de"+
"9\3\2\2\2\u01df\u01e7\5<\37\2\u01e0\u01e7\5@!\2\u01e1\u01e7\5D#\2\u01e2"+
"\u01e7\5 \21\2\u01e3\u01e7\5p9\2\u01e4\u01e7\5\20\t\2\u01e5\u01e7\5\30"+
"\r\2\u01e6\u01df\3\2\2\2\u01e6\u01e0\3\2\2\2\u01e6\u01e1\3\2\2\2\u01e6"+
"\u01e2\3\2\2\2\u01e6\u01e3\3\2\2\2\u01e6\u01e4\3\2\2\2\u01e6\u01e5\3\2"+
"\2\2\u01e7;\3\2\2\2\u01e8\u01e9\5\u00c4c\2\u01e9\u01ee\5> \2\u01ea\u01eb"+
"\7F\2\2\u01eb\u01ed\5> \2\u01ec\u01ea\3\2\2\2\u01ed\u01f0\3\2\2\2\u01ee"+
"\u01ec\3\2\2\2\u01ee\u01ef\3\2\2\2\u01ef\u01f1\3\2\2\2\u01f0\u01ee\3\2"+
"\2\2\u01f1\u01f2\7E\2\2\u01f2=\3\2\2\2\u01f3\u01f8\7q\2\2\u01f4\u01f5"+
"\7C\2\2\u01f5\u01f7\7D\2\2\u01f6\u01f4\3\2\2\2\u01f7\u01fa\3\2\2\2\u01f8"+
"\u01f6\3\2\2\2\u01f8\u01f9\3\2\2\2\u01f9\u01fb\3\2\2\2\u01fa\u01f8\3\2"+
"\2\2\u01fb\u01fc\7H\2\2\u01fc\u01fd\5L\'\2\u01fd?\3\2\2\2\u01fe\u0200"+
"\5B\"\2\u01ff\u01fe\3\2\2\2\u0200\u0203\3\2\2\2\u0201\u01ff\3\2\2\2\u0201"+
"\u0202\3\2\2\2\u0202\u020e\3\2\2\2\u0203\u0201\3\2\2\2\u0204\u020f\5."+
"\30\2\u0205\u0209\5\22\n\2\u0206\u0208\5f\64\2\u0207\u0206\3\2\2\2\u0208"+
"\u020b\3\2\2\2\u0209\u0207\3\2\2\2\u0209\u020a\3\2\2\2\u020a\u020c\3\2"+
"\2\2\u020b\u0209\3\2\2\2\u020c\u020d\5.\30\2\u020d\u020f\3\2\2\2\u020e"+
"\u0204\3\2\2\2\u020e\u0205\3\2\2\2\u020f\u0210\3\2\2\2\u0210\u0211\7q"+
"\2\2\u0211\u0216\5V,\2\u0212\u0213\7C\2\2\u0213\u0215\7D\2\2\u0214\u0212"+
"\3\2\2\2\u0215\u0218\3\2\2\2\u0216\u0214\3\2\2\2\u0216\u0217\3\2\2\2\u0217"+
"\u021b\3\2\2\2\u0218\u0216\3\2\2\2\u0219\u021a\7/\2\2\u021a\u021c\5T+"+
"\2\u021b\u0219\3\2\2\2\u021b\u021c\3\2\2\2\u021c\u021d\3\2\2\2\u021d\u021e"+
"\5,\27\2\u021eA\3\2\2\2\u021f\u0226\5f\64\2\u0220\u0226\7%\2\2\u0221\u0226"+
"\7\3\2\2\u0222\u0226\7\16\2\2\u0223\u0226\7(\2\2\u0224\u0226\7)\2\2\u0225"+
"\u021f\3\2\2\2\u0225\u0220\3\2\2\2\u0225\u0221\3\2\2\2\u0225\u0222\3\2"+
"\2\2\u0225\u0223\3\2\2\2\u0225\u0224\3\2\2\2\u0226C\3\2\2\2\u0227\u0228"+
"\5\22\n\2\u0228\u0229\5@!\2\u0229E\3\2\2\2\u022a\u022f\5H%\2\u022b\u022c"+
"\7F\2\2\u022c\u022e\5H%\2\u022d\u022b\3\2\2\2\u022e\u0231\3\2\2\2\u022f"+
"\u022d\3\2\2\2\u022f\u0230\3\2\2\2\u0230G\3\2\2\2\u0231\u022f\3\2\2\2"+
"\u0232\u0235\5J&\2\u0233\u0234\7H\2\2\u0234\u0236\5L\'\2\u0235\u0233\3"+
"\2\2\2\u0235\u0236\3\2\2\2\u0236I\3\2\2\2\u0237\u023c\7q\2\2\u0238\u0239"+
"\7C\2\2\u0239\u023b\7D\2\2\u023a\u0238\3\2\2\2\u023b\u023e\3\2\2\2\u023c"+
"\u023a\3\2\2\2\u023c\u023d\3\2\2\2\u023dK\3\2\2\2\u023e\u023c\3\2\2\2"+
"\u023f\u0242\5N(\2\u0240\u0242\5\u00a4S\2\u0241\u023f\3\2\2\2\u0241\u0240"+
"\3\2\2\2\u0242M\3\2\2\2\u0243\u024f\7A\2\2\u0244\u0249\5L\'\2\u0245\u0246"+
"\7F\2\2\u0246\u0248\5L\'\2\u0247\u0245\3\2\2\2\u0248\u024b\3\2\2\2\u0249"+
"\u0247\3\2\2\2\u0249\u024a\3\2\2\2\u024a\u024d\3\2\2\2\u024b\u0249\3\2"+
"\2\2\u024c\u024e\7F\2\2\u024d\u024c\3\2\2\2\u024d\u024e\3\2\2\2\u024e"+
"\u0250\3\2\2\2\u024f\u0244\3\2\2\2\u024f\u0250\3\2\2\2\u0250\u0251\3\2"+
"\2\2\u0251\u0252\7B\2\2\u0252O\3\2\2\2\u0253\u0255\7q\2\2\u0254\u0256"+
"\5\u00c8e\2\u0255\u0254\3\2\2\2\u0255\u0256\3\2\2\2\u0256\u025e\3\2\2"+
"\2\u0257\u0258\7G\2\2\u0258\u025a\7q\2\2\u0259\u025b\5\u00c8e\2\u025a"+
"\u0259\3\2\2\2\u025a\u025b\3\2\2\2\u025b\u025d\3\2\2\2\u025c\u0257\3\2"+
"\2\2\u025d\u0260\3\2\2\2\u025e\u025c\3\2\2\2\u025e\u025f\3\2\2\2\u025f"+
"Q\3\2\2\2\u0260\u025e\3\2\2\2\u0261\u0268\5\u00c4c\2\u0262\u0265\7M\2"+
"\2\u0263\u0264\t\2\2\2\u0264\u0266\5\u00c4c\2\u0265\u0263\3\2\2\2\u0265"+
"\u0266\3\2\2\2\u0266\u0268\3\2\2\2\u0267\u0261\3\2\2\2\u0267\u0262\3\2"+
"\2\2\u0268S\3\2\2\2\u0269\u026e\5^\60\2\u026a\u026b\7F\2\2\u026b\u026d"+
"\5^\60\2\u026c\u026a\3\2\2\2\u026d\u0270\3\2\2\2\u026e\u026c\3\2\2\2\u026e"+
"\u026f\3\2\2\2\u026fU\3\2\2\2\u0270\u026e\3\2\2\2\u0271\u0273\7?\2\2\u0272"+
"\u0274\5X-\2\u0273\u0272\3\2\2\2\u0273\u0274\3\2\2\2\u0274\u0275\3\2\2"+
"\2\u0275\u0276\7@\2\2\u0276W\3\2\2\2\u0277\u027c\5Z.\2\u0278\u0279\7F"+
"\2\2\u0279\u027b\5Z.\2\u027a\u0278\3\2\2\2\u027b\u027e\3\2\2\2\u027c\u027a"+
"\3\2\2\2\u027c\u027d\3\2\2\2\u027d\u0281\3\2\2\2\u027e\u027c\3\2\2\2\u027f"+
"\u0280\7F\2\2\u0280\u0282\5\\/\2\u0281\u027f\3\2\2\2\u0281\u0282\3\2\2"+
"\2\u0282\u0285\3\2\2\2\u0283\u0285\5\\/\2\u0284\u0277\3\2\2\2\u0284\u0283"+
"\3\2\2\2\u0285Y\3\2\2\2\u0286\u0288\5\16\b\2\u0287\u0286\3\2\2\2\u0288"+
"\u028b\3\2\2\2\u0289\u0287\3\2\2\2\u0289\u028a\3\2\2\2\u028a\u028c\3\2"+
"\2\2\u028b\u0289\3\2\2\2\u028c\u028d\5\u00c4c\2\u028d\u028e\5J&\2\u028e"+
"[\3\2\2\2\u028f\u0291\5\16\b\2\u0290\u028f\3\2\2\2\u0291\u0294\3\2\2\2"+
"\u0292\u0290\3\2\2\2\u0292\u0293\3\2\2\2\u0293\u0295\3\2\2\2\u0294\u0292"+
"\3\2\2\2\u0295\u0296\5\u00c4c\2\u0296\u0297\7m\2\2\u0297\u0298\5J&\2\u0298"+
"]\3\2\2\2\u0299\u029e\7q\2\2\u029a\u029b\7G\2\2\u029b\u029d\7q\2\2\u029c"+
"\u029a\3\2\2\2\u029d\u02a0\3\2\2\2\u029e\u029c\3\2\2\2\u029e\u029f\3\2"+
"\2\2\u029f_\3\2\2\2\u02a0\u029e\3\2\2\2\u02a1\u02a8\5b\62\2\u02a2\u02a8"+
"\5d\63\2\u02a3\u02a8\7<\2\2\u02a4\u02a8\7=\2\2\u02a5\u02a8\7;\2\2\u02a6"+
"\u02a8\7>\2\2\u02a7\u02a1\3\2\2\2\u02a7\u02a2\3\2\2\2\u02a7\u02a3\3\2"+
"\2\2\u02a7\u02a4\3\2\2\2\u02a7\u02a5\3\2\2\2\u02a7\u02a6\3\2\2\2\u02a8"+
"a\3\2\2\2\u02a9\u02aa\t\3\2\2\u02aac\3\2\2\2\u02ab\u02ac\t\4\2\2\u02ac"+
"e\3\2\2\2\u02ad\u02ae\7l\2\2\u02ae\u02b5\5^\60\2\u02af\u02b2\7?\2\2\u02b0"+
"\u02b3\5h\65\2\u02b1\u02b3\5l\67\2\u02b2\u02b0\3\2\2\2\u02b2\u02b1\3\2"+
"\2\2\u02b2\u02b3\3\2\2\2\u02b3\u02b4\3\2\2\2\u02b4\u02b6\7@\2\2\u02b5"+
"\u02af\3\2\2\2\u02b5\u02b6\3\2\2\2\u02b6g\3\2\2\2\u02b7\u02bc\5j\66\2"+
"\u02b8\u02b9\7F\2\2\u02b9\u02bb\5j\66\2\u02ba\u02b8\3\2\2\2\u02bb\u02be"+
"\3\2\2\2\u02bc\u02ba\3\2\2\2\u02bc\u02bd\3\2\2\2\u02bdi\3\2\2\2\u02be"+
"\u02bc\3\2\2\2\u02bf\u02c0\7q\2\2\u02c0\u02c1\7H\2\2\u02c1\u02c2\5l\67"+
"\2\u02c2k\3\2\2\2\u02c3\u02c7\5\u00a4S\2\u02c4\u02c7\5f\64\2\u02c5\u02c7"+
"\5n8\2\u02c6\u02c3\3\2\2\2\u02c6\u02c4\3\2\2\2\u02c6\u02c5\3\2\2\2\u02c7"+
"m\3\2\2\2\u02c8\u02d1\7A\2\2\u02c9\u02ce\5l\67\2\u02ca\u02cb\7F\2\2\u02cb"+
"\u02cd\5l\67\2\u02cc\u02ca\3\2\2\2\u02cd\u02d0\3\2\2\2\u02ce\u02cc\3\2"+
"\2\2\u02ce\u02cf\3\2\2\2\u02cf\u02d2\3\2\2\2\u02d0\u02ce\3\2\2\2\u02d1"+
"\u02c9\3\2\2\2\u02d1\u02d2\3\2\2\2\u02d2\u02d4\3\2\2\2\u02d3\u02d5\7F"+
"\2\2\u02d4\u02d3\3\2\2\2\u02d4\u02d5\3\2\2\2\u02d5\u02d6\3\2\2\2\u02d6"+
"\u02d7\7B\2\2\u02d7o\3\2\2\2\u02d8\u02d9\7l\2\2\u02d9\u02da\7\36\2\2\u02da"+
"\u02db\7q\2\2\u02db\u02dc\5r:\2\u02dcq\3\2\2\2\u02dd\u02e1\7A\2\2\u02de"+
"\u02e0\5t;\2\u02df\u02de\3\2\2\2\u02e0\u02e3\3\2\2\2\u02e1\u02df\3\2\2"+
"\2\u02e1\u02e2\3\2\2\2\u02e2\u02e4\3\2\2\2\u02e3\u02e1\3\2\2\2\u02e4\u02e5"+
"\7B\2\2\u02e5s\3\2\2\2\u02e6\u02e8\5\n\6\2\u02e7\u02e6\3\2\2\2\u02e8\u02eb"+
"\3\2\2\2\u02e9\u02e7\3\2\2\2\u02e9\u02ea\3\2\2\2\u02ea\u02ec\3\2\2\2\u02eb"+
"\u02e9\3\2\2\2\u02ec\u02ef\5v<\2\u02ed\u02ef\7E\2\2\u02ee\u02e9\3\2\2"+
"\2\u02ee\u02ed\3\2\2\2\u02efu\3\2\2\2\u02f0\u02f1\5\u00c4c\2\u02f1\u02f2"+
"\5x=\2\u02f2\u02f3\7E\2\2\u02f3\u0305\3\2\2\2\u02f4\u02f6\5\20\t\2\u02f5"+
"\u02f7\7E\2\2\u02f6\u02f5\3\2\2\2\u02f6\u02f7\3\2\2\2\u02f7\u0305\3\2"+
"\2\2\u02f8\u02fa\5 \21\2\u02f9\u02fb\7E\2\2\u02fa\u02f9\3\2\2\2\u02fa"+
"\u02fb\3\2\2\2\u02fb\u0305\3\2\2\2\u02fc\u02fe\5\30\r\2\u02fd\u02ff\7"+
"E\2\2\u02fe\u02fd\3\2\2\2\u02fe\u02ff\3\2\2\2\u02ff\u0305\3\2\2\2\u0300"+
"\u0302\5p9\2\u0301\u0303\7E\2\2\u0302\u0301\3\2\2\2\u0302\u0303\3\2\2"+
"\2\u0303\u0305\3\2\2\2\u0304\u02f0\3\2\2\2\u0304\u02f4\3\2\2\2\u0304\u02f8"+
"\3\2\2\2\u0304\u02fc\3\2\2\2\u0304\u0300\3\2\2\2\u0305w\3\2\2\2\u0306"+
"\u0309\5z>\2\u0307\u0309\5|?\2\u0308\u0306\3\2\2\2\u0308\u0307\3\2\2\2"+
"\u0309y\3\2\2\2\u030a\u030b\7q\2\2\u030b\u030c\7?\2\2\u030c\u030e\7@\2"+
"\2\u030d\u030f\5~@\2\u030e\u030d\3\2\2\2\u030e\u030f\3\2\2\2\u030f{\3"+
"\2\2\2\u0310\u0311\5F$\2\u0311}\3\2\2\2\u0312\u0313\7\16\2\2\u0313\u0314"+
"\5l\67\2\u0314\177\3\2\2\2\u0315\u0319\7A\2\2\u0316\u0318\5\u0082B\2\u0317"+
"\u0316\3\2\2\2\u0318\u031b\3\2\2\2\u0319\u0317\3\2\2\2\u0319\u031a\3\2"+
"\2\2\u031a\u031c\3\2\2\2\u031b\u0319\3\2\2\2\u031c\u031d\7B\2\2\u031d"+
"\u0081\3\2\2\2\u031e\u031f\5\u0084C\2\u031f\u0320\7E\2\2\u0320\u0324\3"+
"\2\2\2\u0321\u0324\5\u0088E\2\u0322\u0324\5\u0086D\2\u0323\u031e\3\2\2"+
"\2\u0323\u0321\3\2\2\2\u0323\u0322\3\2\2\2\u0324\u0083\3\2\2\2\u0325\u0327"+
"\5\16\b\2\u0326\u0325\3\2\2\2\u0327\u032a\3\2\2\2\u0328\u0326\3\2\2\2"+
"\u0328\u0329\3\2\2\2\u0329\u032b\3\2\2\2\u032a\u0328\3\2\2\2\u032b\u032c"+
"\5\u00c4c\2\u032c\u032d\5F$\2\u032d\u0085\3\2\2\2\u032e\u0330\5\f\7\2"+
"\u032f\u032e\3\2\2\2\u0330\u0333\3\2\2\2\u0331\u032f\3\2\2\2\u0331\u0332"+
"\3\2\2\2\u0332\u0336\3\2\2\2\u0333\u0331\3\2\2\2\u0334\u0337\5\20\t\2"+
"\u0335\u0337\5 \21\2\u0336\u0334\3\2\2\2\u0336\u0335\3\2\2\2\u0337\u033a"+
"\3\2\2\2\u0338\u033a\7E\2\2\u0339\u0331\3\2\2\2\u0339\u0338\3\2\2\2\u033a"+
"\u0087\3\2\2\2\u033b\u03a4\5\u0080A\2\u033c\u033d\7\4\2\2\u033d\u0340"+
"\5\u00a4S\2\u033e\u033f\7N\2\2\u033f\u0341\5\u00a4S\2\u0340\u033e\3\2"+
"\2\2\u0340\u0341\3\2\2\2\u0341\u0342\3\2\2\2\u0342\u0343\7E\2\2\u0343"+
"\u03a4\3\2\2\2\u0344\u0345\7\30\2\2\u0345\u0346\5\u00a0Q\2\u0346\u0349"+
"\5\u0088E\2\u0347\u0348\7\21\2\2\u0348\u034a\5\u0088E\2\u0349\u0347\3"+
"\2\2\2\u0349\u034a\3\2\2\2\u034a\u03a4\3\2\2\2\u034b\u034c\7\27\2\2\u034c"+
"\u034d\7?\2\2\u034d\u034e\5\u009aN\2\u034e\u034f\7@\2\2\u034f\u0350\5"+
"\u0088E\2\u0350\u03a4\3\2\2\2\u0351\u0352\7\64\2\2\u0352\u0353\5\u00a0"+
"Q\2\u0353\u0354\5\u0088E\2\u0354\u03a4\3\2\2\2\u0355\u0356\7\17\2\2\u0356"+
"\u0357\5\u0088E\2\u0357\u0358\7\64\2\2\u0358\u0359\5\u00a0Q\2\u0359\u035a"+
"\7E\2\2\u035a\u03a4\3\2\2\2\u035b\u035c\7\61\2\2\u035c\u0366\5\u0080A"+
"\2\u035d\u035f\5\u008aF\2\u035e\u035d\3\2\2\2\u035f\u0360\3\2\2\2\u0360"+
"\u035e\3\2\2\2\u0360\u0361\3\2\2\2\u0361\u0363\3\2\2\2\u0362\u0364\5\u008e"+
"H\2\u0363\u0362\3\2\2\2\u0363\u0364\3\2\2\2\u0364\u0367\3\2\2\2\u0365"+
"\u0367\5\u008eH\2\u0366\u035e\3\2\2\2\u0366\u0365\3\2\2\2\u0367\u03a4"+
"\3\2\2\2\u0368\u0369\7\61\2\2\u0369\u036a\5\u0090I\2\u036a\u036e\5\u0080"+
"A\2\u036b\u036d\5\u008aF\2\u036c\u036b\3\2\2\2\u036d\u0370\3\2\2\2\u036e"+
"\u036c\3\2\2\2\u036e\u036f\3\2\2\2\u036f\u0372\3\2\2\2\u0370\u036e\3\2"+
"\2\2\u0371\u0373\5\u008eH\2\u0372\u0371\3\2\2\2\u0372\u0373\3\2\2\2\u0373"+
"\u03a4\3\2\2\2\u0374\u0375\7+\2\2\u0375\u0376\5\u00a0Q\2\u0376\u037a\7"+
"A\2\2\u0377\u0379\5\u0096L\2\u0378\u0377\3\2\2\2\u0379\u037c\3\2\2\2\u037a"+
"\u0378\3\2\2\2\u037a\u037b\3\2\2\2\u037b\u0380\3\2\2\2\u037c\u037a\3\2"+
"\2\2\u037d\u037f\5\u0098M\2\u037e\u037d\3\2\2\2\u037f\u0382\3\2\2\2\u0380"+
"\u037e\3\2\2\2\u0380\u0381\3\2\2\2\u0381\u0383\3\2\2\2\u0382\u0380\3\2"+
"\2\2\u0383\u0384\7B\2\2\u0384\u03a4\3\2\2\2\u0385\u0386\7,\2\2\u0386\u0387"+
"\5\u00a0Q\2\u0387\u0388\5\u0080A\2\u0388\u03a4\3\2\2\2\u0389\u038b\7&"+
"\2\2\u038a\u038c\5\u00a4S\2\u038b\u038a\3\2\2\2\u038b\u038c\3\2\2\2\u038c"+
"\u038d\3\2\2\2\u038d\u03a4\7E\2\2\u038e\u038f\7.\2\2\u038f\u0390\5\u00a4"+
"S\2\u0390\u0391\7E\2\2\u0391\u03a4\3\2\2\2\u0392\u0394\7\6\2\2\u0393\u0395"+
"\7q\2\2\u0394\u0393\3\2\2\2\u0394\u0395\3\2\2\2\u0395\u0396\3\2\2\2\u0396"+
"\u03a4\7E\2\2\u0397\u0399\7\r\2\2\u0398\u039a\7q\2\2\u0399\u0398\3\2\2"+
"\2\u0399\u039a\3\2\2\2\u039a\u039b\3\2\2\2\u039b\u03a4\7E\2\2\u039c\u03a4"+
"\7E\2\2\u039d\u039e\5\u00a4S\2\u039e\u039f\7E\2\2\u039f\u03a4\3\2\2\2"+
"\u03a0\u03a1\7q\2\2\u03a1\u03a2\7N\2\2\u03a2\u03a4\5\u0088E\2\u03a3\u033b"+
"\3\2\2\2\u03a3\u033c\3\2\2\2\u03a3\u0344\3\2\2\2\u03a3\u034b\3\2\2\2\u03a3"+
"\u0351\3\2\2\2\u03a3\u0355\3\2\2\2\u03a3\u035b\3\2\2\2\u03a3\u0368\3\2"+
"\2\2\u03a3\u0374\3\2\2\2\u03a3\u0385\3\2\2\2\u03a3\u0389\3\2\2\2\u03a3"+
"\u038e\3\2\2\2\u03a3\u0392\3\2\2\2\u03a3\u0397\3\2\2\2\u03a3\u039c\3\2"+
"\2\2\u03a3\u039d\3\2\2\2\u03a3\u03a0\3\2\2\2\u03a4\u0089\3\2\2\2\u03a5"+
"\u03a6\7\t\2\2\u03a6\u03aa\7?\2\2\u03a7\u03a9\5\16\b\2\u03a8\u03a7\3\2"+
"\2\2\u03a9\u03ac\3\2\2\2\u03aa\u03a8\3\2\2\2\u03aa\u03ab\3\2\2\2\u03ab"+
"\u03ad\3\2\2\2\u03ac\u03aa\3\2\2\2\u03ad\u03ae\5\u008cG\2\u03ae\u03af"+
"\7q\2\2\u03af\u03b0\7@\2\2\u03b0\u03b1\5\u0080A\2\u03b1\u008b\3\2\2\2"+
"\u03b2\u03b7\5^\60\2\u03b3\u03b4\7\\\2\2\u03b4\u03b6\5^\60\2\u03b5\u03b3"+
"\3\2\2\2\u03b6\u03b9\3\2\2\2\u03b7\u03b5\3\2\2\2\u03b7\u03b8\3\2\2\2\u03b8"+
"\u008d\3\2\2\2\u03b9\u03b7\3\2\2\2\u03ba\u03bb\7\25\2\2\u03bb\u03bc\5"+
"\u0080A\2\u03bc\u008f\3\2\2\2\u03bd\u03be\7?\2\2\u03be\u03c0\5\u0092J"+
"\2\u03bf\u03c1\7E\2\2\u03c0\u03bf\3\2\2\2\u03c0\u03c1\3\2\2\2\u03c1\u03c2"+
"\3\2\2\2\u03c2\u03c3\7@\2\2\u03c3\u0091\3\2\2\2\u03c4\u03c9\5\u0094K\2"+
"\u03c5\u03c6\7E\2\2\u03c6\u03c8\5\u0094K\2\u03c7\u03c5\3\2\2\2\u03c8\u03cb"+
"\3\2\2\2\u03c9\u03c7\3\2\2\2\u03c9\u03ca\3\2\2\2\u03ca\u0093\3\2\2\2\u03cb"+
"\u03c9\3\2\2\2\u03cc\u03ce\5\16\b\2\u03cd\u03cc\3\2\2\2\u03ce\u03d1\3"+
"\2\2\2\u03cf\u03cd\3\2\2\2\u03cf\u03d0\3\2\2\2\u03d0\u03d2\3\2\2\2\u03d1"+
"\u03cf\3\2\2\2\u03d2\u03d3\5P)\2\u03d3\u03d4\5J&\2\u03d4\u03d5\7H\2\2"+
"\u03d5\u03d6\5\u00a4S\2\u03d6\u0095\3\2\2\2\u03d7\u03d9\5\u0098M\2\u03d8"+
"\u03d7\3\2\2\2\u03d9\u03da\3\2\2\2\u03da\u03d8\3\2\2\2\u03da\u03db\3\2"+
"\2\2\u03db\u03dd\3\2\2\2\u03dc\u03de\5\u0082B\2\u03dd\u03dc\3\2\2\2\u03de"+
"\u03df\3\2\2\2\u03df\u03dd\3\2\2\2\u03df\u03e0\3\2\2\2\u03e0\u0097\3\2"+
"\2\2\u03e1\u03e4\7\b\2\2\u03e2\u03e5\5\u00a4S\2\u03e3\u03e5\7q\2\2\u03e4"+
"\u03e2\3\2\2\2\u03e4\u03e3\3\2\2\2\u03e5\u03e6\3\2\2\2\u03e6\u03ea\7N"+
"\2\2\u03e7\u03e8\7\16\2\2\u03e8\u03ea\7N\2\2\u03e9\u03e1\3\2\2\2\u03e9"+
"\u03e7\3\2\2\2\u03ea\u0099\3\2\2\2\u03eb\u03f8\5\u009eP\2\u03ec\u03ee"+
"\5\u009cO\2\u03ed\u03ec\3\2\2\2\u03ed\u03ee\3\2\2\2\u03ee\u03ef\3\2\2"+
"\2\u03ef\u03f1\7E\2\2\u03f0\u03f2\5\u00a4S\2\u03f1\u03f0\3\2\2\2\u03f1"+
"\u03f2\3\2\2\2\u03f2\u03f3\3\2\2\2\u03f3\u03f5\7E\2\2\u03f4\u03f6\5\u00a2"+
"R\2\u03f5\u03f4\3\2\2\2\u03f5\u03f6\3\2\2\2\u03f6\u03f8\3\2\2\2\u03f7"+
"\u03eb\3\2\2\2\u03f7\u03ed\3\2\2\2\u03f8\u009b\3\2\2\2\u03f9\u03fc\5\u0084"+
"C\2\u03fa\u03fc\5\u00a2R\2\u03fb\u03f9\3\2\2\2\u03fb\u03fa\3\2\2\2\u03fc"+
"\u009d\3\2\2\2\u03fd\u03ff\5\16\b\2\u03fe\u03fd\3\2\2\2\u03ff\u0402\3"+
"\2\2\2\u0400\u03fe\3\2\2\2\u0400\u0401\3\2\2\2\u0401\u0403\3\2\2\2\u0402"+
"\u0400\3\2\2\2\u0403\u0404\5\u00c4c\2\u0404\u0405\5J&\2\u0405\u0406\7"+
"N\2\2\u0406\u0407\5\u00a4S\2\u0407\u009f\3\2\2\2\u0408\u0409\7?\2\2\u0409"+
"\u040a\5\u00a4S\2\u040a\u040b\7@\2\2\u040b\u00a1\3\2\2\2\u040c\u0411\5"+
"\u00a4S\2\u040d\u040e\7F\2\2\u040e\u0410\5\u00a4S\2\u040f\u040d\3\2\2"+
"\2\u0410\u0413\3\2\2\2\u0411\u040f\3\2\2\2\u0411\u0412\3\2\2\2\u0412\u00a3"+
"\3\2\2\2\u0413\u0411\3\2\2\2\u0414\u0415\bS\1\2\u0415\u0433\5\u00acW\2"+
"\u0416\u0417\7!\2\2\u0417\u0433\5\u00b0Y\2\u0418\u0419\7?\2\2\u0419\u041a"+
"\5\u00c4c\2\u041a\u041b\7@\2\2\u041b\u041c\5\u00a4S\27\u041c\u0433\3\2"+
"\2\2\u041d\u041e\t\5\2\2\u041e\u0433\5\u00a4S\25\u041f\u0420\t\6\2\2\u0420"+
"\u0433\5\u00a4S\24\u0421\u0433\5\u00a6T\2\u0422\u0423\5\u00c4c\2\u0423"+
"\u0429\7k\2\2\u0424\u0426\5\u00c8e\2\u0425\u0424\3\2\2\2\u0425\u0426\3"+
"\2\2\2\u0426\u0427\3\2\2\2\u0427\u042a\7q\2\2\u0428\u042a\7!\2\2\u0429"+
"\u0425\3\2\2\2\u0429\u0428\3\2\2\2\u042a\u0433\3\2\2\2\u042b\u042c\5\u00ae"+
"X\2\u042c\u042e\7k\2\2\u042d\u042f\5\u00c8e\2\u042e\u042d\3\2\2\2\u042e"+
"\u042f\3\2\2\2\u042f\u0430\3\2\2\2\u0430\u0431\7!\2\2\u0431\u0433\3\2"+
"\2\2\u0432\u0414\3\2\2\2\u0432\u0416\3\2\2\2\u0432\u0418\3\2\2\2\u0432"+
"\u041d\3\2\2\2\u0432\u041f\3\2\2\2\u0432\u0421\3\2\2\2\u0432\u0422\3\2"+
"\2\2\u0432\u042b\3\2\2\2\u0433\u0489\3\2\2\2\u0434\u0435\f\23\2\2\u0435"+
"\u0436\t\7\2\2\u0436\u0488\5\u00a4S\24\u0437\u0438\f\22\2\2\u0438\u0439"+
"\t\b\2\2\u0439\u0488\5\u00a4S\23\u043a\u0442\f\21\2\2\u043b\u043c\7J\2"+
"\2\u043c\u0443\7J\2\2\u043d\u043e\7I\2\2\u043e\u043f\7I\2\2\u043f\u0443"+
"\7I\2\2\u0440\u0441\7I\2\2\u0441\u0443\7I\2\2\u0442\u043b\3\2\2\2\u0442"+
"\u043d\3\2\2\2\u0442\u0440\3\2\2\2\u0443\u0444\3\2\2\2\u0444\u0488\5\u00a4"+
"S\22\u0445\u0446\f\20\2\2\u0446\u0447\t\t\2\2\u0447\u0488\5\u00a4S\21"+
"\u0448\u0449\f\16\2\2\u0449\u044a\t\n\2\2\u044a\u0488\5\u00a4S\17\u044b"+
"\u044c\f\r\2\2\u044c\u044d\7[\2\2\u044d\u0488\5\u00a4S\16\u044e\u044f"+
"\f\f\2\2\u044f\u0450\7]\2\2\u0450\u0488\5\u00a4S\r\u0451\u0452\f\13\2"+
"\2\u0452\u0453\7\\\2\2\u0453\u0488\5\u00a4S\f\u0454\u0455\f\n\2\2\u0455"+
"\u0456\7S\2\2\u0456\u0488\5\u00a4S\13\u0457\u0458\f\t\2\2\u0458\u0459"+
"\7T\2\2\u0459\u0488\5\u00a4S\n\u045a\u045b\f\b\2\2\u045b\u045c\7M\2\2"+
"\u045c\u045d\5\u00a4S\2\u045d\u045e\7N\2\2\u045e\u045f\5\u00a4S\t\u045f"+
"\u0488\3\2\2\2\u0460\u0461\f\7\2\2\u0461\u0462\t\13\2\2\u0462\u0488\5"+
"\u00a4S\7\u0463\u0464\f\33\2\2\u0464\u046f\7G\2\2\u0465\u0470\7q\2\2\u0466"+
"\u0470\7-\2\2\u0467\u0469\7!\2\2\u0468\u046a\5\u00c0a\2\u0469\u0468\3"+
"\2\2\2\u0469\u046a\3\2\2\2\u046a\u046b\3\2\2\2\u046b\u0470\5\u00b4[\2"+
"\u046c\u046d\7*\2\2\u046d\u0470\5\u00caf\2\u046e\u0470\5\u00ba^\2\u046f"+
"\u0465\3\2\2\2\u046f\u0466\3\2\2\2\u046f\u0467\3\2\2\2\u046f\u046c\3\2"+
"\2\2\u046f\u046e\3\2\2\2\u0470\u0488\3\2\2\2\u0471\u0472\f\32\2\2\u0472"+
"\u0473\7C\2\2\u0473\u0474\5\u00a4S\2\u0474\u0475\7D\2\2\u0475\u0488\3"+
"\2\2\2\u0476\u0477\f\31\2\2\u0477\u0479\7?\2\2\u0478\u047a\5\u00a2R\2"+
"\u0479\u0478\3\2\2\2\u0479\u047a\3\2\2\2\u047a\u047b\3\2\2\2\u047b\u0488"+
"\7@\2\2\u047c\u047d\f\26\2\2\u047d\u0488\t\f\2\2\u047e\u047f\f\17\2\2"+
"\u047f\u0480\7\34\2\2\u0480\u0488\5\u00c4c\2\u0481\u0482\f\5\2\2\u0482"+
"\u0484\7k\2\2\u0483\u0485\5\u00c8e\2\u0484\u0483\3\2\2\2\u0484\u0485\3"+
"\2\2\2\u0485\u0486\3\2\2\2\u0486\u0488\7q\2\2\u0487\u0434\3\2\2\2\u0487"+
"\u0437\3\2\2\2\u0487\u043a\3\2\2\2\u0487\u0445\3\2\2\2\u0487\u0448\3\2"+
"\2\2\u0487\u044b\3\2\2\2\u0487\u044e\3\2\2\2\u0487\u0451\3\2\2\2\u0487"+
"\u0454\3\2\2\2\u0487\u0457\3\2\2\2\u0487\u045a\3\2\2\2\u0487\u0460\3\2"+
"\2\2\u0487\u0463\3\2\2\2\u0487\u0471\3\2\2\2\u0487\u0476\3\2\2\2\u0487"+
"\u047c\3\2\2\2\u0487\u047e\3\2\2\2\u0487\u0481\3\2\2\2\u0488\u048b\3\2"+
"\2\2\u0489\u0487\3\2\2\2\u0489\u048a\3\2\2\2\u048a\u00a5\3\2\2\2\u048b"+
"\u0489\3\2\2\2\u048c\u048d\5\u00a8U\2\u048d\u048e\7j\2\2\u048e\u048f\5"+
"\u00aaV\2\u048f\u00a7\3\2\2\2\u0490\u04a1\7q\2\2\u0491\u0493\7?\2\2\u0492"+
"\u0494\5X-\2\u0493\u0492\3\2\2\2\u0493\u0494\3\2\2\2\u0494\u0495\3\2\2"+
"\2\u0495\u04a1\7@\2\2\u0496\u0497\7?\2\2\u0497\u049c\7q\2\2\u0498\u0499"+
"\7F\2\2\u0499\u049b\7q\2\2\u049a\u0498\3\2\2\2\u049b\u049e\3\2\2\2\u049c"+
"\u049a\3\2\2\2\u049c\u049d\3\2\2\2\u049d\u049f\3\2\2\2\u049e\u049c\3\2"+
"\2\2\u049f\u04a1\7@\2\2\u04a0\u0490\3\2\2\2\u04a0\u0491\3\2\2\2\u04a0"+
"\u0496\3\2\2\2\u04a1\u00a9\3\2\2\2\u04a2\u04a5\5\u00a4S\2\u04a3\u04a5"+
"\5\u0080A\2\u04a4\u04a2\3\2\2\2\u04a4\u04a3\3\2\2\2\u04a5\u00ab\3\2\2"+
"\2\u04a6\u04a7\7?\2\2\u04a7\u04a8\5\u00a4S\2\u04a8\u04a9\7@\2\2\u04a9"+
"\u04b9\3\2\2\2\u04aa\u04b9\7-\2\2\u04ab\u04b9\7*\2\2\u04ac\u04b9\5`\61"+
"\2\u04ad\u04b9\7q\2\2\u04ae\u04af\5.\30\2\u04af\u04b0\7G\2\2\u04b0\u04b1"+
"\7\13\2\2\u04b1\u04b9\3\2\2\2\u04b2\u04b6\5\u00c0a\2\u04b3\u04b7\5\u00cc"+
"g\2\u04b4\u04b5\7-\2\2\u04b5\u04b7\5\u00ceh\2\u04b6\u04b3\3\2\2\2\u04b6"+
"\u04b4\3\2\2\2\u04b7\u04b9\3\2\2\2\u04b8\u04a6\3\2\2\2\u04b8\u04aa\3\2"+
"\2\2\u04b8\u04ab\3\2\2\2\u04b8\u04ac\3\2\2\2\u04b8\u04ad\3\2\2\2\u04b8"+
"\u04ae\3\2\2\2\u04b8\u04b2\3\2\2\2\u04b9\u00ad\3\2\2\2\u04ba\u04bb\5P"+
")\2\u04bb\u04bc\7G\2\2\u04bc\u04be\3\2\2\2\u04bd\u04ba\3\2\2\2\u04bd\u04be"+
"\3\2\2\2\u04be\u04c2\3\2\2\2\u04bf\u04c1\5f\64\2\u04c0\u04bf\3\2\2\2\u04c1"+
"\u04c4\3\2\2\2\u04c2\u04c0\3\2\2\2\u04c2\u04c3\3\2\2\2\u04c3\u04c5\3\2"+
"\2\2\u04c4\u04c2\3\2\2\2\u04c5\u04c7\7q\2\2\u04c6\u04c8\5\u00c8e\2\u04c7"+
"\u04c6\3\2\2\2\u04c7\u04c8\3\2\2\2\u04c8\u00af\3\2\2\2\u04c9\u04ca\5\u00c0"+
"a\2\u04ca\u04cb\5\u00b2Z\2\u04cb\u04cc\5\u00b8]\2\u04cc\u04d3\3\2\2\2"+
"\u04cd\u04d0\5\u00b2Z\2\u04ce\u04d1\5\u00b6\\\2\u04cf\u04d1\5\u00b8]\2"+
"\u04d0\u04ce\3\2\2\2\u04d0\u04cf\3\2\2\2\u04d1\u04d3\3\2\2\2\u04d2\u04c9"+
"\3\2\2\2\u04d2\u04cd\3\2\2\2\u04d3\u00b1\3\2\2\2\u04d4\u04d6\7q\2\2\u04d5"+
"\u04d7\5\u00bc_\2\u04d6\u04d5\3\2\2\2\u04d6\u04d7\3\2\2\2\u04d7\u04df"+
"\3\2\2\2\u04d8\u04d9\7G\2\2\u04d9\u04db\7q\2\2\u04da\u04dc\5\u00bc_\2"+
"\u04db\u04da\3\2\2\2\u04db\u04dc\3\2\2\2\u04dc\u04de\3\2\2\2\u04dd\u04d8"+
"\3\2\2\2\u04de\u04e1\3\2\2\2\u04df\u04dd\3\2\2\2\u04df\u04e0\3\2\2\2\u04e0"+
"\u04e4\3\2\2\2\u04e1\u04df\3\2\2\2\u04e2\u04e4\5\u00c6d\2\u04e3\u04d4"+
"\3\2\2\2\u04e3\u04e2\3\2\2\2\u04e4\u00b3\3\2\2\2\u04e5\u04e7\7q\2\2\u04e6"+
"\u04e8\5\u00be`\2\u04e7\u04e6\3\2\2\2\u04e7\u04e8\3\2\2\2\u04e8\u04e9"+
"\3\2\2\2\u04e9\u04ea\5\u00b8]\2\u04ea\u00b5\3\2\2\2\u04eb\u0507\7C\2\2"+
"\u04ec\u04f1\7D\2\2\u04ed\u04ee\7C\2\2\u04ee\u04f0\7D\2\2\u04ef\u04ed"+
"\3\2\2\2\u04f0\u04f3\3\2\2\2\u04f1\u04ef\3\2\2\2\u04f1\u04f2\3\2\2\2\u04f2"+
"\u04f4\3\2\2\2\u04f3\u04f1\3\2\2\2\u04f4\u0508\5N(\2\u04f5\u04f6\5\u00a4"+
"S\2\u04f6\u04fd\7D\2\2\u04f7\u04f8\7C\2\2\u04f8\u04f9\5\u00a4S\2\u04f9"+
"\u04fa\7D\2\2\u04fa\u04fc\3\2\2\2\u04fb\u04f7\3\2\2\2\u04fc\u04ff\3\2"+
"\2\2\u04fd\u04fb\3\2\2\2\u04fd\u04fe\3\2\2\2\u04fe\u0504\3\2\2\2\u04ff"+
"\u04fd\3\2\2\2\u0500\u0501\7C\2\2\u0501\u0503\7D\2\2\u0502\u0500\3\2\2"+
"\2\u0503\u0506\3\2\2\2\u0504\u0502\3\2\2\2\u0504\u0505\3\2\2\2\u0505\u0508"+
"\3\2\2\2\u0506\u0504\3\2\2\2\u0507\u04ec\3\2\2\2\u0507\u04f5\3\2\2\2\u0508"+
"\u00b7\3\2\2\2\u0509\u050b\5\u00ceh\2\u050a\u050c\5\"\22\2\u050b\u050a"+
"\3\2\2\2\u050b\u050c\3\2\2\2\u050c\u00b9\3\2\2\2\u050d\u050e\5\u00c0a"+
"\2\u050e\u050f\5\u00ccg\2\u050f\u00bb\3\2\2\2\u0510\u0511\7J\2\2\u0511"+
"\u0514\7I\2\2\u0512\u0514\5\u00c8e\2\u0513\u0510\3\2\2\2\u0513\u0512\3"+
"\2\2\2\u0514\u00bd\3\2\2\2\u0515\u0516\7J\2\2\u0516\u0519\7I\2\2\u0517"+
"\u0519\5\u00c0a\2\u0518\u0515\3\2\2\2\u0518\u0517\3\2\2\2\u0519\u00bf"+
"\3\2\2\2\u051a\u051b\7J\2\2\u051b\u051c\5\u00c2b\2\u051c\u051d\7I\2\2"+
"\u051d\u00c1\3\2\2\2\u051e\u0523\5\u00c4c\2\u051f\u0520\7F\2\2\u0520\u0522"+
"\5\u00c4c\2\u0521\u051f\3\2\2\2\u0522\u0525\3\2\2\2\u0523\u0521\3\2\2"+
"\2\u0523\u0524\3\2\2\2\u0524\u00c3\3\2\2\2\u0525\u0523\3\2\2\2\u0526\u0528"+
"\5f\64\2\u0527\u0526\3\2\2\2\u0527\u0528\3\2\2\2\u0528\u052b\3\2\2\2\u0529"+
"\u052c\5P)\2\u052a\u052c\5\u00c6d\2\u052b\u0529\3\2\2\2\u052b\u052a\3"+
"\2\2\2\u052c\u0531\3\2\2\2\u052d\u052e\7C\2\2\u052e\u0530\7D\2\2\u052f"+
"\u052d\3\2\2\2\u0530\u0533\3\2\2\2\u0531\u052f\3\2\2\2\u0531\u0532\3\2"+
"\2\2\u0532\u00c5\3\2\2\2\u0533\u0531\3\2\2\2\u0534\u0535\t\r\2\2\u0535"+
"\u00c7\3\2\2\2\u0536\u0537\7J\2\2\u0537\u053c\5R*\2\u0538\u0539\7F\2\2"+
"\u0539\u053b\5R*\2\u053a\u0538\3\2\2\2\u053b\u053e\3\2\2\2\u053c\u053a"+
"\3\2\2\2\u053c\u053d\3\2\2\2\u053d\u053f\3\2\2\2\u053e\u053c\3\2\2\2\u053f"+
"\u0540\7I\2\2\u0540\u00c9\3\2\2\2\u0541\u0548\5\u00ceh\2\u0542\u0543\7"+
"G\2\2\u0543\u0545\7q\2\2\u0544\u0546\5\u00ceh\2\u0545\u0544\3\2\2\2\u0545"+
"\u0546\3\2\2\2\u0546\u0548\3\2\2\2\u0547\u0541\3\2\2\2\u0547\u0542\3\2"+
"\2\2\u0548\u00cb\3\2\2\2\u0549\u054a\7*\2\2\u054a\u054e\5\u00caf\2\u054b"+
"\u054c\7q\2\2\u054c\u054e\5\u00ceh\2\u054d\u0549\3\2\2\2\u054d\u054b\3"+
"\2\2\2\u054e\u00cd\3\2\2\2\u054f\u0551\7?\2\2\u0550\u0552\5\u00a2R\2\u0551"+
"\u0550\3\2\2\2\u0551\u0552\3\2\2\2\u0552\u0553\3\2\2\2\u0553\u0554\7@"+
"\2\2\u0554\u00cf\3\2\2\2\u00aa\u00d1\u00d6\u00dc\u00e4\u00ed\u00f2\u00f9"+
"\u0100\u0103\u010a\u0114\u0118\u011d\u0121\u0125\u012f\u0137\u013d\u0144"+
"\u014b\u014f\u0152\u0155\u015e\u0164\u0169\u016c\u0172\u0178\u017c\u0184"+
"\u018d\u0194\u019a\u019e\u01a9\u01b2\u01b7\u01bd\u01c1\u01cd\u01d8\u01dd"+
"\u01e6\u01ee\u01f8\u0201\u0209\u020e\u0216\u021b\u0225\u022f\u0235\u023c"+
"\u0241\u0249\u024d\u024f\u0255\u025a\u025e\u0265\u0267\u026e\u0273\u027c"+
"\u0281\u0284\u0289\u0292\u029e\u02a7\u02b2\u02b5\u02bc\u02c6\u02ce\u02d1"+
"\u02d4\u02e1\u02e9\u02ee\u02f6\u02fa\u02fe\u0302\u0304\u0308\u030e\u0319"+
"\u0323\u0328\u0331\u0336\u0339\u0340\u0349\u0360\u0363\u0366\u036e\u0372"+
"\u037a\u0380\u038b\u0394\u0399\u03a3\u03aa\u03b7\u03c0\u03c9\u03cf\u03da"+
"\u03df\u03e4\u03e9\u03ed\u03f1\u03f5\u03f7\u03fb\u0400\u0411\u0425\u0429"+
"\u042e\u0432\u0442\u0469\u046f\u0479\u0484\u0487\u0489\u0493\u049c\u04a0"+
"\u04a4\u04b6\u04b8\u04bd\u04c2\u04c7\u04d0\u04d2\u04d6\u04db\u04df\u04e3"+
"\u04e7\u04f1\u04fd\u0504\u0507\u050b\u0513\u0518\u0523\u0527\u052b\u0531"+
"\u053c\u0545\u0547\u054d\u0551";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy