|
|
@@ -0,0 +1,21415 @@
|
|
|
+// Generated from E:/subjects/Compilers Principle/exp/antlr/java-control-flow/src/main/resources/grammar\Java9.g4 by ANTLR 4.9.1
|
|
|
+package xyz.ignatz.antlr.java9.recognizer;
|
|
|
+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 Java9Parser extends Parser {
|
|
|
+ static { RuntimeMetaData.checkVersion("4.9.1", RuntimeMetaData.VERSION); }
|
|
|
+
|
|
|
+ protected static final DFA[] _decisionToDFA;
|
|
|
+ protected static final PredictionContextCache _sharedContextCache =
|
|
|
+ new PredictionContextCache();
|
|
|
+ public static final int
|
|
|
+ T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
|
|
|
+ T__9=10, ABSTRACT=11, ASSERT=12, BOOLEAN=13, BREAK=14, BYTE=15, CASE=16,
|
|
|
+ CATCH=17, CHAR=18, CLASS=19, CONST=20, CONTINUE=21, DEFAULT=22, DO=23,
|
|
|
+ DOUBLE=24, ELSE=25, ENUM=26, EXTENDS=27, FINAL=28, FINALLY=29, FLOAT=30,
|
|
|
+ FOR=31, IF=32, GOTO=33, IMPLEMENTS=34, IMPORT=35, INSTANCEOF=36, INT=37,
|
|
|
+ INTERFACE=38, LONG=39, NATIVE=40, NEW=41, PACKAGE=42, PRIVATE=43, PROTECTED=44,
|
|
|
+ PUBLIC=45, RETURN=46, SHORT=47, STATIC=48, STRICTFP=49, SUPER=50, SWITCH=51,
|
|
|
+ SYNCHRONIZED=52, THIS=53, THROW=54, THROWS=55, TRANSIENT=56, TRY=57, VOID=58,
|
|
|
+ VOLATILE=59, WHILE=60, UNDER_SCORE=61, IntegerLiteral=62, FloatingPointLiteral=63,
|
|
|
+ BooleanLiteral=64, CharacterLiteral=65, StringLiteral=66, NullLiteral=67,
|
|
|
+ LPAREN=68, RPAREN=69, LBRACE=70, RBRACE=71, LBRACK=72, RBRACK=73, SEMI=74,
|
|
|
+ COMMA=75, DOT=76, ELLIPSIS=77, AT=78, COLONCOLON=79, ASSIGN=80, GT=81,
|
|
|
+ LT=82, BANG=83, TILDE=84, QUESTION=85, COLON=86, ARROW=87, EQUAL=88, LE=89,
|
|
|
+ GE=90, NOTEQUAL=91, AND=92, OR=93, INC=94, DEC=95, ADD=96, SUB=97, MUL=98,
|
|
|
+ DIV=99, BITAND=100, BITOR=101, CARET=102, MOD=103, ADD_ASSIGN=104, SUB_ASSIGN=105,
|
|
|
+ MUL_ASSIGN=106, DIV_ASSIGN=107, AND_ASSIGN=108, OR_ASSIGN=109, XOR_ASSIGN=110,
|
|
|
+ MOD_ASSIGN=111, LSHIFT_ASSIGN=112, RSHIFT_ASSIGN=113, URSHIFT_ASSIGN=114,
|
|
|
+ Identifier=115, WS=116, COMMENT=117, LINE_COMMENT=118;
|
|
|
+ public static final int
|
|
|
+ RULE_literal = 0, RULE_primitiveType = 1, RULE_numericType = 2, RULE_integralType = 3,
|
|
|
+ RULE_floatingPointType = 4, RULE_referenceType = 5, RULE_classOrInterfaceType = 6,
|
|
|
+ RULE_classType = 7, RULE_classType_lf_classOrInterfaceType = 8, RULE_classType_lfno_classOrInterfaceType = 9,
|
|
|
+ RULE_interfaceType = 10, RULE_interfaceType_lf_classOrInterfaceType = 11,
|
|
|
+ RULE_interfaceType_lfno_classOrInterfaceType = 12, RULE_typeVariable = 13,
|
|
|
+ RULE_arrayType = 14, RULE_dims = 15, RULE_typeParameter = 16, RULE_typeParameterModifier = 17,
|
|
|
+ RULE_typeBound = 18, RULE_additionalBound = 19, RULE_typeArguments = 20,
|
|
|
+ RULE_typeArgumentList = 21, RULE_typeArgument = 22, RULE_wildcard = 23,
|
|
|
+ RULE_wildcardBounds = 24, RULE_moduleName = 25, RULE_packageName = 26,
|
|
|
+ RULE_typeName = 27, RULE_packageOrTypeName = 28, RULE_expressionName = 29,
|
|
|
+ RULE_methodName = 30, RULE_ambiguousName = 31, RULE_compilationUnit = 32,
|
|
|
+ RULE_ordinaryCompilation = 33, RULE_modularCompilation = 34, RULE_packageDeclaration = 35,
|
|
|
+ RULE_packageModifier = 36, RULE_importDeclaration = 37, RULE_singleTypeImportDeclaration = 38,
|
|
|
+ RULE_typeImportOnDemandDeclaration = 39, RULE_singleStaticImportDeclaration = 40,
|
|
|
+ RULE_staticImportOnDemandDeclaration = 41, RULE_typeDeclaration = 42,
|
|
|
+ RULE_moduleDeclaration = 43, RULE_moduleDirective = 44, RULE_requiresModifier = 45,
|
|
|
+ RULE_classDeclaration = 46, RULE_normalClassDeclaration = 47, RULE_classModifier = 48,
|
|
|
+ RULE_typeParameters = 49, RULE_typeParameterList = 50, RULE_superclass = 51,
|
|
|
+ RULE_superinterfaces = 52, RULE_interfaceTypeList = 53, RULE_classBody = 54,
|
|
|
+ RULE_classBodyDeclaration = 55, RULE_classMemberDeclaration = 56, RULE_fieldDeclaration = 57,
|
|
|
+ RULE_fieldModifier = 58, RULE_variableDeclaratorList = 59, RULE_variableDeclarator = 60,
|
|
|
+ RULE_variableDeclaratorId = 61, RULE_variableInitializer = 62, RULE_unannType = 63,
|
|
|
+ RULE_unannPrimitiveType = 64, RULE_unannReferenceType = 65, RULE_unannClassOrInterfaceType = 66,
|
|
|
+ RULE_unannClassType = 67, RULE_unannClassType_lf_unannClassOrInterfaceType = 68,
|
|
|
+ RULE_unannClassType_lfno_unannClassOrInterfaceType = 69, RULE_unannInterfaceType = 70,
|
|
|
+ RULE_unannInterfaceType_lf_unannClassOrInterfaceType = 71, RULE_unannInterfaceType_lfno_unannClassOrInterfaceType = 72,
|
|
|
+ RULE_unannTypeVariable = 73, RULE_unannArrayType = 74, RULE_methodDeclaration = 75,
|
|
|
+ RULE_methodModifier = 76, RULE_methodHeader = 77, RULE_result = 78, RULE_methodDeclarator = 79,
|
|
|
+ RULE_formalParameterList = 80, RULE_formalParameters = 81, RULE_formalParameter = 82,
|
|
|
+ RULE_variableModifier = 83, RULE_lastFormalParameter = 84, RULE_receiverParameter = 85,
|
|
|
+ RULE_throws_ = 86, RULE_exceptionTypeList = 87, RULE_exceptionType = 88,
|
|
|
+ RULE_methodBody = 89, RULE_instanceInitializer = 90, RULE_staticInitializer = 91,
|
|
|
+ RULE_constructorDeclaration = 92, RULE_constructorModifier = 93, RULE_constructorDeclarator = 94,
|
|
|
+ RULE_simpleTypeName = 95, RULE_constructorBody = 96, RULE_explicitConstructorInvocation = 97,
|
|
|
+ RULE_enumDeclaration = 98, RULE_enumBody = 99, RULE_enumConstantList = 100,
|
|
|
+ RULE_enumConstant = 101, RULE_enumConstantModifier = 102, RULE_enumBodyDeclarations = 103,
|
|
|
+ RULE_interfaceDeclaration = 104, RULE_normalInterfaceDeclaration = 105,
|
|
|
+ RULE_interfaceModifier = 106, RULE_extendsInterfaces = 107, RULE_interfaceBody = 108,
|
|
|
+ RULE_interfaceMemberDeclaration = 109, RULE_constantDeclaration = 110,
|
|
|
+ RULE_constantModifier = 111, RULE_interfaceMethodDeclaration = 112, RULE_interfaceMethodModifier = 113,
|
|
|
+ RULE_annotationTypeDeclaration = 114, RULE_annotationTypeBody = 115, RULE_annotationTypeMemberDeclaration = 116,
|
|
|
+ RULE_annotationTypeElementDeclaration = 117, RULE_annotationTypeElementModifier = 118,
|
|
|
+ RULE_defaultValue = 119, RULE_annotation = 120, RULE_normalAnnotation = 121,
|
|
|
+ RULE_elementValuePairList = 122, RULE_elementValuePair = 123, RULE_elementValue = 124,
|
|
|
+ RULE_elementValueArrayInitializer = 125, RULE_elementValueList = 126,
|
|
|
+ RULE_markerAnnotation = 127, RULE_singleElementAnnotation = 128, RULE_arrayInitializer = 129,
|
|
|
+ RULE_variableInitializerList = 130, RULE_block = 131, RULE_blockStatements = 132,
|
|
|
+ RULE_blockStatement = 133, RULE_localVariableDeclarationStatement = 134,
|
|
|
+ RULE_localVariableDeclaration = 135, RULE_statement = 136, RULE_statementNoShortIf = 137,
|
|
|
+ RULE_statementWithoutTrailingSubstatement = 138, RULE_emptyStatement = 139,
|
|
|
+ RULE_labeledStatement = 140, RULE_labeledStatementNoShortIf = 141, RULE_expressionStatement = 142,
|
|
|
+ RULE_statementExpression = 143, RULE_ifThenStatement = 144, RULE_ifThenElseStatement = 145,
|
|
|
+ RULE_ifThenElseStatementNoShortIf = 146, RULE_assertStatement = 147, RULE_switchStatement = 148,
|
|
|
+ RULE_switchBlock = 149, RULE_switchBlockStatementGroup = 150, RULE_switchLabels = 151,
|
|
|
+ RULE_switchLabel = 152, RULE_enumConstantName = 153, RULE_whileStatement = 154,
|
|
|
+ RULE_whileStatementNoShortIf = 155, RULE_doStatement = 156, RULE_forStatement = 157,
|
|
|
+ RULE_forStatementNoShortIf = 158, RULE_basicForStatement = 159, RULE_basicForStatementNoShortIf = 160,
|
|
|
+ RULE_forInit = 161, RULE_forUpdate = 162, RULE_statementExpressionList = 163,
|
|
|
+ RULE_enhancedForStatement = 164, RULE_enhancedForStatementNoShortIf = 165,
|
|
|
+ RULE_breakStatement = 166, RULE_continueStatement = 167, RULE_returnStatement = 168,
|
|
|
+ RULE_throwStatement = 169, RULE_synchronizedStatement = 170, RULE_tryStatement = 171,
|
|
|
+ RULE_catches = 172, RULE_catchClause = 173, RULE_catchFormalParameter = 174,
|
|
|
+ RULE_catchType = 175, RULE_finally_ = 176, RULE_tryWithResourcesStatement = 177,
|
|
|
+ RULE_resourceSpecification = 178, RULE_resourceList = 179, RULE_resource = 180,
|
|
|
+ RULE_variableAccess = 181, RULE_primary = 182, RULE_primaryNoNewArray = 183,
|
|
|
+ RULE_primaryNoNewArray_lf_arrayAccess = 184, RULE_primaryNoNewArray_lfno_arrayAccess = 185,
|
|
|
+ RULE_primaryNoNewArray_lf_primary = 186, RULE_primaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary = 187,
|
|
|
+ RULE_primaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary = 188, RULE_primaryNoNewArray_lfno_primary = 189,
|
|
|
+ RULE_primaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary = 190,
|
|
|
+ RULE_primaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary = 191,
|
|
|
+ RULE_classLiteral = 192, RULE_classInstanceCreationExpression = 193, RULE_classInstanceCreationExpression_lf_primary = 194,
|
|
|
+ RULE_classInstanceCreationExpression_lfno_primary = 195, RULE_typeArgumentsOrDiamond = 196,
|
|
|
+ RULE_fieldAccess = 197, RULE_fieldAccess_lf_primary = 198, RULE_fieldAccess_lfno_primary = 199,
|
|
|
+ RULE_arrayAccess = 200, RULE_arrayAccess_lf_primary = 201, RULE_arrayAccess_lfno_primary = 202,
|
|
|
+ RULE_methodInvocation = 203, RULE_methodInvocation_lf_primary = 204, RULE_methodInvocation_lfno_primary = 205,
|
|
|
+ RULE_argumentList = 206, RULE_methodReference = 207, RULE_methodReference_lf_primary = 208,
|
|
|
+ RULE_methodReference_lfno_primary = 209, RULE_arrayCreationExpression = 210,
|
|
|
+ RULE_dimExprs = 211, RULE_dimExpr = 212, RULE_constantExpression = 213,
|
|
|
+ RULE_expression = 214, RULE_lambdaExpression = 215, RULE_lambdaParameters = 216,
|
|
|
+ RULE_inferredFormalParameterList = 217, RULE_lambdaBody = 218, RULE_assignmentExpression = 219,
|
|
|
+ RULE_assignment = 220, RULE_leftHandSide = 221, RULE_assignmentOperator = 222,
|
|
|
+ RULE_conditionalExpression = 223, RULE_conditionalOrExpression = 224,
|
|
|
+ RULE_conditionalAndExpression = 225, RULE_inclusiveOrExpression = 226,
|
|
|
+ RULE_exclusiveOrExpression = 227, RULE_andExpression = 228, RULE_equalityExpression = 229,
|
|
|
+ RULE_relationalExpression = 230, RULE_shiftExpression = 231, RULE_additiveExpression = 232,
|
|
|
+ RULE_multiplicativeExpression = 233, RULE_unaryExpression = 234, RULE_preIncrementExpression = 235,
|
|
|
+ RULE_preDecrementExpression = 236, RULE_unaryExpressionNotPlusMinus = 237,
|
|
|
+ RULE_postfixExpression = 238, RULE_postIncrementExpression = 239, RULE_postIncrementExpression_lf_postfixExpression = 240,
|
|
|
+ RULE_postDecrementExpression = 241, RULE_postDecrementExpression_lf_postfixExpression = 242,
|
|
|
+ RULE_castExpression = 243, RULE_identifier = 244;
|
|
|
+ private static String[] makeRuleNames() {
|
|
|
+ return new String[] {
|
|
|
+ "literal", "primitiveType", "numericType", "integralType", "floatingPointType",
|
|
|
+ "referenceType", "classOrInterfaceType", "classType", "classType_lf_classOrInterfaceType",
|
|
|
+ "classType_lfno_classOrInterfaceType", "interfaceType", "interfaceType_lf_classOrInterfaceType",
|
|
|
+ "interfaceType_lfno_classOrInterfaceType", "typeVariable", "arrayType",
|
|
|
+ "dims", "typeParameter", "typeParameterModifier", "typeBound", "additionalBound",
|
|
|
+ "typeArguments", "typeArgumentList", "typeArgument", "wildcard", "wildcardBounds",
|
|
|
+ "moduleName", "packageName", "typeName", "packageOrTypeName", "expressionName",
|
|
|
+ "methodName", "ambiguousName", "compilationUnit", "ordinaryCompilation",
|
|
|
+ "modularCompilation", "packageDeclaration", "packageModifier", "importDeclaration",
|
|
|
+ "singleTypeImportDeclaration", "typeImportOnDemandDeclaration", "singleStaticImportDeclaration",
|
|
|
+ "staticImportOnDemandDeclaration", "typeDeclaration", "moduleDeclaration",
|
|
|
+ "moduleDirective", "requiresModifier", "classDeclaration", "normalClassDeclaration",
|
|
|
+ "classModifier", "typeParameters", "typeParameterList", "superclass",
|
|
|
+ "superinterfaces", "interfaceTypeList", "classBody", "classBodyDeclaration",
|
|
|
+ "classMemberDeclaration", "fieldDeclaration", "fieldModifier", "variableDeclaratorList",
|
|
|
+ "variableDeclarator", "variableDeclaratorId", "variableInitializer",
|
|
|
+ "unannType", "unannPrimitiveType", "unannReferenceType", "unannClassOrInterfaceType",
|
|
|
+ "unannClassType", "unannClassType_lf_unannClassOrInterfaceType", "unannClassType_lfno_unannClassOrInterfaceType",
|
|
|
+ "unannInterfaceType", "unannInterfaceType_lf_unannClassOrInterfaceType",
|
|
|
+ "unannInterfaceType_lfno_unannClassOrInterfaceType", "unannTypeVariable",
|
|
|
+ "unannArrayType", "methodDeclaration", "methodModifier", "methodHeader",
|
|
|
+ "result", "methodDeclarator", "formalParameterList", "formalParameters",
|
|
|
+ "formalParameter", "variableModifier", "lastFormalParameter", "receiverParameter",
|
|
|
+ "throws_", "exceptionTypeList", "exceptionType", "methodBody", "instanceInitializer",
|
|
|
+ "staticInitializer", "constructorDeclaration", "constructorModifier",
|
|
|
+ "constructorDeclarator", "simpleTypeName", "constructorBody", "explicitConstructorInvocation",
|
|
|
+ "enumDeclaration", "enumBody", "enumConstantList", "enumConstant", "enumConstantModifier",
|
|
|
+ "enumBodyDeclarations", "interfaceDeclaration", "normalInterfaceDeclaration",
|
|
|
+ "interfaceModifier", "extendsInterfaces", "interfaceBody", "interfaceMemberDeclaration",
|
|
|
+ "constantDeclaration", "constantModifier", "interfaceMethodDeclaration",
|
|
|
+ "interfaceMethodModifier", "annotationTypeDeclaration", "annotationTypeBody",
|
|
|
+ "annotationTypeMemberDeclaration", "annotationTypeElementDeclaration",
|
|
|
+ "annotationTypeElementModifier", "defaultValue", "annotation", "normalAnnotation",
|
|
|
+ "elementValuePairList", "elementValuePair", "elementValue", "elementValueArrayInitializer",
|
|
|
+ "elementValueList", "markerAnnotation", "singleElementAnnotation", "arrayInitializer",
|
|
|
+ "variableInitializerList", "block", "blockStatements", "blockStatement",
|
|
|
+ "localVariableDeclarationStatement", "localVariableDeclaration", "statement",
|
|
|
+ "statementNoShortIf", "statementWithoutTrailingSubstatement", "emptyStatement",
|
|
|
+ "labeledStatement", "labeledStatementNoShortIf", "expressionStatement",
|
|
|
+ "statementExpression", "ifThenStatement", "ifThenElseStatement", "ifThenElseStatementNoShortIf",
|
|
|
+ "assertStatement", "switchStatement", "switchBlock", "switchBlockStatementGroup",
|
|
|
+ "switchLabels", "switchLabel", "enumConstantName", "whileStatement",
|
|
|
+ "whileStatementNoShortIf", "doStatement", "forStatement", "forStatementNoShortIf",
|
|
|
+ "basicForStatement", "basicForStatementNoShortIf", "forInit", "forUpdate",
|
|
|
+ "statementExpressionList", "enhancedForStatement", "enhancedForStatementNoShortIf",
|
|
|
+ "breakStatement", "continueStatement", "returnStatement", "throwStatement",
|
|
|
+ "synchronizedStatement", "tryStatement", "catches", "catchClause", "catchFormalParameter",
|
|
|
+ "catchType", "finally_", "tryWithResourcesStatement", "resourceSpecification",
|
|
|
+ "resourceList", "resource", "variableAccess", "primary", "primaryNoNewArray",
|
|
|
+ "primaryNoNewArray_lf_arrayAccess", "primaryNoNewArray_lfno_arrayAccess",
|
|
|
+ "primaryNoNewArray_lf_primary", "primaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary",
|
|
|
+ "primaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary", "primaryNoNewArray_lfno_primary",
|
|
|
+ "primaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary", "primaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary",
|
|
|
+ "classLiteral", "classInstanceCreationExpression", "classInstanceCreationExpression_lf_primary",
|
|
|
+ "classInstanceCreationExpression_lfno_primary", "typeArgumentsOrDiamond",
|
|
|
+ "fieldAccess", "fieldAccess_lf_primary", "fieldAccess_lfno_primary",
|
|
|
+ "arrayAccess", "arrayAccess_lf_primary", "arrayAccess_lfno_primary",
|
|
|
+ "methodInvocation", "methodInvocation_lf_primary", "methodInvocation_lfno_primary",
|
|
|
+ "argumentList", "methodReference", "methodReference_lf_primary", "methodReference_lfno_primary",
|
|
|
+ "arrayCreationExpression", "dimExprs", "dimExpr", "constantExpression",
|
|
|
+ "expression", "lambdaExpression", "lambdaParameters", "inferredFormalParameterList",
|
|
|
+ "lambdaBody", "assignmentExpression", "assignment", "leftHandSide", "assignmentOperator",
|
|
|
+ "conditionalExpression", "conditionalOrExpression", "conditionalAndExpression",
|
|
|
+ "inclusiveOrExpression", "exclusiveOrExpression", "andExpression", "equalityExpression",
|
|
|
+ "relationalExpression", "shiftExpression", "additiveExpression", "multiplicativeExpression",
|
|
|
+ "unaryExpression", "preIncrementExpression", "preDecrementExpression",
|
|
|
+ "unaryExpressionNotPlusMinus", "postfixExpression", "postIncrementExpression",
|
|
|
+ "postIncrementExpression_lf_postfixExpression", "postDecrementExpression",
|
|
|
+ "postDecrementExpression_lf_postfixExpression", "castExpression", "identifier"
|
|
|
+ };
|
|
|
+ }
|
|
|
+ public static final String[] ruleNames = makeRuleNames();
|
|
|
+
|
|
|
+ private static String[] makeLiteralNames() {
|
|
|
+ return new String[] {
|
|
|
+ null, "'open'", "'module'", "'requires'", "'exports'", "'to'", "'opens'",
|
|
|
+ "'uses'", "'provides'", "'with'", "'transitive'", "'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'", "'('", "')'", "'{'", "'}'", "'['", "']'", "';'", "','", "'.'",
|
|
|
+ "'...'", "'@'", "'::'", "'='", "'>'", "'<'", "'!'", "'~'", "'?'", "':'",
|
|
|
+ "'->'", "'=='", "'<='", "'>='", "'!='", "'&&'", "'||'", "'++'", "'--'",
|
|
|
+ "'+'", "'-'", "'*'", "'/'", "'&'", "'|'", "'^'", "'%'", "'+='", "'-='",
|
|
|
+ "'*='", "'/='", "'&='", "'|='", "'^='", "'%='", "'<<='", "'>>='", "'>>>='"
|
|
|
+ };
|
|
|
+ }
|
|
|
+ private static final String[] _LITERAL_NAMES = makeLiteralNames();
|
|
|
+ private static String[] makeSymbolicNames() {
|
|
|
+ return new String[] {
|
|
|
+ null, null, null, null, null, null, null, null, null, null, null, "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", "UNDER_SCORE", "IntegerLiteral",
|
|
|
+ "FloatingPointLiteral", "BooleanLiteral", "CharacterLiteral", "StringLiteral",
|
|
|
+ "NullLiteral", "LPAREN", "RPAREN", "LBRACE", "RBRACE", "LBRACK", "RBRACK",
|
|
|
+ "SEMI", "COMMA", "DOT", "ELLIPSIS", "AT", "COLONCOLON", "ASSIGN", "GT",
|
|
|
+ "LT", "BANG", "TILDE", "QUESTION", "COLON", "ARROW", "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", "Identifier", "WS", "COMMENT", "LINE_COMMENT"
|
|
|
+ };
|
|
|
+ }
|
|
|
+ private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
|
|
|
+ public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @deprecated Use {@link #VOCABULARY} instead.
|
|
|
+ */
|
|
|
+ @Deprecated
|
|
|
+ public static final String[] tokenNames;
|
|
|
+ static {
|
|
|
+ tokenNames = new String[_SYMBOLIC_NAMES.length];
|
|
|
+ for (int i = 0; i < tokenNames.length; i++) {
|
|
|
+ tokenNames[i] = VOCABULARY.getLiteralName(i);
|
|
|
+ if (tokenNames[i] == null) {
|
|
|
+ tokenNames[i] = VOCABULARY.getSymbolicName(i);
|
|
|
+ }
|
|
|
+
|
|
|
+ if (tokenNames[i] == null) {
|
|
|
+ tokenNames[i] = "<INVALID>";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ @Deprecated
|
|
|
+ public String[] getTokenNames() {
|
|
|
+ return tokenNames;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+
|
|
|
+ public Vocabulary getVocabulary() {
|
|
|
+ return VOCABULARY;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String getGrammarFileName() { return "Java9.g4"; }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String[] getRuleNames() { return ruleNames; }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String getSerializedATN() { return _serializedATN; }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public ATN getATN() { return _ATN; }
|
|
|
+
|
|
|
+ public Java9Parser(TokenStream input) {
|
|
|
+ super(input);
|
|
|
+ _interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class LiteralContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IntegerLiteral() { return getToken(Java9Parser.IntegerLiteral, 0); }
|
|
|
+ public TerminalNode FloatingPointLiteral() { return getToken(Java9Parser.FloatingPointLiteral, 0); }
|
|
|
+ public TerminalNode BooleanLiteral() { return getToken(Java9Parser.BooleanLiteral, 0); }
|
|
|
+ public TerminalNode CharacterLiteral() { return getToken(Java9Parser.CharacterLiteral, 0); }
|
|
|
+ public TerminalNode StringLiteral() { return getToken(Java9Parser.StringLiteral, 0); }
|
|
|
+ public TerminalNode NullLiteral() { return getToken(Java9Parser.NullLiteral, 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 Java9Listener ) ((Java9Listener)listener).enterLiteral(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLiteral(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLiteral(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LiteralContext literal() throws RecognitionException {
|
|
|
+ LiteralContext _localctx = new LiteralContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 0, RULE_literal);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(490);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ( !(((((_la - 62)) & ~0x3f) == 0 && ((1L << (_la - 62)) & ((1L << (IntegerLiteral - 62)) | (1L << (FloatingPointLiteral - 62)) | (1L << (BooleanLiteral - 62)) | (1L << (CharacterLiteral - 62)) | (1L << (StringLiteral - 62)) | (1L << (NullLiteral - 62)))) != 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 PrimitiveTypeContext extends ParserRuleContext {
|
|
|
+ public NumericTypeContext numericType() {
|
|
|
+ return getRuleContext(NumericTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public TerminalNode BOOLEAN() { return getToken(Java9Parser.BOOLEAN, 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 Java9Listener ) ((Java9Listener)listener).enterPrimitiveType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimitiveType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimitiveType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimitiveTypeContext primitiveType() throws RecognitionException {
|
|
|
+ PrimitiveTypeContext _localctx = new PrimitiveTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 2, RULE_primitiveType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(506);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(495);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(492);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(497);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(498);
|
|
|
+ numericType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(502);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(499);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(504);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(505);
|
|
|
+ match(BOOLEAN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class NumericTypeContext extends ParserRuleContext {
|
|
|
+ public IntegralTypeContext integralType() {
|
|
|
+ return getRuleContext(IntegralTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public FloatingPointTypeContext floatingPointType() {
|
|
|
+ return getRuleContext(FloatingPointTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public NumericTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_numericType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterNumericType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitNumericType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitNumericType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final NumericTypeContext numericType() throws RecognitionException {
|
|
|
+ NumericTypeContext _localctx = new NumericTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 4, RULE_numericType);
|
|
|
+ try {
|
|
|
+ setState(510);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case SHORT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(508);
|
|
|
+ integralType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(509);
|
|
|
+ floatingPointType();
|
|
|
+ }
|
|
|
+ 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 IntegralTypeContext extends ParserRuleContext {
|
|
|
+ public TerminalNode BYTE() { return getToken(Java9Parser.BYTE, 0); }
|
|
|
+ public TerminalNode SHORT() { return getToken(Java9Parser.SHORT, 0); }
|
|
|
+ public TerminalNode INT() { return getToken(Java9Parser.INT, 0); }
|
|
|
+ public TerminalNode LONG() { return getToken(Java9Parser.LONG, 0); }
|
|
|
+ public TerminalNode CHAR() { return getToken(Java9Parser.CHAR, 0); }
|
|
|
+ public IntegralTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_integralType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterIntegralType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitIntegralType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitIntegralType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final IntegralTypeContext integralType() throws RecognitionException {
|
|
|
+ IntegralTypeContext _localctx = new IntegralTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 6, RULE_integralType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(512);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BYTE) | (1L << CHAR) | (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 FloatingPointTypeContext extends ParserRuleContext {
|
|
|
+ public TerminalNode FLOAT() { return getToken(Java9Parser.FLOAT, 0); }
|
|
|
+ public TerminalNode DOUBLE() { return getToken(Java9Parser.DOUBLE, 0); }
|
|
|
+ public FloatingPointTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_floatingPointType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterFloatingPointType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFloatingPointType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFloatingPointType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FloatingPointTypeContext floatingPointType() throws RecognitionException {
|
|
|
+ FloatingPointTypeContext _localctx = new FloatingPointTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 8, RULE_floatingPointType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(514);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ( !(_la==DOUBLE || _la==FLOAT) ) {
|
|
|
+ _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 ReferenceTypeContext extends ParserRuleContext {
|
|
|
+ public ClassOrInterfaceTypeContext classOrInterfaceType() {
|
|
|
+ return getRuleContext(ClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeVariableContext typeVariable() {
|
|
|
+ return getRuleContext(TypeVariableContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayTypeContext arrayType() {
|
|
|
+ return getRuleContext(ArrayTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public ReferenceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_referenceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterReferenceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitReferenceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitReferenceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ReferenceTypeContext referenceType() throws RecognitionException {
|
|
|
+ ReferenceTypeContext _localctx = new ReferenceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 10, RULE_referenceType);
|
|
|
+ try {
|
|
|
+ setState(519);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(516);
|
|
|
+ classOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(517);
|
|
|
+ typeVariable();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(518);
|
|
|
+ arrayType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 ClassType_lfno_classOrInterfaceTypeContext classType_lfno_classOrInterfaceType() {
|
|
|
+ return getRuleContext(ClassType_lfno_classOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceType_lfno_classOrInterfaceTypeContext interfaceType_lfno_classOrInterfaceType() {
|
|
|
+ return getRuleContext(InterfaceType_lfno_classOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public List<ClassType_lf_classOrInterfaceTypeContext> classType_lf_classOrInterfaceType() {
|
|
|
+ return getRuleContexts(ClassType_lf_classOrInterfaceTypeContext.class);
|
|
|
+ }
|
|
|
+ public ClassType_lf_classOrInterfaceTypeContext classType_lf_classOrInterfaceType(int i) {
|
|
|
+ return getRuleContext(ClassType_lf_classOrInterfaceTypeContext.class,i);
|
|
|
+ }
|
|
|
+ public List<InterfaceType_lf_classOrInterfaceTypeContext> interfaceType_lf_classOrInterfaceType() {
|
|
|
+ return getRuleContexts(InterfaceType_lf_classOrInterfaceTypeContext.class);
|
|
|
+ }
|
|
|
+ public InterfaceType_lf_classOrInterfaceTypeContext interfaceType_lf_classOrInterfaceType(int i) {
|
|
|
+ return getRuleContext(InterfaceType_lf_classOrInterfaceTypeContext.class,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 Java9Listener ) ((Java9Listener)listener).enterClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassOrInterfaceTypeContext classOrInterfaceType() throws RecognitionException {
|
|
|
+ ClassOrInterfaceTypeContext _localctx = new ClassOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 12, RULE_classOrInterfaceType);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(523);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(521);
|
|
|
+ classType_lfno_classOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(522);
|
|
|
+ interfaceType_lfno_classOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ setState(529);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,7,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ setState(527);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,6,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(525);
|
|
|
+ classType_lf_classOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(526);
|
|
|
+ interfaceType_lf_classOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(531);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,7,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassOrInterfaceTypeContext classOrInterfaceType() {
|
|
|
+ return getRuleContext(ClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 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 Java9Listener ) ((Java9Listener)listener).enterClassType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassTypeContext classType() throws RecognitionException {
|
|
|
+ ClassTypeContext _localctx = new ClassTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 14, RULE_classType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(554);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(535);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(532);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(537);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(538);
|
|
|
+ identifier();
|
|
|
+ setState(540);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(539);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(542);
|
|
|
+ classOrInterfaceType();
|
|
|
+ setState(543);
|
|
|
+ match(DOT);
|
|
|
+ setState(547);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(544);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(549);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(550);
|
|
|
+ identifier();
|
|
|
+ setState(552);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(551);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ClassType_lf_classOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassType_lf_classOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_classType_lf_classOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterClassType_lf_classOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassType_lf_classOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassType_lf_classOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassType_lf_classOrInterfaceTypeContext classType_lf_classOrInterfaceType() throws RecognitionException {
|
|
|
+ ClassType_lf_classOrInterfaceTypeContext _localctx = new ClassType_lf_classOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 16, RULE_classType_lf_classOrInterfaceType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(556);
|
|
|
+ match(DOT);
|
|
|
+ setState(560);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(557);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(562);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(563);
|
|
|
+ identifier();
|
|
|
+ setState(565);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(564);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ClassType_lfno_classOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassType_lfno_classOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_classType_lfno_classOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterClassType_lfno_classOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassType_lfno_classOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassType_lfno_classOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassType_lfno_classOrInterfaceTypeContext classType_lfno_classOrInterfaceType() throws RecognitionException {
|
|
|
+ ClassType_lfno_classOrInterfaceTypeContext _localctx = new ClassType_lfno_classOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 18, RULE_classType_lfno_classOrInterfaceType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(570);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(567);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(572);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(573);
|
|
|
+ identifier();
|
|
|
+ setState(575);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,16,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(574);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class InterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public ClassTypeContext classType() {
|
|
|
+ return getRuleContext(ClassTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_interfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceTypeContext interfaceType() throws RecognitionException {
|
|
|
+ InterfaceTypeContext _localctx = new InterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 20, RULE_interfaceType);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(577);
|
|
|
+ classType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class InterfaceType_lf_classOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public ClassType_lf_classOrInterfaceTypeContext classType_lf_classOrInterfaceType() {
|
|
|
+ return getRuleContext(ClassType_lf_classOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceType_lf_classOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_interfaceType_lf_classOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterInterfaceType_lf_classOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceType_lf_classOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceType_lf_classOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceType_lf_classOrInterfaceTypeContext interfaceType_lf_classOrInterfaceType() throws RecognitionException {
|
|
|
+ InterfaceType_lf_classOrInterfaceTypeContext _localctx = new InterfaceType_lf_classOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 22, RULE_interfaceType_lf_classOrInterfaceType);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(579);
|
|
|
+ classType_lf_classOrInterfaceType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class InterfaceType_lfno_classOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public ClassType_lfno_classOrInterfaceTypeContext classType_lfno_classOrInterfaceType() {
|
|
|
+ return getRuleContext(ClassType_lfno_classOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceType_lfno_classOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_interfaceType_lfno_classOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterInterfaceType_lfno_classOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceType_lfno_classOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceType_lfno_classOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceType_lfno_classOrInterfaceTypeContext interfaceType_lfno_classOrInterfaceType() throws RecognitionException {
|
|
|
+ InterfaceType_lfno_classOrInterfaceTypeContext _localctx = new InterfaceType_lfno_classOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 24, RULE_interfaceType_lfno_classOrInterfaceType);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(581);
|
|
|
+ classType_lfno_classOrInterfaceType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class TypeVariableContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public TypeVariableContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_typeVariable; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterTypeVariable(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeVariable(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeVariable(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeVariableContext typeVariable() throws RecognitionException {
|
|
|
+ TypeVariableContext _localctx = new TypeVariableContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 26, RULE_typeVariable);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(586);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(583);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(588);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(589);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ArrayTypeContext extends ParserRuleContext {
|
|
|
+ public PrimitiveTypeContext primitiveType() {
|
|
|
+ return getRuleContext(PrimitiveTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public DimsContext dims() {
|
|
|
+ return getRuleContext(DimsContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassOrInterfaceTypeContext classOrInterfaceType() {
|
|
|
+ return getRuleContext(ClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeVariableContext typeVariable() {
|
|
|
+ return getRuleContext(TypeVariableContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_arrayType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterArrayType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitArrayType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitArrayType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ArrayTypeContext arrayType() throws RecognitionException {
|
|
|
+ ArrayTypeContext _localctx = new ArrayTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 28, RULE_arrayType);
|
|
|
+ try {
|
|
|
+ setState(600);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,18,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(591);
|
|
|
+ primitiveType();
|
|
|
+ setState(592);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(594);
|
|
|
+ classOrInterfaceType();
|
|
|
+ setState(595);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(597);
|
|
|
+ typeVariable();
|
|
|
+ setState(598);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class DimsContext extends ParserRuleContext {
|
|
|
+ public List<TerminalNode> LBRACK() { return getTokens(Java9Parser.LBRACK); }
|
|
|
+ public TerminalNode LBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.LBRACK, i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> RBRACK() { return getTokens(Java9Parser.RBRACK); }
|
|
|
+ public TerminalNode RBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.RBRACK, i);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public DimsContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_dims; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterDims(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitDims(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitDims(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final DimsContext dims() throws RecognitionException {
|
|
|
+ DimsContext _localctx = new DimsContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 30, RULE_dims);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(605);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(602);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(607);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(608);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(609);
|
|
|
+ match(RBRACK);
|
|
|
+ setState(620);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,21,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(613);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(610);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(615);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(616);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(617);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(622);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,21,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TypeParameterModifierContext> typeParameterModifier() {
|
|
|
+ return getRuleContexts(TypeParameterModifierContext.class);
|
|
|
+ }
|
|
|
+ public TypeParameterModifierContext typeParameterModifier(int i) {
|
|
|
+ return getRuleContext(TypeParameterModifierContext.class,i);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterTypeParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeParameter(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeParameterContext typeParameter() throws RecognitionException {
|
|
|
+ TypeParameterContext _localctx = new TypeParameterContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 32, RULE_typeParameter);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(626);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(623);
|
|
|
+ typeParameterModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(628);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(629);
|
|
|
+ identifier();
|
|
|
+ setState(631);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==EXTENDS) {
|
|
|
+ {
|
|
|
+ setState(630);
|
|
|
+ typeBound();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class TypeParameterModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeParameterModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_typeParameterModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterTypeParameterModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeParameterModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeParameterModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeParameterModifierContext typeParameterModifier() throws RecognitionException {
|
|
|
+ TypeParameterModifierContext _localctx = new TypeParameterModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 34, RULE_typeParameterModifier);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(633);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 TerminalNode EXTENDS() { return getToken(Java9Parser.EXTENDS, 0); }
|
|
|
+ public TypeVariableContext typeVariable() {
|
|
|
+ return getRuleContext(TypeVariableContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassOrInterfaceTypeContext classOrInterfaceType() {
|
|
|
+ return getRuleContext(ClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AdditionalBoundContext> additionalBound() {
|
|
|
+ return getRuleContexts(AdditionalBoundContext.class);
|
|
|
+ }
|
|
|
+ public AdditionalBoundContext additionalBound(int i) {
|
|
|
+ return getRuleContext(AdditionalBoundContext.class,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 Java9Listener ) ((Java9Listener)listener).enterTypeBound(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeBound(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeBound(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeBoundContext typeBound() throws RecognitionException {
|
|
|
+ TypeBoundContext _localctx = new TypeBoundContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 36, RULE_typeBound);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(645);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,25,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(635);
|
|
|
+ match(EXTENDS);
|
|
|
+ setState(636);
|
|
|
+ typeVariable();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(637);
|
|
|
+ match(EXTENDS);
|
|
|
+ setState(638);
|
|
|
+ classOrInterfaceType();
|
|
|
+ setState(642);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==BITAND) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(639);
|
|
|
+ additionalBound();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(644);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AdditionalBoundContext extends ParserRuleContext {
|
|
|
+ public TerminalNode BITAND() { return getToken(Java9Parser.BITAND, 0); }
|
|
|
+ public InterfaceTypeContext interfaceType() {
|
|
|
+ return getRuleContext(InterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public AdditionalBoundContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_additionalBound; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAdditionalBound(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAdditionalBound(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAdditionalBound(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AdditionalBoundContext additionalBound() throws RecognitionException {
|
|
|
+ AdditionalBoundContext _localctx = new AdditionalBoundContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 38, RULE_additionalBound);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(647);
|
|
|
+ match(BITAND);
|
|
|
+ setState(648);
|
|
|
+ interfaceType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.LT, 0); }
|
|
|
+ public TypeArgumentListContext typeArgumentList() {
|
|
|
+ return getRuleContext(TypeArgumentListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode GT() { return getToken(Java9Parser.GT, 0); }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterTypeArguments(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeArguments(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeArguments(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeArgumentsContext typeArguments() throws RecognitionException {
|
|
|
+ TypeArgumentsContext _localctx = new TypeArgumentsContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 40, RULE_typeArguments);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(650);
|
|
|
+ match(LT);
|
|
|
+ setState(651);
|
|
|
+ typeArgumentList();
|
|
|
+ setState(652);
|
|
|
+ match(GT);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class TypeArgumentListContext extends ParserRuleContext {
|
|
|
+ public List<TypeArgumentContext> typeArgument() {
|
|
|
+ return getRuleContexts(TypeArgumentContext.class);
|
|
|
+ }
|
|
|
+ public TypeArgumentContext typeArgument(int i) {
|
|
|
+ return getRuleContext(TypeArgumentContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public TypeArgumentListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_typeArgumentList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterTypeArgumentList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeArgumentList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeArgumentList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeArgumentListContext typeArgumentList() throws RecognitionException {
|
|
|
+ TypeArgumentListContext _localctx = new TypeArgumentListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 42, RULE_typeArgumentList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(654);
|
|
|
+ typeArgument();
|
|
|
+ setState(659);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(655);
|
|
|
+ match(COMMA);
|
|
|
+ setState(656);
|
|
|
+ typeArgument();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(661);
|
|
|
+ _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 TypeArgumentContext extends ParserRuleContext {
|
|
|
+ public ReferenceTypeContext referenceType() {
|
|
|
+ return getRuleContext(ReferenceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public WildcardContext wildcard() {
|
|
|
+ return getRuleContext(WildcardContext.class,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 Java9Listener ) ((Java9Listener)listener).enterTypeArgument(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeArgument(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeArgument(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeArgumentContext typeArgument() throws RecognitionException {
|
|
|
+ TypeArgumentContext _localctx = new TypeArgumentContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 44, RULE_typeArgument);
|
|
|
+ try {
|
|
|
+ setState(664);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,27,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(662);
|
|
|
+ referenceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(663);
|
|
|
+ wildcard();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class WildcardContext extends ParserRuleContext {
|
|
|
+ public TerminalNode QUESTION() { return getToken(Java9Parser.QUESTION, 0); }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public WildcardBoundsContext wildcardBounds() {
|
|
|
+ return getRuleContext(WildcardBoundsContext.class,0);
|
|
|
+ }
|
|
|
+ public WildcardContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_wildcard; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterWildcard(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitWildcard(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitWildcard(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final WildcardContext wildcard() throws RecognitionException {
|
|
|
+ WildcardContext _localctx = new WildcardContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 46, RULE_wildcard);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(669);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(666);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(671);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(672);
|
|
|
+ match(QUESTION);
|
|
|
+ setState(674);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==EXTENDS || _la==SUPER) {
|
|
|
+ {
|
|
|
+ setState(673);
|
|
|
+ wildcardBounds();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class WildcardBoundsContext extends ParserRuleContext {
|
|
|
+ public TerminalNode EXTENDS() { return getToken(Java9Parser.EXTENDS, 0); }
|
|
|
+ public ReferenceTypeContext referenceType() {
|
|
|
+ return getRuleContext(ReferenceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SUPER() { return getToken(Java9Parser.SUPER, 0); }
|
|
|
+ public WildcardBoundsContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_wildcardBounds; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterWildcardBounds(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitWildcardBounds(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitWildcardBounds(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final WildcardBoundsContext wildcardBounds() throws RecognitionException {
|
|
|
+ WildcardBoundsContext _localctx = new WildcardBoundsContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 48, RULE_wildcardBounds);
|
|
|
+ try {
|
|
|
+ setState(680);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case EXTENDS:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(676);
|
|
|
+ match(EXTENDS);
|
|
|
+ setState(677);
|
|
|
+ referenceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case SUPER:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(678);
|
|
|
+ match(SUPER);
|
|
|
+ setState(679);
|
|
|
+ referenceType();
|
|
|
+ }
|
|
|
+ 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 ModuleNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public ModuleNameContext moduleName() {
|
|
|
+ return getRuleContext(ModuleNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public ModuleNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_moduleName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterModuleName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitModuleName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitModuleName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ModuleNameContext moduleName() throws RecognitionException {
|
|
|
+ return moduleName(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private ModuleNameContext moduleName(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ ModuleNameContext _localctx = new ModuleNameContext(_ctx, _parentState);
|
|
|
+ ModuleNameContext _prevctx = _localctx;
|
|
|
+ int _startState = 50;
|
|
|
+ enterRecursionRule(_localctx, 50, RULE_moduleName, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(683);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(690);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,31,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new ModuleNameContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_moduleName);
|
|
|
+ setState(685);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(686);
|
|
|
+ match(DOT);
|
|
|
+ setState(687);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(692);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,31,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PackageNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public PackageNameContext packageName() {
|
|
|
+ return getRuleContext(PackageNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public PackageNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_packageName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPackageName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPackageName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPackageName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PackageNameContext packageName() throws RecognitionException {
|
|
|
+ return packageName(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private PackageNameContext packageName(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ PackageNameContext _localctx = new PackageNameContext(_ctx, _parentState);
|
|
|
+ PackageNameContext _prevctx = _localctx;
|
|
|
+ int _startState = 52;
|
|
|
+ enterRecursionRule(_localctx, 52, RULE_packageName, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(694);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(701);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,32,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new PackageNameContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_packageName);
|
|
|
+ setState(696);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(697);
|
|
|
+ match(DOT);
|
|
|
+ setState(698);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(703);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,32,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class TypeNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public PackageOrTypeNameContext packageOrTypeName() {
|
|
|
+ return getRuleContext(PackageOrTypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TypeNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_typeName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterTypeName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeNameContext typeName() throws RecognitionException {
|
|
|
+ TypeNameContext _localctx = new TypeNameContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 54, RULE_typeName);
|
|
|
+ try {
|
|
|
+ setState(709);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,33,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(704);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(705);
|
|
|
+ packageOrTypeName(0);
|
|
|
+ setState(706);
|
|
|
+ match(DOT);
|
|
|
+ setState(707);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PackageOrTypeNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public PackageOrTypeNameContext packageOrTypeName() {
|
|
|
+ return getRuleContext(PackageOrTypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public PackageOrTypeNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_packageOrTypeName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPackageOrTypeName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPackageOrTypeName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPackageOrTypeName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PackageOrTypeNameContext packageOrTypeName() throws RecognitionException {
|
|
|
+ return packageOrTypeName(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private PackageOrTypeNameContext packageOrTypeName(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ PackageOrTypeNameContext _localctx = new PackageOrTypeNameContext(_ctx, _parentState);
|
|
|
+ PackageOrTypeNameContext _prevctx = _localctx;
|
|
|
+ int _startState = 56;
|
|
|
+ enterRecursionRule(_localctx, 56, RULE_packageOrTypeName, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(712);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(719);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,34,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new PackageOrTypeNameContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_packageOrTypeName);
|
|
|
+ setState(714);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(715);
|
|
|
+ match(DOT);
|
|
|
+ setState(716);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(721);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,34,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ExpressionNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public AmbiguousNameContext ambiguousName() {
|
|
|
+ return getRuleContext(AmbiguousNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public ExpressionNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_expressionName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterExpressionName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitExpressionName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitExpressionName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ExpressionNameContext expressionName() throws RecognitionException {
|
|
|
+ ExpressionNameContext _localctx = new ExpressionNameContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 58, RULE_expressionName);
|
|
|
+ try {
|
|
|
+ setState(727);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(722);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(723);
|
|
|
+ ambiguousName(0);
|
|
|
+ setState(724);
|
|
|
+ match(DOT);
|
|
|
+ setState(725);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MethodNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodNameContext methodName() throws RecognitionException {
|
|
|
+ MethodNameContext _localctx = new MethodNameContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 60, RULE_methodName);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(729);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AmbiguousNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public AmbiguousNameContext ambiguousName() {
|
|
|
+ return getRuleContext(AmbiguousNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public AmbiguousNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_ambiguousName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAmbiguousName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAmbiguousName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAmbiguousName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AmbiguousNameContext ambiguousName() throws RecognitionException {
|
|
|
+ return ambiguousName(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private AmbiguousNameContext ambiguousName(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ AmbiguousNameContext _localctx = new AmbiguousNameContext(_ctx, _parentState);
|
|
|
+ AmbiguousNameContext _prevctx = _localctx;
|
|
|
+ int _startState = 62;
|
|
|
+ enterRecursionRule(_localctx, 62, RULE_ambiguousName, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(732);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(739);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,36,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new AmbiguousNameContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_ambiguousName);
|
|
|
+ setState(734);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(735);
|
|
|
+ match(DOT);
|
|
|
+ setState(736);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(741);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,36,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class CompilationUnitContext extends ParserRuleContext {
|
|
|
+ public OrdinaryCompilationContext ordinaryCompilation() {
|
|
|
+ return getRuleContext(OrdinaryCompilationContext.class,0);
|
|
|
+ }
|
|
|
+ public ModularCompilationContext modularCompilation() {
|
|
|
+ return getRuleContext(ModularCompilationContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterCompilationUnit(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitCompilationUnit(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitCompilationUnit(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final CompilationUnitContext compilationUnit() throws RecognitionException {
|
|
|
+ CompilationUnitContext _localctx = new CompilationUnitContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 64, RULE_compilationUnit);
|
|
|
+ try {
|
|
|
+ setState(744);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(742);
|
|
|
+ ordinaryCompilation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(743);
|
|
|
+ modularCompilation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class OrdinaryCompilationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode EOF() { return getToken(Java9Parser.EOF, 0); }
|
|
|
+ public PackageDeclarationContext packageDeclaration() {
|
|
|
+ return getRuleContext(PackageDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public List<ImportDeclarationContext> importDeclaration() {
|
|
|
+ return getRuleContexts(ImportDeclarationContext.class);
|
|
|
+ }
|
|
|
+ public ImportDeclarationContext importDeclaration(int i) {
|
|
|
+ return getRuleContext(ImportDeclarationContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TypeDeclarationContext> typeDeclaration() {
|
|
|
+ return getRuleContexts(TypeDeclarationContext.class);
|
|
|
+ }
|
|
|
+ public TypeDeclarationContext typeDeclaration(int i) {
|
|
|
+ return getRuleContext(TypeDeclarationContext.class,i);
|
|
|
+ }
|
|
|
+ public OrdinaryCompilationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_ordinaryCompilation; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterOrdinaryCompilation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitOrdinaryCompilation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitOrdinaryCompilation(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final OrdinaryCompilationContext ordinaryCompilation() throws RecognitionException {
|
|
|
+ OrdinaryCompilationContext _localctx = new OrdinaryCompilationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 66, RULE_ordinaryCompilation);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(747);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(746);
|
|
|
+ packageDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ setState(752);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==IMPORT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(749);
|
|
|
+ importDeclaration();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(754);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(758);
|
|
|
+ _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(755);
|
|
|
+ typeDeclaration();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(760);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(761);
|
|
|
+ match(EOF);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ModularCompilationContext extends ParserRuleContext {
|
|
|
+ public ModuleDeclarationContext moduleDeclaration() {
|
|
|
+ return getRuleContext(ModuleDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public List<ImportDeclarationContext> importDeclaration() {
|
|
|
+ return getRuleContexts(ImportDeclarationContext.class);
|
|
|
+ }
|
|
|
+ public ImportDeclarationContext importDeclaration(int i) {
|
|
|
+ return getRuleContext(ImportDeclarationContext.class,i);
|
|
|
+ }
|
|
|
+ public ModularCompilationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_modularCompilation; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterModularCompilation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitModularCompilation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitModularCompilation(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ModularCompilationContext modularCompilation() throws RecognitionException {
|
|
|
+ ModularCompilationContext _localctx = new ModularCompilationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 68, RULE_modularCompilation);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(766);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==IMPORT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(763);
|
|
|
+ importDeclaration();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(768);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(769);
|
|
|
+ moduleDeclaration();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.PACKAGE, 0); }
|
|
|
+ public PackageNameContext packageName() {
|
|
|
+ return getRuleContext(PackageNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public List<PackageModifierContext> packageModifier() {
|
|
|
+ return getRuleContexts(PackageModifierContext.class);
|
|
|
+ }
|
|
|
+ public PackageModifierContext packageModifier(int i) {
|
|
|
+ return getRuleContext(PackageModifierContext.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 Java9Listener ) ((Java9Listener)listener).enterPackageDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPackageDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPackageDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PackageDeclarationContext packageDeclaration() throws RecognitionException {
|
|
|
+ PackageDeclarationContext _localctx = new PackageDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 70, RULE_packageDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(774);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(771);
|
|
|
+ packageModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(776);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(777);
|
|
|
+ match(PACKAGE);
|
|
|
+ setState(778);
|
|
|
+ packageName(0);
|
|
|
+ setState(779);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PackageModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public PackageModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_packageModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPackageModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPackageModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPackageModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PackageModifierContext packageModifier() throws RecognitionException {
|
|
|
+ PackageModifierContext _localctx = new PackageModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 72, RULE_packageModifier);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(781);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 SingleTypeImportDeclarationContext singleTypeImportDeclaration() {
|
|
|
+ return getRuleContext(SingleTypeImportDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeImportOnDemandDeclarationContext typeImportOnDemandDeclaration() {
|
|
|
+ return getRuleContext(TypeImportOnDemandDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public SingleStaticImportDeclarationContext singleStaticImportDeclaration() {
|
|
|
+ return getRuleContext(SingleStaticImportDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public StaticImportOnDemandDeclarationContext staticImportOnDemandDeclaration() {
|
|
|
+ return getRuleContext(StaticImportOnDemandDeclarationContext.class,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 Java9Listener ) ((Java9Listener)listener).enterImportDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitImportDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitImportDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ImportDeclarationContext importDeclaration() throws RecognitionException {
|
|
|
+ ImportDeclarationContext _localctx = new ImportDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 74, RULE_importDeclaration);
|
|
|
+ try {
|
|
|
+ setState(787);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,43,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(783);
|
|
|
+ singleTypeImportDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(784);
|
|
|
+ typeImportOnDemandDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(785);
|
|
|
+ singleStaticImportDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(786);
|
|
|
+ staticImportOnDemandDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SingleTypeImportDeclarationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IMPORT() { return getToken(Java9Parser.IMPORT, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public SingleTypeImportDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_singleTypeImportDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSingleTypeImportDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSingleTypeImportDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSingleTypeImportDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SingleTypeImportDeclarationContext singleTypeImportDeclaration() throws RecognitionException {
|
|
|
+ SingleTypeImportDeclarationContext _localctx = new SingleTypeImportDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 76, RULE_singleTypeImportDeclaration);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(789);
|
|
|
+ match(IMPORT);
|
|
|
+ setState(790);
|
|
|
+ typeName();
|
|
|
+ setState(791);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class TypeImportOnDemandDeclarationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IMPORT() { return getToken(Java9Parser.IMPORT, 0); }
|
|
|
+ public PackageOrTypeNameContext packageOrTypeName() {
|
|
|
+ return getRuleContext(PackageOrTypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TerminalNode MUL() { return getToken(Java9Parser.MUL, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public TypeImportOnDemandDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_typeImportOnDemandDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterTypeImportOnDemandDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeImportOnDemandDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeImportOnDemandDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeImportOnDemandDeclarationContext typeImportOnDemandDeclaration() throws RecognitionException {
|
|
|
+ TypeImportOnDemandDeclarationContext _localctx = new TypeImportOnDemandDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 78, RULE_typeImportOnDemandDeclaration);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(793);
|
|
|
+ match(IMPORT);
|
|
|
+ setState(794);
|
|
|
+ packageOrTypeName(0);
|
|
|
+ setState(795);
|
|
|
+ match(DOT);
|
|
|
+ setState(796);
|
|
|
+ match(MUL);
|
|
|
+ setState(797);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SingleStaticImportDeclarationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IMPORT() { return getToken(Java9Parser.IMPORT, 0); }
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public SingleStaticImportDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_singleStaticImportDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSingleStaticImportDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSingleStaticImportDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSingleStaticImportDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SingleStaticImportDeclarationContext singleStaticImportDeclaration() throws RecognitionException {
|
|
|
+ SingleStaticImportDeclarationContext _localctx = new SingleStaticImportDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 80, RULE_singleStaticImportDeclaration);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(799);
|
|
|
+ match(IMPORT);
|
|
|
+ setState(800);
|
|
|
+ match(STATIC);
|
|
|
+ setState(801);
|
|
|
+ typeName();
|
|
|
+ setState(802);
|
|
|
+ match(DOT);
|
|
|
+ setState(803);
|
|
|
+ identifier();
|
|
|
+ setState(804);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class StaticImportOnDemandDeclarationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IMPORT() { return getToken(Java9Parser.IMPORT, 0); }
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TerminalNode MUL() { return getToken(Java9Parser.MUL, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public StaticImportOnDemandDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_staticImportOnDemandDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterStaticImportOnDemandDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitStaticImportOnDemandDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitStaticImportOnDemandDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final StaticImportOnDemandDeclarationContext staticImportOnDemandDeclaration() throws RecognitionException {
|
|
|
+ StaticImportOnDemandDeclarationContext _localctx = new StaticImportOnDemandDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 82, RULE_staticImportOnDemandDeclaration);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(806);
|
|
|
+ match(IMPORT);
|
|
|
+ setState(807);
|
|
|
+ match(STATIC);
|
|
|
+ setState(808);
|
|
|
+ typeName();
|
|
|
+ setState(809);
|
|
|
+ match(DOT);
|
|
|
+ setState(810);
|
|
|
+ match(MUL);
|
|
|
+ setState(811);
|
|
|
+ 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 InterfaceDeclarationContext interfaceDeclaration() {
|
|
|
+ return getRuleContext(InterfaceDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterTypeDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeDeclarationContext typeDeclaration() throws RecognitionException {
|
|
|
+ TypeDeclarationContext _localctx = new TypeDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 84, RULE_typeDeclaration);
|
|
|
+ try {
|
|
|
+ setState(816);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,44,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(813);
|
|
|
+ classDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(814);
|
|
|
+ interfaceDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(815);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ModuleDeclarationContext extends ParserRuleContext {
|
|
|
+ public ModuleNameContext moduleName() {
|
|
|
+ return getRuleContext(ModuleNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LBRACE() { return getToken(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public List<ModuleDirectiveContext> moduleDirective() {
|
|
|
+ return getRuleContexts(ModuleDirectiveContext.class);
|
|
|
+ }
|
|
|
+ public ModuleDirectiveContext moduleDirective(int i) {
|
|
|
+ return getRuleContext(ModuleDirectiveContext.class,i);
|
|
|
+ }
|
|
|
+ public ModuleDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_moduleDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterModuleDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitModuleDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitModuleDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ModuleDeclarationContext moduleDeclaration() throws RecognitionException {
|
|
|
+ ModuleDeclarationContext _localctx = new ModuleDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 86, RULE_moduleDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(821);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(818);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(823);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(825);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==T__0) {
|
|
|
+ {
|
|
|
+ setState(824);
|
|
|
+ match(T__0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(827);
|
|
|
+ match(T__1);
|
|
|
+ setState(828);
|
|
|
+ moduleName(0);
|
|
|
+ setState(829);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(833);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__2) | (1L << T__3) | (1L << T__5) | (1L << T__6) | (1L << T__7))) != 0)) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(830);
|
|
|
+ moduleDirective();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(835);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(836);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ModuleDirectiveContext extends ParserRuleContext {
|
|
|
+ public List<ModuleNameContext> moduleName() {
|
|
|
+ return getRuleContexts(ModuleNameContext.class);
|
|
|
+ }
|
|
|
+ public ModuleNameContext moduleName(int i) {
|
|
|
+ return getRuleContext(ModuleNameContext.class,i);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public List<RequiresModifierContext> requiresModifier() {
|
|
|
+ return getRuleContexts(RequiresModifierContext.class);
|
|
|
+ }
|
|
|
+ public RequiresModifierContext requiresModifier(int i) {
|
|
|
+ return getRuleContext(RequiresModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public PackageNameContext packageName() {
|
|
|
+ return getRuleContext(PackageNameContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public List<TypeNameContext> typeName() {
|
|
|
+ return getRuleContexts(TypeNameContext.class);
|
|
|
+ }
|
|
|
+ public TypeNameContext typeName(int i) {
|
|
|
+ return getRuleContext(TypeNameContext.class,i);
|
|
|
+ }
|
|
|
+ public ModuleDirectiveContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_moduleDirective; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterModuleDirective(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitModuleDirective(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitModuleDirective(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ModuleDirectiveContext moduleDirective() throws RecognitionException {
|
|
|
+ ModuleDirectiveContext _localctx = new ModuleDirectiveContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 88, RULE_moduleDirective);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(895);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case T__2:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(838);
|
|
|
+ match(T__2);
|
|
|
+ setState(842);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==T__9 || _la==STATIC) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(839);
|
|
|
+ requiresModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(844);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(845);
|
|
|
+ moduleName(0);
|
|
|
+ setState(846);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case T__3:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(848);
|
|
|
+ match(T__3);
|
|
|
+ setState(849);
|
|
|
+ packageName(0);
|
|
|
+ setState(859);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==T__4) {
|
|
|
+ {
|
|
|
+ setState(850);
|
|
|
+ match(T__4);
|
|
|
+ setState(851);
|
|
|
+ moduleName(0);
|
|
|
+ setState(856);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(852);
|
|
|
+ match(COMMA);
|
|
|
+ setState(853);
|
|
|
+ moduleName(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(858);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(861);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case T__5:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(863);
|
|
|
+ match(T__5);
|
|
|
+ setState(864);
|
|
|
+ packageName(0);
|
|
|
+ setState(874);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==T__4) {
|
|
|
+ {
|
|
|
+ setState(865);
|
|
|
+ match(T__4);
|
|
|
+ setState(866);
|
|
|
+ moduleName(0);
|
|
|
+ setState(871);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(867);
|
|
|
+ match(COMMA);
|
|
|
+ setState(868);
|
|
|
+ moduleName(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(873);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(876);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case T__6:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(878);
|
|
|
+ match(T__6);
|
|
|
+ setState(879);
|
|
|
+ typeName();
|
|
|
+ setState(880);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case T__7:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(882);
|
|
|
+ match(T__7);
|
|
|
+ setState(883);
|
|
|
+ typeName();
|
|
|
+ setState(884);
|
|
|
+ match(T__8);
|
|
|
+ setState(885);
|
|
|
+ typeName();
|
|
|
+ setState(890);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(886);
|
|
|
+ match(COMMA);
|
|
|
+ setState(887);
|
|
|
+ typeName();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(892);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(893);
|
|
|
+ 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 RequiresModifierContext extends ParserRuleContext {
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public RequiresModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_requiresModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterRequiresModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitRequiresModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitRequiresModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final RequiresModifierContext requiresModifier() throws RecognitionException {
|
|
|
+ RequiresModifierContext _localctx = new RequiresModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 90, RULE_requiresModifier);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(897);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ( !(_la==T__9 || _la==STATIC) ) {
|
|
|
+ _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 ClassDeclarationContext extends ParserRuleContext {
|
|
|
+ public NormalClassDeclarationContext normalClassDeclaration() {
|
|
|
+ return getRuleContext(NormalClassDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public EnumDeclarationContext enumDeclaration() {
|
|
|
+ return getRuleContext(EnumDeclarationContext.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 Java9Listener ) ((Java9Listener)listener).enterClassDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassDeclarationContext classDeclaration() throws RecognitionException {
|
|
|
+ ClassDeclarationContext _localctx = new ClassDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 92, RULE_classDeclaration);
|
|
|
+ try {
|
|
|
+ setState(901);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,55,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(899);
|
|
|
+ normalClassDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(900);
|
|
|
+ enumDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class NormalClassDeclarationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode CLASS() { return getToken(Java9Parser.CLASS, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassBodyContext classBody() {
|
|
|
+ return getRuleContext(ClassBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public List<ClassModifierContext> classModifier() {
|
|
|
+ return getRuleContexts(ClassModifierContext.class);
|
|
|
+ }
|
|
|
+ public ClassModifierContext classModifier(int i) {
|
|
|
+ return getRuleContext(ClassModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public TypeParametersContext typeParameters() {
|
|
|
+ return getRuleContext(TypeParametersContext.class,0);
|
|
|
+ }
|
|
|
+ public SuperclassContext superclass() {
|
|
|
+ return getRuleContext(SuperclassContext.class,0);
|
|
|
+ }
|
|
|
+ public SuperinterfacesContext superinterfaces() {
|
|
|
+ return getRuleContext(SuperinterfacesContext.class,0);
|
|
|
+ }
|
|
|
+ public NormalClassDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_normalClassDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterNormalClassDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitNormalClassDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitNormalClassDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final NormalClassDeclarationContext normalClassDeclaration() throws RecognitionException {
|
|
|
+ NormalClassDeclarationContext _localctx = new NormalClassDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 94, RULE_normalClassDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(906);
|
|
|
+ _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(903);
|
|
|
+ classModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(908);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(909);
|
|
|
+ match(CLASS);
|
|
|
+ setState(910);
|
|
|
+ identifier();
|
|
|
+ setState(912);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(911);
|
|
|
+ typeParameters();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(915);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==EXTENDS) {
|
|
|
+ {
|
|
|
+ setState(914);
|
|
|
+ superclass();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(918);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==IMPLEMENTS) {
|
|
|
+ {
|
|
|
+ setState(917);
|
|
|
+ superinterfaces();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(920);
|
|
|
+ classBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ClassModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode PUBLIC() { return getToken(Java9Parser.PUBLIC, 0); }
|
|
|
+ public TerminalNode PROTECTED() { return getToken(Java9Parser.PROTECTED, 0); }
|
|
|
+ public TerminalNode PRIVATE() { return getToken(Java9Parser.PRIVATE, 0); }
|
|
|
+ public TerminalNode ABSTRACT() { return getToken(Java9Parser.ABSTRACT, 0); }
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public TerminalNode FINAL() { return getToken(Java9Parser.FINAL, 0); }
|
|
|
+ public TerminalNode STRICTFP() { return getToken(Java9Parser.STRICTFP, 0); }
|
|
|
+ public ClassModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_classModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterClassModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassModifierContext classModifier() throws RecognitionException {
|
|
|
+ ClassModifierContext _localctx = new ClassModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 96, RULE_classModifier);
|
|
|
+ try {
|
|
|
+ setState(930);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(922);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PUBLIC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(923);
|
|
|
+ match(PUBLIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PROTECTED:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(924);
|
|
|
+ match(PROTECTED);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PRIVATE:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(925);
|
|
|
+ match(PRIVATE);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case ABSTRACT:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(926);
|
|
|
+ match(ABSTRACT);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STATIC:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(927);
|
|
|
+ match(STATIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case FINAL:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(928);
|
|
|
+ match(FINAL);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STRICTFP:
|
|
|
+ enterOuterAlt(_localctx, 8);
|
|
|
+ {
|
|
|
+ setState(929);
|
|
|
+ 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 TypeParametersContext extends ParserRuleContext {
|
|
|
+ public TerminalNode LT() { return getToken(Java9Parser.LT, 0); }
|
|
|
+ public TypeParameterListContext typeParameterList() {
|
|
|
+ return getRuleContext(TypeParameterListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode GT() { return getToken(Java9Parser.GT, 0); }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterTypeParameters(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeParameters(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeParameters(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeParametersContext typeParameters() throws RecognitionException {
|
|
|
+ TypeParametersContext _localctx = new TypeParametersContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 98, RULE_typeParameters);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(932);
|
|
|
+ match(LT);
|
|
|
+ setState(933);
|
|
|
+ typeParameterList();
|
|
|
+ setState(934);
|
|
|
+ match(GT);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class TypeParameterListContext extends ParserRuleContext {
|
|
|
+ public List<TypeParameterContext> typeParameter() {
|
|
|
+ return getRuleContexts(TypeParameterContext.class);
|
|
|
+ }
|
|
|
+ public TypeParameterContext typeParameter(int i) {
|
|
|
+ return getRuleContext(TypeParameterContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public TypeParameterListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_typeParameterList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterTypeParameterList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeParameterList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeParameterList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeParameterListContext typeParameterList() throws RecognitionException {
|
|
|
+ TypeParameterListContext _localctx = new TypeParameterListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 100, RULE_typeParameterList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(936);
|
|
|
+ typeParameter();
|
|
|
+ setState(941);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(937);
|
|
|
+ match(COMMA);
|
|
|
+ setState(938);
|
|
|
+ typeParameter();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(943);
|
|
|
+ _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 SuperclassContext extends ParserRuleContext {
|
|
|
+ public TerminalNode EXTENDS() { return getToken(Java9Parser.EXTENDS, 0); }
|
|
|
+ public ClassTypeContext classType() {
|
|
|
+ return getRuleContext(ClassTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public SuperclassContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_superclass; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSuperclass(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSuperclass(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSuperclass(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SuperclassContext superclass() throws RecognitionException {
|
|
|
+ SuperclassContext _localctx = new SuperclassContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 102, RULE_superclass);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(944);
|
|
|
+ match(EXTENDS);
|
|
|
+ setState(945);
|
|
|
+ classType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SuperinterfacesContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IMPLEMENTS() { return getToken(Java9Parser.IMPLEMENTS, 0); }
|
|
|
+ public InterfaceTypeListContext interfaceTypeList() {
|
|
|
+ return getRuleContext(InterfaceTypeListContext.class,0);
|
|
|
+ }
|
|
|
+ public SuperinterfacesContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_superinterfaces; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSuperinterfaces(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSuperinterfaces(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSuperinterfaces(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SuperinterfacesContext superinterfaces() throws RecognitionException {
|
|
|
+ SuperinterfacesContext _localctx = new SuperinterfacesContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 104, RULE_superinterfaces);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(947);
|
|
|
+ match(IMPLEMENTS);
|
|
|
+ setState(948);
|
|
|
+ interfaceTypeList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class InterfaceTypeListContext extends ParserRuleContext {
|
|
|
+ public List<InterfaceTypeContext> interfaceType() {
|
|
|
+ return getRuleContexts(InterfaceTypeContext.class);
|
|
|
+ }
|
|
|
+ public InterfaceTypeContext interfaceType(int i) {
|
|
|
+ return getRuleContext(InterfaceTypeContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public InterfaceTypeListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_interfaceTypeList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterInterfaceTypeList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceTypeList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceTypeList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceTypeListContext interfaceTypeList() throws RecognitionException {
|
|
|
+ InterfaceTypeListContext _localctx = new InterfaceTypeListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 106, RULE_interfaceTypeList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(950);
|
|
|
+ interfaceType();
|
|
|
+ setState(955);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(951);
|
|
|
+ match(COMMA);
|
|
|
+ setState(952);
|
|
|
+ interfaceType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(957);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ClassBodyContext extends ParserRuleContext {
|
|
|
+ public TerminalNode LBRACE() { return getToken(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public List<ClassBodyDeclarationContext> 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 Java9Listener ) ((Java9Listener)listener).enterClassBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassBody(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassBodyContext classBody() throws RecognitionException {
|
|
|
+ ClassBodyContext _localctx = new ClassBodyContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 108, RULE_classBody);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(958);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(962);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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))) != 0) || ((((_la - 70)) & ~0x3f) == 0 && ((1L << (_la - 70)) & ((1L << (LBRACE - 70)) | (1L << (SEMI - 70)) | (1L << (AT - 70)) | (1L << (LT - 70)) | (1L << (Identifier - 70)))) != 0)) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(959);
|
|
|
+ classBodyDeclaration();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(964);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(965);
|
|
|
+ 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 ClassMemberDeclarationContext classMemberDeclaration() {
|
|
|
+ return getRuleContext(ClassMemberDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public InstanceInitializerContext instanceInitializer() {
|
|
|
+ return getRuleContext(InstanceInitializerContext.class,0);
|
|
|
+ }
|
|
|
+ public StaticInitializerContext staticInitializer() {
|
|
|
+ return getRuleContext(StaticInitializerContext.class,0);
|
|
|
+ }
|
|
|
+ public ConstructorDeclarationContext constructorDeclaration() {
|
|
|
+ return getRuleContext(ConstructorDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterClassBodyDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassBodyDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassBodyDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassBodyDeclarationContext classBodyDeclaration() throws RecognitionException {
|
|
|
+ ClassBodyDeclarationContext _localctx = new ClassBodyDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 110, RULE_classBodyDeclaration);
|
|
|
+ try {
|
|
|
+ setState(971);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,64,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(967);
|
|
|
+ classMemberDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(968);
|
|
|
+ instanceInitializer();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(969);
|
|
|
+ staticInitializer();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(970);
|
|
|
+ constructorDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ClassMemberDeclarationContext extends ParserRuleContext {
|
|
|
+ public FieldDeclarationContext fieldDeclaration() {
|
|
|
+ return getRuleContext(FieldDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodDeclarationContext methodDeclaration() {
|
|
|
+ return getRuleContext(MethodDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassDeclarationContext classDeclaration() {
|
|
|
+ return getRuleContext(ClassDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceDeclarationContext interfaceDeclaration() {
|
|
|
+ return getRuleContext(InterfaceDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public ClassMemberDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_classMemberDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterClassMemberDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassMemberDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassMemberDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassMemberDeclarationContext classMemberDeclaration() throws RecognitionException {
|
|
|
+ ClassMemberDeclarationContext _localctx = new ClassMemberDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 112, RULE_classMemberDeclaration);
|
|
|
+ try {
|
|
|
+ setState(978);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,65,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(973);
|
|
|
+ fieldDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(974);
|
|
|
+ methodDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(975);
|
|
|
+ classDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(976);
|
|
|
+ interfaceDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(977);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorListContext variableDeclaratorList() {
|
|
|
+ return getRuleContext(VariableDeclaratorListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public List<FieldModifierContext> fieldModifier() {
|
|
|
+ return getRuleContexts(FieldModifierContext.class);
|
|
|
+ }
|
|
|
+ public FieldModifierContext fieldModifier(int i) {
|
|
|
+ return getRuleContext(FieldModifierContext.class,i);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterFieldDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFieldDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFieldDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FieldDeclarationContext fieldDeclaration() throws RecognitionException {
|
|
|
+ FieldDeclarationContext _localctx = new FieldDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 114, RULE_fieldDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(983);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (((((_la - 28)) & ~0x3f) == 0 && ((1L << (_la - 28)) & ((1L << (FINAL - 28)) | (1L << (PRIVATE - 28)) | (1L << (PROTECTED - 28)) | (1L << (PUBLIC - 28)) | (1L << (STATIC - 28)) | (1L << (TRANSIENT - 28)) | (1L << (VOLATILE - 28)) | (1L << (AT - 28)))) != 0)) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(980);
|
|
|
+ fieldModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(985);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(986);
|
|
|
+ unannType();
|
|
|
+ setState(987);
|
|
|
+ variableDeclaratorList();
|
|
|
+ setState(988);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class FieldModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode PUBLIC() { return getToken(Java9Parser.PUBLIC, 0); }
|
|
|
+ public TerminalNode PROTECTED() { return getToken(Java9Parser.PROTECTED, 0); }
|
|
|
+ public TerminalNode PRIVATE() { return getToken(Java9Parser.PRIVATE, 0); }
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public TerminalNode FINAL() { return getToken(Java9Parser.FINAL, 0); }
|
|
|
+ public TerminalNode TRANSIENT() { return getToken(Java9Parser.TRANSIENT, 0); }
|
|
|
+ public TerminalNode VOLATILE() { return getToken(Java9Parser.VOLATILE, 0); }
|
|
|
+ public FieldModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_fieldModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterFieldModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFieldModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFieldModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FieldModifierContext fieldModifier() throws RecognitionException {
|
|
|
+ FieldModifierContext _localctx = new FieldModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 116, RULE_fieldModifier);
|
|
|
+ try {
|
|
|
+ setState(998);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(990);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PUBLIC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(991);
|
|
|
+ match(PUBLIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PROTECTED:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(992);
|
|
|
+ match(PROTECTED);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PRIVATE:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(993);
|
|
|
+ match(PRIVATE);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STATIC:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(994);
|
|
|
+ match(STATIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case FINAL:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(995);
|
|
|
+ match(FINAL);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case TRANSIENT:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(996);
|
|
|
+ match(TRANSIENT);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case VOLATILE:
|
|
|
+ enterOuterAlt(_localctx, 8);
|
|
|
+ {
|
|
|
+ setState(997);
|
|
|
+ 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 VariableDeclaratorListContext extends ParserRuleContext {
|
|
|
+ public List<VariableDeclaratorContext> variableDeclarator() {
|
|
|
+ return getRuleContexts(VariableDeclaratorContext.class);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorContext variableDeclarator(int i) {
|
|
|
+ return getRuleContext(VariableDeclaratorContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_variableDeclaratorList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterVariableDeclaratorList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitVariableDeclaratorList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitVariableDeclaratorList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final VariableDeclaratorListContext variableDeclaratorList() throws RecognitionException {
|
|
|
+ VariableDeclaratorListContext _localctx = new VariableDeclaratorListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 118, RULE_variableDeclaratorList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1000);
|
|
|
+ variableDeclarator();
|
|
|
+ setState(1005);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1001);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1002);
|
|
|
+ variableDeclarator();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1007);
|
|
|
+ _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(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterVariableDeclarator(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitVariableDeclarator(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitVariableDeclarator(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final VariableDeclaratorContext variableDeclarator() throws RecognitionException {
|
|
|
+ VariableDeclaratorContext _localctx = new VariableDeclaratorContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 120, RULE_variableDeclarator);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1008);
|
|
|
+ variableDeclaratorId();
|
|
|
+ setState(1011);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==ASSIGN) {
|
|
|
+ {
|
|
|
+ setState(1009);
|
|
|
+ match(ASSIGN);
|
|
|
+ setState(1010);
|
|
|
+ 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 IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public DimsContext dims() {
|
|
|
+ return getRuleContext(DimsContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterVariableDeclaratorId(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitVariableDeclaratorId(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitVariableDeclaratorId(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final VariableDeclaratorIdContext variableDeclaratorId() throws RecognitionException {
|
|
|
+ VariableDeclaratorIdContext _localctx = new VariableDeclaratorIdContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 122, RULE_variableDeclaratorId);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1013);
|
|
|
+ identifier();
|
|
|
+ setState(1015);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LBRACK || _la==AT) {
|
|
|
+ {
|
|
|
+ setState(1014);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayInitializerContext arrayInitializer() {
|
|
|
+ return getRuleContext(ArrayInitializerContext.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 Java9Listener ) ((Java9Listener)listener).enterVariableInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitVariableInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitVariableInitializer(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final VariableInitializerContext variableInitializer() throws RecognitionException {
|
|
|
+ VariableInitializerContext _localctx = new VariableInitializerContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 124, RULE_variableInitializer);
|
|
|
+ try {
|
|
|
+ setState(1019);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case BOOLEAN:
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case NEW:
|
|
|
+ case SHORT:
|
|
|
+ case SUPER:
|
|
|
+ case THIS:
|
|
|
+ case VOID:
|
|
|
+ case IntegerLiteral:
|
|
|
+ case FloatingPointLiteral:
|
|
|
+ case BooleanLiteral:
|
|
|
+ case CharacterLiteral:
|
|
|
+ case StringLiteral:
|
|
|
+ case NullLiteral:
|
|
|
+ case LPAREN:
|
|
|
+ case AT:
|
|
|
+ case BANG:
|
|
|
+ case TILDE:
|
|
|
+ case INC:
|
|
|
+ case DEC:
|
|
|
+ case ADD:
|
|
|
+ case SUB:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1017);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case LBRACE:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1018);
|
|
|
+ arrayInitializer();
|
|
|
+ }
|
|
|
+ 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 UnannTypeContext extends ParserRuleContext {
|
|
|
+ public UnannPrimitiveTypeContext unannPrimitiveType() {
|
|
|
+ return getRuleContext(UnannPrimitiveTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannReferenceTypeContext unannReferenceType() {
|
|
|
+ return getRuleContext(UnannReferenceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannTypeContext unannType() throws RecognitionException {
|
|
|
+ UnannTypeContext _localctx = new UnannTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 126, RULE_unannType);
|
|
|
+ try {
|
|
|
+ setState(1023);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,72,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1021);
|
|
|
+ unannPrimitiveType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1022);
|
|
|
+ unannReferenceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannPrimitiveTypeContext extends ParserRuleContext {
|
|
|
+ public NumericTypeContext numericType() {
|
|
|
+ return getRuleContext(NumericTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode BOOLEAN() { return getToken(Java9Parser.BOOLEAN, 0); }
|
|
|
+ public UnannPrimitiveTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannPrimitiveType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannPrimitiveType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannPrimitiveType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannPrimitiveType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannPrimitiveTypeContext unannPrimitiveType() throws RecognitionException {
|
|
|
+ UnannPrimitiveTypeContext _localctx = new UnannPrimitiveTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 128, RULE_unannPrimitiveType);
|
|
|
+ try {
|
|
|
+ setState(1027);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case SHORT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1025);
|
|
|
+ numericType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case BOOLEAN:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1026);
|
|
|
+ match(BOOLEAN);
|
|
|
+ }
|
|
|
+ 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 UnannReferenceTypeContext extends ParserRuleContext {
|
|
|
+ public UnannClassOrInterfaceTypeContext unannClassOrInterfaceType() {
|
|
|
+ return getRuleContext(UnannClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannTypeVariableContext unannTypeVariable() {
|
|
|
+ return getRuleContext(UnannTypeVariableContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannArrayTypeContext unannArrayType() {
|
|
|
+ return getRuleContext(UnannArrayTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannReferenceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannReferenceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannReferenceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannReferenceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannReferenceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannReferenceTypeContext unannReferenceType() throws RecognitionException {
|
|
|
+ UnannReferenceTypeContext _localctx = new UnannReferenceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 130, RULE_unannReferenceType);
|
|
|
+ try {
|
|
|
+ setState(1032);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,74,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1029);
|
|
|
+ unannClassOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1030);
|
|
|
+ unannTypeVariable();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1031);
|
|
|
+ unannArrayType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannClassOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public UnannClassType_lfno_unannClassOrInterfaceTypeContext unannClassType_lfno_unannClassOrInterfaceType() {
|
|
|
+ return getRuleContext(UnannClassType_lfno_unannClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannInterfaceType_lfno_unannClassOrInterfaceTypeContext unannInterfaceType_lfno_unannClassOrInterfaceType() {
|
|
|
+ return getRuleContext(UnannInterfaceType_lfno_unannClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public List<UnannClassType_lf_unannClassOrInterfaceTypeContext> unannClassType_lf_unannClassOrInterfaceType() {
|
|
|
+ return getRuleContexts(UnannClassType_lf_unannClassOrInterfaceTypeContext.class);
|
|
|
+ }
|
|
|
+ public UnannClassType_lf_unannClassOrInterfaceTypeContext unannClassType_lf_unannClassOrInterfaceType(int i) {
|
|
|
+ return getRuleContext(UnannClassType_lf_unannClassOrInterfaceTypeContext.class,i);
|
|
|
+ }
|
|
|
+ public List<UnannInterfaceType_lf_unannClassOrInterfaceTypeContext> unannInterfaceType_lf_unannClassOrInterfaceType() {
|
|
|
+ return getRuleContexts(UnannInterfaceType_lf_unannClassOrInterfaceTypeContext.class);
|
|
|
+ }
|
|
|
+ public UnannInterfaceType_lf_unannClassOrInterfaceTypeContext unannInterfaceType_lf_unannClassOrInterfaceType(int i) {
|
|
|
+ return getRuleContext(UnannInterfaceType_lf_unannClassOrInterfaceTypeContext.class,i);
|
|
|
+ }
|
|
|
+ public UnannClassOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannClassOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannClassOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannClassOrInterfaceTypeContext unannClassOrInterfaceType() throws RecognitionException {
|
|
|
+ UnannClassOrInterfaceTypeContext _localctx = new UnannClassOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 132, RULE_unannClassOrInterfaceType);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1036);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,75,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(1034);
|
|
|
+ unannClassType_lfno_unannClassOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(1035);
|
|
|
+ unannInterfaceType_lfno_unannClassOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ setState(1042);
|
|
|
+ _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(1040);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,76,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(1038);
|
|
|
+ unannClassType_lf_unannClassOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(1039);
|
|
|
+ unannInterfaceType_lf_unannClassOrInterfaceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1044);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,77,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannClassTypeContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannClassOrInterfaceTypeContext unannClassOrInterfaceType() {
|
|
|
+ return getRuleContext(UnannClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public UnannClassTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannClassType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannClassType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannClassType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannClassType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannClassTypeContext unannClassType() throws RecognitionException {
|
|
|
+ UnannClassTypeContext _localctx = new UnannClassTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 134, RULE_unannClassType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(1061);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,81,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1045);
|
|
|
+ identifier();
|
|
|
+ setState(1047);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1046);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1049);
|
|
|
+ unannClassOrInterfaceType();
|
|
|
+ setState(1050);
|
|
|
+ match(DOT);
|
|
|
+ setState(1054);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1051);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1056);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1057);
|
|
|
+ identifier();
|
|
|
+ setState(1059);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1058);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannClassType_lf_unannClassOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannClassType_lf_unannClassOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannClassType_lf_unannClassOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannClassType_lf_unannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannClassType_lf_unannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannClassType_lf_unannClassOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannClassType_lf_unannClassOrInterfaceTypeContext unannClassType_lf_unannClassOrInterfaceType() throws RecognitionException {
|
|
|
+ UnannClassType_lf_unannClassOrInterfaceTypeContext _localctx = new UnannClassType_lf_unannClassOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 136, RULE_unannClassType_lf_unannClassOrInterfaceType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1063);
|
|
|
+ match(DOT);
|
|
|
+ setState(1067);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1064);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1069);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1070);
|
|
|
+ identifier();
|
|
|
+ setState(1072);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1071);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannClassType_lfno_unannClassOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannClassType_lfno_unannClassOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannClassType_lfno_unannClassOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannClassType_lfno_unannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannClassType_lfno_unannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannClassType_lfno_unannClassOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannClassType_lfno_unannClassOrInterfaceTypeContext unannClassType_lfno_unannClassOrInterfaceType() throws RecognitionException {
|
|
|
+ UnannClassType_lfno_unannClassOrInterfaceTypeContext _localctx = new UnannClassType_lfno_unannClassOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 138, RULE_unannClassType_lfno_unannClassOrInterfaceType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1074);
|
|
|
+ identifier();
|
|
|
+ setState(1076);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1075);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public UnannClassTypeContext unannClassType() {
|
|
|
+ return getRuleContext(UnannClassTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannInterfaceTypeContext unannInterfaceType() throws RecognitionException {
|
|
|
+ UnannInterfaceTypeContext _localctx = new UnannInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 140, RULE_unannInterfaceType);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1078);
|
|
|
+ unannClassType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannInterfaceType_lf_unannClassOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public UnannClassType_lf_unannClassOrInterfaceTypeContext unannClassType_lf_unannClassOrInterfaceType() {
|
|
|
+ return getRuleContext(UnannClassType_lf_unannClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannInterfaceType_lf_unannClassOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannInterfaceType_lf_unannClassOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannInterfaceType_lf_unannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannInterfaceType_lf_unannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannInterfaceType_lf_unannClassOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannInterfaceType_lf_unannClassOrInterfaceTypeContext unannInterfaceType_lf_unannClassOrInterfaceType() throws RecognitionException {
|
|
|
+ UnannInterfaceType_lf_unannClassOrInterfaceTypeContext _localctx = new UnannInterfaceType_lf_unannClassOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 142, RULE_unannInterfaceType_lf_unannClassOrInterfaceType);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1080);
|
|
|
+ unannClassType_lf_unannClassOrInterfaceType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannInterfaceType_lfno_unannClassOrInterfaceTypeContext extends ParserRuleContext {
|
|
|
+ public UnannClassType_lfno_unannClassOrInterfaceTypeContext unannClassType_lfno_unannClassOrInterfaceType() {
|
|
|
+ return getRuleContext(UnannClassType_lfno_unannClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannInterfaceType_lfno_unannClassOrInterfaceTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannInterfaceType_lfno_unannClassOrInterfaceType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannInterfaceType_lfno_unannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannInterfaceType_lfno_unannClassOrInterfaceType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannInterfaceType_lfno_unannClassOrInterfaceType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannInterfaceType_lfno_unannClassOrInterfaceTypeContext unannInterfaceType_lfno_unannClassOrInterfaceType() throws RecognitionException {
|
|
|
+ UnannInterfaceType_lfno_unannClassOrInterfaceTypeContext _localctx = new UnannInterfaceType_lfno_unannClassOrInterfaceTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 144, RULE_unannInterfaceType_lfno_unannClassOrInterfaceType);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1082);
|
|
|
+ unannClassType_lfno_unannClassOrInterfaceType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannTypeVariableContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannTypeVariableContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannTypeVariable; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannTypeVariable(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannTypeVariable(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannTypeVariable(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannTypeVariableContext unannTypeVariable() throws RecognitionException {
|
|
|
+ UnannTypeVariableContext _localctx = new UnannTypeVariableContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 146, RULE_unannTypeVariable);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1084);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnannArrayTypeContext extends ParserRuleContext {
|
|
|
+ public UnannPrimitiveTypeContext unannPrimitiveType() {
|
|
|
+ return getRuleContext(UnannPrimitiveTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public DimsContext dims() {
|
|
|
+ return getRuleContext(DimsContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannClassOrInterfaceTypeContext unannClassOrInterfaceType() {
|
|
|
+ return getRuleContext(UnannClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannTypeVariableContext unannTypeVariable() {
|
|
|
+ return getRuleContext(UnannTypeVariableContext.class,0);
|
|
|
+ }
|
|
|
+ public UnannArrayTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unannArrayType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnannArrayType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnannArrayType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnannArrayType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnannArrayTypeContext unannArrayType() throws RecognitionException {
|
|
|
+ UnannArrayTypeContext _localctx = new UnannArrayTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 148, RULE_unannArrayType);
|
|
|
+ try {
|
|
|
+ setState(1095);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,85,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1086);
|
|
|
+ unannPrimitiveType();
|
|
|
+ setState(1087);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1089);
|
|
|
+ unannClassOrInterfaceType();
|
|
|
+ setState(1090);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1092);
|
|
|
+ unannTypeVariable();
|
|
|
+ setState(1093);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ 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 MethodHeaderContext methodHeader() {
|
|
|
+ return getRuleContext(MethodHeaderContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodBodyContext methodBody() {
|
|
|
+ return getRuleContext(MethodBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public List<MethodModifierContext> methodModifier() {
|
|
|
+ return getRuleContexts(MethodModifierContext.class);
|
|
|
+ }
|
|
|
+ public MethodModifierContext methodModifier(int i) {
|
|
|
+ return getRuleContext(MethodModifierContext.class,i);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterMethodDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodDeclarationContext methodDeclaration() throws RecognitionException {
|
|
|
+ MethodDeclarationContext _localctx = new MethodDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 150, RULE_methodDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1100);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << FINAL) | (1L << NATIVE) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << STATIC) | (1L << STRICTFP) | (1L << SYNCHRONIZED))) != 0) || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1097);
|
|
|
+ methodModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1102);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1103);
|
|
|
+ methodHeader();
|
|
|
+ setState(1104);
|
|
|
+ methodBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MethodModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode PUBLIC() { return getToken(Java9Parser.PUBLIC, 0); }
|
|
|
+ public TerminalNode PROTECTED() { return getToken(Java9Parser.PROTECTED, 0); }
|
|
|
+ public TerminalNode PRIVATE() { return getToken(Java9Parser.PRIVATE, 0); }
|
|
|
+ public TerminalNode ABSTRACT() { return getToken(Java9Parser.ABSTRACT, 0); }
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public TerminalNode FINAL() { return getToken(Java9Parser.FINAL, 0); }
|
|
|
+ public TerminalNode SYNCHRONIZED() { return getToken(Java9Parser.SYNCHRONIZED, 0); }
|
|
|
+ public TerminalNode NATIVE() { return getToken(Java9Parser.NATIVE, 0); }
|
|
|
+ public TerminalNode STRICTFP() { return getToken(Java9Parser.STRICTFP, 0); }
|
|
|
+ public MethodModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodModifierContext methodModifier() throws RecognitionException {
|
|
|
+ MethodModifierContext _localctx = new MethodModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 152, RULE_methodModifier);
|
|
|
+ try {
|
|
|
+ setState(1116);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1106);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PUBLIC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1107);
|
|
|
+ match(PUBLIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PROTECTED:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1108);
|
|
|
+ match(PROTECTED);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PRIVATE:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1109);
|
|
|
+ match(PRIVATE);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case ABSTRACT:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1110);
|
|
|
+ match(ABSTRACT);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STATIC:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(1111);
|
|
|
+ match(STATIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case FINAL:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(1112);
|
|
|
+ match(FINAL);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case SYNCHRONIZED:
|
|
|
+ enterOuterAlt(_localctx, 8);
|
|
|
+ {
|
|
|
+ setState(1113);
|
|
|
+ match(SYNCHRONIZED);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case NATIVE:
|
|
|
+ enterOuterAlt(_localctx, 9);
|
|
|
+ {
|
|
|
+ setState(1114);
|
|
|
+ match(NATIVE);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STRICTFP:
|
|
|
+ enterOuterAlt(_localctx, 10);
|
|
|
+ {
|
|
|
+ setState(1115);
|
|
|
+ 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 MethodHeaderContext extends ParserRuleContext {
|
|
|
+ public ResultContext result() {
|
|
|
+ return getRuleContext(ResultContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodDeclaratorContext methodDeclarator() {
|
|
|
+ return getRuleContext(MethodDeclaratorContext.class,0);
|
|
|
+ }
|
|
|
+ public Throws_Context throws_() {
|
|
|
+ return getRuleContext(Throws_Context.class,0);
|
|
|
+ }
|
|
|
+ public TypeParametersContext typeParameters() {
|
|
|
+ return getRuleContext(TypeParametersContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public MethodHeaderContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodHeader; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodHeader(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodHeader(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodHeader(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodHeaderContext methodHeader() throws RecognitionException {
|
|
|
+ MethodHeaderContext _localctx = new MethodHeaderContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 154, RULE_methodHeader);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(1135);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case BOOLEAN:
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case SHORT:
|
|
|
+ case VOID:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1118);
|
|
|
+ result();
|
|
|
+ setState(1119);
|
|
|
+ methodDeclarator();
|
|
|
+ setState(1121);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==THROWS) {
|
|
|
+ {
|
|
|
+ setState(1120);
|
|
|
+ throws_();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case LT:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1123);
|
|
|
+ typeParameters();
|
|
|
+ setState(1127);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1124);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1129);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1130);
|
|
|
+ result();
|
|
|
+ setState(1131);
|
|
|
+ methodDeclarator();
|
|
|
+ setState(1133);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==THROWS) {
|
|
|
+ {
|
|
|
+ setState(1132);
|
|
|
+ throws_();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ 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 ResultContext extends ParserRuleContext {
|
|
|
+ public UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode VOID() { return getToken(Java9Parser.VOID, 0); }
|
|
|
+ public ResultContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_result; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterResult(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitResult(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitResult(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ResultContext result() throws RecognitionException {
|
|
|
+ ResultContext _localctx = new ResultContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 156, RULE_result);
|
|
|
+ try {
|
|
|
+ setState(1139);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case BOOLEAN:
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case SHORT:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1137);
|
|
|
+ unannType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case VOID:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1138);
|
|
|
+ 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 MethodDeclaratorContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public FormalParameterListContext formalParameterList() {
|
|
|
+ return getRuleContext(FormalParameterListContext.class,0);
|
|
|
+ }
|
|
|
+ public DimsContext dims() {
|
|
|
+ return getRuleContext(DimsContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodDeclaratorContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodDeclarator; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodDeclarator(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodDeclarator(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodDeclarator(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodDeclaratorContext methodDeclarator() throws RecognitionException {
|
|
|
+ MethodDeclaratorContext _localctx = new MethodDeclaratorContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 158, RULE_methodDeclarator);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1141);
|
|
|
+ identifier();
|
|
|
+ setState(1142);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1144);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << SHORT))) != 0) || _la==AT || _la==Identifier) {
|
|
|
+ {
|
|
|
+ setState(1143);
|
|
|
+ formalParameterList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1146);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1148);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LBRACK || _la==AT) {
|
|
|
+ {
|
|
|
+ setState(1147);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 FormalParametersContext formalParameters() {
|
|
|
+ return getRuleContext(FormalParametersContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COMMA() { return getToken(Java9Parser.COMMA, 0); }
|
|
|
+ public LastFormalParameterContext lastFormalParameter() {
|
|
|
+ return getRuleContext(LastFormalParameterContext.class,0);
|
|
|
+ }
|
|
|
+ public ReceiverParameterContext receiverParameter() {
|
|
|
+ return getRuleContext(ReceiverParameterContext.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 Java9Listener ) ((Java9Listener)listener).enterFormalParameterList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFormalParameterList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFormalParameterList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FormalParameterListContext formalParameterList() throws RecognitionException {
|
|
|
+ FormalParameterListContext _localctx = new FormalParameterListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 160, RULE_formalParameterList);
|
|
|
+ try {
|
|
|
+ setState(1156);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,95,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1150);
|
|
|
+ formalParameters();
|
|
|
+ setState(1151);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1152);
|
|
|
+ lastFormalParameter();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1154);
|
|
|
+ lastFormalParameter();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1155);
|
|
|
+ receiverParameter();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 List<FormalParameterContext> formalParameter() {
|
|
|
+ return getRuleContexts(FormalParameterContext.class);
|
|
|
+ }
|
|
|
+ public FormalParameterContext formalParameter(int i) {
|
|
|
+ return getRuleContext(FormalParameterContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public ReceiverParameterContext receiverParameter() {
|
|
|
+ return getRuleContext(ReceiverParameterContext.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 Java9Listener ) ((Java9Listener)listener).enterFormalParameters(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFormalParameters(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFormalParameters(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FormalParametersContext formalParameters() throws RecognitionException {
|
|
|
+ FormalParametersContext _localctx = new FormalParametersContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 162, RULE_formalParameters);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ setState(1174);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,98,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1158);
|
|
|
+ formalParameter();
|
|
|
+ setState(1163);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,96,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1159);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1160);
|
|
|
+ formalParameter();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1165);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,96,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1166);
|
|
|
+ receiverParameter();
|
|
|
+ setState(1171);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,97,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1167);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1168);
|
|
|
+ formalParameter();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1173);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,97,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorIdContext variableDeclaratorId() {
|
|
|
+ return getRuleContext(VariableDeclaratorIdContext.class,0);
|
|
|
+ }
|
|
|
+ public List<VariableModifierContext> 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 Java9Listener ) ((Java9Listener)listener).enterFormalParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFormalParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFormalParameter(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FormalParameterContext formalParameter() throws RecognitionException {
|
|
|
+ FormalParameterContext _localctx = new FormalParameterContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 164, RULE_formalParameter);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1179);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==FINAL || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1176);
|
|
|
+ variableModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1181);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1182);
|
|
|
+ unannType();
|
|
|
+ setState(1183);
|
|
|
+ variableDeclaratorId();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode FINAL() { return getToken(Java9Parser.FINAL, 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 Java9Listener ) ((Java9Listener)listener).enterVariableModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitVariableModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitVariableModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final VariableModifierContext variableModifier() throws RecognitionException {
|
|
|
+ VariableModifierContext _localctx = new VariableModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 166, RULE_variableModifier);
|
|
|
+ try {
|
|
|
+ setState(1187);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1185);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case FINAL:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1186);
|
|
|
+ match(FINAL);
|
|
|
+ }
|
|
|
+ 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 LastFormalParameterContext extends ParserRuleContext {
|
|
|
+ public UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode ELLIPSIS() { return getToken(Java9Parser.ELLIPSIS, 0); }
|
|
|
+ public VariableDeclaratorIdContext variableDeclaratorId() {
|
|
|
+ return getRuleContext(VariableDeclaratorIdContext.class,0);
|
|
|
+ }
|
|
|
+ public List<VariableModifierContext> variableModifier() {
|
|
|
+ return getRuleContexts(VariableModifierContext.class);
|
|
|
+ }
|
|
|
+ public VariableModifierContext variableModifier(int i) {
|
|
|
+ return getRuleContext(VariableModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public FormalParameterContext formalParameter() {
|
|
|
+ return getRuleContext(FormalParameterContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterLastFormalParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLastFormalParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLastFormalParameter(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LastFormalParameterContext lastFormalParameter() throws RecognitionException {
|
|
|
+ LastFormalParameterContext _localctx = new LastFormalParameterContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 168, RULE_lastFormalParameter);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(1206);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,103,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1192);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==FINAL || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1189);
|
|
|
+ variableModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1194);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1195);
|
|
|
+ unannType();
|
|
|
+ setState(1199);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1196);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1201);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1202);
|
|
|
+ match(ELLIPSIS);
|
|
|
+ setState(1203);
|
|
|
+ variableDeclaratorId();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1205);
|
|
|
+ formalParameter();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ReceiverParameterContext extends ParserRuleContext {
|
|
|
+ public UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode THIS() { return getToken(Java9Parser.THIS, 0); }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public ReceiverParameterContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_receiverParameter; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterReceiverParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitReceiverParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitReceiverParameter(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ReceiverParameterContext receiverParameter() throws RecognitionException {
|
|
|
+ ReceiverParameterContext _localctx = new ReceiverParameterContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 170, RULE_receiverParameter);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1211);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1208);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1213);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1214);
|
|
|
+ unannType();
|
|
|
+ setState(1218);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8))) != 0) || _la==Identifier) {
|
|
|
+ {
|
|
|
+ setState(1215);
|
|
|
+ identifier();
|
|
|
+ setState(1216);
|
|
|
+ match(DOT);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1220);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class Throws_Context extends ParserRuleContext {
|
|
|
+ public TerminalNode THROWS() { return getToken(Java9Parser.THROWS, 0); }
|
|
|
+ public ExceptionTypeListContext exceptionTypeList() {
|
|
|
+ return getRuleContext(ExceptionTypeListContext.class,0);
|
|
|
+ }
|
|
|
+ public Throws_Context(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_throws_; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterThrows_(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitThrows_(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitThrows_(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final Throws_Context throws_() throws RecognitionException {
|
|
|
+ Throws_Context _localctx = new Throws_Context(_ctx, getState());
|
|
|
+ enterRule(_localctx, 172, RULE_throws_);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1222);
|
|
|
+ match(THROWS);
|
|
|
+ setState(1223);
|
|
|
+ exceptionTypeList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ExceptionTypeListContext extends ParserRuleContext {
|
|
|
+ public List<ExceptionTypeContext> exceptionType() {
|
|
|
+ return getRuleContexts(ExceptionTypeContext.class);
|
|
|
+ }
|
|
|
+ public ExceptionTypeContext exceptionType(int i) {
|
|
|
+ return getRuleContext(ExceptionTypeContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public ExceptionTypeListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_exceptionTypeList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterExceptionTypeList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitExceptionTypeList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitExceptionTypeList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ExceptionTypeListContext exceptionTypeList() throws RecognitionException {
|
|
|
+ ExceptionTypeListContext _localctx = new ExceptionTypeListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 174, RULE_exceptionTypeList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1225);
|
|
|
+ exceptionType();
|
|
|
+ setState(1230);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1226);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1227);
|
|
|
+ exceptionType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1232);
|
|
|
+ _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 ExceptionTypeContext extends ParserRuleContext {
|
|
|
+ public ClassTypeContext classType() {
|
|
|
+ return getRuleContext(ClassTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeVariableContext typeVariable() {
|
|
|
+ return getRuleContext(TypeVariableContext.class,0);
|
|
|
+ }
|
|
|
+ public ExceptionTypeContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_exceptionType; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterExceptionType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitExceptionType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitExceptionType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ExceptionTypeContext exceptionType() throws RecognitionException {
|
|
|
+ ExceptionTypeContext _localctx = new ExceptionTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 176, RULE_exceptionType);
|
|
|
+ try {
|
|
|
+ setState(1235);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,107,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1233);
|
|
|
+ classType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1234);
|
|
|
+ typeVariable();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterMethodBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodBody(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodBodyContext methodBody() throws RecognitionException {
|
|
|
+ MethodBodyContext _localctx = new MethodBodyContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 178, RULE_methodBody);
|
|
|
+ try {
|
|
|
+ setState(1239);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case LBRACE:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1237);
|
|
|
+ block();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case SEMI:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1238);
|
|
|
+ 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 InstanceInitializerContext extends ParserRuleContext {
|
|
|
+ public BlockContext block() {
|
|
|
+ return getRuleContext(BlockContext.class,0);
|
|
|
+ }
|
|
|
+ public InstanceInitializerContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_instanceInitializer; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterInstanceInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInstanceInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInstanceInitializer(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InstanceInitializerContext instanceInitializer() throws RecognitionException {
|
|
|
+ InstanceInitializerContext _localctx = new InstanceInitializerContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 180, RULE_instanceInitializer);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1241);
|
|
|
+ block();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class StaticInitializerContext extends ParserRuleContext {
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public BlockContext block() {
|
|
|
+ return getRuleContext(BlockContext.class,0);
|
|
|
+ }
|
|
|
+ public StaticInitializerContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_staticInitializer; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterStaticInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitStaticInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitStaticInitializer(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final StaticInitializerContext staticInitializer() throws RecognitionException {
|
|
|
+ StaticInitializerContext _localctx = new StaticInitializerContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 182, RULE_staticInitializer);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1243);
|
|
|
+ match(STATIC);
|
|
|
+ setState(1244);
|
|
|
+ block();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 ConstructorDeclaratorContext constructorDeclarator() {
|
|
|
+ return getRuleContext(ConstructorDeclaratorContext.class,0);
|
|
|
+ }
|
|
|
+ public ConstructorBodyContext constructorBody() {
|
|
|
+ return getRuleContext(ConstructorBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public List<ConstructorModifierContext> constructorModifier() {
|
|
|
+ return getRuleContexts(ConstructorModifierContext.class);
|
|
|
+ }
|
|
|
+ public ConstructorModifierContext constructorModifier(int i) {
|
|
|
+ return getRuleContext(ConstructorModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public Throws_Context throws_() {
|
|
|
+ return getRuleContext(Throws_Context.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 Java9Listener ) ((Java9Listener)listener).enterConstructorDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConstructorDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConstructorDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConstructorDeclarationContext constructorDeclaration() throws RecognitionException {
|
|
|
+ ConstructorDeclarationContext _localctx = new ConstructorDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 184, RULE_constructorDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1249);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (((((_la - 43)) & ~0x3f) == 0 && ((1L << (_la - 43)) & ((1L << (PRIVATE - 43)) | (1L << (PROTECTED - 43)) | (1L << (PUBLIC - 43)) | (1L << (AT - 43)))) != 0)) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1246);
|
|
|
+ constructorModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1251);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1252);
|
|
|
+ constructorDeclarator();
|
|
|
+ setState(1254);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==THROWS) {
|
|
|
+ {
|
|
|
+ setState(1253);
|
|
|
+ throws_();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1256);
|
|
|
+ constructorBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ConstructorModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode PUBLIC() { return getToken(Java9Parser.PUBLIC, 0); }
|
|
|
+ public TerminalNode PROTECTED() { return getToken(Java9Parser.PROTECTED, 0); }
|
|
|
+ public TerminalNode PRIVATE() { return getToken(Java9Parser.PRIVATE, 0); }
|
|
|
+ public ConstructorModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_constructorModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConstructorModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConstructorModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConstructorModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConstructorModifierContext constructorModifier() throws RecognitionException {
|
|
|
+ ConstructorModifierContext _localctx = new ConstructorModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 186, RULE_constructorModifier);
|
|
|
+ try {
|
|
|
+ setState(1262);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1258);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PUBLIC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1259);
|
|
|
+ match(PUBLIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PROTECTED:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1260);
|
|
|
+ match(PROTECTED);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PRIVATE:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1261);
|
|
|
+ match(PRIVATE);
|
|
|
+ }
|
|
|
+ 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 ConstructorDeclaratorContext extends ParserRuleContext {
|
|
|
+ public SimpleTypeNameContext simpleTypeName() {
|
|
|
+ return getRuleContext(SimpleTypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TypeParametersContext typeParameters() {
|
|
|
+ return getRuleContext(TypeParametersContext.class,0);
|
|
|
+ }
|
|
|
+ public FormalParameterListContext formalParameterList() {
|
|
|
+ return getRuleContext(FormalParameterListContext.class,0);
|
|
|
+ }
|
|
|
+ public ConstructorDeclaratorContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_constructorDeclarator; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConstructorDeclarator(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConstructorDeclarator(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConstructorDeclarator(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConstructorDeclaratorContext constructorDeclarator() throws RecognitionException {
|
|
|
+ ConstructorDeclaratorContext _localctx = new ConstructorDeclaratorContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 188, RULE_constructorDeclarator);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1265);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1264);
|
|
|
+ typeParameters();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1267);
|
|
|
+ simpleTypeName();
|
|
|
+ setState(1268);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1270);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << SHORT))) != 0) || _la==AT || _la==Identifier) {
|
|
|
+ {
|
|
|
+ setState(1269);
|
|
|
+ formalParameterList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1272);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SimpleTypeNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public SimpleTypeNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_simpleTypeName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSimpleTypeName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSimpleTypeName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSimpleTypeName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SimpleTypeNameContext simpleTypeName() throws RecognitionException {
|
|
|
+ SimpleTypeNameContext _localctx = new SimpleTypeNameContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 190, RULE_simpleTypeName);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1274);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ConstructorBodyContext extends ParserRuleContext {
|
|
|
+ public TerminalNode LBRACE() { return getToken(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public ExplicitConstructorInvocationContext explicitConstructorInvocation() {
|
|
|
+ return getRuleContext(ExplicitConstructorInvocationContext.class,0);
|
|
|
+ }
|
|
|
+ public BlockStatementsContext blockStatements() {
|
|
|
+ return getRuleContext(BlockStatementsContext.class,0);
|
|
|
+ }
|
|
|
+ public ConstructorBodyContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_constructorBody; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConstructorBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConstructorBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConstructorBody(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConstructorBodyContext constructorBody() throws RecognitionException {
|
|
|
+ ConstructorBodyContext _localctx = new ConstructorBodyContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 192, RULE_constructorBody);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1276);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(1278);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,114,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(1277);
|
|
|
+ explicitConstructorInvocation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ setState(1281);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << ABSTRACT) | (1L << ASSERT) | (1L << BOOLEAN) | (1L << BREAK) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << CONTINUE) | (1L << DO) | (1L << DOUBLE) | (1L << ENUM) | (1L << FINAL) | (1L << FLOAT) | (1L << FOR) | (1L << IF) | (1L << INT) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACE - 64)) | (1L << (SEMI - 64)) | (1L << (AT - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1280);
|
|
|
+ blockStatements();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1283);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ExplicitConstructorInvocationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode THIS() { return getToken(Java9Parser.THIS, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ArgumentListContext argumentList() {
|
|
|
+ return getRuleContext(ArgumentListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SUPER() { return getToken(Java9Parser.SUPER, 0); }
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public PrimaryContext primary() {
|
|
|
+ return getRuleContext(PrimaryContext.class,0);
|
|
|
+ }
|
|
|
+ public ExplicitConstructorInvocationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_explicitConstructorInvocation; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterExplicitConstructorInvocation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitExplicitConstructorInvocation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitExplicitConstructorInvocation(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ExplicitConstructorInvocationContext explicitConstructorInvocation() throws RecognitionException {
|
|
|
+ ExplicitConstructorInvocationContext _localctx = new ExplicitConstructorInvocationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 194, RULE_explicitConstructorInvocation);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(1331);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,124,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1286);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1285);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1288);
|
|
|
+ match(THIS);
|
|
|
+ setState(1289);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1291);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1290);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1293);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1294);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1296);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1295);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1298);
|
|
|
+ match(SUPER);
|
|
|
+ setState(1299);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1301);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1300);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1303);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1304);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1305);
|
|
|
+ expressionName();
|
|
|
+ setState(1306);
|
|
|
+ match(DOT);
|
|
|
+ setState(1308);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1307);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1310);
|
|
|
+ match(SUPER);
|
|
|
+ setState(1311);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1313);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1312);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1315);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1316);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1318);
|
|
|
+ primary();
|
|
|
+ setState(1319);
|
|
|
+ match(DOT);
|
|
|
+ setState(1321);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1320);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1323);
|
|
|
+ match(SUPER);
|
|
|
+ setState(1324);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1326);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1325);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1328);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1329);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.ENUM, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public EnumBodyContext enumBody() {
|
|
|
+ return getRuleContext(EnumBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public List<ClassModifierContext> classModifier() {
|
|
|
+ return getRuleContexts(ClassModifierContext.class);
|
|
|
+ }
|
|
|
+ public ClassModifierContext classModifier(int i) {
|
|
|
+ return getRuleContext(ClassModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public SuperinterfacesContext superinterfaces() {
|
|
|
+ return getRuleContext(SuperinterfacesContext.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 Java9Listener ) ((Java9Listener)listener).enterEnumDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnumDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnumDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnumDeclarationContext enumDeclaration() throws RecognitionException {
|
|
|
+ EnumDeclarationContext _localctx = new EnumDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 196, RULE_enumDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1336);
|
|
|
+ _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(1333);
|
|
|
+ classModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1338);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1339);
|
|
|
+ match(ENUM);
|
|
|
+ setState(1340);
|
|
|
+ identifier();
|
|
|
+ setState(1342);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==IMPLEMENTS) {
|
|
|
+ {
|
|
|
+ setState(1341);
|
|
|
+ superinterfaces();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1344);
|
|
|
+ enumBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class EnumBodyContext extends ParserRuleContext {
|
|
|
+ public TerminalNode LBRACE() { return getToken(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public EnumConstantListContext enumConstantList() {
|
|
|
+ return getRuleContext(EnumConstantListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COMMA() { return getToken(Java9Parser.COMMA, 0); }
|
|
|
+ public EnumBodyDeclarationsContext enumBodyDeclarations() {
|
|
|
+ return getRuleContext(EnumBodyDeclarationsContext.class,0);
|
|
|
+ }
|
|
|
+ public EnumBodyContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_enumBody; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterEnumBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnumBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnumBody(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnumBodyContext enumBody() throws RecognitionException {
|
|
|
+ EnumBodyContext _localctx = new EnumBodyContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 198, RULE_enumBody);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1346);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(1348);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8))) != 0) || _la==AT || _la==Identifier) {
|
|
|
+ {
|
|
|
+ setState(1347);
|
|
|
+ enumConstantList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1351);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==COMMA) {
|
|
|
+ {
|
|
|
+ setState(1350);
|
|
|
+ match(COMMA);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1354);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==SEMI) {
|
|
|
+ {
|
|
|
+ setState(1353);
|
|
|
+ enumBodyDeclarations();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1356);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class EnumConstantListContext extends ParserRuleContext {
|
|
|
+ public List<EnumConstantContext> enumConstant() {
|
|
|
+ return getRuleContexts(EnumConstantContext.class);
|
|
|
+ }
|
|
|
+ public EnumConstantContext enumConstant(int i) {
|
|
|
+ return getRuleContext(EnumConstantContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public EnumConstantListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_enumConstantList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterEnumConstantList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnumConstantList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnumConstantList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnumConstantListContext enumConstantList() throws RecognitionException {
|
|
|
+ EnumConstantListContext _localctx = new EnumConstantListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 200, RULE_enumConstantList);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1358);
|
|
|
+ enumConstant();
|
|
|
+ setState(1363);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,130,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1359);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1360);
|
|
|
+ enumConstant();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1365);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,130,_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 IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public List<EnumConstantModifierContext> enumConstantModifier() {
|
|
|
+ return getRuleContexts(EnumConstantModifierContext.class);
|
|
|
+ }
|
|
|
+ public EnumConstantModifierContext enumConstantModifier(int i) {
|
|
|
+ return getRuleContext(EnumConstantModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public ClassBodyContext classBody() {
|
|
|
+ return getRuleContext(ClassBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public ArgumentListContext argumentList() {
|
|
|
+ return getRuleContext(ArgumentListContext.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 Java9Listener ) ((Java9Listener)listener).enterEnumConstant(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnumConstant(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnumConstant(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnumConstantContext enumConstant() throws RecognitionException {
|
|
|
+ EnumConstantContext _localctx = new EnumConstantContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 202, RULE_enumConstant);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1369);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1366);
|
|
|
+ enumConstantModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1371);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1372);
|
|
|
+ identifier();
|
|
|
+ setState(1378);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LPAREN) {
|
|
|
+ {
|
|
|
+ setState(1373);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1375);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1374);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1377);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1381);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LBRACE) {
|
|
|
+ {
|
|
|
+ setState(1380);
|
|
|
+ classBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class EnumConstantModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public EnumConstantModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_enumConstantModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterEnumConstantModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnumConstantModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnumConstantModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnumConstantModifierContext enumConstantModifier() throws RecognitionException {
|
|
|
+ EnumConstantModifierContext _localctx = new EnumConstantModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 204, RULE_enumConstantModifier);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1383);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.SEMI, 0); }
|
|
|
+ public List<ClassBodyDeclarationContext> 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 Java9Listener ) ((Java9Listener)listener).enterEnumBodyDeclarations(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnumBodyDeclarations(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnumBodyDeclarations(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnumBodyDeclarationsContext enumBodyDeclarations() throws RecognitionException {
|
|
|
+ EnumBodyDeclarationsContext _localctx = new EnumBodyDeclarationsContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 206, RULE_enumBodyDeclarations);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1385);
|
|
|
+ match(SEMI);
|
|
|
+ setState(1389);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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))) != 0) || ((((_la - 70)) & ~0x3f) == 0 && ((1L << (_la - 70)) & ((1L << (LBRACE - 70)) | (1L << (SEMI - 70)) | (1L << (AT - 70)) | (1L << (LT - 70)) | (1L << (Identifier - 70)))) != 0)) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1386);
|
|
|
+ classBodyDeclaration();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1391);
|
|
|
+ _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 NormalInterfaceDeclarationContext normalInterfaceDeclaration() {
|
|
|
+ return getRuleContext(NormalInterfaceDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public AnnotationTypeDeclarationContext annotationTypeDeclaration() {
|
|
|
+ return getRuleContext(AnnotationTypeDeclarationContext.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 Java9Listener ) ((Java9Listener)listener).enterInterfaceDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceDeclarationContext interfaceDeclaration() throws RecognitionException {
|
|
|
+ InterfaceDeclarationContext _localctx = new InterfaceDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 208, RULE_interfaceDeclaration);
|
|
|
+ try {
|
|
|
+ setState(1394);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,136,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1392);
|
|
|
+ normalInterfaceDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1393);
|
|
|
+ annotationTypeDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class NormalInterfaceDeclarationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode INTERFACE() { return getToken(Java9Parser.INTERFACE, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceBodyContext interfaceBody() {
|
|
|
+ return getRuleContext(InterfaceBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public List<InterfaceModifierContext> interfaceModifier() {
|
|
|
+ return getRuleContexts(InterfaceModifierContext.class);
|
|
|
+ }
|
|
|
+ public InterfaceModifierContext interfaceModifier(int i) {
|
|
|
+ return getRuleContext(InterfaceModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public TypeParametersContext typeParameters() {
|
|
|
+ return getRuleContext(TypeParametersContext.class,0);
|
|
|
+ }
|
|
|
+ public ExtendsInterfacesContext extendsInterfaces() {
|
|
|
+ return getRuleContext(ExtendsInterfacesContext.class,0);
|
|
|
+ }
|
|
|
+ public NormalInterfaceDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_normalInterfaceDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterNormalInterfaceDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitNormalInterfaceDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitNormalInterfaceDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final NormalInterfaceDeclarationContext normalInterfaceDeclaration() throws RecognitionException {
|
|
|
+ NormalInterfaceDeclarationContext _localctx = new NormalInterfaceDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 210, RULE_normalInterfaceDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1399);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << STATIC) | (1L << STRICTFP))) != 0) || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1396);
|
|
|
+ interfaceModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1401);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1402);
|
|
|
+ match(INTERFACE);
|
|
|
+ setState(1403);
|
|
|
+ identifier();
|
|
|
+ setState(1405);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(1404);
|
|
|
+ typeParameters();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1408);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==EXTENDS) {
|
|
|
+ {
|
|
|
+ setState(1407);
|
|
|
+ extendsInterfaces();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1410);
|
|
|
+ interfaceBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class InterfaceModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode PUBLIC() { return getToken(Java9Parser.PUBLIC, 0); }
|
|
|
+ public TerminalNode PROTECTED() { return getToken(Java9Parser.PROTECTED, 0); }
|
|
|
+ public TerminalNode PRIVATE() { return getToken(Java9Parser.PRIVATE, 0); }
|
|
|
+ public TerminalNode ABSTRACT() { return getToken(Java9Parser.ABSTRACT, 0); }
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public TerminalNode STRICTFP() { return getToken(Java9Parser.STRICTFP, 0); }
|
|
|
+ public InterfaceModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_interfaceModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterInterfaceModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceModifierContext interfaceModifier() throws RecognitionException {
|
|
|
+ InterfaceModifierContext _localctx = new InterfaceModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 212, RULE_interfaceModifier);
|
|
|
+ try {
|
|
|
+ setState(1419);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1412);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PUBLIC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1413);
|
|
|
+ match(PUBLIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PROTECTED:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1414);
|
|
|
+ match(PROTECTED);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PRIVATE:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1415);
|
|
|
+ match(PRIVATE);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case ABSTRACT:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1416);
|
|
|
+ match(ABSTRACT);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STATIC:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(1417);
|
|
|
+ match(STATIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STRICTFP:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(1418);
|
|
|
+ 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 ExtendsInterfacesContext extends ParserRuleContext {
|
|
|
+ public TerminalNode EXTENDS() { return getToken(Java9Parser.EXTENDS, 0); }
|
|
|
+ public InterfaceTypeListContext interfaceTypeList() {
|
|
|
+ return getRuleContext(InterfaceTypeListContext.class,0);
|
|
|
+ }
|
|
|
+ public ExtendsInterfacesContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_extendsInterfaces; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterExtendsInterfaces(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitExtendsInterfaces(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitExtendsInterfaces(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ExtendsInterfacesContext extendsInterfaces() throws RecognitionException {
|
|
|
+ ExtendsInterfacesContext _localctx = new ExtendsInterfacesContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 214, RULE_extendsInterfaces);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1421);
|
|
|
+ match(EXTENDS);
|
|
|
+ setState(1422);
|
|
|
+ interfaceTypeList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public List<InterfaceMemberDeclarationContext> interfaceMemberDeclaration() {
|
|
|
+ return getRuleContexts(InterfaceMemberDeclarationContext.class);
|
|
|
+ }
|
|
|
+ public InterfaceMemberDeclarationContext interfaceMemberDeclaration(int i) {
|
|
|
+ return getRuleContext(InterfaceMemberDeclarationContext.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 Java9Listener ) ((Java9Listener)listener).enterInterfaceBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceBody(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceBodyContext interfaceBody() throws RecognitionException {
|
|
|
+ InterfaceBodyContext _localctx = new InterfaceBodyContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 216, RULE_interfaceBody);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1424);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(1428);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SHORT) | (1L << STATIC) | (1L << STRICTFP) | (1L << VOID))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (SEMI - 74)) | (1L << (AT - 74)) | (1L << (LT - 74)) | (1L << (Identifier - 74)))) != 0)) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1425);
|
|
|
+ interfaceMemberDeclaration();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1430);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1431);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 ConstantDeclarationContext constantDeclaration() {
|
|
|
+ return getRuleContext(ConstantDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceMethodDeclarationContext interfaceMethodDeclaration() {
|
|
|
+ return getRuleContext(InterfaceMethodDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassDeclarationContext classDeclaration() {
|
|
|
+ return getRuleContext(ClassDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceDeclarationContext interfaceDeclaration() {
|
|
|
+ return getRuleContext(InterfaceDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 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 Java9Listener ) ((Java9Listener)listener).enterInterfaceMemberDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceMemberDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceMemberDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceMemberDeclarationContext interfaceMemberDeclaration() throws RecognitionException {
|
|
|
+ InterfaceMemberDeclarationContext _localctx = new InterfaceMemberDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 218, RULE_interfaceMemberDeclaration);
|
|
|
+ try {
|
|
|
+ setState(1438);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,142,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1433);
|
|
|
+ constantDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1434);
|
|
|
+ interfaceMethodDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1435);
|
|
|
+ classDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1436);
|
|
|
+ interfaceDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1437);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ConstantDeclarationContext extends ParserRuleContext {
|
|
|
+ public UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorListContext variableDeclaratorList() {
|
|
|
+ return getRuleContext(VariableDeclaratorListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public List<ConstantModifierContext> constantModifier() {
|
|
|
+ return getRuleContexts(ConstantModifierContext.class);
|
|
|
+ }
|
|
|
+ public ConstantModifierContext constantModifier(int i) {
|
|
|
+ return getRuleContext(ConstantModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public ConstantDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_constantDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConstantDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConstantDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConstantDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConstantDeclarationContext constantDeclaration() throws RecognitionException {
|
|
|
+ ConstantDeclarationContext _localctx = new ConstantDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 220, RULE_constantDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1443);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (((((_la - 28)) & ~0x3f) == 0 && ((1L << (_la - 28)) & ((1L << (FINAL - 28)) | (1L << (PUBLIC - 28)) | (1L << (STATIC - 28)) | (1L << (AT - 28)))) != 0)) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1440);
|
|
|
+ constantModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1445);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1446);
|
|
|
+ unannType();
|
|
|
+ setState(1447);
|
|
|
+ variableDeclaratorList();
|
|
|
+ setState(1448);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ConstantModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode PUBLIC() { return getToken(Java9Parser.PUBLIC, 0); }
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public TerminalNode FINAL() { return getToken(Java9Parser.FINAL, 0); }
|
|
|
+ public ConstantModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_constantModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConstantModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConstantModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConstantModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConstantModifierContext constantModifier() throws RecognitionException {
|
|
|
+ ConstantModifierContext _localctx = new ConstantModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 222, RULE_constantModifier);
|
|
|
+ try {
|
|
|
+ setState(1454);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1450);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PUBLIC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1451);
|
|
|
+ match(PUBLIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STATIC:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1452);
|
|
|
+ match(STATIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case FINAL:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1453);
|
|
|
+ match(FINAL);
|
|
|
+ }
|
|
|
+ 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 InterfaceMethodDeclarationContext extends ParserRuleContext {
|
|
|
+ public MethodHeaderContext methodHeader() {
|
|
|
+ return getRuleContext(MethodHeaderContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodBodyContext methodBody() {
|
|
|
+ return getRuleContext(MethodBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public List<InterfaceMethodModifierContext> interfaceMethodModifier() {
|
|
|
+ return getRuleContexts(InterfaceMethodModifierContext.class);
|
|
|
+ }
|
|
|
+ public InterfaceMethodModifierContext interfaceMethodModifier(int i) {
|
|
|
+ return getRuleContext(InterfaceMethodModifierContext.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 Java9Listener ) ((Java9Listener)listener).enterInterfaceMethodDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceMethodDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceMethodDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceMethodDeclarationContext interfaceMethodDeclaration() throws RecognitionException {
|
|
|
+ InterfaceMethodDeclarationContext _localctx = new InterfaceMethodDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 224, RULE_interfaceMethodDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1459);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << ABSTRACT) | (1L << DEFAULT) | (1L << PRIVATE) | (1L << PUBLIC) | (1L << STATIC) | (1L << STRICTFP))) != 0) || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1456);
|
|
|
+ interfaceMethodModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1461);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1462);
|
|
|
+ methodHeader();
|
|
|
+ setState(1463);
|
|
|
+ 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(Java9Parser.PUBLIC, 0); }
|
|
|
+ public TerminalNode PRIVATE() { return getToken(Java9Parser.PRIVATE, 0); }
|
|
|
+ public TerminalNode ABSTRACT() { return getToken(Java9Parser.ABSTRACT, 0); }
|
|
|
+ public TerminalNode DEFAULT() { return getToken(Java9Parser.DEFAULT, 0); }
|
|
|
+ public TerminalNode STATIC() { return getToken(Java9Parser.STATIC, 0); }
|
|
|
+ public TerminalNode STRICTFP() { return getToken(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterInterfaceMethodModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInterfaceMethodModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInterfaceMethodModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InterfaceMethodModifierContext interfaceMethodModifier() throws RecognitionException {
|
|
|
+ InterfaceMethodModifierContext _localctx = new InterfaceMethodModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 226, RULE_interfaceMethodModifier);
|
|
|
+ try {
|
|
|
+ setState(1472);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1465);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PUBLIC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1466);
|
|
|
+ match(PUBLIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PRIVATE:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1467);
|
|
|
+ match(PRIVATE);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case ABSTRACT:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1468);
|
|
|
+ match(ABSTRACT);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case DEFAULT:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1469);
|
|
|
+ match(DEFAULT);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STATIC:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(1470);
|
|
|
+ match(STATIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case STRICTFP:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(1471);
|
|
|
+ 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 AnnotationTypeDeclarationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode AT() { return getToken(Java9Parser.AT, 0); }
|
|
|
+ public TerminalNode INTERFACE() { return getToken(Java9Parser.INTERFACE, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public AnnotationTypeBodyContext annotationTypeBody() {
|
|
|
+ return getRuleContext(AnnotationTypeBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public List<InterfaceModifierContext> interfaceModifier() {
|
|
|
+ return getRuleContexts(InterfaceModifierContext.class);
|
|
|
+ }
|
|
|
+ public InterfaceModifierContext interfaceModifier(int i) {
|
|
|
+ return getRuleContext(InterfaceModifierContext.class,i);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterAnnotationTypeDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAnnotationTypeDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAnnotationTypeDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AnnotationTypeDeclarationContext annotationTypeDeclaration() throws RecognitionException {
|
|
|
+ AnnotationTypeDeclarationContext _localctx = new AnnotationTypeDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 228, RULE_annotationTypeDeclaration);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1477);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,147,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1474);
|
|
|
+ interfaceModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1479);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,147,_ctx);
|
|
|
+ }
|
|
|
+ setState(1480);
|
|
|
+ match(AT);
|
|
|
+ setState(1481);
|
|
|
+ match(INTERFACE);
|
|
|
+ setState(1482);
|
|
|
+ identifier();
|
|
|
+ setState(1483);
|
|
|
+ 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(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public List<AnnotationTypeMemberDeclarationContext> annotationTypeMemberDeclaration() {
|
|
|
+ return getRuleContexts(AnnotationTypeMemberDeclarationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationTypeMemberDeclarationContext annotationTypeMemberDeclaration(int i) {
|
|
|
+ return getRuleContext(AnnotationTypeMemberDeclarationContext.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 Java9Listener ) ((Java9Listener)listener).enterAnnotationTypeBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAnnotationTypeBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAnnotationTypeBody(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AnnotationTypeBodyContext annotationTypeBody() throws RecognitionException {
|
|
|
+ AnnotationTypeBodyContext _localctx = new AnnotationTypeBodyContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 230, RULE_annotationTypeBody);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1485);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(1489);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << PRIVATE) | (1L << PROTECTED) | (1L << PUBLIC) | (1L << SHORT) | (1L << STATIC) | (1L << STRICTFP))) != 0) || ((((_la - 74)) & ~0x3f) == 0 && ((1L << (_la - 74)) & ((1L << (SEMI - 74)) | (1L << (AT - 74)) | (1L << (Identifier - 74)))) != 0)) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1486);
|
|
|
+ annotationTypeMemberDeclaration();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1491);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1492);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AnnotationTypeMemberDeclarationContext extends ParserRuleContext {
|
|
|
+ public AnnotationTypeElementDeclarationContext annotationTypeElementDeclaration() {
|
|
|
+ return getRuleContext(AnnotationTypeElementDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public ConstantDeclarationContext constantDeclaration() {
|
|
|
+ return getRuleContext(ConstantDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassDeclarationContext classDeclaration() {
|
|
|
+ return getRuleContext(ClassDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public InterfaceDeclarationContext interfaceDeclaration() {
|
|
|
+ return getRuleContext(InterfaceDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public AnnotationTypeMemberDeclarationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_annotationTypeMemberDeclaration; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAnnotationTypeMemberDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAnnotationTypeMemberDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAnnotationTypeMemberDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AnnotationTypeMemberDeclarationContext annotationTypeMemberDeclaration() throws RecognitionException {
|
|
|
+ AnnotationTypeMemberDeclarationContext _localctx = new AnnotationTypeMemberDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 232, RULE_annotationTypeMemberDeclaration);
|
|
|
+ try {
|
|
|
+ setState(1499);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,149,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1494);
|
|
|
+ annotationTypeElementDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1495);
|
|
|
+ constantDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1496);
|
|
|
+ classDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1497);
|
|
|
+ interfaceDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1498);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public List<AnnotationTypeElementModifierContext> annotationTypeElementModifier() {
|
|
|
+ return getRuleContexts(AnnotationTypeElementModifierContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationTypeElementModifierContext annotationTypeElementModifier(int i) {
|
|
|
+ return getRuleContext(AnnotationTypeElementModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public DimsContext dims() {
|
|
|
+ return getRuleContext(DimsContext.class,0);
|
|
|
+ }
|
|
|
+ public DefaultValueContext defaultValue() {
|
|
|
+ return getRuleContext(DefaultValueContext.class,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 Java9Listener ) ((Java9Listener)listener).enterAnnotationTypeElementDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAnnotationTypeElementDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAnnotationTypeElementDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AnnotationTypeElementDeclarationContext annotationTypeElementDeclaration() throws RecognitionException {
|
|
|
+ AnnotationTypeElementDeclarationContext _localctx = new AnnotationTypeElementDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 234, RULE_annotationTypeElementDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1504);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==ABSTRACT || _la==PUBLIC || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1501);
|
|
|
+ annotationTypeElementModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1506);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1507);
|
|
|
+ unannType();
|
|
|
+ setState(1508);
|
|
|
+ identifier();
|
|
|
+ setState(1509);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1510);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1512);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LBRACK || _la==AT) {
|
|
|
+ {
|
|
|
+ setState(1511);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1515);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==DEFAULT) {
|
|
|
+ {
|
|
|
+ setState(1514);
|
|
|
+ defaultValue();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1517);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AnnotationTypeElementModifierContext extends ParserRuleContext {
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode PUBLIC() { return getToken(Java9Parser.PUBLIC, 0); }
|
|
|
+ public TerminalNode ABSTRACT() { return getToken(Java9Parser.ABSTRACT, 0); }
|
|
|
+ public AnnotationTypeElementModifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_annotationTypeElementModifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAnnotationTypeElementModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAnnotationTypeElementModifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAnnotationTypeElementModifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AnnotationTypeElementModifierContext annotationTypeElementModifier() throws RecognitionException {
|
|
|
+ AnnotationTypeElementModifierContext _localctx = new AnnotationTypeElementModifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 236, RULE_annotationTypeElementModifier);
|
|
|
+ try {
|
|
|
+ setState(1522);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case AT:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1519);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case PUBLIC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1520);
|
|
|
+ match(PUBLIC);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case ABSTRACT:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1521);
|
|
|
+ match(ABSTRACT);
|
|
|
+ }
|
|
|
+ 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 DefaultValueContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DEFAULT() { return getToken(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterDefaultValue(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitDefaultValue(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitDefaultValue(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final DefaultValueContext defaultValue() throws RecognitionException {
|
|
|
+ DefaultValueContext _localctx = new DefaultValueContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 238, RULE_defaultValue);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1524);
|
|
|
+ match(DEFAULT);
|
|
|
+ setState(1525);
|
|
|
+ elementValue();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 NormalAnnotationContext normalAnnotation() {
|
|
|
+ return getRuleContext(NormalAnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public MarkerAnnotationContext markerAnnotation() {
|
|
|
+ return getRuleContext(MarkerAnnotationContext.class,0);
|
|
|
+ }
|
|
|
+ public SingleElementAnnotationContext singleElementAnnotation() {
|
|
|
+ return getRuleContext(SingleElementAnnotationContext.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 Java9Listener ) ((Java9Listener)listener).enterAnnotation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAnnotation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAnnotation(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AnnotationContext annotation() throws RecognitionException {
|
|
|
+ AnnotationContext _localctx = new AnnotationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 240, RULE_annotation);
|
|
|
+ try {
|
|
|
+ setState(1530);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,154,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1527);
|
|
|
+ normalAnnotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1528);
|
|
|
+ markerAnnotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1529);
|
|
|
+ singleElementAnnotation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class NormalAnnotationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode AT() { return getToken(Java9Parser.AT, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public ElementValuePairListContext elementValuePairList() {
|
|
|
+ return getRuleContext(ElementValuePairListContext.class,0);
|
|
|
+ }
|
|
|
+ public NormalAnnotationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_normalAnnotation; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterNormalAnnotation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitNormalAnnotation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitNormalAnnotation(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final NormalAnnotationContext normalAnnotation() throws RecognitionException {
|
|
|
+ NormalAnnotationContext _localctx = new NormalAnnotationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 242, RULE_normalAnnotation);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1532);
|
|
|
+ match(AT);
|
|
|
+ setState(1533);
|
|
|
+ typeName();
|
|
|
+ setState(1534);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1536);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8))) != 0) || _la==Identifier) {
|
|
|
+ {
|
|
|
+ setState(1535);
|
|
|
+ elementValuePairList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1538);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ElementValuePairListContext extends ParserRuleContext {
|
|
|
+ public List<ElementValuePairContext> elementValuePair() {
|
|
|
+ return getRuleContexts(ElementValuePairContext.class);
|
|
|
+ }
|
|
|
+ public ElementValuePairContext elementValuePair(int i) {
|
|
|
+ return getRuleContext(ElementValuePairContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public ElementValuePairListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_elementValuePairList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterElementValuePairList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitElementValuePairList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitElementValuePairList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ElementValuePairListContext elementValuePairList() throws RecognitionException {
|
|
|
+ ElementValuePairListContext _localctx = new ElementValuePairListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 244, RULE_elementValuePairList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1540);
|
|
|
+ elementValuePair();
|
|
|
+ setState(1545);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1541);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1542);
|
|
|
+ elementValuePair();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1547);
|
|
|
+ _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 IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode ASSIGN() { return getToken(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterElementValuePair(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitElementValuePair(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitElementValuePair(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ElementValuePairContext elementValuePair() throws RecognitionException {
|
|
|
+ ElementValuePairContext _localctx = new ElementValuePairContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 246, RULE_elementValuePair);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1548);
|
|
|
+ identifier();
|
|
|
+ setState(1549);
|
|
|
+ match(ASSIGN);
|
|
|
+ setState(1550);
|
|
|
+ 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 ConditionalExpressionContext conditionalExpression() {
|
|
|
+ return getRuleContext(ConditionalExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ElementValueArrayInitializerContext elementValueArrayInitializer() {
|
|
|
+ return getRuleContext(ElementValueArrayInitializerContext.class,0);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation() {
|
|
|
+ return getRuleContext(AnnotationContext.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 Java9Listener ) ((Java9Listener)listener).enterElementValue(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitElementValue(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitElementValue(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ElementValueContext elementValue() throws RecognitionException {
|
|
|
+ ElementValueContext _localctx = new ElementValueContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 248, RULE_elementValue);
|
|
|
+ try {
|
|
|
+ setState(1555);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,157,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1552);
|
|
|
+ conditionalExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1553);
|
|
|
+ elementValueArrayInitializer();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1554);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ 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(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public ElementValueListContext elementValueList() {
|
|
|
+ return getRuleContext(ElementValueListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COMMA() { return getToken(Java9Parser.COMMA, 0); }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterElementValueArrayInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitElementValueArrayInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitElementValueArrayInitializer(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ElementValueArrayInitializerContext elementValueArrayInitializer() throws RecognitionException {
|
|
|
+ ElementValueArrayInitializerContext _localctx = new ElementValueArrayInitializerContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 250, RULE_elementValueArrayInitializer);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1557);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(1559);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACE - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1558);
|
|
|
+ elementValueList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1562);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==COMMA) {
|
|
|
+ {
|
|
|
+ setState(1561);
|
|
|
+ match(COMMA);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1564);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ElementValueListContext extends ParserRuleContext {
|
|
|
+ public List<ElementValueContext> elementValue() {
|
|
|
+ return getRuleContexts(ElementValueContext.class);
|
|
|
+ }
|
|
|
+ public ElementValueContext elementValue(int i) {
|
|
|
+ return getRuleContext(ElementValueContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public ElementValueListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_elementValueList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterElementValueList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitElementValueList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitElementValueList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ElementValueListContext elementValueList() throws RecognitionException {
|
|
|
+ ElementValueListContext _localctx = new ElementValueListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 252, RULE_elementValueList);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1566);
|
|
|
+ elementValue();
|
|
|
+ setState(1571);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,160,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1567);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1568);
|
|
|
+ elementValue();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1573);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,160,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MarkerAnnotationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode AT() { return getToken(Java9Parser.AT, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public MarkerAnnotationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_markerAnnotation; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMarkerAnnotation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMarkerAnnotation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMarkerAnnotation(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MarkerAnnotationContext markerAnnotation() throws RecognitionException {
|
|
|
+ MarkerAnnotationContext _localctx = new MarkerAnnotationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 254, RULE_markerAnnotation);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1574);
|
|
|
+ match(AT);
|
|
|
+ setState(1575);
|
|
|
+ typeName();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SingleElementAnnotationContext extends ParserRuleContext {
|
|
|
+ public TerminalNode AT() { return getToken(Java9Parser.AT, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ElementValueContext elementValue() {
|
|
|
+ return getRuleContext(ElementValueContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public SingleElementAnnotationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_singleElementAnnotation; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSingleElementAnnotation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSingleElementAnnotation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSingleElementAnnotation(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SingleElementAnnotationContext singleElementAnnotation() throws RecognitionException {
|
|
|
+ SingleElementAnnotationContext _localctx = new SingleElementAnnotationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 256, RULE_singleElementAnnotation);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1577);
|
|
|
+ match(AT);
|
|
|
+ setState(1578);
|
|
|
+ typeName();
|
|
|
+ setState(1579);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1580);
|
|
|
+ elementValue();
|
|
|
+ setState(1581);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public VariableInitializerListContext variableInitializerList() {
|
|
|
+ return getRuleContext(VariableInitializerListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COMMA() { return getToken(Java9Parser.COMMA, 0); }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterArrayInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitArrayInitializer(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitArrayInitializer(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ArrayInitializerContext arrayInitializer() throws RecognitionException {
|
|
|
+ ArrayInitializerContext _localctx = new ArrayInitializerContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 258, RULE_arrayInitializer);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1583);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(1585);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACE - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1584);
|
|
|
+ variableInitializerList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1588);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==COMMA) {
|
|
|
+ {
|
|
|
+ setState(1587);
|
|
|
+ match(COMMA);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1590);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class VariableInitializerListContext extends ParserRuleContext {
|
|
|
+ public List<VariableInitializerContext> variableInitializer() {
|
|
|
+ return getRuleContexts(VariableInitializerContext.class);
|
|
|
+ }
|
|
|
+ public VariableInitializerContext variableInitializer(int i) {
|
|
|
+ return getRuleContext(VariableInitializerContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public VariableInitializerListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_variableInitializerList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterVariableInitializerList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitVariableInitializerList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitVariableInitializerList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final VariableInitializerListContext variableInitializerList() throws RecognitionException {
|
|
|
+ VariableInitializerListContext _localctx = new VariableInitializerListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 260, RULE_variableInitializerList);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1592);
|
|
|
+ variableInitializer();
|
|
|
+ setState(1597);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,163,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1593);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1594);
|
|
|
+ variableInitializer();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1599);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,163,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public BlockStatementsContext blockStatements() {
|
|
|
+ return getRuleContext(BlockStatementsContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterBlock(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitBlock(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitBlock(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final BlockContext block() throws RecognitionException {
|
|
|
+ BlockContext _localctx = new BlockContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 262, RULE_block);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1600);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(1602);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << ABSTRACT) | (1L << ASSERT) | (1L << BOOLEAN) | (1L << BREAK) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << CONTINUE) | (1L << DO) | (1L << DOUBLE) | (1L << ENUM) | (1L << FINAL) | (1L << FLOAT) | (1L << FOR) | (1L << IF) | (1L << INT) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACE - 64)) | (1L << (SEMI - 64)) | (1L << (AT - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1601);
|
|
|
+ blockStatements();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1604);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class BlockStatementsContext extends ParserRuleContext {
|
|
|
+ public List<BlockStatementContext> blockStatement() {
|
|
|
+ return getRuleContexts(BlockStatementContext.class);
|
|
|
+ }
|
|
|
+ public BlockStatementContext blockStatement(int i) {
|
|
|
+ return getRuleContext(BlockStatementContext.class,i);
|
|
|
+ }
|
|
|
+ public BlockStatementsContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_blockStatements; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterBlockStatements(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitBlockStatements(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitBlockStatements(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final BlockStatementsContext blockStatements() throws RecognitionException {
|
|
|
+ BlockStatementsContext _localctx = new BlockStatementsContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 264, RULE_blockStatements);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1607);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ do {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1606);
|
|
|
+ blockStatement();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1609);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ } while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << ABSTRACT) | (1L << ASSERT) | (1L << BOOLEAN) | (1L << BREAK) | (1L << BYTE) | (1L << CHAR) | (1L << CLASS) | (1L << CONTINUE) | (1L << DO) | (1L << DOUBLE) | (1L << ENUM) | (1L << FINAL) | (1L << FLOAT) | (1L << FOR) | (1L << IF) | (1L << INT) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (LBRACE - 64)) | (1L << (SEMI - 64)) | (1L << (AT - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (Identifier - 64)))) != 0) );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 LocalVariableDeclarationStatementContext localVariableDeclarationStatement() {
|
|
|
+ return getRuleContext(LocalVariableDeclarationStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassDeclarationContext classDeclaration() {
|
|
|
+ return getRuleContext(ClassDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public StatementContext statement() {
|
|
|
+ return getRuleContext(StatementContext.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 Java9Listener ) ((Java9Listener)listener).enterBlockStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitBlockStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitBlockStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final BlockStatementContext blockStatement() throws RecognitionException {
|
|
|
+ BlockStatementContext _localctx = new BlockStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 266, RULE_blockStatement);
|
|
|
+ try {
|
|
|
+ setState(1614);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,166,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1611);
|
|
|
+ localVariableDeclarationStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1612);
|
|
|
+ classDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1613);
|
|
|
+ statement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class LocalVariableDeclarationStatementContext extends ParserRuleContext {
|
|
|
+ public LocalVariableDeclarationContext localVariableDeclaration() {
|
|
|
+ return getRuleContext(LocalVariableDeclarationContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public LocalVariableDeclarationStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_localVariableDeclarationStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterLocalVariableDeclarationStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLocalVariableDeclarationStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLocalVariableDeclarationStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LocalVariableDeclarationStatementContext localVariableDeclarationStatement() throws RecognitionException {
|
|
|
+ LocalVariableDeclarationStatementContext _localctx = new LocalVariableDeclarationStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 268, RULE_localVariableDeclarationStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1616);
|
|
|
+ localVariableDeclaration();
|
|
|
+ setState(1617);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class LocalVariableDeclarationContext extends ParserRuleContext {
|
|
|
+ public UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorListContext variableDeclaratorList() {
|
|
|
+ return getRuleContext(VariableDeclaratorListContext.class,0);
|
|
|
+ }
|
|
|
+ public List<VariableModifierContext> 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 Java9Listener ) ((Java9Listener)listener).enterLocalVariableDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLocalVariableDeclaration(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLocalVariableDeclaration(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LocalVariableDeclarationContext localVariableDeclaration() throws RecognitionException {
|
|
|
+ LocalVariableDeclarationContext _localctx = new LocalVariableDeclarationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 270, RULE_localVariableDeclaration);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1622);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==FINAL || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1619);
|
|
|
+ variableModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1624);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1625);
|
|
|
+ unannType();
|
|
|
+ setState(1626);
|
|
|
+ variableDeclaratorList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 StatementWithoutTrailingSubstatementContext statementWithoutTrailingSubstatement() {
|
|
|
+ return getRuleContext(StatementWithoutTrailingSubstatementContext.class,0);
|
|
|
+ }
|
|
|
+ public LabeledStatementContext labeledStatement() {
|
|
|
+ return getRuleContext(LabeledStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public IfThenStatementContext ifThenStatement() {
|
|
|
+ return getRuleContext(IfThenStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public IfThenElseStatementContext ifThenElseStatement() {
|
|
|
+ return getRuleContext(IfThenElseStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public WhileStatementContext whileStatement() {
|
|
|
+ return getRuleContext(WhileStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public ForStatementContext forStatement() {
|
|
|
+ return getRuleContext(ForStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public StatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_statement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final StatementContext statement() throws RecognitionException {
|
|
|
+ StatementContext _localctx = new StatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 272, RULE_statement);
|
|
|
+ try {
|
|
|
+ setState(1634);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,168,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1628);
|
|
|
+ statementWithoutTrailingSubstatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1629);
|
|
|
+ labeledStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1630);
|
|
|
+ ifThenStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1631);
|
|
|
+ ifThenElseStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1632);
|
|
|
+ whileStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(1633);
|
|
|
+ forStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class StatementNoShortIfContext extends ParserRuleContext {
|
|
|
+ public StatementWithoutTrailingSubstatementContext statementWithoutTrailingSubstatement() {
|
|
|
+ return getRuleContext(StatementWithoutTrailingSubstatementContext.class,0);
|
|
|
+ }
|
|
|
+ public LabeledStatementNoShortIfContext labeledStatementNoShortIf() {
|
|
|
+ return getRuleContext(LabeledStatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public IfThenElseStatementNoShortIfContext ifThenElseStatementNoShortIf() {
|
|
|
+ return getRuleContext(IfThenElseStatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public WhileStatementNoShortIfContext whileStatementNoShortIf() {
|
|
|
+ return getRuleContext(WhileStatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public ForStatementNoShortIfContext forStatementNoShortIf() {
|
|
|
+ return getRuleContext(ForStatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public StatementNoShortIfContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_statementNoShortIf; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitStatementNoShortIf(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final StatementNoShortIfContext statementNoShortIf() throws RecognitionException {
|
|
|
+ StatementNoShortIfContext _localctx = new StatementNoShortIfContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 274, RULE_statementNoShortIf);
|
|
|
+ try {
|
|
|
+ setState(1641);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,169,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1636);
|
|
|
+ statementWithoutTrailingSubstatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1637);
|
|
|
+ labeledStatementNoShortIf();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1638);
|
|
|
+ ifThenElseStatementNoShortIf();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1639);
|
|
|
+ whileStatementNoShortIf();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1640);
|
|
|
+ forStatementNoShortIf();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class StatementWithoutTrailingSubstatementContext extends ParserRuleContext {
|
|
|
+ public BlockContext block() {
|
|
|
+ return getRuleContext(BlockContext.class,0);
|
|
|
+ }
|
|
|
+ public EmptyStatementContext emptyStatement() {
|
|
|
+ return getRuleContext(EmptyStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionStatementContext expressionStatement() {
|
|
|
+ return getRuleContext(ExpressionStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public AssertStatementContext assertStatement() {
|
|
|
+ return getRuleContext(AssertStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public SwitchStatementContext switchStatement() {
|
|
|
+ return getRuleContext(SwitchStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public DoStatementContext doStatement() {
|
|
|
+ return getRuleContext(DoStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public BreakStatementContext breakStatement() {
|
|
|
+ return getRuleContext(BreakStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public ContinueStatementContext continueStatement() {
|
|
|
+ return getRuleContext(ContinueStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public ReturnStatementContext returnStatement() {
|
|
|
+ return getRuleContext(ReturnStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public SynchronizedStatementContext synchronizedStatement() {
|
|
|
+ return getRuleContext(SynchronizedStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public ThrowStatementContext throwStatement() {
|
|
|
+ return getRuleContext(ThrowStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public TryStatementContext tryStatement() {
|
|
|
+ return getRuleContext(TryStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public StatementWithoutTrailingSubstatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_statementWithoutTrailingSubstatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterStatementWithoutTrailingSubstatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitStatementWithoutTrailingSubstatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitStatementWithoutTrailingSubstatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final StatementWithoutTrailingSubstatementContext statementWithoutTrailingSubstatement() throws RecognitionException {
|
|
|
+ StatementWithoutTrailingSubstatementContext _localctx = new StatementWithoutTrailingSubstatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 276, RULE_statementWithoutTrailingSubstatement);
|
|
|
+ try {
|
|
|
+ setState(1655);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case LBRACE:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1643);
|
|
|
+ block();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case SEMI:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1644);
|
|
|
+ emptyStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case BOOLEAN:
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case NEW:
|
|
|
+ case SHORT:
|
|
|
+ case SUPER:
|
|
|
+ case THIS:
|
|
|
+ case VOID:
|
|
|
+ case IntegerLiteral:
|
|
|
+ case FloatingPointLiteral:
|
|
|
+ case BooleanLiteral:
|
|
|
+ case CharacterLiteral:
|
|
|
+ case StringLiteral:
|
|
|
+ case NullLiteral:
|
|
|
+ case LPAREN:
|
|
|
+ case AT:
|
|
|
+ case INC:
|
|
|
+ case DEC:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1645);
|
|
|
+ expressionStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case ASSERT:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1646);
|
|
|
+ assertStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case SWITCH:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1647);
|
|
|
+ switchStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case DO:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(1648);
|
|
|
+ doStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case BREAK:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(1649);
|
|
|
+ breakStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case CONTINUE:
|
|
|
+ enterOuterAlt(_localctx, 8);
|
|
|
+ {
|
|
|
+ setState(1650);
|
|
|
+ continueStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case RETURN:
|
|
|
+ enterOuterAlt(_localctx, 9);
|
|
|
+ {
|
|
|
+ setState(1651);
|
|
|
+ returnStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case SYNCHRONIZED:
|
|
|
+ enterOuterAlt(_localctx, 10);
|
|
|
+ {
|
|
|
+ setState(1652);
|
|
|
+ synchronizedStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case THROW:
|
|
|
+ enterOuterAlt(_localctx, 11);
|
|
|
+ {
|
|
|
+ setState(1653);
|
|
|
+ throwStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case TRY:
|
|
|
+ enterOuterAlt(_localctx, 12);
|
|
|
+ {
|
|
|
+ setState(1654);
|
|
|
+ tryStatement();
|
|
|
+ }
|
|
|
+ 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 EmptyStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public EmptyStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_emptyStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterEmptyStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEmptyStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEmptyStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EmptyStatementContext emptyStatement() throws RecognitionException {
|
|
|
+ EmptyStatementContext _localctx = new EmptyStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 278, RULE_emptyStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1657);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class LabeledStatementContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COLON() { return getToken(Java9Parser.COLON, 0); }
|
|
|
+ public StatementContext statement() {
|
|
|
+ return getRuleContext(StatementContext.class,0);
|
|
|
+ }
|
|
|
+ public LabeledStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_labeledStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterLabeledStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLabeledStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLabeledStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LabeledStatementContext labeledStatement() throws RecognitionException {
|
|
|
+ LabeledStatementContext _localctx = new LabeledStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 280, RULE_labeledStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1659);
|
|
|
+ identifier();
|
|
|
+ setState(1660);
|
|
|
+ match(COLON);
|
|
|
+ setState(1661);
|
|
|
+ statement();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class LabeledStatementNoShortIfContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COLON() { return getToken(Java9Parser.COLON, 0); }
|
|
|
+ public StatementNoShortIfContext statementNoShortIf() {
|
|
|
+ return getRuleContext(StatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public LabeledStatementNoShortIfContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_labeledStatementNoShortIf; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterLabeledStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLabeledStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLabeledStatementNoShortIf(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LabeledStatementNoShortIfContext labeledStatementNoShortIf() throws RecognitionException {
|
|
|
+ LabeledStatementNoShortIfContext _localctx = new LabeledStatementNoShortIfContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 282, RULE_labeledStatementNoShortIf);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1663);
|
|
|
+ identifier();
|
|
|
+ setState(1664);
|
|
|
+ match(COLON);
|
|
|
+ setState(1665);
|
|
|
+ statementNoShortIf();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ExpressionStatementContext extends ParserRuleContext {
|
|
|
+ public StatementExpressionContext statementExpression() {
|
|
|
+ return getRuleContext(StatementExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public ExpressionStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_expressionStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterExpressionStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitExpressionStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitExpressionStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ExpressionStatementContext expressionStatement() throws RecognitionException {
|
|
|
+ ExpressionStatementContext _localctx = new ExpressionStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 284, RULE_expressionStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1667);
|
|
|
+ statementExpression();
|
|
|
+ setState(1668);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class StatementExpressionContext extends ParserRuleContext {
|
|
|
+ public AssignmentContext assignment() {
|
|
|
+ return getRuleContext(AssignmentContext.class,0);
|
|
|
+ }
|
|
|
+ public PreIncrementExpressionContext preIncrementExpression() {
|
|
|
+ return getRuleContext(PreIncrementExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public PreDecrementExpressionContext preDecrementExpression() {
|
|
|
+ return getRuleContext(PreDecrementExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public PostIncrementExpressionContext postIncrementExpression() {
|
|
|
+ return getRuleContext(PostIncrementExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public PostDecrementExpressionContext postDecrementExpression() {
|
|
|
+ return getRuleContext(PostDecrementExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodInvocationContext methodInvocation() {
|
|
|
+ return getRuleContext(MethodInvocationContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassInstanceCreationExpressionContext classInstanceCreationExpression() {
|
|
|
+ return getRuleContext(ClassInstanceCreationExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public StatementExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_statementExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterStatementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitStatementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitStatementExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final StatementExpressionContext statementExpression() throws RecognitionException {
|
|
|
+ StatementExpressionContext _localctx = new StatementExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 286, RULE_statementExpression);
|
|
|
+ try {
|
|
|
+ setState(1677);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,171,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1670);
|
|
|
+ assignment();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1671);
|
|
|
+ preIncrementExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1672);
|
|
|
+ preDecrementExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1673);
|
|
|
+ postIncrementExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1674);
|
|
|
+ postDecrementExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(1675);
|
|
|
+ methodInvocation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(1676);
|
|
|
+ classInstanceCreationExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class IfThenStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IF() { return getToken(Java9Parser.IF, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public StatementContext statement() {
|
|
|
+ return getRuleContext(StatementContext.class,0);
|
|
|
+ }
|
|
|
+ public IfThenStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_ifThenStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterIfThenStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitIfThenStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitIfThenStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final IfThenStatementContext ifThenStatement() throws RecognitionException {
|
|
|
+ IfThenStatementContext _localctx = new IfThenStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 288, RULE_ifThenStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1679);
|
|
|
+ match(IF);
|
|
|
+ setState(1680);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1681);
|
|
|
+ expression();
|
|
|
+ setState(1682);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1683);
|
|
|
+ statement();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class IfThenElseStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IF() { return getToken(Java9Parser.IF, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public StatementNoShortIfContext statementNoShortIf() {
|
|
|
+ return getRuleContext(StatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode ELSE() { return getToken(Java9Parser.ELSE, 0); }
|
|
|
+ public StatementContext statement() {
|
|
|
+ return getRuleContext(StatementContext.class,0);
|
|
|
+ }
|
|
|
+ public IfThenElseStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_ifThenElseStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterIfThenElseStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitIfThenElseStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitIfThenElseStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final IfThenElseStatementContext ifThenElseStatement() throws RecognitionException {
|
|
|
+ IfThenElseStatementContext _localctx = new IfThenElseStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 290, RULE_ifThenElseStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1685);
|
|
|
+ match(IF);
|
|
|
+ setState(1686);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1687);
|
|
|
+ expression();
|
|
|
+ setState(1688);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1689);
|
|
|
+ statementNoShortIf();
|
|
|
+ setState(1690);
|
|
|
+ match(ELSE);
|
|
|
+ setState(1691);
|
|
|
+ statement();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class IfThenElseStatementNoShortIfContext extends ParserRuleContext {
|
|
|
+ public TerminalNode IF() { return getToken(Java9Parser.IF, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public List<StatementNoShortIfContext> statementNoShortIf() {
|
|
|
+ return getRuleContexts(StatementNoShortIfContext.class);
|
|
|
+ }
|
|
|
+ public StatementNoShortIfContext statementNoShortIf(int i) {
|
|
|
+ return getRuleContext(StatementNoShortIfContext.class,i);
|
|
|
+ }
|
|
|
+ public TerminalNode ELSE() { return getToken(Java9Parser.ELSE, 0); }
|
|
|
+ public IfThenElseStatementNoShortIfContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_ifThenElseStatementNoShortIf; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterIfThenElseStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitIfThenElseStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitIfThenElseStatementNoShortIf(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final IfThenElseStatementNoShortIfContext ifThenElseStatementNoShortIf() throws RecognitionException {
|
|
|
+ IfThenElseStatementNoShortIfContext _localctx = new IfThenElseStatementNoShortIfContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 292, RULE_ifThenElseStatementNoShortIf);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1693);
|
|
|
+ match(IF);
|
|
|
+ setState(1694);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1695);
|
|
|
+ expression();
|
|
|
+ setState(1696);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1697);
|
|
|
+ statementNoShortIf();
|
|
|
+ setState(1698);
|
|
|
+ match(ELSE);
|
|
|
+ setState(1699);
|
|
|
+ statementNoShortIf();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AssertStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode ASSERT() { return getToken(Java9Parser.ASSERT, 0); }
|
|
|
+ public List<ExpressionContext> expression() {
|
|
|
+ return getRuleContexts(ExpressionContext.class);
|
|
|
+ }
|
|
|
+ public ExpressionContext expression(int i) {
|
|
|
+ return getRuleContext(ExpressionContext.class,i);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public TerminalNode COLON() { return getToken(Java9Parser.COLON, 0); }
|
|
|
+ public AssertStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_assertStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAssertStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAssertStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAssertStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AssertStatementContext assertStatement() throws RecognitionException {
|
|
|
+ AssertStatementContext _localctx = new AssertStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 294, RULE_assertStatement);
|
|
|
+ try {
|
|
|
+ setState(1711);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,172,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1701);
|
|
|
+ match(ASSERT);
|
|
|
+ setState(1702);
|
|
|
+ expression();
|
|
|
+ setState(1703);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1705);
|
|
|
+ match(ASSERT);
|
|
|
+ setState(1706);
|
|
|
+ expression();
|
|
|
+ setState(1707);
|
|
|
+ match(COLON);
|
|
|
+ setState(1708);
|
|
|
+ expression();
|
|
|
+ setState(1709);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SwitchStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode SWITCH() { return getToken(Java9Parser.SWITCH, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public SwitchBlockContext switchBlock() {
|
|
|
+ return getRuleContext(SwitchBlockContext.class,0);
|
|
|
+ }
|
|
|
+ public SwitchStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_switchStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSwitchStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSwitchStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSwitchStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SwitchStatementContext switchStatement() throws RecognitionException {
|
|
|
+ SwitchStatementContext _localctx = new SwitchStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 296, RULE_switchStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1713);
|
|
|
+ match(SWITCH);
|
|
|
+ setState(1714);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1715);
|
|
|
+ expression();
|
|
|
+ setState(1716);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1717);
|
|
|
+ switchBlock();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SwitchBlockContext extends ParserRuleContext {
|
|
|
+ public TerminalNode LBRACE() { return getToken(Java9Parser.LBRACE, 0); }
|
|
|
+ public TerminalNode RBRACE() { return getToken(Java9Parser.RBRACE, 0); }
|
|
|
+ public List<SwitchBlockStatementGroupContext> switchBlockStatementGroup() {
|
|
|
+ return getRuleContexts(SwitchBlockStatementGroupContext.class);
|
|
|
+ }
|
|
|
+ public SwitchBlockStatementGroupContext switchBlockStatementGroup(int i) {
|
|
|
+ return getRuleContext(SwitchBlockStatementGroupContext.class,i);
|
|
|
+ }
|
|
|
+ public List<SwitchLabelContext> switchLabel() {
|
|
|
+ return getRuleContexts(SwitchLabelContext.class);
|
|
|
+ }
|
|
|
+ public SwitchLabelContext switchLabel(int i) {
|
|
|
+ return getRuleContext(SwitchLabelContext.class,i);
|
|
|
+ }
|
|
|
+ public SwitchBlockContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_switchBlock; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSwitchBlock(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSwitchBlock(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSwitchBlock(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SwitchBlockContext switchBlock() throws RecognitionException {
|
|
|
+ SwitchBlockContext _localctx = new SwitchBlockContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 298, RULE_switchBlock);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1719);
|
|
|
+ match(LBRACE);
|
|
|
+ setState(1723);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,173,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1720);
|
|
|
+ switchBlockStatementGroup();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1725);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,173,_ctx);
|
|
|
+ }
|
|
|
+ setState(1729);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==CASE || _la==DEFAULT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1726);
|
|
|
+ switchLabel();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1731);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1732);
|
|
|
+ match(RBRACE);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 SwitchLabelsContext switchLabels() {
|
|
|
+ return getRuleContext(SwitchLabelsContext.class,0);
|
|
|
+ }
|
|
|
+ public BlockStatementsContext blockStatements() {
|
|
|
+ return getRuleContext(BlockStatementsContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterSwitchBlockStatementGroup(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSwitchBlockStatementGroup(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSwitchBlockStatementGroup(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SwitchBlockStatementGroupContext switchBlockStatementGroup() throws RecognitionException {
|
|
|
+ SwitchBlockStatementGroupContext _localctx = new SwitchBlockStatementGroupContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 300, RULE_switchBlockStatementGroup);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1734);
|
|
|
+ switchLabels();
|
|
|
+ setState(1735);
|
|
|
+ blockStatements();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SwitchLabelsContext extends ParserRuleContext {
|
|
|
+ public List<SwitchLabelContext> switchLabel() {
|
|
|
+ return getRuleContexts(SwitchLabelContext.class);
|
|
|
+ }
|
|
|
+ public SwitchLabelContext switchLabel(int i) {
|
|
|
+ return getRuleContext(SwitchLabelContext.class,i);
|
|
|
+ }
|
|
|
+ public SwitchLabelsContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_switchLabels; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSwitchLabels(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSwitchLabels(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSwitchLabels(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SwitchLabelsContext switchLabels() throws RecognitionException {
|
|
|
+ SwitchLabelsContext _localctx = new SwitchLabelsContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 302, RULE_switchLabels);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1738);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ do {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1737);
|
|
|
+ switchLabel();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1740);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ } while ( _la==CASE || _la==DEFAULT );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 TerminalNode CASE() { return getToken(Java9Parser.CASE, 0); }
|
|
|
+ public ConstantExpressionContext constantExpression() {
|
|
|
+ return getRuleContext(ConstantExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COLON() { return getToken(Java9Parser.COLON, 0); }
|
|
|
+ public EnumConstantNameContext enumConstantName() {
|
|
|
+ return getRuleContext(EnumConstantNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DEFAULT() { return getToken(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterSwitchLabel(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSwitchLabel(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSwitchLabel(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SwitchLabelContext switchLabel() throws RecognitionException {
|
|
|
+ SwitchLabelContext _localctx = new SwitchLabelContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 304, RULE_switchLabel);
|
|
|
+ try {
|
|
|
+ setState(1752);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,176,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1742);
|
|
|
+ match(CASE);
|
|
|
+ setState(1743);
|
|
|
+ constantExpression();
|
|
|
+ setState(1744);
|
|
|
+ match(COLON);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1746);
|
|
|
+ match(CASE);
|
|
|
+ setState(1747);
|
|
|
+ enumConstantName();
|
|
|
+ setState(1748);
|
|
|
+ match(COLON);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1750);
|
|
|
+ match(DEFAULT);
|
|
|
+ setState(1751);
|
|
|
+ match(COLON);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class EnumConstantNameContext extends ParserRuleContext {
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public EnumConstantNameContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_enumConstantName; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterEnumConstantName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnumConstantName(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnumConstantName(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnumConstantNameContext enumConstantName() throws RecognitionException {
|
|
|
+ EnumConstantNameContext _localctx = new EnumConstantNameContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 306, RULE_enumConstantName);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1754);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class WhileStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode WHILE() { return getToken(Java9Parser.WHILE, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public StatementContext statement() {
|
|
|
+ return getRuleContext(StatementContext.class,0);
|
|
|
+ }
|
|
|
+ public WhileStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_whileStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterWhileStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitWhileStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitWhileStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final WhileStatementContext whileStatement() throws RecognitionException {
|
|
|
+ WhileStatementContext _localctx = new WhileStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 308, RULE_whileStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1756);
|
|
|
+ match(WHILE);
|
|
|
+ setState(1757);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1758);
|
|
|
+ expression();
|
|
|
+ setState(1759);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1760);
|
|
|
+ statement();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class WhileStatementNoShortIfContext extends ParserRuleContext {
|
|
|
+ public TerminalNode WHILE() { return getToken(Java9Parser.WHILE, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public StatementNoShortIfContext statementNoShortIf() {
|
|
|
+ return getRuleContext(StatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public WhileStatementNoShortIfContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_whileStatementNoShortIf; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterWhileStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitWhileStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitWhileStatementNoShortIf(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final WhileStatementNoShortIfContext whileStatementNoShortIf() throws RecognitionException {
|
|
|
+ WhileStatementNoShortIfContext _localctx = new WhileStatementNoShortIfContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 310, RULE_whileStatementNoShortIf);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1762);
|
|
|
+ match(WHILE);
|
|
|
+ setState(1763);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1764);
|
|
|
+ expression();
|
|
|
+ setState(1765);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1766);
|
|
|
+ statementNoShortIf();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class DoStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DO() { return getToken(Java9Parser.DO, 0); }
|
|
|
+ public StatementContext statement() {
|
|
|
+ return getRuleContext(StatementContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode WHILE() { return getToken(Java9Parser.WHILE, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public DoStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_doStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterDoStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitDoStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitDoStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final DoStatementContext doStatement() throws RecognitionException {
|
|
|
+ DoStatementContext _localctx = new DoStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 312, RULE_doStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1768);
|
|
|
+ match(DO);
|
|
|
+ setState(1769);
|
|
|
+ statement();
|
|
|
+ setState(1770);
|
|
|
+ match(WHILE);
|
|
|
+ setState(1771);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1772);
|
|
|
+ expression();
|
|
|
+ setState(1773);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1774);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ForStatementContext extends ParserRuleContext {
|
|
|
+ public BasicForStatementContext basicForStatement() {
|
|
|
+ return getRuleContext(BasicForStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public EnhancedForStatementContext enhancedForStatement() {
|
|
|
+ return getRuleContext(EnhancedForStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public ForStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_forStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterForStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitForStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitForStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ForStatementContext forStatement() throws RecognitionException {
|
|
|
+ ForStatementContext _localctx = new ForStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 314, RULE_forStatement);
|
|
|
+ try {
|
|
|
+ setState(1778);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,177,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1776);
|
|
|
+ basicForStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1777);
|
|
|
+ enhancedForStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ForStatementNoShortIfContext extends ParserRuleContext {
|
|
|
+ public BasicForStatementNoShortIfContext basicForStatementNoShortIf() {
|
|
|
+ return getRuleContext(BasicForStatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public EnhancedForStatementNoShortIfContext enhancedForStatementNoShortIf() {
|
|
|
+ return getRuleContext(EnhancedForStatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public ForStatementNoShortIfContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_forStatementNoShortIf; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterForStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitForStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitForStatementNoShortIf(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ForStatementNoShortIfContext forStatementNoShortIf() throws RecognitionException {
|
|
|
+ ForStatementNoShortIfContext _localctx = new ForStatementNoShortIfContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 316, RULE_forStatementNoShortIf);
|
|
|
+ try {
|
|
|
+ setState(1782);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,178,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1780);
|
|
|
+ basicForStatementNoShortIf();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1781);
|
|
|
+ enhancedForStatementNoShortIf();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class BasicForStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode FOR() { return getToken(Java9Parser.FOR, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public List<TerminalNode> SEMI() { return getTokens(Java9Parser.SEMI); }
|
|
|
+ public TerminalNode SEMI(int i) {
|
|
|
+ return getToken(Java9Parser.SEMI, i);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public StatementContext statement() {
|
|
|
+ return getRuleContext(StatementContext.class,0);
|
|
|
+ }
|
|
|
+ public ForInitContext forInit() {
|
|
|
+ return getRuleContext(ForInitContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ForUpdateContext forUpdate() {
|
|
|
+ return getRuleContext(ForUpdateContext.class,0);
|
|
|
+ }
|
|
|
+ public BasicForStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_basicForStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterBasicForStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitBasicForStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitBasicForStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final BasicForStatementContext basicForStatement() throws RecognitionException {
|
|
|
+ BasicForStatementContext _localctx = new BasicForStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 318, RULE_basicForStatement);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1784);
|
|
|
+ match(FOR);
|
|
|
+ setState(1785);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1787);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1786);
|
|
|
+ forInit();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1789);
|
|
|
+ match(SEMI);
|
|
|
+ setState(1791);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1790);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1793);
|
|
|
+ match(SEMI);
|
|
|
+ setState(1795);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1794);
|
|
|
+ forUpdate();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1797);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1798);
|
|
|
+ statement();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class BasicForStatementNoShortIfContext extends ParserRuleContext {
|
|
|
+ public TerminalNode FOR() { return getToken(Java9Parser.FOR, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public List<TerminalNode> SEMI() { return getTokens(Java9Parser.SEMI); }
|
|
|
+ public TerminalNode SEMI(int i) {
|
|
|
+ return getToken(Java9Parser.SEMI, i);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public StatementNoShortIfContext statementNoShortIf() {
|
|
|
+ return getRuleContext(StatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public ForInitContext forInit() {
|
|
|
+ return getRuleContext(ForInitContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ForUpdateContext forUpdate() {
|
|
|
+ return getRuleContext(ForUpdateContext.class,0);
|
|
|
+ }
|
|
|
+ public BasicForStatementNoShortIfContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_basicForStatementNoShortIf; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterBasicForStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitBasicForStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitBasicForStatementNoShortIf(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final BasicForStatementNoShortIfContext basicForStatementNoShortIf() throws RecognitionException {
|
|
|
+ BasicForStatementNoShortIfContext _localctx = new BasicForStatementNoShortIfContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 320, RULE_basicForStatementNoShortIf);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1800);
|
|
|
+ match(FOR);
|
|
|
+ setState(1801);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1803);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1802);
|
|
|
+ forInit();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1805);
|
|
|
+ match(SEMI);
|
|
|
+ setState(1807);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1806);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1809);
|
|
|
+ match(SEMI);
|
|
|
+ setState(1811);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1810);
|
|
|
+ forUpdate();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1813);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1814);
|
|
|
+ statementNoShortIf();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 StatementExpressionListContext statementExpressionList() {
|
|
|
+ return getRuleContext(StatementExpressionListContext.class,0);
|
|
|
+ }
|
|
|
+ public LocalVariableDeclarationContext localVariableDeclaration() {
|
|
|
+ return getRuleContext(LocalVariableDeclarationContext.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 Java9Listener ) ((Java9Listener)listener).enterForInit(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitForInit(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitForInit(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ForInitContext forInit() throws RecognitionException {
|
|
|
+ ForInitContext _localctx = new ForInitContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 322, RULE_forInit);
|
|
|
+ try {
|
|
|
+ setState(1818);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,185,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1816);
|
|
|
+ statementExpressionList();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1817);
|
|
|
+ localVariableDeclaration();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ForUpdateContext extends ParserRuleContext {
|
|
|
+ public StatementExpressionListContext statementExpressionList() {
|
|
|
+ return getRuleContext(StatementExpressionListContext.class,0);
|
|
|
+ }
|
|
|
+ public ForUpdateContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_forUpdate; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterForUpdate(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitForUpdate(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitForUpdate(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ForUpdateContext forUpdate() throws RecognitionException {
|
|
|
+ ForUpdateContext _localctx = new ForUpdateContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 324, RULE_forUpdate);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1820);
|
|
|
+ statementExpressionList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class StatementExpressionListContext extends ParserRuleContext {
|
|
|
+ public List<StatementExpressionContext> statementExpression() {
|
|
|
+ return getRuleContexts(StatementExpressionContext.class);
|
|
|
+ }
|
|
|
+ public StatementExpressionContext statementExpression(int i) {
|
|
|
+ return getRuleContext(StatementExpressionContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public StatementExpressionListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_statementExpressionList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterStatementExpressionList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitStatementExpressionList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitStatementExpressionList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final StatementExpressionListContext statementExpressionList() throws RecognitionException {
|
|
|
+ StatementExpressionListContext _localctx = new StatementExpressionListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 326, RULE_statementExpressionList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1822);
|
|
|
+ statementExpression();
|
|
|
+ setState(1827);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1823);
|
|
|
+ match(COMMA);
|
|
|
+ setState(1824);
|
|
|
+ statementExpression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1829);
|
|
|
+ _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 EnhancedForStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode FOR() { return getToken(Java9Parser.FOR, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorIdContext variableDeclaratorId() {
|
|
|
+ return getRuleContext(VariableDeclaratorIdContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COLON() { return getToken(Java9Parser.COLON, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public StatementContext statement() {
|
|
|
+ return getRuleContext(StatementContext.class,0);
|
|
|
+ }
|
|
|
+ public List<VariableModifierContext> variableModifier() {
|
|
|
+ return getRuleContexts(VariableModifierContext.class);
|
|
|
+ }
|
|
|
+ public VariableModifierContext variableModifier(int i) {
|
|
|
+ return getRuleContext(VariableModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public EnhancedForStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_enhancedForStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterEnhancedForStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnhancedForStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnhancedForStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnhancedForStatementContext enhancedForStatement() throws RecognitionException {
|
|
|
+ EnhancedForStatementContext _localctx = new EnhancedForStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 328, RULE_enhancedForStatement);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1830);
|
|
|
+ match(FOR);
|
|
|
+ setState(1831);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1835);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==FINAL || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1832);
|
|
|
+ variableModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1837);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1838);
|
|
|
+ unannType();
|
|
|
+ setState(1839);
|
|
|
+ variableDeclaratorId();
|
|
|
+ setState(1840);
|
|
|
+ match(COLON);
|
|
|
+ setState(1841);
|
|
|
+ expression();
|
|
|
+ setState(1842);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1843);
|
|
|
+ statement();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class EnhancedForStatementNoShortIfContext extends ParserRuleContext {
|
|
|
+ public TerminalNode FOR() { return getToken(Java9Parser.FOR, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorIdContext variableDeclaratorId() {
|
|
|
+ return getRuleContext(VariableDeclaratorIdContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COLON() { return getToken(Java9Parser.COLON, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public StatementNoShortIfContext statementNoShortIf() {
|
|
|
+ return getRuleContext(StatementNoShortIfContext.class,0);
|
|
|
+ }
|
|
|
+ public List<VariableModifierContext> variableModifier() {
|
|
|
+ return getRuleContexts(VariableModifierContext.class);
|
|
|
+ }
|
|
|
+ public VariableModifierContext variableModifier(int i) {
|
|
|
+ return getRuleContext(VariableModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public EnhancedForStatementNoShortIfContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_enhancedForStatementNoShortIf; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterEnhancedForStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEnhancedForStatementNoShortIf(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEnhancedForStatementNoShortIf(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EnhancedForStatementNoShortIfContext enhancedForStatementNoShortIf() throws RecognitionException {
|
|
|
+ EnhancedForStatementNoShortIfContext _localctx = new EnhancedForStatementNoShortIfContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 330, RULE_enhancedForStatementNoShortIf);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1845);
|
|
|
+ match(FOR);
|
|
|
+ setState(1846);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1850);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==FINAL || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1847);
|
|
|
+ variableModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1852);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1853);
|
|
|
+ unannType();
|
|
|
+ setState(1854);
|
|
|
+ variableDeclaratorId();
|
|
|
+ setState(1855);
|
|
|
+ match(COLON);
|
|
|
+ setState(1856);
|
|
|
+ expression();
|
|
|
+ setState(1857);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1858);
|
|
|
+ statementNoShortIf();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class BreakStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode BREAK() { return getToken(Java9Parser.BREAK, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public BreakStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_breakStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterBreakStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitBreakStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitBreakStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final BreakStatementContext breakStatement() throws RecognitionException {
|
|
|
+ BreakStatementContext _localctx = new BreakStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 332, RULE_breakStatement);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1860);
|
|
|
+ match(BREAK);
|
|
|
+ setState(1862);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8))) != 0) || _la==Identifier) {
|
|
|
+ {
|
|
|
+ setState(1861);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1864);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ContinueStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode CONTINUE() { return getToken(Java9Parser.CONTINUE, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public ContinueStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_continueStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterContinueStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitContinueStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitContinueStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ContinueStatementContext continueStatement() throws RecognitionException {
|
|
|
+ ContinueStatementContext _localctx = new ContinueStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 334, RULE_continueStatement);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1866);
|
|
|
+ match(CONTINUE);
|
|
|
+ setState(1868);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8))) != 0) || _la==Identifier) {
|
|
|
+ {
|
|
|
+ setState(1867);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1870);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ReturnStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode RETURN() { return getToken(Java9Parser.RETURN, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ReturnStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_returnStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterReturnStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitReturnStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitReturnStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ReturnStatementContext returnStatement() throws RecognitionException {
|
|
|
+ ReturnStatementContext _localctx = new ReturnStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 336, RULE_returnStatement);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1872);
|
|
|
+ match(RETURN);
|
|
|
+ setState(1874);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(1873);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1876);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ThrowStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode THROW() { return getToken(Java9Parser.THROW, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.SEMI, 0); }
|
|
|
+ public ThrowStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_throwStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterThrowStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitThrowStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitThrowStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ThrowStatementContext throwStatement() throws RecognitionException {
|
|
|
+ ThrowStatementContext _localctx = new ThrowStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 338, RULE_throwStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1878);
|
|
|
+ match(THROW);
|
|
|
+ setState(1879);
|
|
|
+ expression();
|
|
|
+ setState(1880);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class SynchronizedStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode SYNCHRONIZED() { return getToken(Java9Parser.SYNCHRONIZED, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public BlockContext block() {
|
|
|
+ return getRuleContext(BlockContext.class,0);
|
|
|
+ }
|
|
|
+ public SynchronizedStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_synchronizedStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterSynchronizedStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitSynchronizedStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitSynchronizedStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final SynchronizedStatementContext synchronizedStatement() throws RecognitionException {
|
|
|
+ SynchronizedStatementContext _localctx = new SynchronizedStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 340, RULE_synchronizedStatement);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1882);
|
|
|
+ match(SYNCHRONIZED);
|
|
|
+ setState(1883);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1884);
|
|
|
+ expression();
|
|
|
+ setState(1885);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1886);
|
|
|
+ block();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class TryStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode TRY() { return getToken(Java9Parser.TRY, 0); }
|
|
|
+ public BlockContext block() {
|
|
|
+ return getRuleContext(BlockContext.class,0);
|
|
|
+ }
|
|
|
+ public CatchesContext catches() {
|
|
|
+ return getRuleContext(CatchesContext.class,0);
|
|
|
+ }
|
|
|
+ public Finally_Context finally_() {
|
|
|
+ return getRuleContext(Finally_Context.class,0);
|
|
|
+ }
|
|
|
+ public TryWithResourcesStatementContext tryWithResourcesStatement() {
|
|
|
+ return getRuleContext(TryWithResourcesStatementContext.class,0);
|
|
|
+ }
|
|
|
+ public TryStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_tryStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterTryStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTryStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTryStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TryStatementContext tryStatement() throws RecognitionException {
|
|
|
+ TryStatementContext _localctx = new TryStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 342, RULE_tryStatement);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(1900);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,193,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1888);
|
|
|
+ match(TRY);
|
|
|
+ setState(1889);
|
|
|
+ block();
|
|
|
+ setState(1890);
|
|
|
+ catches();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1892);
|
|
|
+ match(TRY);
|
|
|
+ setState(1893);
|
|
|
+ block();
|
|
|
+ setState(1895);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==CATCH) {
|
|
|
+ {
|
|
|
+ setState(1894);
|
|
|
+ catches();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1897);
|
|
|
+ finally_();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1899);
|
|
|
+ tryWithResourcesStatement();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class CatchesContext extends ParserRuleContext {
|
|
|
+ public List<CatchClauseContext> catchClause() {
|
|
|
+ return getRuleContexts(CatchClauseContext.class);
|
|
|
+ }
|
|
|
+ public CatchClauseContext catchClause(int i) {
|
|
|
+ return getRuleContext(CatchClauseContext.class,i);
|
|
|
+ }
|
|
|
+ public CatchesContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_catches; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterCatches(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitCatches(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitCatches(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final CatchesContext catches() throws RecognitionException {
|
|
|
+ CatchesContext _localctx = new CatchesContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 344, RULE_catches);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1903);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ do {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1902);
|
|
|
+ catchClause();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1905);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ } while ( _la==CATCH );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.CATCH, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public CatchFormalParameterContext catchFormalParameter() {
|
|
|
+ return getRuleContext(CatchFormalParameterContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public BlockContext block() {
|
|
|
+ return getRuleContext(BlockContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterCatchClause(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitCatchClause(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitCatchClause(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final CatchClauseContext catchClause() throws RecognitionException {
|
|
|
+ CatchClauseContext _localctx = new CatchClauseContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 346, RULE_catchClause);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1907);
|
|
|
+ match(CATCH);
|
|
|
+ setState(1908);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1909);
|
|
|
+ catchFormalParameter();
|
|
|
+ setState(1910);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(1911);
|
|
|
+ block();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class CatchFormalParameterContext extends ParserRuleContext {
|
|
|
+ public CatchTypeContext catchType() {
|
|
|
+ return getRuleContext(CatchTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorIdContext variableDeclaratorId() {
|
|
|
+ return getRuleContext(VariableDeclaratorIdContext.class,0);
|
|
|
+ }
|
|
|
+ public List<VariableModifierContext> variableModifier() {
|
|
|
+ return getRuleContexts(VariableModifierContext.class);
|
|
|
+ }
|
|
|
+ public VariableModifierContext variableModifier(int i) {
|
|
|
+ return getRuleContext(VariableModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public CatchFormalParameterContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_catchFormalParameter; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterCatchFormalParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitCatchFormalParameter(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitCatchFormalParameter(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final CatchFormalParameterContext catchFormalParameter() throws RecognitionException {
|
|
|
+ CatchFormalParameterContext _localctx = new CatchFormalParameterContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 348, RULE_catchFormalParameter);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1916);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==FINAL || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1913);
|
|
|
+ variableModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1918);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1919);
|
|
|
+ catchType();
|
|
|
+ setState(1920);
|
|
|
+ variableDeclaratorId();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 UnannClassTypeContext unannClassType() {
|
|
|
+ return getRuleContext(UnannClassTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> BITOR() { return getTokens(Java9Parser.BITOR); }
|
|
|
+ public TerminalNode BITOR(int i) {
|
|
|
+ return getToken(Java9Parser.BITOR, i);
|
|
|
+ }
|
|
|
+ public List<ClassTypeContext> classType() {
|
|
|
+ return getRuleContexts(ClassTypeContext.class);
|
|
|
+ }
|
|
|
+ public ClassTypeContext classType(int i) {
|
|
|
+ return getRuleContext(ClassTypeContext.class,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 Java9Listener ) ((Java9Listener)listener).enterCatchType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitCatchType(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitCatchType(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final CatchTypeContext catchType() throws RecognitionException {
|
|
|
+ CatchTypeContext _localctx = new CatchTypeContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 350, RULE_catchType);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1922);
|
|
|
+ unannClassType();
|
|
|
+ setState(1927);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==BITOR) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1923);
|
|
|
+ match(BITOR);
|
|
|
+ setState(1924);
|
|
|
+ classType();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1929);
|
|
|
+ _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 Finally_Context extends ParserRuleContext {
|
|
|
+ public TerminalNode FINALLY() { return getToken(Java9Parser.FINALLY, 0); }
|
|
|
+ public BlockContext block() {
|
|
|
+ return getRuleContext(BlockContext.class,0);
|
|
|
+ }
|
|
|
+ public Finally_Context(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_finally_; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterFinally_(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFinally_(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFinally_(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final Finally_Context finally_() throws RecognitionException {
|
|
|
+ Finally_Context _localctx = new Finally_Context(_ctx, getState());
|
|
|
+ enterRule(_localctx, 352, RULE_finally_);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1930);
|
|
|
+ match(FINALLY);
|
|
|
+ setState(1931);
|
|
|
+ block();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class TryWithResourcesStatementContext extends ParserRuleContext {
|
|
|
+ public TerminalNode TRY() { return getToken(Java9Parser.TRY, 0); }
|
|
|
+ public ResourceSpecificationContext resourceSpecification() {
|
|
|
+ return getRuleContext(ResourceSpecificationContext.class,0);
|
|
|
+ }
|
|
|
+ public BlockContext block() {
|
|
|
+ return getRuleContext(BlockContext.class,0);
|
|
|
+ }
|
|
|
+ public CatchesContext catches() {
|
|
|
+ return getRuleContext(CatchesContext.class,0);
|
|
|
+ }
|
|
|
+ public Finally_Context finally_() {
|
|
|
+ return getRuleContext(Finally_Context.class,0);
|
|
|
+ }
|
|
|
+ public TryWithResourcesStatementContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_tryWithResourcesStatement; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterTryWithResourcesStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTryWithResourcesStatement(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTryWithResourcesStatement(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TryWithResourcesStatementContext tryWithResourcesStatement() throws RecognitionException {
|
|
|
+ TryWithResourcesStatementContext _localctx = new TryWithResourcesStatementContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 354, RULE_tryWithResourcesStatement);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1933);
|
|
|
+ match(TRY);
|
|
|
+ setState(1934);
|
|
|
+ resourceSpecification();
|
|
|
+ setState(1935);
|
|
|
+ block();
|
|
|
+ setState(1937);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==CATCH) {
|
|
|
+ {
|
|
|
+ setState(1936);
|
|
|
+ catches();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1940);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==FINALLY) {
|
|
|
+ {
|
|
|
+ setState(1939);
|
|
|
+ finally_();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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(Java9Parser.LPAREN, 0); }
|
|
|
+ public ResourceListContext resourceList() {
|
|
|
+ return getRuleContext(ResourceListContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TerminalNode SEMI() { return getToken(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterResourceSpecification(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitResourceSpecification(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitResourceSpecification(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ResourceSpecificationContext resourceSpecification() throws RecognitionException {
|
|
|
+ ResourceSpecificationContext _localctx = new ResourceSpecificationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 356, RULE_resourceSpecification);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1942);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1943);
|
|
|
+ resourceList();
|
|
|
+ setState(1945);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==SEMI) {
|
|
|
+ {
|
|
|
+ setState(1944);
|
|
|
+ match(SEMI);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(1947);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ResourceListContext extends ParserRuleContext {
|
|
|
+ public List<ResourceContext> resource() {
|
|
|
+ return getRuleContexts(ResourceContext.class);
|
|
|
+ }
|
|
|
+ public ResourceContext resource(int i) {
|
|
|
+ return getRuleContext(ResourceContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> SEMI() { return getTokens(Java9Parser.SEMI); }
|
|
|
+ public TerminalNode SEMI(int i) {
|
|
|
+ return getToken(Java9Parser.SEMI, i);
|
|
|
+ }
|
|
|
+ public ResourceListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_resourceList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterResourceList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitResourceList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitResourceList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ResourceListContext resourceList() throws RecognitionException {
|
|
|
+ ResourceListContext _localctx = new ResourceListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 358, RULE_resourceList);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1949);
|
|
|
+ resource();
|
|
|
+ setState(1954);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,200,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1950);
|
|
|
+ match(SEMI);
|
|
|
+ setState(1951);
|
|
|
+ resource();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1956);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,200,_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 UnannTypeContext unannType() {
|
|
|
+ return getRuleContext(UnannTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableDeclaratorIdContext variableDeclaratorId() {
|
|
|
+ return getRuleContext(VariableDeclaratorIdContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode ASSIGN() { return getToken(Java9Parser.ASSIGN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public List<VariableModifierContext> variableModifier() {
|
|
|
+ return getRuleContexts(VariableModifierContext.class);
|
|
|
+ }
|
|
|
+ public VariableModifierContext variableModifier(int i) {
|
|
|
+ return getRuleContext(VariableModifierContext.class,i);
|
|
|
+ }
|
|
|
+ public VariableAccessContext variableAccess() {
|
|
|
+ return getRuleContext(VariableAccessContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterResource(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitResource(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitResource(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ResourceContext resource() throws RecognitionException {
|
|
|
+ ResourceContext _localctx = new ResourceContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 360, RULE_resource);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(1969);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,202,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1960);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==FINAL || _la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1957);
|
|
|
+ variableModifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1962);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(1963);
|
|
|
+ unannType();
|
|
|
+ setState(1964);
|
|
|
+ variableDeclaratorId();
|
|
|
+ setState(1965);
|
|
|
+ match(ASSIGN);
|
|
|
+ setState(1966);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1968);
|
|
|
+ variableAccess();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class VariableAccessContext extends ParserRuleContext {
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccessContext fieldAccess() {
|
|
|
+ return getRuleContext(FieldAccessContext.class,0);
|
|
|
+ }
|
|
|
+ public VariableAccessContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_variableAccess; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterVariableAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitVariableAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitVariableAccess(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final VariableAccessContext variableAccess() throws RecognitionException {
|
|
|
+ VariableAccessContext _localctx = new VariableAccessContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 362, RULE_variableAccess);
|
|
|
+ try {
|
|
|
+ setState(1973);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,203,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1971);
|
|
|
+ expressionName();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1972);
|
|
|
+ fieldAccess();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 PrimaryNoNewArray_lfno_primaryContext primaryNoNewArray_lfno_primary() {
|
|
|
+ return getRuleContext(PrimaryNoNewArray_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayCreationExpressionContext arrayCreationExpression() {
|
|
|
+ return getRuleContext(ArrayCreationExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public List<PrimaryNoNewArray_lf_primaryContext> primaryNoNewArray_lf_primary() {
|
|
|
+ return getRuleContexts(PrimaryNoNewArray_lf_primaryContext.class);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lf_primaryContext primaryNoNewArray_lf_primary(int i) {
|
|
|
+ return getRuleContext(PrimaryNoNewArray_lf_primaryContext.class,i);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterPrimary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryContext primary() throws RecognitionException {
|
|
|
+ PrimaryContext _localctx = new PrimaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 364, RULE_primary);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1977);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,204,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(1975);
|
|
|
+ primaryNoNewArray_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(1976);
|
|
|
+ arrayCreationExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ setState(1982);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,205,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(1979);
|
|
|
+ primaryNoNewArray_lf_primary();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(1984);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,205,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArrayContext extends ParserRuleContext {
|
|
|
+ public LiteralContext literal() {
|
|
|
+ return getRuleContext(LiteralContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassLiteralContext classLiteral() {
|
|
|
+ return getRuleContext(ClassLiteralContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode THIS() { return getToken(Java9Parser.THIS, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public ClassInstanceCreationExpressionContext classInstanceCreationExpression() {
|
|
|
+ return getRuleContext(ClassInstanceCreationExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccessContext fieldAccess() {
|
|
|
+ return getRuleContext(FieldAccessContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayAccessContext arrayAccess() {
|
|
|
+ return getRuleContext(ArrayAccessContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodInvocationContext methodInvocation() {
|
|
|
+ return getRuleContext(MethodInvocationContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReferenceContext methodReference() {
|
|
|
+ return getRuleContext(MethodReferenceContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArrayContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArrayContext primaryNoNewArray() throws RecognitionException {
|
|
|
+ PrimaryNoNewArrayContext _localctx = new PrimaryNoNewArrayContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 366, RULE_primaryNoNewArray);
|
|
|
+ try {
|
|
|
+ setState(2001);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,206,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(1985);
|
|
|
+ literal();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(1986);
|
|
|
+ classLiteral();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(1987);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(1988);
|
|
|
+ typeName();
|
|
|
+ setState(1989);
|
|
|
+ match(DOT);
|
|
|
+ setState(1990);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(1992);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(1993);
|
|
|
+ expression();
|
|
|
+ setState(1994);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(1996);
|
|
|
+ classInstanceCreationExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(1997);
|
|
|
+ fieldAccess();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ enterOuterAlt(_localctx, 8);
|
|
|
+ {
|
|
|
+ setState(1998);
|
|
|
+ arrayAccess();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ enterOuterAlt(_localctx, 9);
|
|
|
+ {
|
|
|
+ setState(1999);
|
|
|
+ methodInvocation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ enterOuterAlt(_localctx, 10);
|
|
|
+ {
|
|
|
+ setState(2000);
|
|
|
+ methodReference();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArray_lf_arrayAccessContext extends ParserRuleContext {
|
|
|
+ public PrimaryNoNewArray_lf_arrayAccessContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray_lf_arrayAccess; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray_lf_arrayAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray_lf_arrayAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray_lf_arrayAccess(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArray_lf_arrayAccessContext primaryNoNewArray_lf_arrayAccess() throws RecognitionException {
|
|
|
+ PrimaryNoNewArray_lf_arrayAccessContext _localctx = new PrimaryNoNewArray_lf_arrayAccessContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 368, RULE_primaryNoNewArray_lf_arrayAccess);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArray_lfno_arrayAccessContext extends ParserRuleContext {
|
|
|
+ public LiteralContext literal() {
|
|
|
+ return getRuleContext(LiteralContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TerminalNode CLASS() { return getToken(Java9Parser.CLASS, 0); }
|
|
|
+ public List<TerminalNode> LBRACK() { return getTokens(Java9Parser.LBRACK); }
|
|
|
+ public TerminalNode LBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.LBRACK, i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> RBRACK() { return getTokens(Java9Parser.RBRACK); }
|
|
|
+ public TerminalNode RBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.RBRACK, i);
|
|
|
+ }
|
|
|
+ public TerminalNode VOID() { return getToken(Java9Parser.VOID, 0); }
|
|
|
+ public TerminalNode THIS() { return getToken(Java9Parser.THIS, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public ClassInstanceCreationExpressionContext classInstanceCreationExpression() {
|
|
|
+ return getRuleContext(ClassInstanceCreationExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccessContext fieldAccess() {
|
|
|
+ return getRuleContext(FieldAccessContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodInvocationContext methodInvocation() {
|
|
|
+ return getRuleContext(MethodInvocationContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReferenceContext methodReference() {
|
|
|
+ return getRuleContext(MethodReferenceContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lfno_arrayAccessContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray_lfno_arrayAccess; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray_lfno_arrayAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray_lfno_arrayAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray_lfno_arrayAccess(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArray_lfno_arrayAccessContext primaryNoNewArray_lfno_arrayAccess() throws RecognitionException {
|
|
|
+ PrimaryNoNewArray_lfno_arrayAccessContext _localctx = new PrimaryNoNewArray_lfno_arrayAccessContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 370, RULE_primaryNoNewArray_lfno_arrayAccess);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2033);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,208,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2005);
|
|
|
+ literal();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2006);
|
|
|
+ typeName();
|
|
|
+ setState(2011);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==LBRACK) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2007);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2008);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2013);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2014);
|
|
|
+ match(DOT);
|
|
|
+ setState(2015);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2017);
|
|
|
+ match(VOID);
|
|
|
+ setState(2018);
|
|
|
+ match(DOT);
|
|
|
+ setState(2019);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2020);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2021);
|
|
|
+ typeName();
|
|
|
+ setState(2022);
|
|
|
+ match(DOT);
|
|
|
+ setState(2023);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(2025);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2026);
|
|
|
+ expression();
|
|
|
+ setState(2027);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(2029);
|
|
|
+ classInstanceCreationExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ enterOuterAlt(_localctx, 8);
|
|
|
+ {
|
|
|
+ setState(2030);
|
|
|
+ fieldAccess();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ enterOuterAlt(_localctx, 9);
|
|
|
+ {
|
|
|
+ setState(2031);
|
|
|
+ methodInvocation();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ enterOuterAlt(_localctx, 10);
|
|
|
+ {
|
|
|
+ setState(2032);
|
|
|
+ methodReference();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArray_lf_primaryContext extends ParserRuleContext {
|
|
|
+ public ClassInstanceCreationExpression_lf_primaryContext classInstanceCreationExpression_lf_primary() {
|
|
|
+ return getRuleContext(ClassInstanceCreationExpression_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccess_lf_primaryContext fieldAccess_lf_primary() {
|
|
|
+ return getRuleContext(FieldAccess_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayAccess_lf_primaryContext arrayAccess_lf_primary() {
|
|
|
+ return getRuleContext(ArrayAccess_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodInvocation_lf_primaryContext methodInvocation_lf_primary() {
|
|
|
+ return getRuleContext(MethodInvocation_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReference_lf_primaryContext methodReference_lf_primary() {
|
|
|
+ return getRuleContext(MethodReference_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lf_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray_lf_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray_lf_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArray_lf_primaryContext primaryNoNewArray_lf_primary() throws RecognitionException {
|
|
|
+ PrimaryNoNewArray_lf_primaryContext _localctx = new PrimaryNoNewArray_lf_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 372, RULE_primaryNoNewArray_lf_primary);
|
|
|
+ try {
|
|
|
+ setState(2040);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,209,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2035);
|
|
|
+ classInstanceCreationExpression_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2036);
|
|
|
+ fieldAccess_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2037);
|
|
|
+ arrayAccess_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2038);
|
|
|
+ methodInvocation_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2039);
|
|
|
+ methodReference_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext extends ParserRuleContext {
|
|
|
+ public PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext primaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary() throws RecognitionException {
|
|
|
+ PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext _localctx = new PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 374, RULE_primaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primaryContext extends ParserRuleContext {
|
|
|
+ public ClassInstanceCreationExpression_lf_primaryContext classInstanceCreationExpression_lf_primary() {
|
|
|
+ return getRuleContext(ClassInstanceCreationExpression_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccess_lf_primaryContext fieldAccess_lf_primary() {
|
|
|
+ return getRuleContext(FieldAccess_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodInvocation_lf_primaryContext methodInvocation_lf_primary() {
|
|
|
+ return getRuleContext(MethodInvocation_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReference_lf_primaryContext methodReference_lf_primary() {
|
|
|
+ return getRuleContext(MethodReference_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primaryContext primaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary() throws RecognitionException {
|
|
|
+ PrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primaryContext _localctx = new PrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 376, RULE_primaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary);
|
|
|
+ try {
|
|
|
+ setState(2048);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,210,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2044);
|
|
|
+ classInstanceCreationExpression_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2045);
|
|
|
+ fieldAccess_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2046);
|
|
|
+ methodInvocation_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2047);
|
|
|
+ methodReference_lf_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArray_lfno_primaryContext extends ParserRuleContext {
|
|
|
+ public LiteralContext literal() {
|
|
|
+ return getRuleContext(LiteralContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TerminalNode CLASS() { return getToken(Java9Parser.CLASS, 0); }
|
|
|
+ public List<TerminalNode> LBRACK() { return getTokens(Java9Parser.LBRACK); }
|
|
|
+ public TerminalNode LBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.LBRACK, i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> RBRACK() { return getTokens(Java9Parser.RBRACK); }
|
|
|
+ public TerminalNode RBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.RBRACK, i);
|
|
|
+ }
|
|
|
+ public UnannPrimitiveTypeContext unannPrimitiveType() {
|
|
|
+ return getRuleContext(UnannPrimitiveTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode VOID() { return getToken(Java9Parser.VOID, 0); }
|
|
|
+ public TerminalNode THIS() { return getToken(Java9Parser.THIS, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public ClassInstanceCreationExpression_lfno_primaryContext classInstanceCreationExpression_lfno_primary() {
|
|
|
+ return getRuleContext(ClassInstanceCreationExpression_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccess_lfno_primaryContext fieldAccess_lfno_primary() {
|
|
|
+ return getRuleContext(FieldAccess_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayAccess_lfno_primaryContext arrayAccess_lfno_primary() {
|
|
|
+ return getRuleContext(ArrayAccess_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodInvocation_lfno_primaryContext methodInvocation_lfno_primary() {
|
|
|
+ return getRuleContext(MethodInvocation_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReference_lfno_primaryContext methodReference_lfno_primary() {
|
|
|
+ return getRuleContext(MethodReference_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lfno_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray_lfno_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray_lfno_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArray_lfno_primaryContext primaryNoNewArray_lfno_primary() throws RecognitionException {
|
|
|
+ PrimaryNoNewArray_lfno_primaryContext _localctx = new PrimaryNoNewArray_lfno_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 378, RULE_primaryNoNewArray_lfno_primary);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2090);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,213,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2050);
|
|
|
+ literal();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2051);
|
|
|
+ typeName();
|
|
|
+ setState(2056);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==LBRACK) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2052);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2053);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2058);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2059);
|
|
|
+ match(DOT);
|
|
|
+ setState(2060);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2062);
|
|
|
+ unannPrimitiveType();
|
|
|
+ setState(2067);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==LBRACK) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2063);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2064);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2069);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2070);
|
|
|
+ match(DOT);
|
|
|
+ setState(2071);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2073);
|
|
|
+ match(VOID);
|
|
|
+ setState(2074);
|
|
|
+ match(DOT);
|
|
|
+ setState(2075);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2076);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(2077);
|
|
|
+ typeName();
|
|
|
+ setState(2078);
|
|
|
+ match(DOT);
|
|
|
+ setState(2079);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(2081);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2082);
|
|
|
+ expression();
|
|
|
+ setState(2083);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ enterOuterAlt(_localctx, 8);
|
|
|
+ {
|
|
|
+ setState(2085);
|
|
|
+ classInstanceCreationExpression_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ enterOuterAlt(_localctx, 9);
|
|
|
+ {
|
|
|
+ setState(2086);
|
|
|
+ fieldAccess_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ enterOuterAlt(_localctx, 10);
|
|
|
+ {
|
|
|
+ setState(2087);
|
|
|
+ arrayAccess_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ enterOuterAlt(_localctx, 11);
|
|
|
+ {
|
|
|
+ setState(2088);
|
|
|
+ methodInvocation_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 12:
|
|
|
+ enterOuterAlt(_localctx, 12);
|
|
|
+ {
|
|
|
+ setState(2089);
|
|
|
+ methodReference_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext extends ParserRuleContext {
|
|
|
+ public PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext primaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary() throws RecognitionException {
|
|
|
+ PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext _localctx = new PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 380, RULE_primaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primaryContext extends ParserRuleContext {
|
|
|
+ public LiteralContext literal() {
|
|
|
+ return getRuleContext(LiteralContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TerminalNode CLASS() { return getToken(Java9Parser.CLASS, 0); }
|
|
|
+ public List<TerminalNode> LBRACK() { return getTokens(Java9Parser.LBRACK); }
|
|
|
+ public TerminalNode LBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.LBRACK, i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> RBRACK() { return getTokens(Java9Parser.RBRACK); }
|
|
|
+ public TerminalNode RBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.RBRACK, i);
|
|
|
+ }
|
|
|
+ public UnannPrimitiveTypeContext unannPrimitiveType() {
|
|
|
+ return getRuleContext(UnannPrimitiveTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode VOID() { return getToken(Java9Parser.VOID, 0); }
|
|
|
+ public TerminalNode THIS() { return getToken(Java9Parser.THIS, 0); }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public ClassInstanceCreationExpression_lfno_primaryContext classInstanceCreationExpression_lfno_primary() {
|
|
|
+ return getRuleContext(ClassInstanceCreationExpression_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccess_lfno_primaryContext fieldAccess_lfno_primary() {
|
|
|
+ return getRuleContext(FieldAccess_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodInvocation_lfno_primaryContext methodInvocation_lfno_primary() {
|
|
|
+ return getRuleContext(MethodInvocation_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReference_lfno_primaryContext methodReference_lfno_primary() {
|
|
|
+ return getRuleContext(MethodReference_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_primaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primaryContext primaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary() throws RecognitionException {
|
|
|
+ PrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primaryContext _localctx = new PrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 382, RULE_primaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2133);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,216,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2094);
|
|
|
+ literal();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2095);
|
|
|
+ typeName();
|
|
|
+ setState(2100);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==LBRACK) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2096);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2097);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2102);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2103);
|
|
|
+ match(DOT);
|
|
|
+ setState(2104);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2106);
|
|
|
+ unannPrimitiveType();
|
|
|
+ setState(2111);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==LBRACK) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2107);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2108);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2113);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2114);
|
|
|
+ match(DOT);
|
|
|
+ setState(2115);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2117);
|
|
|
+ match(VOID);
|
|
|
+ setState(2118);
|
|
|
+ match(DOT);
|
|
|
+ setState(2119);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2120);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(2121);
|
|
|
+ typeName();
|
|
|
+ setState(2122);
|
|
|
+ match(DOT);
|
|
|
+ setState(2123);
|
|
|
+ match(THIS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(2125);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2126);
|
|
|
+ expression();
|
|
|
+ setState(2127);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 8:
|
|
|
+ enterOuterAlt(_localctx, 8);
|
|
|
+ {
|
|
|
+ setState(2129);
|
|
|
+ classInstanceCreationExpression_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 9:
|
|
|
+ enterOuterAlt(_localctx, 9);
|
|
|
+ {
|
|
|
+ setState(2130);
|
|
|
+ fieldAccess_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 10:
|
|
|
+ enterOuterAlt(_localctx, 10);
|
|
|
+ {
|
|
|
+ setState(2131);
|
|
|
+ methodInvocation_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 11:
|
|
|
+ enterOuterAlt(_localctx, 11);
|
|
|
+ {
|
|
|
+ setState(2132);
|
|
|
+ methodReference_lfno_primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ClassLiteralContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TerminalNode CLASS() { return getToken(Java9Parser.CLASS, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public NumericTypeContext numericType() {
|
|
|
+ return getRuleContext(NumericTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode BOOLEAN() { return getToken(Java9Parser.BOOLEAN, 0); }
|
|
|
+ public List<TerminalNode> LBRACK() { return getTokens(Java9Parser.LBRACK); }
|
|
|
+ public TerminalNode LBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.LBRACK, i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> RBRACK() { return getTokens(Java9Parser.RBRACK); }
|
|
|
+ public TerminalNode RBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.RBRACK, i);
|
|
|
+ }
|
|
|
+ public TerminalNode VOID() { return getToken(Java9Parser.VOID, 0); }
|
|
|
+ public ClassLiteralContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_classLiteral; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterClassLiteral(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassLiteral(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassLiteral(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassLiteralContext classLiteral() throws RecognitionException {
|
|
|
+ ClassLiteralContext _localctx = new ClassLiteralContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 384, RULE_classLiteral);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2152);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case BOOLEAN:
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case SHORT:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2138);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case Identifier:
|
|
|
+ {
|
|
|
+ setState(2135);
|
|
|
+ typeName();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case SHORT:
|
|
|
+ {
|
|
|
+ setState(2136);
|
|
|
+ numericType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case BOOLEAN:
|
|
|
+ {
|
|
|
+ setState(2137);
|
|
|
+ match(BOOLEAN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ throw new NoViableAltException(this);
|
|
|
+ }
|
|
|
+ setState(2144);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==LBRACK) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2140);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2141);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2146);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2147);
|
|
|
+ match(DOT);
|
|
|
+ setState(2148);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case VOID:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2149);
|
|
|
+ match(VOID);
|
|
|
+ setState(2150);
|
|
|
+ match(DOT);
|
|
|
+ setState(2151);
|
|
|
+ match(CLASS);
|
|
|
+ }
|
|
|
+ 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 ClassInstanceCreationExpressionContext extends ParserRuleContext {
|
|
|
+ public TerminalNode NEW() { return getToken(Java9Parser.NEW, 0); }
|
|
|
+ public List<IdentifierContext> identifier() {
|
|
|
+ return getRuleContexts(IdentifierContext.class);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier(int i) {
|
|
|
+ return getRuleContext(IdentifierContext.class,i);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> DOT() { return getTokens(Java9Parser.DOT); }
|
|
|
+ public TerminalNode DOT(int i) {
|
|
|
+ return getToken(Java9Parser.DOT, i);
|
|
|
+ }
|
|
|
+ public TypeArgumentsOrDiamondContext typeArgumentsOrDiamond() {
|
|
|
+ return getRuleContext(TypeArgumentsOrDiamondContext.class,0);
|
|
|
+ }
|
|
|
+ public ArgumentListContext argumentList() {
|
|
|
+ return getRuleContext(ArgumentListContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassBodyContext classBody() {
|
|
|
+ return getRuleContext(ClassBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryContext primary() {
|
|
|
+ return getRuleContext(PrimaryContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassInstanceCreationExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_classInstanceCreationExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterClassInstanceCreationExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassInstanceCreationExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassInstanceCreationExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassInstanceCreationExpressionContext classInstanceCreationExpression() throws RecognitionException {
|
|
|
+ ClassInstanceCreationExpressionContext _localctx = new ClassInstanceCreationExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 386, RULE_classInstanceCreationExpression);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2237);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,237,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2154);
|
|
|
+ match(NEW);
|
|
|
+ setState(2156);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2155);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2161);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2158);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2163);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2164);
|
|
|
+ identifier();
|
|
|
+ setState(2175);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==DOT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2165);
|
|
|
+ match(DOT);
|
|
|
+ setState(2169);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2166);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2171);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2172);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2177);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2179);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2178);
|
|
|
+ typeArgumentsOrDiamond();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2181);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2183);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2182);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2185);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2187);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LBRACE) {
|
|
|
+ {
|
|
|
+ setState(2186);
|
|
|
+ classBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2189);
|
|
|
+ expressionName();
|
|
|
+ setState(2190);
|
|
|
+ match(DOT);
|
|
|
+ setState(2191);
|
|
|
+ match(NEW);
|
|
|
+ setState(2193);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2192);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2198);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2195);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2200);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2201);
|
|
|
+ identifier();
|
|
|
+ setState(2203);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2202);
|
|
|
+ typeArgumentsOrDiamond();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2205);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2207);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2206);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2209);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2211);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LBRACE) {
|
|
|
+ {
|
|
|
+ setState(2210);
|
|
|
+ classBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2213);
|
|
|
+ primary();
|
|
|
+ setState(2214);
|
|
|
+ match(DOT);
|
|
|
+ setState(2215);
|
|
|
+ match(NEW);
|
|
|
+ setState(2217);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2216);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2222);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2219);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2224);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2225);
|
|
|
+ identifier();
|
|
|
+ setState(2227);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2226);
|
|
|
+ typeArgumentsOrDiamond();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2229);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2231);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2230);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2233);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2235);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LBRACE) {
|
|
|
+ {
|
|
|
+ setState(2234);
|
|
|
+ classBody();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ClassInstanceCreationExpression_lf_primaryContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public TerminalNode NEW() { return getToken(Java9Parser.NEW, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public TypeArgumentsOrDiamondContext typeArgumentsOrDiamond() {
|
|
|
+ return getRuleContext(TypeArgumentsOrDiamondContext.class,0);
|
|
|
+ }
|
|
|
+ public ArgumentListContext argumentList() {
|
|
|
+ return getRuleContext(ArgumentListContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassBodyContext classBody() {
|
|
|
+ return getRuleContext(ClassBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassInstanceCreationExpression_lf_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_classInstanceCreationExpression_lf_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterClassInstanceCreationExpression_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassInstanceCreationExpression_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassInstanceCreationExpression_lf_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassInstanceCreationExpression_lf_primaryContext classInstanceCreationExpression_lf_primary() throws RecognitionException {
|
|
|
+ ClassInstanceCreationExpression_lf_primaryContext _localctx = new ClassInstanceCreationExpression_lf_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 388, RULE_classInstanceCreationExpression_lf_primary);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2239);
|
|
|
+ match(DOT);
|
|
|
+ setState(2240);
|
|
|
+ match(NEW);
|
|
|
+ setState(2242);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2241);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2247);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2244);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2249);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2250);
|
|
|
+ identifier();
|
|
|
+ setState(2252);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2251);
|
|
|
+ typeArgumentsOrDiamond();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2254);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2256);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2255);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2258);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2260);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,242,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2259);
|
|
|
+ classBody();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ClassInstanceCreationExpression_lfno_primaryContext extends ParserRuleContext {
|
|
|
+ public TerminalNode NEW() { return getToken(Java9Parser.NEW, 0); }
|
|
|
+ public List<IdentifierContext> identifier() {
|
|
|
+ return getRuleContexts(IdentifierContext.class);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier(int i) {
|
|
|
+ return getRuleContext(IdentifierContext.class,i);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> DOT() { return getTokens(Java9Parser.DOT); }
|
|
|
+ public TerminalNode DOT(int i) {
|
|
|
+ return getToken(Java9Parser.DOT, i);
|
|
|
+ }
|
|
|
+ public TypeArgumentsOrDiamondContext typeArgumentsOrDiamond() {
|
|
|
+ return getRuleContext(TypeArgumentsOrDiamondContext.class,0);
|
|
|
+ }
|
|
|
+ public ArgumentListContext argumentList() {
|
|
|
+ return getRuleContext(ArgumentListContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassBodyContext classBody() {
|
|
|
+ return getRuleContext(ClassBodyContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassInstanceCreationExpression_lfno_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_classInstanceCreationExpression_lfno_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterClassInstanceCreationExpression_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitClassInstanceCreationExpression_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitClassInstanceCreationExpression_lfno_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ClassInstanceCreationExpression_lfno_primaryContext classInstanceCreationExpression_lfno_primary() throws RecognitionException {
|
|
|
+ ClassInstanceCreationExpression_lfno_primaryContext _localctx = new ClassInstanceCreationExpression_lfno_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 390, RULE_classInstanceCreationExpression_lfno_primary);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2321);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case NEW:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2262);
|
|
|
+ match(NEW);
|
|
|
+ setState(2264);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2263);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2269);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2266);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2271);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2272);
|
|
|
+ identifier();
|
|
|
+ setState(2283);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==DOT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2273);
|
|
|
+ match(DOT);
|
|
|
+ setState(2277);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2274);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2279);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2280);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2285);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2287);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2286);
|
|
|
+ typeArgumentsOrDiamond();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2289);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2291);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2290);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2293);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2295);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,249,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2294);
|
|
|
+ classBody();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2297);
|
|
|
+ expressionName();
|
|
|
+ setState(2298);
|
|
|
+ match(DOT);
|
|
|
+ setState(2299);
|
|
|
+ match(NEW);
|
|
|
+ setState(2301);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2300);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2306);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2303);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2308);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2309);
|
|
|
+ identifier();
|
|
|
+ setState(2311);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2310);
|
|
|
+ typeArgumentsOrDiamond();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2313);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2315);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2314);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2317);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2319);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,254,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2318);
|
|
|
+ classBody();
|
|
|
+ }
|
|
|
+ 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 TypeArgumentsOrDiamondContext extends ParserRuleContext {
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LT() { return getToken(Java9Parser.LT, 0); }
|
|
|
+ public TerminalNode GT() { return getToken(Java9Parser.GT, 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 Java9Listener ) ((Java9Listener)listener).enterTypeArgumentsOrDiamond(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitTypeArgumentsOrDiamond(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitTypeArgumentsOrDiamond(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final TypeArgumentsOrDiamondContext typeArgumentsOrDiamond() throws RecognitionException {
|
|
|
+ TypeArgumentsOrDiamondContext _localctx = new TypeArgumentsOrDiamondContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 392, RULE_typeArgumentsOrDiamond);
|
|
|
+ try {
|
|
|
+ setState(2326);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,256,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2323);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2324);
|
|
|
+ match(LT);
|
|
|
+ setState(2325);
|
|
|
+ match(GT);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class FieldAccessContext extends ParserRuleContext {
|
|
|
+ public PrimaryContext primary() {
|
|
|
+ return getRuleContext(PrimaryContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> DOT() { return getTokens(Java9Parser.DOT); }
|
|
|
+ public TerminalNode DOT(int i) {
|
|
|
+ return getToken(Java9Parser.DOT, i);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SUPER() { return getToken(Java9Parser.SUPER, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccessContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_fieldAccess; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterFieldAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFieldAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFieldAccess(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FieldAccessContext fieldAccess() throws RecognitionException {
|
|
|
+ FieldAccessContext _localctx = new FieldAccessContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 394, RULE_fieldAccess);
|
|
|
+ try {
|
|
|
+ setState(2341);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,257,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2328);
|
|
|
+ primary();
|
|
|
+ setState(2329);
|
|
|
+ match(DOT);
|
|
|
+ setState(2330);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2332);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2333);
|
|
|
+ match(DOT);
|
|
|
+ setState(2334);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2335);
|
|
|
+ typeName();
|
|
|
+ setState(2336);
|
|
|
+ match(DOT);
|
|
|
+ setState(2337);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2338);
|
|
|
+ match(DOT);
|
|
|
+ setState(2339);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class FieldAccess_lf_primaryContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccess_lf_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_fieldAccess_lf_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterFieldAccess_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFieldAccess_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFieldAccess_lf_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FieldAccess_lf_primaryContext fieldAccess_lf_primary() throws RecognitionException {
|
|
|
+ FieldAccess_lf_primaryContext _localctx = new FieldAccess_lf_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 396, RULE_fieldAccess_lf_primary);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2343);
|
|
|
+ match(DOT);
|
|
|
+ setState(2344);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class FieldAccess_lfno_primaryContext extends ParserRuleContext {
|
|
|
+ public TerminalNode SUPER() { return getToken(Java9Parser.SUPER, 0); }
|
|
|
+ public List<TerminalNode> DOT() { return getTokens(Java9Parser.DOT); }
|
|
|
+ public TerminalNode DOT(int i) {
|
|
|
+ return getToken(Java9Parser.DOT, i);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccess_lfno_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_fieldAccess_lfno_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterFieldAccess_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitFieldAccess_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitFieldAccess_lfno_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final FieldAccess_lfno_primaryContext fieldAccess_lfno_primary() throws RecognitionException {
|
|
|
+ FieldAccess_lfno_primaryContext _localctx = new FieldAccess_lfno_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 398, RULE_fieldAccess_lfno_primary);
|
|
|
+ try {
|
|
|
+ setState(2355);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case SUPER:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2346);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2347);
|
|
|
+ match(DOT);
|
|
|
+ setState(2348);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2349);
|
|
|
+ typeName();
|
|
|
+ setState(2350);
|
|
|
+ match(DOT);
|
|
|
+ setState(2351);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2352);
|
|
|
+ match(DOT);
|
|
|
+ setState(2353);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ throw new NoViableAltException(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ArrayAccessContext extends ParserRuleContext {
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> LBRACK() { return getTokens(Java9Parser.LBRACK); }
|
|
|
+ public TerminalNode LBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.LBRACK, i);
|
|
|
+ }
|
|
|
+ public List<ExpressionContext> expression() {
|
|
|
+ return getRuleContexts(ExpressionContext.class);
|
|
|
+ }
|
|
|
+ public ExpressionContext expression(int i) {
|
|
|
+ return getRuleContext(ExpressionContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> RBRACK() { return getTokens(Java9Parser.RBRACK); }
|
|
|
+ public TerminalNode RBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.RBRACK, i);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lfno_arrayAccessContext primaryNoNewArray_lfno_arrayAccess() {
|
|
|
+ return getRuleContext(PrimaryNoNewArray_lfno_arrayAccessContext.class,0);
|
|
|
+ }
|
|
|
+ public List<PrimaryNoNewArray_lf_arrayAccessContext> primaryNoNewArray_lf_arrayAccess() {
|
|
|
+ return getRuleContexts(PrimaryNoNewArray_lf_arrayAccessContext.class);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lf_arrayAccessContext primaryNoNewArray_lf_arrayAccess(int i) {
|
|
|
+ return getRuleContext(PrimaryNoNewArray_lf_arrayAccessContext.class,i);
|
|
|
+ }
|
|
|
+ public ArrayAccessContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_arrayAccess; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterArrayAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitArrayAccess(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitArrayAccess(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ArrayAccessContext arrayAccess() throws RecognitionException {
|
|
|
+ ArrayAccessContext _localctx = new ArrayAccessContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 400, RULE_arrayAccess);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2367);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,259,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2357);
|
|
|
+ expressionName();
|
|
|
+ setState(2358);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2359);
|
|
|
+ expression();
|
|
|
+ setState(2360);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(2362);
|
|
|
+ primaryNoNewArray_lfno_arrayAccess();
|
|
|
+ setState(2363);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2364);
|
|
|
+ expression();
|
|
|
+ setState(2365);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ setState(2376);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==LBRACK) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2369);
|
|
|
+ primaryNoNewArray_lf_arrayAccess();
|
|
|
+ setState(2370);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2371);
|
|
|
+ expression();
|
|
|
+ setState(2372);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2378);
|
|
|
+ _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 ArrayAccess_lf_primaryContext extends ParserRuleContext {
|
|
|
+ public PrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primaryContext primaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary() {
|
|
|
+ return getRuleContext(PrimaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> LBRACK() { return getTokens(Java9Parser.LBRACK); }
|
|
|
+ public TerminalNode LBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.LBRACK, i);
|
|
|
+ }
|
|
|
+ public List<ExpressionContext> expression() {
|
|
|
+ return getRuleContexts(ExpressionContext.class);
|
|
|
+ }
|
|
|
+ public ExpressionContext expression(int i) {
|
|
|
+ return getRuleContext(ExpressionContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> RBRACK() { return getTokens(Java9Parser.RBRACK); }
|
|
|
+ public TerminalNode RBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.RBRACK, i);
|
|
|
+ }
|
|
|
+ public List<PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext> primaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary() {
|
|
|
+ return getRuleContexts(PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext.class);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext primaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary(int i) {
|
|
|
+ return getRuleContext(PrimaryNoNewArray_lf_primary_lf_arrayAccess_lf_primaryContext.class,i);
|
|
|
+ }
|
|
|
+ public ArrayAccess_lf_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_arrayAccess_lf_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterArrayAccess_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitArrayAccess_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitArrayAccess_lf_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ArrayAccess_lf_primaryContext arrayAccess_lf_primary() throws RecognitionException {
|
|
|
+ ArrayAccess_lf_primaryContext _localctx = new ArrayAccess_lf_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 402, RULE_arrayAccess_lf_primary);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2379);
|
|
|
+ primaryNoNewArray_lf_primary_lfno_arrayAccess_lf_primary();
|
|
|
+ setState(2380);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2381);
|
|
|
+ expression();
|
|
|
+ setState(2382);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ setState(2391);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,261,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2384);
|
|
|
+ primaryNoNewArray_lf_primary_lf_arrayAccess_lf_primary();
|
|
|
+ setState(2385);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2386);
|
|
|
+ expression();
|
|
|
+ setState(2387);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2393);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,261,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ArrayAccess_lfno_primaryContext extends ParserRuleContext {
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> LBRACK() { return getTokens(Java9Parser.LBRACK); }
|
|
|
+ public TerminalNode LBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.LBRACK, i);
|
|
|
+ }
|
|
|
+ public List<ExpressionContext> expression() {
|
|
|
+ return getRuleContexts(ExpressionContext.class);
|
|
|
+ }
|
|
|
+ public ExpressionContext expression(int i) {
|
|
|
+ return getRuleContext(ExpressionContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> RBRACK() { return getTokens(Java9Parser.RBRACK); }
|
|
|
+ public TerminalNode RBRACK(int i) {
|
|
|
+ return getToken(Java9Parser.RBRACK, i);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primaryContext primaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary() {
|
|
|
+ return getRuleContext(PrimaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primaryContext.class,0);
|
|
|
+ }
|
|
|
+ public List<PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext> primaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary() {
|
|
|
+ return getRuleContexts(PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext.class);
|
|
|
+ }
|
|
|
+ public PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext primaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary(int i) {
|
|
|
+ return getRuleContext(PrimaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primaryContext.class,i);
|
|
|
+ }
|
|
|
+ public ArrayAccess_lfno_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_arrayAccess_lfno_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterArrayAccess_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitArrayAccess_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitArrayAccess_lfno_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ArrayAccess_lfno_primaryContext arrayAccess_lfno_primary() throws RecognitionException {
|
|
|
+ ArrayAccess_lfno_primaryContext _localctx = new ArrayAccess_lfno_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 404, RULE_arrayAccess_lfno_primary);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2404);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,262,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2394);
|
|
|
+ expressionName();
|
|
|
+ setState(2395);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2396);
|
|
|
+ expression();
|
|
|
+ setState(2397);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(2399);
|
|
|
+ primaryNoNewArray_lfno_primary_lfno_arrayAccess_lfno_primary();
|
|
|
+ setState(2400);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2401);
|
|
|
+ expression();
|
|
|
+ setState(2402);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ setState(2413);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,263,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2406);
|
|
|
+ primaryNoNewArray_lfno_primary_lf_arrayAccess_lfno_primary();
|
|
|
+ setState(2407);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2408);
|
|
|
+ expression();
|
|
|
+ setState(2409);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2415);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,263,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MethodInvocationContext extends ParserRuleContext {
|
|
|
+ public MethodNameContext methodName() {
|
|
|
+ return getRuleContext(MethodNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public ArgumentListContext argumentList() {
|
|
|
+ return getRuleContext(ArgumentListContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> DOT() { return getTokens(Java9Parser.DOT); }
|
|
|
+ public TerminalNode DOT(int i) {
|
|
|
+ return getToken(Java9Parser.DOT, i);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryContext primary() {
|
|
|
+ return getRuleContext(PrimaryContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SUPER() { return getToken(Java9Parser.SUPER, 0); }
|
|
|
+ public MethodInvocationContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodInvocation; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodInvocation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodInvocation(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodInvocation(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodInvocationContext methodInvocation() throws RecognitionException {
|
|
|
+ MethodInvocationContext _localctx = new MethodInvocationContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 406, RULE_methodInvocation);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2485);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,275,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2416);
|
|
|
+ methodName();
|
|
|
+ setState(2417);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2419);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2418);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2421);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2423);
|
|
|
+ typeName();
|
|
|
+ setState(2424);
|
|
|
+ match(DOT);
|
|
|
+ setState(2426);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2425);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2428);
|
|
|
+ identifier();
|
|
|
+ setState(2429);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2431);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2430);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2433);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2435);
|
|
|
+ expressionName();
|
|
|
+ setState(2436);
|
|
|
+ match(DOT);
|
|
|
+ setState(2438);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2437);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2440);
|
|
|
+ identifier();
|
|
|
+ setState(2441);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2443);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2442);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2445);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2447);
|
|
|
+ primary();
|
|
|
+ setState(2448);
|
|
|
+ match(DOT);
|
|
|
+ setState(2450);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2449);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2452);
|
|
|
+ identifier();
|
|
|
+ setState(2453);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2455);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2454);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2457);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2459);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2460);
|
|
|
+ match(DOT);
|
|
|
+ setState(2462);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2461);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2464);
|
|
|
+ identifier();
|
|
|
+ setState(2465);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2467);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2466);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2469);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(2471);
|
|
|
+ typeName();
|
|
|
+ setState(2472);
|
|
|
+ match(DOT);
|
|
|
+ setState(2473);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2474);
|
|
|
+ match(DOT);
|
|
|
+ setState(2476);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2475);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2478);
|
|
|
+ identifier();
|
|
|
+ setState(2479);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2481);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2480);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2483);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MethodInvocation_lf_primaryContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ArgumentListContext argumentList() {
|
|
|
+ return getRuleContext(ArgumentListContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodInvocation_lf_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodInvocation_lf_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodInvocation_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodInvocation_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodInvocation_lf_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodInvocation_lf_primaryContext methodInvocation_lf_primary() throws RecognitionException {
|
|
|
+ MethodInvocation_lf_primaryContext _localctx = new MethodInvocation_lf_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 408, RULE_methodInvocation_lf_primary);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2487);
|
|
|
+ match(DOT);
|
|
|
+ setState(2489);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2488);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2491);
|
|
|
+ identifier();
|
|
|
+ setState(2492);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2494);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2493);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2496);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MethodInvocation_lfno_primaryContext extends ParserRuleContext {
|
|
|
+ public MethodNameContext methodName() {
|
|
|
+ return getRuleContext(MethodNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public ArgumentListContext argumentList() {
|
|
|
+ return getRuleContext(ArgumentListContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> DOT() { return getTokens(Java9Parser.DOT); }
|
|
|
+ public TerminalNode DOT(int i) {
|
|
|
+ return getToken(Java9Parser.DOT, i);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SUPER() { return getToken(Java9Parser.SUPER, 0); }
|
|
|
+ public MethodInvocation_lfno_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodInvocation_lfno_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodInvocation_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodInvocation_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodInvocation_lfno_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodInvocation_lfno_primaryContext methodInvocation_lfno_primary() throws RecognitionException {
|
|
|
+ MethodInvocation_lfno_primaryContext _localctx = new MethodInvocation_lfno_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 410, RULE_methodInvocation_lfno_primary);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2555);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,287,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2498);
|
|
|
+ methodName();
|
|
|
+ setState(2499);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2501);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2500);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2503);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2505);
|
|
|
+ typeName();
|
|
|
+ setState(2506);
|
|
|
+ match(DOT);
|
|
|
+ setState(2508);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2507);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2510);
|
|
|
+ identifier();
|
|
|
+ setState(2511);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2513);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2512);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2515);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2517);
|
|
|
+ expressionName();
|
|
|
+ setState(2518);
|
|
|
+ match(DOT);
|
|
|
+ setState(2520);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2519);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2522);
|
|
|
+ identifier();
|
|
|
+ setState(2523);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2525);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2524);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2527);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2529);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2530);
|
|
|
+ match(DOT);
|
|
|
+ setState(2532);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2531);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2534);
|
|
|
+ identifier();
|
|
|
+ setState(2535);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2537);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2536);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2539);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2541);
|
|
|
+ typeName();
|
|
|
+ setState(2542);
|
|
|
+ match(DOT);
|
|
|
+ setState(2543);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2544);
|
|
|
+ match(DOT);
|
|
|
+ setState(2546);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2545);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2548);
|
|
|
+ identifier();
|
|
|
+ setState(2549);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2551);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (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 << IntegerLiteral) | (1L << FloatingPointLiteral))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (BooleanLiteral - 64)) | (1L << (CharacterLiteral - 64)) | (1L << (StringLiteral - 64)) | (1L << (NullLiteral - 64)) | (1L << (LPAREN - 64)) | (1L << (AT - 64)) | (1L << (BANG - 64)) | (1L << (TILDE - 64)) | (1L << (INC - 64)) | (1L << (DEC - 64)) | (1L << (ADD - 64)) | (1L << (SUB - 64)) | (1L << (Identifier - 64)))) != 0)) {
|
|
|
+ {
|
|
|
+ setState(2550);
|
|
|
+ argumentList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2553);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ArgumentListContext extends ParserRuleContext {
|
|
|
+ public List<ExpressionContext> expression() {
|
|
|
+ return getRuleContexts(ExpressionContext.class);
|
|
|
+ }
|
|
|
+ public ExpressionContext expression(int i) {
|
|
|
+ return getRuleContext(ExpressionContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public ArgumentListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_argumentList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterArgumentList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitArgumentList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitArgumentList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ArgumentListContext argumentList() throws RecognitionException {
|
|
|
+ ArgumentListContext _localctx = new ArgumentListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 412, RULE_argumentList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2557);
|
|
|
+ expression();
|
|
|
+ setState(2562);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2558);
|
|
|
+ match(COMMA);
|
|
|
+ setState(2559);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2564);
|
|
|
+ _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 MethodReferenceContext extends ParserRuleContext {
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COLONCOLON() { return getToken(Java9Parser.COLONCOLON, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ReferenceTypeContext referenceType() {
|
|
|
+ return getRuleContext(ReferenceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public PrimaryContext primary() {
|
|
|
+ return getRuleContext(PrimaryContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SUPER() { return getToken(Java9Parser.SUPER, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public ClassTypeContext classType() {
|
|
|
+ return getRuleContext(ClassTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode NEW() { return getToken(Java9Parser.NEW, 0); }
|
|
|
+ public ArrayTypeContext arrayType() {
|
|
|
+ return getRuleContext(ArrayTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReferenceContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodReference; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodReference(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodReference(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodReference(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodReferenceContext methodReference() throws RecognitionException {
|
|
|
+ MethodReferenceContext _localctx = new MethodReferenceContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 414, RULE_methodReference);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2612);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,295,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2565);
|
|
|
+ expressionName();
|
|
|
+ setState(2566);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2568);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2567);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2570);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2572);
|
|
|
+ referenceType();
|
|
|
+ setState(2573);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2575);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2574);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2577);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2579);
|
|
|
+ primary();
|
|
|
+ setState(2580);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2582);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2581);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2584);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2586);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2587);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2589);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2588);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2591);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2592);
|
|
|
+ typeName();
|
|
|
+ setState(2593);
|
|
|
+ match(DOT);
|
|
|
+ setState(2594);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2595);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2597);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2596);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2599);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(2601);
|
|
|
+ classType();
|
|
|
+ setState(2602);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2604);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2603);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2606);
|
|
|
+ match(NEW);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 7:
|
|
|
+ enterOuterAlt(_localctx, 7);
|
|
|
+ {
|
|
|
+ setState(2608);
|
|
|
+ arrayType();
|
|
|
+ setState(2609);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2610);
|
|
|
+ match(NEW);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MethodReference_lf_primaryContext extends ParserRuleContext {
|
|
|
+ public TerminalNode COLONCOLON() { return getToken(Java9Parser.COLONCOLON, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReference_lf_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodReference_lf_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodReference_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodReference_lf_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodReference_lf_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodReference_lf_primaryContext methodReference_lf_primary() throws RecognitionException {
|
|
|
+ MethodReference_lf_primaryContext _localctx = new MethodReference_lf_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 416, RULE_methodReference_lf_primary);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2614);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2616);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2615);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2618);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MethodReference_lfno_primaryContext extends ParserRuleContext {
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COLONCOLON() { return getToken(Java9Parser.COLONCOLON, 0); }
|
|
|
+ public IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TypeArgumentsContext typeArguments() {
|
|
|
+ return getRuleContext(TypeArgumentsContext.class,0);
|
|
|
+ }
|
|
|
+ public ReferenceTypeContext referenceType() {
|
|
|
+ return getRuleContext(ReferenceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SUPER() { return getToken(Java9Parser.SUPER, 0); }
|
|
|
+ public TypeNameContext typeName() {
|
|
|
+ return getRuleContext(TypeNameContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DOT() { return getToken(Java9Parser.DOT, 0); }
|
|
|
+ public ClassTypeContext classType() {
|
|
|
+ return getRuleContext(ClassTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode NEW() { return getToken(Java9Parser.NEW, 0); }
|
|
|
+ public ArrayTypeContext arrayType() {
|
|
|
+ return getRuleContext(ArrayTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public MethodReference_lfno_primaryContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_methodReference_lfno_primary; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMethodReference_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMethodReference_lfno_primary(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMethodReference_lfno_primary(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MethodReference_lfno_primaryContext methodReference_lfno_primary() throws RecognitionException {
|
|
|
+ MethodReference_lfno_primaryContext _localctx = new MethodReference_lfno_primaryContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 418, RULE_methodReference_lfno_primary);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2660);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,302,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2620);
|
|
|
+ expressionName();
|
|
|
+ setState(2621);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2623);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2622);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2625);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2627);
|
|
|
+ referenceType();
|
|
|
+ setState(2628);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2630);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2629);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2632);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2634);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2635);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2637);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2636);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2639);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2640);
|
|
|
+ typeName();
|
|
|
+ setState(2641);
|
|
|
+ match(DOT);
|
|
|
+ setState(2642);
|
|
|
+ match(SUPER);
|
|
|
+ setState(2643);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2645);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2644);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2647);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2649);
|
|
|
+ classType();
|
|
|
+ setState(2650);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2652);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if (_la==LT) {
|
|
|
+ {
|
|
|
+ setState(2651);
|
|
|
+ typeArguments();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2654);
|
|
|
+ match(NEW);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 6:
|
|
|
+ enterOuterAlt(_localctx, 6);
|
|
|
+ {
|
|
|
+ setState(2656);
|
|
|
+ arrayType();
|
|
|
+ setState(2657);
|
|
|
+ match(COLONCOLON);
|
|
|
+ setState(2658);
|
|
|
+ match(NEW);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ArrayCreationExpressionContext extends ParserRuleContext {
|
|
|
+ public TerminalNode NEW() { return getToken(Java9Parser.NEW, 0); }
|
|
|
+ public PrimitiveTypeContext primitiveType() {
|
|
|
+ return getRuleContext(PrimitiveTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public DimExprsContext dimExprs() {
|
|
|
+ return getRuleContext(DimExprsContext.class,0);
|
|
|
+ }
|
|
|
+ public DimsContext dims() {
|
|
|
+ return getRuleContext(DimsContext.class,0);
|
|
|
+ }
|
|
|
+ public ClassOrInterfaceTypeContext classOrInterfaceType() {
|
|
|
+ return getRuleContext(ClassOrInterfaceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayInitializerContext arrayInitializer() {
|
|
|
+ return getRuleContext(ArrayInitializerContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayCreationExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_arrayCreationExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterArrayCreationExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitArrayCreationExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitArrayCreationExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ArrayCreationExpressionContext arrayCreationExpression() throws RecognitionException {
|
|
|
+ ArrayCreationExpressionContext _localctx = new ArrayCreationExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 420, RULE_arrayCreationExpression);
|
|
|
+ try {
|
|
|
+ setState(2684);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,305,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2662);
|
|
|
+ match(NEW);
|
|
|
+ setState(2663);
|
|
|
+ primitiveType();
|
|
|
+ setState(2664);
|
|
|
+ dimExprs();
|
|
|
+ setState(2666);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,303,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2665);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2668);
|
|
|
+ match(NEW);
|
|
|
+ setState(2669);
|
|
|
+ classOrInterfaceType();
|
|
|
+ setState(2670);
|
|
|
+ dimExprs();
|
|
|
+ setState(2672);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,304,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2671);
|
|
|
+ dims();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2674);
|
|
|
+ match(NEW);
|
|
|
+ setState(2675);
|
|
|
+ primitiveType();
|
|
|
+ setState(2676);
|
|
|
+ dims();
|
|
|
+ setState(2677);
|
|
|
+ arrayInitializer();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2679);
|
|
|
+ match(NEW);
|
|
|
+ setState(2680);
|
|
|
+ classOrInterfaceType();
|
|
|
+ setState(2681);
|
|
|
+ dims();
|
|
|
+ setState(2682);
|
|
|
+ arrayInitializer();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class DimExprsContext extends ParserRuleContext {
|
|
|
+ public List<DimExprContext> dimExpr() {
|
|
|
+ return getRuleContexts(DimExprContext.class);
|
|
|
+ }
|
|
|
+ public DimExprContext dimExpr(int i) {
|
|
|
+ return getRuleContext(DimExprContext.class,i);
|
|
|
+ }
|
|
|
+ public DimExprsContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_dimExprs; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterDimExprs(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitDimExprs(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitDimExprs(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final DimExprsContext dimExprs() throws RecognitionException {
|
|
|
+ DimExprsContext _localctx = new DimExprsContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 422, RULE_dimExprs);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2687);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = 1;
|
|
|
+ do {
|
|
|
+ switch (_alt) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2686);
|
|
|
+ dimExpr();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ throw new NoViableAltException(this);
|
|
|
+ }
|
|
|
+ setState(2689);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,306,_ctx);
|
|
|
+ } while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class DimExprContext extends ParserRuleContext {
|
|
|
+ public TerminalNode LBRACK() { return getToken(Java9Parser.LBRACK, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RBRACK() { return getToken(Java9Parser.RBRACK, 0); }
|
|
|
+ public List<AnnotationContext> annotation() {
|
|
|
+ return getRuleContexts(AnnotationContext.class);
|
|
|
+ }
|
|
|
+ public AnnotationContext annotation(int i) {
|
|
|
+ return getRuleContext(AnnotationContext.class,i);
|
|
|
+ }
|
|
|
+ public DimExprContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_dimExpr; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterDimExpr(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitDimExpr(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitDimExpr(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final DimExprContext dimExpr() throws RecognitionException {
|
|
|
+ DimExprContext _localctx = new DimExprContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 424, RULE_dimExpr);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2694);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==AT) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2691);
|
|
|
+ annotation();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2696);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2697);
|
|
|
+ match(LBRACK);
|
|
|
+ setState(2698);
|
|
|
+ expression();
|
|
|
+ setState(2699);
|
|
|
+ match(RBRACK);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ConstantExpressionContext extends ParserRuleContext {
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ConstantExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_constantExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConstantExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConstantExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConstantExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConstantExpressionContext constantExpression() throws RecognitionException {
|
|
|
+ ConstantExpressionContext _localctx = new ConstantExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 426, RULE_constantExpression);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2701);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ 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 LambdaExpressionContext lambdaExpression() {
|
|
|
+ return getRuleContext(LambdaExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public AssignmentExpressionContext assignmentExpression() {
|
|
|
+ return getRuleContext(AssignmentExpressionContext.class,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 Java9Listener ) ((Java9Listener)listener).enterExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ExpressionContext expression() throws RecognitionException {
|
|
|
+ ExpressionContext _localctx = new ExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 428, RULE_expression);
|
|
|
+ try {
|
|
|
+ setState(2705);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,308,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2703);
|
|
|
+ lambdaExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2704);
|
|
|
+ assignmentExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class LambdaExpressionContext extends ParserRuleContext {
|
|
|
+ public LambdaParametersContext lambdaParameters() {
|
|
|
+ return getRuleContext(LambdaParametersContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode ARROW() { return getToken(Java9Parser.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 Java9Listener ) ((Java9Listener)listener).enterLambdaExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLambdaExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLambdaExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LambdaExpressionContext lambdaExpression() throws RecognitionException {
|
|
|
+ LambdaExpressionContext _localctx = new LambdaExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 430, RULE_lambdaExpression);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2707);
|
|
|
+ lambdaParameters();
|
|
|
+ setState(2708);
|
|
|
+ match(ARROW);
|
|
|
+ setState(2709);
|
|
|
+ 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 IdentifierContext identifier() {
|
|
|
+ return getRuleContext(IdentifierContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public FormalParameterListContext formalParameterList() {
|
|
|
+ return getRuleContext(FormalParameterListContext.class,0);
|
|
|
+ }
|
|
|
+ public InferredFormalParameterListContext inferredFormalParameterList() {
|
|
|
+ return getRuleContext(InferredFormalParameterListContext.class,0);
|
|
|
+ }
|
|
|
+ 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 Java9Listener ) ((Java9Listener)listener).enterLambdaParameters(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLambdaParameters(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLambdaParameters(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LambdaParametersContext lambdaParameters() throws RecognitionException {
|
|
|
+ LambdaParametersContext _localctx = new LambdaParametersContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 432, RULE_lambdaParameters);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2721);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,310,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2711);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2712);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2714);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8) | (1L << BOOLEAN) | (1L << BYTE) | (1L << CHAR) | (1L << DOUBLE) | (1L << FINAL) | (1L << FLOAT) | (1L << INT) | (1L << LONG) | (1L << SHORT))) != 0) || _la==AT || _la==Identifier) {
|
|
|
+ {
|
|
|
+ setState(2713);
|
|
|
+ formalParameterList();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ setState(2716);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2717);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2718);
|
|
|
+ inferredFormalParameterList();
|
|
|
+ setState(2719);
|
|
|
+ match(RPAREN);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class InferredFormalParameterListContext extends ParserRuleContext {
|
|
|
+ public List<IdentifierContext> identifier() {
|
|
|
+ return getRuleContexts(IdentifierContext.class);
|
|
|
+ }
|
|
|
+ public IdentifierContext identifier(int i) {
|
|
|
+ return getRuleContext(IdentifierContext.class,i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> COMMA() { return getTokens(Java9Parser.COMMA); }
|
|
|
+ public TerminalNode COMMA(int i) {
|
|
|
+ return getToken(Java9Parser.COMMA, i);
|
|
|
+ }
|
|
|
+ public InferredFormalParameterListContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_inferredFormalParameterList; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterInferredFormalParameterList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInferredFormalParameterList(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInferredFormalParameterList(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InferredFormalParameterListContext inferredFormalParameterList() throws RecognitionException {
|
|
|
+ InferredFormalParameterListContext _localctx = new InferredFormalParameterListContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 434, RULE_inferredFormalParameterList);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2723);
|
|
|
+ identifier();
|
|
|
+ setState(2728);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==COMMA) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2724);
|
|
|
+ match(COMMA);
|
|
|
+ setState(2725);
|
|
|
+ identifier();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2730);
|
|
|
+ _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 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 Java9Listener ) ((Java9Listener)listener).enterLambdaBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLambdaBody(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLambdaBody(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LambdaBodyContext lambdaBody() throws RecognitionException {
|
|
|
+ LambdaBodyContext _localctx = new LambdaBodyContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 436, RULE_lambdaBody);
|
|
|
+ try {
|
|
|
+ setState(2733);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case BOOLEAN:
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case NEW:
|
|
|
+ case SHORT:
|
|
|
+ case SUPER:
|
|
|
+ case THIS:
|
|
|
+ case VOID:
|
|
|
+ case IntegerLiteral:
|
|
|
+ case FloatingPointLiteral:
|
|
|
+ case BooleanLiteral:
|
|
|
+ case CharacterLiteral:
|
|
|
+ case StringLiteral:
|
|
|
+ case NullLiteral:
|
|
|
+ case LPAREN:
|
|
|
+ case AT:
|
|
|
+ case BANG:
|
|
|
+ case TILDE:
|
|
|
+ case INC:
|
|
|
+ case DEC:
|
|
|
+ case ADD:
|
|
|
+ case SUB:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2731);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case LBRACE:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2732);
|
|
|
+ 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 AssignmentExpressionContext extends ParserRuleContext {
|
|
|
+ public ConditionalExpressionContext conditionalExpression() {
|
|
|
+ return getRuleContext(ConditionalExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public AssignmentContext assignment() {
|
|
|
+ return getRuleContext(AssignmentContext.class,0);
|
|
|
+ }
|
|
|
+ public AssignmentExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_assignmentExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAssignmentExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAssignmentExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAssignmentExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AssignmentExpressionContext assignmentExpression() throws RecognitionException {
|
|
|
+ AssignmentExpressionContext _localctx = new AssignmentExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 438, RULE_assignmentExpression);
|
|
|
+ try {
|
|
|
+ setState(2737);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,313,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2735);
|
|
|
+ conditionalExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2736);
|
|
|
+ assignment();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AssignmentContext extends ParserRuleContext {
|
|
|
+ public LeftHandSideContext leftHandSide() {
|
|
|
+ return getRuleContext(LeftHandSideContext.class,0);
|
|
|
+ }
|
|
|
+ public AssignmentOperatorContext assignmentOperator() {
|
|
|
+ return getRuleContext(AssignmentOperatorContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public AssignmentContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_assignment; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAssignment(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAssignment(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAssignment(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AssignmentContext assignment() throws RecognitionException {
|
|
|
+ AssignmentContext _localctx = new AssignmentContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 440, RULE_assignment);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2739);
|
|
|
+ leftHandSide();
|
|
|
+ setState(2740);
|
|
|
+ assignmentOperator();
|
|
|
+ setState(2741);
|
|
|
+ expression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class LeftHandSideContext extends ParserRuleContext {
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public FieldAccessContext fieldAccess() {
|
|
|
+ return getRuleContext(FieldAccessContext.class,0);
|
|
|
+ }
|
|
|
+ public ArrayAccessContext arrayAccess() {
|
|
|
+ return getRuleContext(ArrayAccessContext.class,0);
|
|
|
+ }
|
|
|
+ public LeftHandSideContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_leftHandSide; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterLeftHandSide(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitLeftHandSide(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitLeftHandSide(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final LeftHandSideContext leftHandSide() throws RecognitionException {
|
|
|
+ LeftHandSideContext _localctx = new LeftHandSideContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 442, RULE_leftHandSide);
|
|
|
+ try {
|
|
|
+ setState(2746);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,314,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2743);
|
|
|
+ expressionName();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2744);
|
|
|
+ fieldAccess();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2745);
|
|
|
+ arrayAccess();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AssignmentOperatorContext extends ParserRuleContext {
|
|
|
+ public TerminalNode ASSIGN() { return getToken(Java9Parser.ASSIGN, 0); }
|
|
|
+ public TerminalNode MUL_ASSIGN() { return getToken(Java9Parser.MUL_ASSIGN, 0); }
|
|
|
+ public TerminalNode DIV_ASSIGN() { return getToken(Java9Parser.DIV_ASSIGN, 0); }
|
|
|
+ public TerminalNode MOD_ASSIGN() { return getToken(Java9Parser.MOD_ASSIGN, 0); }
|
|
|
+ public TerminalNode ADD_ASSIGN() { return getToken(Java9Parser.ADD_ASSIGN, 0); }
|
|
|
+ public TerminalNode SUB_ASSIGN() { return getToken(Java9Parser.SUB_ASSIGN, 0); }
|
|
|
+ public TerminalNode LSHIFT_ASSIGN() { return getToken(Java9Parser.LSHIFT_ASSIGN, 0); }
|
|
|
+ public TerminalNode RSHIFT_ASSIGN() { return getToken(Java9Parser.RSHIFT_ASSIGN, 0); }
|
|
|
+ public TerminalNode URSHIFT_ASSIGN() { return getToken(Java9Parser.URSHIFT_ASSIGN, 0); }
|
|
|
+ public TerminalNode AND_ASSIGN() { return getToken(Java9Parser.AND_ASSIGN, 0); }
|
|
|
+ public TerminalNode XOR_ASSIGN() { return getToken(Java9Parser.XOR_ASSIGN, 0); }
|
|
|
+ public TerminalNode OR_ASSIGN() { return getToken(Java9Parser.OR_ASSIGN, 0); }
|
|
|
+ public AssignmentOperatorContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_assignmentOperator; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAssignmentOperator(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAssignmentOperator(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAssignmentOperator(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AssignmentOperatorContext assignmentOperator() throws RecognitionException {
|
|
|
+ AssignmentOperatorContext _localctx = new AssignmentOperatorContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 444, RULE_assignmentOperator);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2748);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ( !(((((_la - 80)) & ~0x3f) == 0 && ((1L << (_la - 80)) & ((1L << (ASSIGN - 80)) | (1L << (ADD_ASSIGN - 80)) | (1L << (SUB_ASSIGN - 80)) | (1L << (MUL_ASSIGN - 80)) | (1L << (DIV_ASSIGN - 80)) | (1L << (AND_ASSIGN - 80)) | (1L << (OR_ASSIGN - 80)) | (1L << (XOR_ASSIGN - 80)) | (1L << (MOD_ASSIGN - 80)) | (1L << (LSHIFT_ASSIGN - 80)) | (1L << (RSHIFT_ASSIGN - 80)) | (1L << (URSHIFT_ASSIGN - 80)))) != 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 ConditionalExpressionContext extends ParserRuleContext {
|
|
|
+ public ConditionalOrExpressionContext conditionalOrExpression() {
|
|
|
+ return getRuleContext(ConditionalOrExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode QUESTION() { return getToken(Java9Parser.QUESTION, 0); }
|
|
|
+ public ExpressionContext expression() {
|
|
|
+ return getRuleContext(ExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode COLON() { return getToken(Java9Parser.COLON, 0); }
|
|
|
+ public ConditionalExpressionContext conditionalExpression() {
|
|
|
+ return getRuleContext(ConditionalExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public LambdaExpressionContext lambdaExpression() {
|
|
|
+ return getRuleContext(LambdaExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ConditionalExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_conditionalExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConditionalExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConditionalExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConditionalExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConditionalExpressionContext conditionalExpression() throws RecognitionException {
|
|
|
+ ConditionalExpressionContext _localctx = new ConditionalExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 446, RULE_conditionalExpression);
|
|
|
+ try {
|
|
|
+ setState(2759);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,316,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2750);
|
|
|
+ conditionalOrExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2751);
|
|
|
+ conditionalOrExpression(0);
|
|
|
+ setState(2752);
|
|
|
+ match(QUESTION);
|
|
|
+ setState(2753);
|
|
|
+ expression();
|
|
|
+ setState(2754);
|
|
|
+ match(COLON);
|
|
|
+ setState(2757);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,315,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2755);
|
|
|
+ conditionalExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(2756);
|
|
|
+ lambdaExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ConditionalOrExpressionContext extends ParserRuleContext {
|
|
|
+ public ConditionalAndExpressionContext conditionalAndExpression() {
|
|
|
+ return getRuleContext(ConditionalAndExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ConditionalOrExpressionContext conditionalOrExpression() {
|
|
|
+ return getRuleContext(ConditionalOrExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode OR() { return getToken(Java9Parser.OR, 0); }
|
|
|
+ public ConditionalOrExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_conditionalOrExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConditionalOrExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConditionalOrExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConditionalOrExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConditionalOrExpressionContext conditionalOrExpression() throws RecognitionException {
|
|
|
+ return conditionalOrExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private ConditionalOrExpressionContext conditionalOrExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ ConditionalOrExpressionContext _localctx = new ConditionalOrExpressionContext(_ctx, _parentState);
|
|
|
+ ConditionalOrExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 448;
|
|
|
+ enterRecursionRule(_localctx, 448, RULE_conditionalOrExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2762);
|
|
|
+ conditionalAndExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2769);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,317,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new ConditionalOrExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_conditionalOrExpression);
|
|
|
+ setState(2764);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2765);
|
|
|
+ match(OR);
|
|
|
+ setState(2766);
|
|
|
+ conditionalAndExpression(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2771);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,317,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ConditionalAndExpressionContext extends ParserRuleContext {
|
|
|
+ public InclusiveOrExpressionContext inclusiveOrExpression() {
|
|
|
+ return getRuleContext(InclusiveOrExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ConditionalAndExpressionContext conditionalAndExpression() {
|
|
|
+ return getRuleContext(ConditionalAndExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode AND() { return getToken(Java9Parser.AND, 0); }
|
|
|
+ public ConditionalAndExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_conditionalAndExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterConditionalAndExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitConditionalAndExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitConditionalAndExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ConditionalAndExpressionContext conditionalAndExpression() throws RecognitionException {
|
|
|
+ return conditionalAndExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private ConditionalAndExpressionContext conditionalAndExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ ConditionalAndExpressionContext _localctx = new ConditionalAndExpressionContext(_ctx, _parentState);
|
|
|
+ ConditionalAndExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 450;
|
|
|
+ enterRecursionRule(_localctx, 450, RULE_conditionalAndExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2773);
|
|
|
+ inclusiveOrExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2780);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,318,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new ConditionalAndExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_conditionalAndExpression);
|
|
|
+ setState(2775);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2776);
|
|
|
+ match(AND);
|
|
|
+ setState(2777);
|
|
|
+ inclusiveOrExpression(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2782);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,318,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class InclusiveOrExpressionContext extends ParserRuleContext {
|
|
|
+ public ExclusiveOrExpressionContext exclusiveOrExpression() {
|
|
|
+ return getRuleContext(ExclusiveOrExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public InclusiveOrExpressionContext inclusiveOrExpression() {
|
|
|
+ return getRuleContext(InclusiveOrExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode BITOR() { return getToken(Java9Parser.BITOR, 0); }
|
|
|
+ public InclusiveOrExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_inclusiveOrExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterInclusiveOrExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitInclusiveOrExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitInclusiveOrExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final InclusiveOrExpressionContext inclusiveOrExpression() throws RecognitionException {
|
|
|
+ return inclusiveOrExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private InclusiveOrExpressionContext inclusiveOrExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ InclusiveOrExpressionContext _localctx = new InclusiveOrExpressionContext(_ctx, _parentState);
|
|
|
+ InclusiveOrExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 452;
|
|
|
+ enterRecursionRule(_localctx, 452, RULE_inclusiveOrExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2784);
|
|
|
+ exclusiveOrExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2791);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,319,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new InclusiveOrExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_inclusiveOrExpression);
|
|
|
+ setState(2786);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2787);
|
|
|
+ match(BITOR);
|
|
|
+ setState(2788);
|
|
|
+ exclusiveOrExpression(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2793);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,319,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ExclusiveOrExpressionContext extends ParserRuleContext {
|
|
|
+ public AndExpressionContext andExpression() {
|
|
|
+ return getRuleContext(AndExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ExclusiveOrExpressionContext exclusiveOrExpression() {
|
|
|
+ return getRuleContext(ExclusiveOrExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode CARET() { return getToken(Java9Parser.CARET, 0); }
|
|
|
+ public ExclusiveOrExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_exclusiveOrExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterExclusiveOrExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitExclusiveOrExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitExclusiveOrExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ExclusiveOrExpressionContext exclusiveOrExpression() throws RecognitionException {
|
|
|
+ return exclusiveOrExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private ExclusiveOrExpressionContext exclusiveOrExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ ExclusiveOrExpressionContext _localctx = new ExclusiveOrExpressionContext(_ctx, _parentState);
|
|
|
+ ExclusiveOrExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 454;
|
|
|
+ enterRecursionRule(_localctx, 454, RULE_exclusiveOrExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2795);
|
|
|
+ andExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2802);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,320,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new ExclusiveOrExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_exclusiveOrExpression);
|
|
|
+ setState(2797);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2798);
|
|
|
+ match(CARET);
|
|
|
+ setState(2799);
|
|
|
+ andExpression(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2804);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,320,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AndExpressionContext extends ParserRuleContext {
|
|
|
+ public EqualityExpressionContext equalityExpression() {
|
|
|
+ return getRuleContext(EqualityExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public AndExpressionContext andExpression() {
|
|
|
+ return getRuleContext(AndExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode BITAND() { return getToken(Java9Parser.BITAND, 0); }
|
|
|
+ public AndExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_andExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAndExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAndExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAndExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AndExpressionContext andExpression() throws RecognitionException {
|
|
|
+ return andExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private AndExpressionContext andExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ AndExpressionContext _localctx = new AndExpressionContext(_ctx, _parentState);
|
|
|
+ AndExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 456;
|
|
|
+ enterRecursionRule(_localctx, 456, RULE_andExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2806);
|
|
|
+ equalityExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2813);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,321,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ {
|
|
|
+ _localctx = new AndExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_andExpression);
|
|
|
+ setState(2808);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2809);
|
|
|
+ match(BITAND);
|
|
|
+ setState(2810);
|
|
|
+ equalityExpression(0);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2815);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,321,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class EqualityExpressionContext extends ParserRuleContext {
|
|
|
+ public RelationalExpressionContext relationalExpression() {
|
|
|
+ return getRuleContext(RelationalExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public EqualityExpressionContext equalityExpression() {
|
|
|
+ return getRuleContext(EqualityExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode EQUAL() { return getToken(Java9Parser.EQUAL, 0); }
|
|
|
+ public TerminalNode NOTEQUAL() { return getToken(Java9Parser.NOTEQUAL, 0); }
|
|
|
+ public EqualityExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_equalityExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterEqualityExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitEqualityExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitEqualityExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final EqualityExpressionContext equalityExpression() throws RecognitionException {
|
|
|
+ return equalityExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private EqualityExpressionContext equalityExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ EqualityExpressionContext _localctx = new EqualityExpressionContext(_ctx, _parentState);
|
|
|
+ EqualityExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 458;
|
|
|
+ enterRecursionRule(_localctx, 458, RULE_equalityExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2817);
|
|
|
+ relationalExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2827);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,323,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ setState(2825);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,322,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ _localctx = new EqualityExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_equalityExpression);
|
|
|
+ setState(2819);
|
|
|
+ if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
|
|
+ setState(2820);
|
|
|
+ match(EQUAL);
|
|
|
+ setState(2821);
|
|
|
+ relationalExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ _localctx = new EqualityExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_equalityExpression);
|
|
|
+ setState(2822);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2823);
|
|
|
+ match(NOTEQUAL);
|
|
|
+ setState(2824);
|
|
|
+ relationalExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2829);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,323,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class RelationalExpressionContext extends ParserRuleContext {
|
|
|
+ public ShiftExpressionContext shiftExpression() {
|
|
|
+ return getRuleContext(ShiftExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public RelationalExpressionContext relationalExpression() {
|
|
|
+ return getRuleContext(RelationalExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode LT() { return getToken(Java9Parser.LT, 0); }
|
|
|
+ public TerminalNode GT() { return getToken(Java9Parser.GT, 0); }
|
|
|
+ public TerminalNode LE() { return getToken(Java9Parser.LE, 0); }
|
|
|
+ public TerminalNode GE() { return getToken(Java9Parser.GE, 0); }
|
|
|
+ public TerminalNode INSTANCEOF() { return getToken(Java9Parser.INSTANCEOF, 0); }
|
|
|
+ public ReferenceTypeContext referenceType() {
|
|
|
+ return getRuleContext(ReferenceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public RelationalExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_relationalExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterRelationalExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitRelationalExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitRelationalExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final RelationalExpressionContext relationalExpression() throws RecognitionException {
|
|
|
+ return relationalExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private RelationalExpressionContext relationalExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ RelationalExpressionContext _localctx = new RelationalExpressionContext(_ctx, _parentState);
|
|
|
+ RelationalExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 460;
|
|
|
+ enterRecursionRule(_localctx, 460, RULE_relationalExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2831);
|
|
|
+ shiftExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2850);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,325,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ setState(2848);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,324,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ _localctx = new RelationalExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_relationalExpression);
|
|
|
+ setState(2833);
|
|
|
+ if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)");
|
|
|
+ setState(2834);
|
|
|
+ match(LT);
|
|
|
+ setState(2835);
|
|
|
+ shiftExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ _localctx = new RelationalExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_relationalExpression);
|
|
|
+ setState(2836);
|
|
|
+ if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)");
|
|
|
+ setState(2837);
|
|
|
+ match(GT);
|
|
|
+ setState(2838);
|
|
|
+ shiftExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ {
|
|
|
+ _localctx = new RelationalExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_relationalExpression);
|
|
|
+ setState(2839);
|
|
|
+ if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
|
|
|
+ setState(2840);
|
|
|
+ match(LE);
|
|
|
+ setState(2841);
|
|
|
+ shiftExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ {
|
|
|
+ _localctx = new RelationalExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_relationalExpression);
|
|
|
+ setState(2842);
|
|
|
+ if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
|
|
+ setState(2843);
|
|
|
+ match(GE);
|
|
|
+ setState(2844);
|
|
|
+ shiftExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 5:
|
|
|
+ {
|
|
|
+ _localctx = new RelationalExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_relationalExpression);
|
|
|
+ setState(2845);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2846);
|
|
|
+ match(INSTANCEOF);
|
|
|
+ setState(2847);
|
|
|
+ referenceType();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2852);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,325,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class ShiftExpressionContext extends ParserRuleContext {
|
|
|
+ public AdditiveExpressionContext additiveExpression() {
|
|
|
+ return getRuleContext(AdditiveExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ShiftExpressionContext shiftExpression() {
|
|
|
+ return getRuleContext(ShiftExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> LT() { return getTokens(Java9Parser.LT); }
|
|
|
+ public TerminalNode LT(int i) {
|
|
|
+ return getToken(Java9Parser.LT, i);
|
|
|
+ }
|
|
|
+ public List<TerminalNode> GT() { return getTokens(Java9Parser.GT); }
|
|
|
+ public TerminalNode GT(int i) {
|
|
|
+ return getToken(Java9Parser.GT, i);
|
|
|
+ }
|
|
|
+ public ShiftExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_shiftExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterShiftExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitShiftExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitShiftExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final ShiftExpressionContext shiftExpression() throws RecognitionException {
|
|
|
+ return shiftExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private ShiftExpressionContext shiftExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ ShiftExpressionContext _localctx = new ShiftExpressionContext(_ctx, _parentState);
|
|
|
+ ShiftExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 462;
|
|
|
+ enterRecursionRule(_localctx, 462, RULE_shiftExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2854);
|
|
|
+ additiveExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2871);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,327,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ setState(2869);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,326,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ _localctx = new ShiftExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_shiftExpression);
|
|
|
+ setState(2856);
|
|
|
+ if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
|
|
|
+ setState(2857);
|
|
|
+ match(LT);
|
|
|
+ setState(2858);
|
|
|
+ match(LT);
|
|
|
+ setState(2859);
|
|
|
+ additiveExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ _localctx = new ShiftExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_shiftExpression);
|
|
|
+ setState(2860);
|
|
|
+ if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
|
|
+ setState(2861);
|
|
|
+ match(GT);
|
|
|
+ setState(2862);
|
|
|
+ match(GT);
|
|
|
+ setState(2863);
|
|
|
+ additiveExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ {
|
|
|
+ _localctx = new ShiftExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_shiftExpression);
|
|
|
+ setState(2864);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2865);
|
|
|
+ match(GT);
|
|
|
+ setState(2866);
|
|
|
+ match(GT);
|
|
|
+ setState(2867);
|
|
|
+ match(GT);
|
|
|
+ setState(2868);
|
|
|
+ additiveExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2873);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,327,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class AdditiveExpressionContext extends ParserRuleContext {
|
|
|
+ public MultiplicativeExpressionContext multiplicativeExpression() {
|
|
|
+ return getRuleContext(MultiplicativeExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public AdditiveExpressionContext additiveExpression() {
|
|
|
+ return getRuleContext(AdditiveExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode ADD() { return getToken(Java9Parser.ADD, 0); }
|
|
|
+ public TerminalNode SUB() { return getToken(Java9Parser.SUB, 0); }
|
|
|
+ public AdditiveExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_additiveExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterAdditiveExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitAdditiveExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitAdditiveExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final AdditiveExpressionContext additiveExpression() throws RecognitionException {
|
|
|
+ return additiveExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private AdditiveExpressionContext additiveExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ AdditiveExpressionContext _localctx = new AdditiveExpressionContext(_ctx, _parentState);
|
|
|
+ AdditiveExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 464;
|
|
|
+ enterRecursionRule(_localctx, 464, RULE_additiveExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2875);
|
|
|
+ multiplicativeExpression(0);
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2885);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,329,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ setState(2883);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,328,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ _localctx = new AdditiveExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_additiveExpression);
|
|
|
+ setState(2877);
|
|
|
+ if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
|
|
+ setState(2878);
|
|
|
+ match(ADD);
|
|
|
+ setState(2879);
|
|
|
+ multiplicativeExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ _localctx = new AdditiveExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_additiveExpression);
|
|
|
+ setState(2880);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2881);
|
|
|
+ match(SUB);
|
|
|
+ setState(2882);
|
|
|
+ multiplicativeExpression(0);
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2887);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,329,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class MultiplicativeExpressionContext extends ParserRuleContext {
|
|
|
+ public UnaryExpressionContext unaryExpression() {
|
|
|
+ return getRuleContext(UnaryExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public MultiplicativeExpressionContext multiplicativeExpression() {
|
|
|
+ return getRuleContext(MultiplicativeExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode MUL() { return getToken(Java9Parser.MUL, 0); }
|
|
|
+ public TerminalNode DIV() { return getToken(Java9Parser.DIV, 0); }
|
|
|
+ public TerminalNode MOD() { return getToken(Java9Parser.MOD, 0); }
|
|
|
+ public MultiplicativeExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_multiplicativeExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterMultiplicativeExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitMultiplicativeExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitMultiplicativeExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final MultiplicativeExpressionContext multiplicativeExpression() throws RecognitionException {
|
|
|
+ return multiplicativeExpression(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ private MultiplicativeExpressionContext multiplicativeExpression(int _p) throws RecognitionException {
|
|
|
+ ParserRuleContext _parentctx = _ctx;
|
|
|
+ int _parentState = getState();
|
|
|
+ MultiplicativeExpressionContext _localctx = new MultiplicativeExpressionContext(_ctx, _parentState);
|
|
|
+ MultiplicativeExpressionContext _prevctx = _localctx;
|
|
|
+ int _startState = 466;
|
|
|
+ enterRecursionRule(_localctx, 466, RULE_multiplicativeExpression, _p);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2889);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ _ctx.stop = _input.LT(-1);
|
|
|
+ setState(2902);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,331,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ if ( _parseListeners!=null ) triggerExitRuleEvent();
|
|
|
+ _prevctx = _localctx;
|
|
|
+ {
|
|
|
+ setState(2900);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,330,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ _localctx = new MultiplicativeExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_multiplicativeExpression);
|
|
|
+ setState(2891);
|
|
|
+ if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
|
|
|
+ setState(2892);
|
|
|
+ match(MUL);
|
|
|
+ setState(2893);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ _localctx = new MultiplicativeExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_multiplicativeExpression);
|
|
|
+ setState(2894);
|
|
|
+ if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
|
|
|
+ setState(2895);
|
|
|
+ match(DIV);
|
|
|
+ setState(2896);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ {
|
|
|
+ _localctx = new MultiplicativeExpressionContext(_parentctx, _parentState);
|
|
|
+ pushNewRecursionContext(_localctx, _startState, RULE_multiplicativeExpression);
|
|
|
+ setState(2897);
|
|
|
+ if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)");
|
|
|
+ setState(2898);
|
|
|
+ match(MOD);
|
|
|
+ setState(2899);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2904);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,331,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ unrollRecursionContexts(_parentctx);
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnaryExpressionContext extends ParserRuleContext {
|
|
|
+ public PreIncrementExpressionContext preIncrementExpression() {
|
|
|
+ return getRuleContext(PreIncrementExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public PreDecrementExpressionContext preDecrementExpression() {
|
|
|
+ return getRuleContext(PreDecrementExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode ADD() { return getToken(Java9Parser.ADD, 0); }
|
|
|
+ public UnaryExpressionContext unaryExpression() {
|
|
|
+ return getRuleContext(UnaryExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode SUB() { return getToken(Java9Parser.SUB, 0); }
|
|
|
+ public UnaryExpressionNotPlusMinusContext unaryExpressionNotPlusMinus() {
|
|
|
+ return getRuleContext(UnaryExpressionNotPlusMinusContext.class,0);
|
|
|
+ }
|
|
|
+ public UnaryExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unaryExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnaryExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnaryExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnaryExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnaryExpressionContext unaryExpression() throws RecognitionException {
|
|
|
+ UnaryExpressionContext _localctx = new UnaryExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 468, RULE_unaryExpression);
|
|
|
+ try {
|
|
|
+ setState(2912);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case INC:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2905);
|
|
|
+ preIncrementExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case DEC:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2906);
|
|
|
+ preDecrementExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case ADD:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2907);
|
|
|
+ match(ADD);
|
|
|
+ setState(2908);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case SUB:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2909);
|
|
|
+ match(SUB);
|
|
|
+ setState(2910);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case T__0:
|
|
|
+ case T__1:
|
|
|
+ case T__2:
|
|
|
+ case T__3:
|
|
|
+ case T__4:
|
|
|
+ case T__5:
|
|
|
+ case T__6:
|
|
|
+ case T__7:
|
|
|
+ case T__8:
|
|
|
+ case BOOLEAN:
|
|
|
+ case BYTE:
|
|
|
+ case CHAR:
|
|
|
+ case DOUBLE:
|
|
|
+ case FLOAT:
|
|
|
+ case INT:
|
|
|
+ case LONG:
|
|
|
+ case NEW:
|
|
|
+ case SHORT:
|
|
|
+ case SUPER:
|
|
|
+ case THIS:
|
|
|
+ case VOID:
|
|
|
+ case IntegerLiteral:
|
|
|
+ case FloatingPointLiteral:
|
|
|
+ case BooleanLiteral:
|
|
|
+ case CharacterLiteral:
|
|
|
+ case StringLiteral:
|
|
|
+ case NullLiteral:
|
|
|
+ case LPAREN:
|
|
|
+ case AT:
|
|
|
+ case BANG:
|
|
|
+ case TILDE:
|
|
|
+ case Identifier:
|
|
|
+ enterOuterAlt(_localctx, 5);
|
|
|
+ {
|
|
|
+ setState(2911);
|
|
|
+ unaryExpressionNotPlusMinus();
|
|
|
+ }
|
|
|
+ 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 PreIncrementExpressionContext extends ParserRuleContext {
|
|
|
+ public TerminalNode INC() { return getToken(Java9Parser.INC, 0); }
|
|
|
+ public UnaryExpressionContext unaryExpression() {
|
|
|
+ return getRuleContext(UnaryExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public PreIncrementExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_preIncrementExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPreIncrementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPreIncrementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPreIncrementExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PreIncrementExpressionContext preIncrementExpression() throws RecognitionException {
|
|
|
+ PreIncrementExpressionContext _localctx = new PreIncrementExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 470, RULE_preIncrementExpression);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2914);
|
|
|
+ match(INC);
|
|
|
+ setState(2915);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PreDecrementExpressionContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DEC() { return getToken(Java9Parser.DEC, 0); }
|
|
|
+ public UnaryExpressionContext unaryExpression() {
|
|
|
+ return getRuleContext(UnaryExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public PreDecrementExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_preDecrementExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPreDecrementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPreDecrementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPreDecrementExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PreDecrementExpressionContext preDecrementExpression() throws RecognitionException {
|
|
|
+ PreDecrementExpressionContext _localctx = new PreDecrementExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 472, RULE_preDecrementExpression);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2917);
|
|
|
+ match(DEC);
|
|
|
+ setState(2918);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class UnaryExpressionNotPlusMinusContext extends ParserRuleContext {
|
|
|
+ public PostfixExpressionContext postfixExpression() {
|
|
|
+ return getRuleContext(PostfixExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode TILDE() { return getToken(Java9Parser.TILDE, 0); }
|
|
|
+ public UnaryExpressionContext unaryExpression() {
|
|
|
+ return getRuleContext(UnaryExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode BANG() { return getToken(Java9Parser.BANG, 0); }
|
|
|
+ public CastExpressionContext castExpression() {
|
|
|
+ return getRuleContext(CastExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public UnaryExpressionNotPlusMinusContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_unaryExpressionNotPlusMinus; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterUnaryExpressionNotPlusMinus(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitUnaryExpressionNotPlusMinus(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitUnaryExpressionNotPlusMinus(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final UnaryExpressionNotPlusMinusContext unaryExpressionNotPlusMinus() throws RecognitionException {
|
|
|
+ UnaryExpressionNotPlusMinusContext _localctx = new UnaryExpressionNotPlusMinusContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 474, RULE_unaryExpressionNotPlusMinus);
|
|
|
+ try {
|
|
|
+ setState(2926);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,333,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2920);
|
|
|
+ postfixExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2921);
|
|
|
+ match(TILDE);
|
|
|
+ setState(2922);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2923);
|
|
|
+ match(BANG);
|
|
|
+ setState(2924);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 4:
|
|
|
+ enterOuterAlt(_localctx, 4);
|
|
|
+ {
|
|
|
+ setState(2925);
|
|
|
+ castExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PostfixExpressionContext extends ParserRuleContext {
|
|
|
+ public PrimaryContext primary() {
|
|
|
+ return getRuleContext(PrimaryContext.class,0);
|
|
|
+ }
|
|
|
+ public ExpressionNameContext expressionName() {
|
|
|
+ return getRuleContext(ExpressionNameContext.class,0);
|
|
|
+ }
|
|
|
+ public List<PostIncrementExpression_lf_postfixExpressionContext> postIncrementExpression_lf_postfixExpression() {
|
|
|
+ return getRuleContexts(PostIncrementExpression_lf_postfixExpressionContext.class);
|
|
|
+ }
|
|
|
+ public PostIncrementExpression_lf_postfixExpressionContext postIncrementExpression_lf_postfixExpression(int i) {
|
|
|
+ return getRuleContext(PostIncrementExpression_lf_postfixExpressionContext.class,i);
|
|
|
+ }
|
|
|
+ public List<PostDecrementExpression_lf_postfixExpressionContext> postDecrementExpression_lf_postfixExpression() {
|
|
|
+ return getRuleContexts(PostDecrementExpression_lf_postfixExpressionContext.class);
|
|
|
+ }
|
|
|
+ public PostDecrementExpression_lf_postfixExpressionContext postDecrementExpression_lf_postfixExpression(int i) {
|
|
|
+ return getRuleContext(PostDecrementExpression_lf_postfixExpressionContext.class,i);
|
|
|
+ }
|
|
|
+ public PostfixExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_postfixExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPostfixExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPostfixExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPostfixExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PostfixExpressionContext postfixExpression() throws RecognitionException {
|
|
|
+ PostfixExpressionContext _localctx = new PostfixExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 476, RULE_postfixExpression);
|
|
|
+ try {
|
|
|
+ int _alt;
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2930);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,334,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ {
|
|
|
+ setState(2928);
|
|
|
+ primary();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ {
|
|
|
+ setState(2929);
|
|
|
+ expressionName();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ setState(2936);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,336,_ctx);
|
|
|
+ while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
|
|
+ if ( _alt==1 ) {
|
|
|
+ {
|
|
|
+ setState(2934);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch (_input.LA(1)) {
|
|
|
+ case INC:
|
|
|
+ {
|
|
|
+ setState(2932);
|
|
|
+ postIncrementExpression_lf_postfixExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case DEC:
|
|
|
+ {
|
|
|
+ setState(2933);
|
|
|
+ postDecrementExpression_lf_postfixExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ throw new NoViableAltException(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2938);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _alt = getInterpreter().adaptivePredict(_input,336,_ctx);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PostIncrementExpressionContext extends ParserRuleContext {
|
|
|
+ public PostfixExpressionContext postfixExpression() {
|
|
|
+ return getRuleContext(PostfixExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode INC() { return getToken(Java9Parser.INC, 0); }
|
|
|
+ public PostIncrementExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_postIncrementExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPostIncrementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPostIncrementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPostIncrementExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PostIncrementExpressionContext postIncrementExpression() throws RecognitionException {
|
|
|
+ PostIncrementExpressionContext _localctx = new PostIncrementExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 478, RULE_postIncrementExpression);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2939);
|
|
|
+ postfixExpression();
|
|
|
+ setState(2940);
|
|
|
+ match(INC);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PostIncrementExpression_lf_postfixExpressionContext extends ParserRuleContext {
|
|
|
+ public TerminalNode INC() { return getToken(Java9Parser.INC, 0); }
|
|
|
+ public PostIncrementExpression_lf_postfixExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_postIncrementExpression_lf_postfixExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPostIncrementExpression_lf_postfixExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPostIncrementExpression_lf_postfixExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPostIncrementExpression_lf_postfixExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PostIncrementExpression_lf_postfixExpressionContext postIncrementExpression_lf_postfixExpression() throws RecognitionException {
|
|
|
+ PostIncrementExpression_lf_postfixExpressionContext _localctx = new PostIncrementExpression_lf_postfixExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 480, RULE_postIncrementExpression_lf_postfixExpression);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2942);
|
|
|
+ match(INC);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PostDecrementExpressionContext extends ParserRuleContext {
|
|
|
+ public PostfixExpressionContext postfixExpression() {
|
|
|
+ return getRuleContext(PostfixExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode DEC() { return getToken(Java9Parser.DEC, 0); }
|
|
|
+ public PostDecrementExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_postDecrementExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPostDecrementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPostDecrementExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPostDecrementExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PostDecrementExpressionContext postDecrementExpression() throws RecognitionException {
|
|
|
+ PostDecrementExpressionContext _localctx = new PostDecrementExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 482, RULE_postDecrementExpression);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2944);
|
|
|
+ postfixExpression();
|
|
|
+ setState(2945);
|
|
|
+ match(DEC);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class PostDecrementExpression_lf_postfixExpressionContext extends ParserRuleContext {
|
|
|
+ public TerminalNode DEC() { return getToken(Java9Parser.DEC, 0); }
|
|
|
+ public PostDecrementExpression_lf_postfixExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_postDecrementExpression_lf_postfixExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterPostDecrementExpression_lf_postfixExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitPostDecrementExpression_lf_postfixExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitPostDecrementExpression_lf_postfixExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final PostDecrementExpression_lf_postfixExpressionContext postDecrementExpression_lf_postfixExpression() throws RecognitionException {
|
|
|
+ PostDecrementExpression_lf_postfixExpressionContext _localctx = new PostDecrementExpression_lf_postfixExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 484, RULE_postDecrementExpression_lf_postfixExpression);
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2947);
|
|
|
+ match(DEC);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class CastExpressionContext extends ParserRuleContext {
|
|
|
+ public TerminalNode LPAREN() { return getToken(Java9Parser.LPAREN, 0); }
|
|
|
+ public PrimitiveTypeContext primitiveType() {
|
|
|
+ return getRuleContext(PrimitiveTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public TerminalNode RPAREN() { return getToken(Java9Parser.RPAREN, 0); }
|
|
|
+ public UnaryExpressionContext unaryExpression() {
|
|
|
+ return getRuleContext(UnaryExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public ReferenceTypeContext referenceType() {
|
|
|
+ return getRuleContext(ReferenceTypeContext.class,0);
|
|
|
+ }
|
|
|
+ public UnaryExpressionNotPlusMinusContext unaryExpressionNotPlusMinus() {
|
|
|
+ return getRuleContext(UnaryExpressionNotPlusMinusContext.class,0);
|
|
|
+ }
|
|
|
+ public List<AdditionalBoundContext> additionalBound() {
|
|
|
+ return getRuleContexts(AdditionalBoundContext.class);
|
|
|
+ }
|
|
|
+ public AdditionalBoundContext additionalBound(int i) {
|
|
|
+ return getRuleContext(AdditionalBoundContext.class,i);
|
|
|
+ }
|
|
|
+ public LambdaExpressionContext lambdaExpression() {
|
|
|
+ return getRuleContext(LambdaExpressionContext.class,0);
|
|
|
+ }
|
|
|
+ public CastExpressionContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_castExpression; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterCastExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitCastExpression(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitCastExpression(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final CastExpressionContext castExpression() throws RecognitionException {
|
|
|
+ CastExpressionContext _localctx = new CastExpressionContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 486, RULE_castExpression);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ setState(2976);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ switch ( getInterpreter().adaptivePredict(_input,339,_ctx) ) {
|
|
|
+ case 1:
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2949);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2950);
|
|
|
+ primitiveType();
|
|
|
+ setState(2951);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2952);
|
|
|
+ unaryExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ enterOuterAlt(_localctx, 2);
|
|
|
+ {
|
|
|
+ setState(2954);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2955);
|
|
|
+ referenceType();
|
|
|
+ setState(2959);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==BITAND) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2956);
|
|
|
+ additionalBound();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2961);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2962);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2963);
|
|
|
+ unaryExpressionNotPlusMinus();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ enterOuterAlt(_localctx, 3);
|
|
|
+ {
|
|
|
+ setState(2965);
|
|
|
+ match(LPAREN);
|
|
|
+ setState(2966);
|
|
|
+ referenceType();
|
|
|
+ setState(2970);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ while (_la==BITAND) {
|
|
|
+ {
|
|
|
+ {
|
|
|
+ setState(2967);
|
|
|
+ additionalBound();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ setState(2972);
|
|
|
+ _errHandler.sync(this);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ }
|
|
|
+ setState(2973);
|
|
|
+ match(RPAREN);
|
|
|
+ setState(2974);
|
|
|
+ lambdaExpression();
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class IdentifierContext extends ParserRuleContext {
|
|
|
+ public TerminalNode Identifier() { return getToken(Java9Parser.Identifier, 0); }
|
|
|
+ public IdentifierContext(ParserRuleContext parent, int invokingState) {
|
|
|
+ super(parent, invokingState);
|
|
|
+ }
|
|
|
+ @Override public int getRuleIndex() { return RULE_identifier; }
|
|
|
+ @Override
|
|
|
+ public void enterRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).enterIdentifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public void exitRule(ParseTreeListener listener) {
|
|
|
+ if ( listener instanceof Java9Listener ) ((Java9Listener)listener).exitIdentifier(this);
|
|
|
+ }
|
|
|
+ @Override
|
|
|
+ public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
|
|
+ if ( visitor instanceof Java9Visitor ) return ((Java9Visitor<? extends T>)visitor).visitIdentifier(this);
|
|
|
+ else return visitor.visitChildren(this);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public final IdentifierContext identifier() throws RecognitionException {
|
|
|
+ IdentifierContext _localctx = new IdentifierContext(_ctx, getState());
|
|
|
+ enterRule(_localctx, 488, RULE_identifier);
|
|
|
+ int _la;
|
|
|
+ try {
|
|
|
+ enterOuterAlt(_localctx, 1);
|
|
|
+ {
|
|
|
+ setState(2978);
|
|
|
+ _la = _input.LA(1);
|
|
|
+ if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__3) | (1L << T__4) | (1L << T__5) | (1L << T__6) | (1L << T__7) | (1L << T__8))) != 0) || _la==Identifier) ) {
|
|
|
+ _errHandler.recoverInline(this);
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
|
|
|
+ _errHandler.reportMatch(this);
|
|
|
+ consume();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (RecognitionException re) {
|
|
|
+ _localctx.exception = re;
|
|
|
+ _errHandler.reportError(this, re);
|
|
|
+ _errHandler.recover(this, re);
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ exitRule();
|
|
|
+ }
|
|
|
+ return _localctx;
|
|
|
+ }
|
|
|
+
|
|
|
+ public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
|
|
|
+ switch (ruleIndex) {
|
|
|
+ case 25:
|
|
|
+ return moduleName_sempred((ModuleNameContext)_localctx, predIndex);
|
|
|
+ case 26:
|
|
|
+ return packageName_sempred((PackageNameContext)_localctx, predIndex);
|
|
|
+ case 28:
|
|
|
+ return packageOrTypeName_sempred((PackageOrTypeNameContext)_localctx, predIndex);
|
|
|
+ case 31:
|
|
|
+ return ambiguousName_sempred((AmbiguousNameContext)_localctx, predIndex);
|
|
|
+ case 224:
|
|
|
+ return conditionalOrExpression_sempred((ConditionalOrExpressionContext)_localctx, predIndex);
|
|
|
+ case 225:
|
|
|
+ return conditionalAndExpression_sempred((ConditionalAndExpressionContext)_localctx, predIndex);
|
|
|
+ case 226:
|
|
|
+ return inclusiveOrExpression_sempred((InclusiveOrExpressionContext)_localctx, predIndex);
|
|
|
+ case 227:
|
|
|
+ return exclusiveOrExpression_sempred((ExclusiveOrExpressionContext)_localctx, predIndex);
|
|
|
+ case 228:
|
|
|
+ return andExpression_sempred((AndExpressionContext)_localctx, predIndex);
|
|
|
+ case 229:
|
|
|
+ return equalityExpression_sempred((EqualityExpressionContext)_localctx, predIndex);
|
|
|
+ case 230:
|
|
|
+ return relationalExpression_sempred((RelationalExpressionContext)_localctx, predIndex);
|
|
|
+ case 231:
|
|
|
+ return shiftExpression_sempred((ShiftExpressionContext)_localctx, predIndex);
|
|
|
+ case 232:
|
|
|
+ return additiveExpression_sempred((AdditiveExpressionContext)_localctx, predIndex);
|
|
|
+ case 233:
|
|
|
+ return multiplicativeExpression_sempred((MultiplicativeExpressionContext)_localctx, predIndex);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean moduleName_sempred(ModuleNameContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 0:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean packageName_sempred(PackageNameContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 1:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean packageOrTypeName_sempred(PackageOrTypeNameContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 2:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean ambiguousName_sempred(AmbiguousNameContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 3:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean conditionalOrExpression_sempred(ConditionalOrExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 4:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean conditionalAndExpression_sempred(ConditionalAndExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 5:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean inclusiveOrExpression_sempred(InclusiveOrExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 6:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean exclusiveOrExpression_sempred(ExclusiveOrExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 7:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean andExpression_sempred(AndExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 8:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean equalityExpression_sempred(EqualityExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 9:
|
|
|
+ return precpred(_ctx, 2);
|
|
|
+ case 10:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean relationalExpression_sempred(RelationalExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 11:
|
|
|
+ return precpred(_ctx, 5);
|
|
|
+ case 12:
|
|
|
+ return precpred(_ctx, 4);
|
|
|
+ case 13:
|
|
|
+ return precpred(_ctx, 3);
|
|
|
+ case 14:
|
|
|
+ return precpred(_ctx, 2);
|
|
|
+ case 15:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean shiftExpression_sempred(ShiftExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 16:
|
|
|
+ return precpred(_ctx, 3);
|
|
|
+ case 17:
|
|
|
+ return precpred(_ctx, 2);
|
|
|
+ case 18:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean additiveExpression_sempred(AdditiveExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 19:
|
|
|
+ return precpred(_ctx, 2);
|
|
|
+ case 20:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ private boolean multiplicativeExpression_sempred(MultiplicativeExpressionContext _localctx, int predIndex) {
|
|
|
+ switch (predIndex) {
|
|
|
+ case 21:
|
|
|
+ return precpred(_ctx, 3);
|
|
|
+ case 22:
|
|
|
+ return precpred(_ctx, 2);
|
|
|
+ case 23:
|
|
|
+ return precpred(_ctx, 1);
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
+ private static final int _serializedATNSegments = 2;
|
|
|
+ private static final String _serializedATNSegment0 =
|
|
|
+ "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3x\u0ba7\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\4i\ti\4j\tj\4k\t"+
|
|
|
+ "k\4l\tl\4m\tm\4n\tn\4o\to\4p\tp\4q\tq\4r\tr\4s\ts\4t\tt\4u\tu\4v\tv\4"+
|
|
|
+ "w\tw\4x\tx\4y\ty\4z\tz\4{\t{\4|\t|\4}\t}\4~\t~\4\177\t\177\4\u0080\t\u0080"+
|
|
|
+ "\4\u0081\t\u0081\4\u0082\t\u0082\4\u0083\t\u0083\4\u0084\t\u0084\4\u0085"+
|
|
|
+ "\t\u0085\4\u0086\t\u0086\4\u0087\t\u0087\4\u0088\t\u0088\4\u0089\t\u0089"+
|
|
|
+ "\4\u008a\t\u008a\4\u008b\t\u008b\4\u008c\t\u008c\4\u008d\t\u008d\4\u008e"+
|
|
|
+ "\t\u008e\4\u008f\t\u008f\4\u0090\t\u0090\4\u0091\t\u0091\4\u0092\t\u0092"+
|
|
|
+ "\4\u0093\t\u0093\4\u0094\t\u0094\4\u0095\t\u0095\4\u0096\t\u0096\4\u0097"+
|
|
|
+ "\t\u0097\4\u0098\t\u0098\4\u0099\t\u0099\4\u009a\t\u009a\4\u009b\t\u009b"+
|
|
|
+ "\4\u009c\t\u009c\4\u009d\t\u009d\4\u009e\t\u009e\4\u009f\t\u009f\4\u00a0"+
|
|
|
+ "\t\u00a0\4\u00a1\t\u00a1\4\u00a2\t\u00a2\4\u00a3\t\u00a3\4\u00a4\t\u00a4"+
|
|
|
+ "\4\u00a5\t\u00a5\4\u00a6\t\u00a6\4\u00a7\t\u00a7\4\u00a8\t\u00a8\4\u00a9"+
|
|
|
+ "\t\u00a9\4\u00aa\t\u00aa\4\u00ab\t\u00ab\4\u00ac\t\u00ac\4\u00ad\t\u00ad"+
|
|
|
+ "\4\u00ae\t\u00ae\4\u00af\t\u00af\4\u00b0\t\u00b0\4\u00b1\t\u00b1\4\u00b2"+
|
|
|
+ "\t\u00b2\4\u00b3\t\u00b3\4\u00b4\t\u00b4\4\u00b5\t\u00b5\4\u00b6\t\u00b6"+
|
|
|
+ "\4\u00b7\t\u00b7\4\u00b8\t\u00b8\4\u00b9\t\u00b9\4\u00ba\t\u00ba\4\u00bb"+
|
|
|
+ "\t\u00bb\4\u00bc\t\u00bc\4\u00bd\t\u00bd\4\u00be\t\u00be\4\u00bf\t\u00bf"+
|
|
|
+ "\4\u00c0\t\u00c0\4\u00c1\t\u00c1\4\u00c2\t\u00c2\4\u00c3\t\u00c3\4\u00c4"+
|
|
|
+ "\t\u00c4\4\u00c5\t\u00c5\4\u00c6\t\u00c6\4\u00c7\t\u00c7\4\u00c8\t\u00c8"+
|
|
|
+ "\4\u00c9\t\u00c9\4\u00ca\t\u00ca\4\u00cb\t\u00cb\4\u00cc\t\u00cc\4\u00cd"+
|
|
|
+ "\t\u00cd\4\u00ce\t\u00ce\4\u00cf\t\u00cf\4\u00d0\t\u00d0\4\u00d1\t\u00d1"+
|
|
|
+ "\4\u00d2\t\u00d2\4\u00d3\t\u00d3\4\u00d4\t\u00d4\4\u00d5\t\u00d5\4\u00d6"+
|
|
|
+ "\t\u00d6\4\u00d7\t\u00d7\4\u00d8\t\u00d8\4\u00d9\t\u00d9\4\u00da\t\u00da"+
|
|
|
+ "\4\u00db\t\u00db\4\u00dc\t\u00dc\4\u00dd\t\u00dd\4\u00de\t\u00de\4\u00df"+
|
|
|
+ "\t\u00df\4\u00e0\t\u00e0\4\u00e1\t\u00e1\4\u00e2\t\u00e2\4\u00e3\t\u00e3"+
|
|
|
+ "\4\u00e4\t\u00e4\4\u00e5\t\u00e5\4\u00e6\t\u00e6\4\u00e7\t\u00e7\4\u00e8"+
|
|
|
+ "\t\u00e8\4\u00e9\t\u00e9\4\u00ea\t\u00ea\4\u00eb\t\u00eb\4\u00ec\t\u00ec"+
|
|
|
+ "\4\u00ed\t\u00ed\4\u00ee\t\u00ee\4\u00ef\t\u00ef\4\u00f0\t\u00f0\4\u00f1"+
|
|
|
+ "\t\u00f1\4\u00f2\t\u00f2\4\u00f3\t\u00f3\4\u00f4\t\u00f4\4\u00f5\t\u00f5"+
|
|
|
+ "\4\u00f6\t\u00f6\3\2\3\2\3\3\7\3\u01f0\n\3\f\3\16\3\u01f3\13\3\3\3\3\3"+
|
|
|
+ "\7\3\u01f7\n\3\f\3\16\3\u01fa\13\3\3\3\5\3\u01fd\n\3\3\4\3\4\5\4\u0201"+
|
|
|
+ "\n\4\3\5\3\5\3\6\3\6\3\7\3\7\3\7\5\7\u020a\n\7\3\b\3\b\5\b\u020e\n\b\3"+
|
|
|
+ "\b\3\b\7\b\u0212\n\b\f\b\16\b\u0215\13\b\3\t\7\t\u0218\n\t\f\t\16\t\u021b"+
|
|
|
+ "\13\t\3\t\3\t\5\t\u021f\n\t\3\t\3\t\3\t\7\t\u0224\n\t\f\t\16\t\u0227\13"+
|
|
|
+ "\t\3\t\3\t\5\t\u022b\n\t\5\t\u022d\n\t\3\n\3\n\7\n\u0231\n\n\f\n\16\n"+
|
|
|
+ "\u0234\13\n\3\n\3\n\5\n\u0238\n\n\3\13\7\13\u023b\n\13\f\13\16\13\u023e"+
|
|
|
+ "\13\13\3\13\3\13\5\13\u0242\n\13\3\f\3\f\3\r\3\r\3\16\3\16\3\17\7\17\u024b"+
|
|
|
+ "\n\17\f\17\16\17\u024e\13\17\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3\20\3"+
|
|
|
+ "\20\3\20\3\20\5\20\u025b\n\20\3\21\7\21\u025e\n\21\f\21\16\21\u0261\13"+
|
|
|
+ "\21\3\21\3\21\3\21\7\21\u0266\n\21\f\21\16\21\u0269\13\21\3\21\3\21\7"+
|
|
|
+ "\21\u026d\n\21\f\21\16\21\u0270\13\21\3\22\7\22\u0273\n\22\f\22\16\22"+
|
|
|
+ "\u0276\13\22\3\22\3\22\5\22\u027a\n\22\3\23\3\23\3\24\3\24\3\24\3\24\3"+
|
|
|
+ "\24\7\24\u0283\n\24\f\24\16\24\u0286\13\24\5\24\u0288\n\24\3\25\3\25\3"+
|
|
|
+ "\25\3\26\3\26\3\26\3\26\3\27\3\27\3\27\7\27\u0294\n\27\f\27\16\27\u0297"+
|
|
|
+ "\13\27\3\30\3\30\5\30\u029b\n\30\3\31\7\31\u029e\n\31\f\31\16\31\u02a1"+
|
|
|
+ "\13\31\3\31\3\31\5\31\u02a5\n\31\3\32\3\32\3\32\3\32\5\32\u02ab\n\32\3"+
|
|
|
+ "\33\3\33\3\33\3\33\3\33\3\33\7\33\u02b3\n\33\f\33\16\33\u02b6\13\33\3"+
|
|
|
+ "\34\3\34\3\34\3\34\3\34\3\34\7\34\u02be\n\34\f\34\16\34\u02c1\13\34\3"+
|
|
|
+ "\35\3\35\3\35\3\35\3\35\5\35\u02c8\n\35\3\36\3\36\3\36\3\36\3\36\3\36"+
|
|
|
+ "\7\36\u02d0\n\36\f\36\16\36\u02d3\13\36\3\37\3\37\3\37\3\37\3\37\5\37"+
|
|
|
+ "\u02da\n\37\3 \3 \3!\3!\3!\3!\3!\3!\7!\u02e4\n!\f!\16!\u02e7\13!\3\"\3"+
|
|
|
+ "\"\5\"\u02eb\n\"\3#\5#\u02ee\n#\3#\7#\u02f1\n#\f#\16#\u02f4\13#\3#\7#"+
|
|
|
+ "\u02f7\n#\f#\16#\u02fa\13#\3#\3#\3$\7$\u02ff\n$\f$\16$\u0302\13$\3$\3"+
|
|
|
+ "$\3%\7%\u0307\n%\f%\16%\u030a\13%\3%\3%\3%\3%\3&\3&\3\'\3\'\3\'\3\'\5"+
|
|
|
+ "\'\u0316\n\'\3(\3(\3(\3(\3)\3)\3)\3)\3)\3)\3*\3*\3*\3*\3*\3*\3*\3+\3+"+
|
|
|
+ "\3+\3+\3+\3+\3+\3,\3,\3,\5,\u0333\n,\3-\7-\u0336\n-\f-\16-\u0339\13-\3"+
|
|
|
+ "-\5-\u033c\n-\3-\3-\3-\3-\7-\u0342\n-\f-\16-\u0345\13-\3-\3-\3.\3.\7."+
|
|
|
+ "\u034b\n.\f.\16.\u034e\13.\3.\3.\3.\3.\3.\3.\3.\3.\3.\7.\u0359\n.\f.\16"+
|
|
|
+ ".\u035c\13.\5.\u035e\n.\3.\3.\3.\3.\3.\3.\3.\3.\7.\u0368\n.\f.\16.\u036b"+
|
|
|
+ "\13.\5.\u036d\n.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\7.\u037b\n.\f.\16"+
|
|
|
+ ".\u037e\13.\3.\3.\5.\u0382\n.\3/\3/\3\60\3\60\5\60\u0388\n\60\3\61\7\61"+
|
|
|
+ "\u038b\n\61\f\61\16\61\u038e\13\61\3\61\3\61\3\61\5\61\u0393\n\61\3\61"+
|
|
|
+ "\5\61\u0396\n\61\3\61\5\61\u0399\n\61\3\61\3\61\3\62\3\62\3\62\3\62\3"+
|
|
|
+ "\62\3\62\3\62\3\62\5\62\u03a5\n\62\3\63\3\63\3\63\3\63\3\64\3\64\3\64"+
|
|
|
+ "\7\64\u03ae\n\64\f\64\16\64\u03b1\13\64\3\65\3\65\3\65\3\66\3\66\3\66"+
|
|
|
+ "\3\67\3\67\3\67\7\67\u03bc\n\67\f\67\16\67\u03bf\13\67\38\38\78\u03c3"+
|
|
|
+ "\n8\f8\168\u03c6\138\38\38\39\39\39\39\59\u03ce\n9\3:\3:\3:\3:\3:\5:\u03d5"+
|
|
|
+ "\n:\3;\7;\u03d8\n;\f;\16;\u03db\13;\3;\3;\3;\3;\3<\3<\3<\3<\3<\3<\3<\3"+
|
|
|
+ "<\5<\u03e9\n<\3=\3=\3=\7=\u03ee\n=\f=\16=\u03f1\13=\3>\3>\3>\5>\u03f6"+
|
|
|
+ "\n>\3?\3?\5?\u03fa\n?\3@\3@\5@\u03fe\n@\3A\3A\5A\u0402\nA\3B\3B\5B\u0406"+
|
|
|
+ "\nB\3C\3C\3C\5C\u040b\nC\3D\3D\5D\u040f\nD\3D\3D\7D\u0413\nD\fD\16D\u0416"+
|
|
|
+ "\13D\3E\3E\5E\u041a\nE\3E\3E\3E\7E\u041f\nE\fE\16E\u0422\13E\3E\3E\5E"+
|
|
|
+ "\u0426\nE\5E\u0428\nE\3F\3F\7F\u042c\nF\fF\16F\u042f\13F\3F\3F\5F\u0433"+
|
|
|
+ "\nF\3G\3G\5G\u0437\nG\3H\3H\3I\3I\3J\3J\3K\3K\3L\3L\3L\3L\3L\3L\3L\3L"+
|
|
|
+ "\3L\5L\u044a\nL\3M\7M\u044d\nM\fM\16M\u0450\13M\3M\3M\3M\3N\3N\3N\3N\3"+
|
|
|
+ "N\3N\3N\3N\3N\3N\5N\u045f\nN\3O\3O\3O\5O\u0464\nO\3O\3O\7O\u0468\nO\f"+
|
|
|
+ "O\16O\u046b\13O\3O\3O\3O\5O\u0470\nO\5O\u0472\nO\3P\3P\5P\u0476\nP\3Q"+
|
|
|
+ "\3Q\3Q\5Q\u047b\nQ\3Q\3Q\5Q\u047f\nQ\3R\3R\3R\3R\3R\3R\5R\u0487\nR\3S"+
|
|
|
+ "\3S\3S\7S\u048c\nS\fS\16S\u048f\13S\3S\3S\3S\7S\u0494\nS\fS\16S\u0497"+
|
|
|
+ "\13S\5S\u0499\nS\3T\7T\u049c\nT\fT\16T\u049f\13T\3T\3T\3T\3U\3U\5U\u04a6"+
|
|
|
+ "\nU\3V\7V\u04a9\nV\fV\16V\u04ac\13V\3V\3V\7V\u04b0\nV\fV\16V\u04b3\13"+
|
|
|
+ "V\3V\3V\3V\3V\5V\u04b9\nV\3W\7W\u04bc\nW\fW\16W\u04bf\13W\3W\3W\3W\3W"+
|
|
|
+ "\5W\u04c5\nW\3W\3W\3X\3X\3X\3Y\3Y\3Y\7Y\u04cf\nY\fY\16Y\u04d2\13Y\3Z\3"+
|
|
|
+ "Z\5Z\u04d6\nZ\3[\3[\5[\u04da\n[\3\\\3\\\3]\3]\3]\3^\7^\u04e2\n^\f^\16"+
|
|
|
+ "^\u04e5\13^\3^\3^\5^\u04e9\n^\3^\3^\3_\3_\3_\3_\5_\u04f1\n_\3`\5`\u04f4"+
|
|
|
+ "\n`\3`\3`\3`\5`\u04f9\n`\3`\3`\3a\3a\3b\3b\5b\u0501\nb\3b\5b\u0504\nb"+
|
|
|
+ "\3b\3b\3c\5c\u0509\nc\3c\3c\3c\5c\u050e\nc\3c\3c\3c\5c\u0513\nc\3c\3c"+
|
|
|
+ "\3c\5c\u0518\nc\3c\3c\3c\3c\3c\5c\u051f\nc\3c\3c\3c\5c\u0524\nc\3c\3c"+
|
|
|
+ "\3c\3c\3c\3c\5c\u052c\nc\3c\3c\3c\5c\u0531\nc\3c\3c\3c\5c\u0536\nc\3d"+
|
|
|
+ "\7d\u0539\nd\fd\16d\u053c\13d\3d\3d\3d\5d\u0541\nd\3d\3d\3e\3e\5e\u0547"+
|
|
|
+ "\ne\3e\5e\u054a\ne\3e\5e\u054d\ne\3e\3e\3f\3f\3f\7f\u0554\nf\ff\16f\u0557"+
|
|
|
+ "\13f\3g\7g\u055a\ng\fg\16g\u055d\13g\3g\3g\3g\5g\u0562\ng\3g\5g\u0565"+
|
|
|
+ "\ng\3g\5g\u0568\ng\3h\3h\3i\3i\7i\u056e\ni\fi\16i\u0571\13i\3j\3j\5j\u0575"+
|
|
|
+ "\nj\3k\7k\u0578\nk\fk\16k\u057b\13k\3k\3k\3k\5k\u0580\nk\3k\5k\u0583\n"+
|
|
|
+ "k\3k\3k\3l\3l\3l\3l\3l\3l\3l\5l\u058e\nl\3m\3m\3m\3n\3n\7n\u0595\nn\f"+
|
|
|
+ "n\16n\u0598\13n\3n\3n\3o\3o\3o\3o\3o\5o\u05a1\no\3p\7p\u05a4\np\fp\16"+
|
|
|
+ "p\u05a7\13p\3p\3p\3p\3p\3q\3q\3q\3q\5q\u05b1\nq\3r\7r\u05b4\nr\fr\16r"+
|
|
|
+ "\u05b7\13r\3r\3r\3r\3s\3s\3s\3s\3s\3s\3s\5s\u05c3\ns\3t\7t\u05c6\nt\f"+
|
|
|
+ "t\16t\u05c9\13t\3t\3t\3t\3t\3t\3u\3u\7u\u05d2\nu\fu\16u\u05d5\13u\3u\3"+
|
|
|
+ "u\3v\3v\3v\3v\3v\5v\u05de\nv\3w\7w\u05e1\nw\fw\16w\u05e4\13w\3w\3w\3w"+
|
|
|
+ "\3w\3w\5w\u05eb\nw\3w\5w\u05ee\nw\3w\3w\3x\3x\3x\5x\u05f5\nx\3y\3y\3y"+
|
|
|
+ "\3z\3z\3z\5z\u05fd\nz\3{\3{\3{\3{\5{\u0603\n{\3{\3{\3|\3|\3|\7|\u060a"+
|
|
|
+ "\n|\f|\16|\u060d\13|\3}\3}\3}\3}\3~\3~\3~\5~\u0616\n~\3\177\3\177\5\177"+
|
|
|
+ "\u061a\n\177\3\177\5\177\u061d\n\177\3\177\3\177\3\u0080\3\u0080\3\u0080"+
|
|
|
+ "\7\u0080\u0624\n\u0080\f\u0080\16\u0080\u0627\13\u0080\3\u0081\3\u0081"+
|
|
|
+ "\3\u0081\3\u0082\3\u0082\3\u0082\3\u0082\3\u0082\3\u0082\3\u0083\3\u0083"+
|
|
|
+ "\5\u0083\u0634\n\u0083\3\u0083\5\u0083\u0637\n\u0083\3\u0083\3\u0083\3"+
|
|
|
+ "\u0084\3\u0084\3\u0084\7\u0084\u063e\n\u0084\f\u0084\16\u0084\u0641\13"+
|
|
|
+ "\u0084\3\u0085\3\u0085\5\u0085\u0645\n\u0085\3\u0085\3\u0085\3\u0086\6"+
|
|
|
+ "\u0086\u064a\n\u0086\r\u0086\16\u0086\u064b\3\u0087\3\u0087\3\u0087\5"+
|
|
|
+ "\u0087\u0651\n\u0087\3\u0088\3\u0088\3\u0088\3\u0089\7\u0089\u0657\n\u0089"+
|
|
|
+ "\f\u0089\16\u0089\u065a\13\u0089\3\u0089\3\u0089\3\u0089\3\u008a\3\u008a"+
|
|
|
+ "\3\u008a\3\u008a\3\u008a\3\u008a\5\u008a\u0665\n\u008a\3\u008b\3\u008b"+
|
|
|
+ "\3\u008b\3\u008b\3\u008b\5\u008b\u066c\n\u008b\3\u008c\3\u008c\3\u008c"+
|
|
|
+ "\3\u008c\3\u008c\3\u008c\3\u008c\3\u008c\3\u008c\3\u008c\3\u008c\3\u008c"+
|
|
|
+ "\5\u008c\u067a\n\u008c\3\u008d\3\u008d\3\u008e\3\u008e\3\u008e\3\u008e"+
|
|
|
+ "\3\u008f\3\u008f\3\u008f\3\u008f\3\u0090\3\u0090\3\u0090\3\u0091\3\u0091"+
|
|
|
+ "\3\u0091\3\u0091\3\u0091\3\u0091\3\u0091\5\u0091\u0690\n\u0091\3\u0092"+
|
|
|
+ "\3\u0092\3\u0092\3\u0092\3\u0092\3\u0092\3\u0093\3\u0093\3\u0093\3\u0093"+
|
|
|
+ "\3\u0093\3\u0093\3\u0093\3\u0093\3\u0094\3\u0094\3\u0094\3\u0094\3\u0094"+
|
|
|
+ "\3\u0094\3\u0094\3\u0094\3\u0095\3\u0095\3\u0095\3\u0095\3\u0095\3\u0095"+
|
|
|
+ "\3\u0095\3\u0095\3\u0095\3\u0095\5\u0095\u06b2\n\u0095\3\u0096\3\u0096"+
|
|
|
+ "\3\u0096\3\u0096\3\u0096\3\u0096\3\u0097\3\u0097\7\u0097\u06bc\n\u0097"+
|
|
|
+ "\f\u0097\16\u0097\u06bf\13\u0097\3\u0097\7\u0097\u06c2\n\u0097\f\u0097"+
|
|
|
+ "\16\u0097\u06c5\13\u0097\3\u0097\3\u0097\3\u0098\3\u0098\3\u0098\3\u0099"+
|
|
|
+ "\6\u0099\u06cd\n\u0099\r\u0099\16\u0099\u06ce\3\u009a\3\u009a\3\u009a"+
|
|
|
+ "\3\u009a\3\u009a\3\u009a\3\u009a\3\u009a\3\u009a\3\u009a\5\u009a\u06db"+
|
|
|
+ "\n\u009a\3\u009b\3\u009b\3\u009c\3\u009c\3\u009c\3\u009c\3\u009c\3\u009c"+
|
|
|
+ "\3\u009d\3\u009d\3\u009d\3\u009d\3\u009d\3\u009d\3\u009e\3\u009e\3\u009e"+
|
|
|
+ "\3\u009e\3\u009e\3\u009e\3\u009e\3\u009e\3\u009f\3\u009f\5\u009f\u06f5"+
|
|
|
+ "\n\u009f\3\u00a0\3\u00a0\5\u00a0\u06f9\n\u00a0\3\u00a1\3\u00a1\3\u00a1"+
|
|
|
+ "\5\u00a1\u06fe\n\u00a1\3\u00a1\3\u00a1\5\u00a1\u0702\n\u00a1\3\u00a1\3"+
|
|
|
+ "\u00a1\5\u00a1\u0706\n\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a2\3\u00a2\3"+
|
|
|
+ "\u00a2\5\u00a2\u070e\n\u00a2\3\u00a2\3\u00a2\5\u00a2\u0712\n\u00a2\3\u00a2"+
|
|
|
+ "\3\u00a2\5\u00a2\u0716\n\u00a2\3\u00a2\3\u00a2\3\u00a2\3\u00a3\3\u00a3"+
|
|
|
+ "\5\u00a3\u071d\n\u00a3\3\u00a4\3\u00a4\3\u00a5\3\u00a5\3\u00a5\7\u00a5"+
|
|
|
+ "\u0724\n\u00a5\f\u00a5\16\u00a5\u0727\13\u00a5\3\u00a6\3\u00a6\3\u00a6"+
|
|
|
+ "\7\u00a6\u072c\n\u00a6\f\u00a6\16\u00a6\u072f\13\u00a6\3\u00a6\3\u00a6"+
|
|
|
+ "\3\u00a6\3\u00a6\3\u00a6\3\u00a6\3\u00a6\3\u00a7\3\u00a7\3\u00a7\7\u00a7"+
|
|
|
+ "\u073b\n\u00a7\f\u00a7\16\u00a7\u073e\13\u00a7\3\u00a7\3\u00a7\3\u00a7"+
|
|
|
+ "\3\u00a7\3\u00a7\3\u00a7\3\u00a7\3\u00a8\3\u00a8\5\u00a8\u0749\n\u00a8"+
|
|
|
+ "\3\u00a8\3\u00a8\3\u00a9\3\u00a9\5\u00a9\u074f\n\u00a9\3\u00a9\3\u00a9"+
|
|
|
+ "\3\u00aa\3\u00aa\5\u00aa\u0755\n\u00aa\3\u00aa\3\u00aa\3\u00ab\3\u00ab"+
|
|
|
+ "\3\u00ab\3\u00ab\3\u00ac\3\u00ac\3\u00ac\3\u00ac\3\u00ac\3\u00ac\3\u00ad"+
|
|
|
+ "\3\u00ad\3\u00ad\3\u00ad\3\u00ad\3\u00ad\3\u00ad\5\u00ad\u076a\n\u00ad"+
|
|
|
+ "\3\u00ad\3\u00ad\3\u00ad\5\u00ad\u076f\n\u00ad\3\u00ae\6\u00ae\u0772\n"+
|
|
|
+ "\u00ae\r\u00ae\16\u00ae\u0773\3\u00af\3\u00af\3\u00af\3\u00af\3\u00af"+
|
|
|
+ "\3\u00af\3\u00b0\7\u00b0\u077d\n\u00b0\f\u00b0\16\u00b0\u0780\13\u00b0"+
|
|
|
+ "\3\u00b0\3\u00b0\3\u00b0\3\u00b1\3\u00b1\3\u00b1\7\u00b1\u0788\n\u00b1"+
|
|
|
+ "\f\u00b1\16\u00b1\u078b\13\u00b1\3\u00b2\3\u00b2\3\u00b2\3\u00b3\3\u00b3"+
|
|
|
+ "\3\u00b3\3\u00b3\5\u00b3\u0794\n\u00b3\3\u00b3\5\u00b3\u0797\n\u00b3\3"+
|
|
|
+ "\u00b4\3\u00b4\3\u00b4\5\u00b4\u079c\n\u00b4\3\u00b4\3\u00b4\3\u00b5\3"+
|
|
|
+ "\u00b5\3\u00b5\7\u00b5\u07a3\n\u00b5\f\u00b5\16\u00b5\u07a6\13\u00b5\3"+
|
|
|
+ "\u00b6\7\u00b6\u07a9\n\u00b6\f\u00b6\16\u00b6\u07ac\13\u00b6\3\u00b6\3"+
|
|
|
+ "\u00b6\3\u00b6\3\u00b6\3\u00b6\3\u00b6\5\u00b6\u07b4\n\u00b6\3\u00b7\3"+
|
|
|
+ "\u00b7\5\u00b7\u07b8\n\u00b7\3\u00b8\3\u00b8\5\u00b8\u07bc\n\u00b8\3\u00b8"+
|
|
|
+ "\7\u00b8\u07bf\n\u00b8\f\u00b8\16\u00b8\u07c2\13\u00b8\3\u00b9\3\u00b9"+
|
|
|
+ "\3\u00b9\3\u00b9\3\u00b9\3\u00b9\3\u00b9\3\u00b9\3\u00b9\3\u00b9\3\u00b9"+
|
|
|
+ "\3\u00b9\3\u00b9\3\u00b9\3\u00b9\3\u00b9\5\u00b9\u07d4\n\u00b9\3\u00ba"+
|
|
|
+ "\3\u00ba\3\u00bb\3\u00bb\3\u00bb\3\u00bb\7\u00bb\u07dc\n\u00bb\f\u00bb"+
|
|
|
+ "\16\u00bb\u07df\13\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb"+
|
|
|
+ "\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb"+
|
|
|
+ "\3\u00bb\3\u00bb\3\u00bb\3\u00bb\5\u00bb\u07f4\n\u00bb\3\u00bc\3\u00bc"+
|
|
|
+ "\3\u00bc\3\u00bc\3\u00bc\5\u00bc\u07fb\n\u00bc\3\u00bd\3\u00bd\3\u00be"+
|
|
|
+ "\3\u00be\3\u00be\3\u00be\5\u00be\u0803\n\u00be\3\u00bf\3\u00bf\3\u00bf"+
|
|
|
+ "\3\u00bf\7\u00bf\u0809\n\u00bf\f\u00bf\16\u00bf\u080c\13\u00bf\3\u00bf"+
|
|
|
+ "\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf\7\u00bf\u0814\n\u00bf\f\u00bf"+
|
|
|
+ "\16\u00bf\u0817\13\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf"+
|
|
|
+ "\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf"+
|
|
|
+ "\3\u00bf\3\u00bf\3\u00bf\3\u00bf\3\u00bf\5\u00bf\u082d\n\u00bf\3\u00c0"+
|
|
|
+ "\3\u00c0\3\u00c1\3\u00c1\3\u00c1\3\u00c1\7\u00c1\u0835\n\u00c1\f\u00c1"+
|
|
|
+ "\16\u00c1\u0838\13\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1"+
|
|
|
+ "\7\u00c1\u0840\n\u00c1\f\u00c1\16\u00c1\u0843\13\u00c1\3\u00c1\3\u00c1"+
|
|
|
+ "\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1"+
|
|
|
+ "\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1\5\u00c1"+
|
|
|
+ "\u0858\n\u00c1\3\u00c2\3\u00c2\3\u00c2\5\u00c2\u085d\n\u00c2\3\u00c2\3"+
|
|
|
+ "\u00c2\7\u00c2\u0861\n\u00c2\f\u00c2\16\u00c2\u0864\13\u00c2\3\u00c2\3"+
|
|
|
+ "\u00c2\3\u00c2\3\u00c2\3\u00c2\5\u00c2\u086b\n\u00c2\3\u00c3\3\u00c3\5"+
|
|
|
+ "\u00c3\u086f\n\u00c3\3\u00c3\7\u00c3\u0872\n\u00c3\f\u00c3\16\u00c3\u0875"+
|
|
|
+ "\13\u00c3\3\u00c3\3\u00c3\3\u00c3\7\u00c3\u087a\n\u00c3\f\u00c3\16\u00c3"+
|
|
|
+ "\u087d\13\u00c3\3\u00c3\7\u00c3\u0880\n\u00c3\f\u00c3\16\u00c3\u0883\13"+
|
|
|
+ "\u00c3\3\u00c3\5\u00c3\u0886\n\u00c3\3\u00c3\3\u00c3\5\u00c3\u088a\n\u00c3"+
|
|
|
+ "\3\u00c3\3\u00c3\5\u00c3\u088e\n\u00c3\3\u00c3\3\u00c3\3\u00c3\3\u00c3"+
|
|
|
+ "\5\u00c3\u0894\n\u00c3\3\u00c3\7\u00c3\u0897\n\u00c3\f\u00c3\16\u00c3"+
|
|
|
+ "\u089a\13\u00c3\3\u00c3\3\u00c3\5\u00c3\u089e\n\u00c3\3\u00c3\3\u00c3"+
|
|
|
+ "\5\u00c3\u08a2\n\u00c3\3\u00c3\3\u00c3\5\u00c3\u08a6\n\u00c3\3\u00c3\3"+
|
|
|
+ "\u00c3\3\u00c3\3\u00c3\5\u00c3\u08ac\n\u00c3\3\u00c3\7\u00c3\u08af\n\u00c3"+
|
|
|
+ "\f\u00c3\16\u00c3\u08b2\13\u00c3\3\u00c3\3\u00c3\5\u00c3\u08b6\n\u00c3"+
|
|
|
+ "\3\u00c3\3\u00c3\5\u00c3\u08ba\n\u00c3\3\u00c3\3\u00c3\5\u00c3\u08be\n"+
|
|
|
+ "\u00c3\5\u00c3\u08c0\n\u00c3\3\u00c4\3\u00c4\3\u00c4\5\u00c4\u08c5\n\u00c4"+
|
|
|
+ "\3\u00c4\7\u00c4\u08c8\n\u00c4\f\u00c4\16\u00c4\u08cb\13\u00c4\3\u00c4"+
|
|
|
+ "\3\u00c4\5\u00c4\u08cf\n\u00c4\3\u00c4\3\u00c4\5\u00c4\u08d3\n\u00c4\3"+
|
|
|
+ "\u00c4\3\u00c4\5\u00c4\u08d7\n\u00c4\3\u00c5\3\u00c5\5\u00c5\u08db\n\u00c5"+
|
|
|
+ "\3\u00c5\7\u00c5\u08de\n\u00c5\f\u00c5\16\u00c5\u08e1\13\u00c5\3\u00c5"+
|
|
|
+ "\3\u00c5\3\u00c5\7\u00c5\u08e6\n\u00c5\f\u00c5\16\u00c5\u08e9\13\u00c5"+
|
|
|
+ "\3\u00c5\7\u00c5\u08ec\n\u00c5\f\u00c5\16\u00c5\u08ef\13\u00c5\3\u00c5"+
|
|
|
+ "\5\u00c5\u08f2\n\u00c5\3\u00c5\3\u00c5\5\u00c5\u08f6\n\u00c5\3\u00c5\3"+
|
|
|
+ "\u00c5\5\u00c5\u08fa\n\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\5\u00c5\u0900"+
|
|
|
+ "\n\u00c5\3\u00c5\7\u00c5\u0903\n\u00c5\f\u00c5\16\u00c5\u0906\13\u00c5"+
|
|
|
+ "\3\u00c5\3\u00c5\5\u00c5\u090a\n\u00c5\3\u00c5\3\u00c5\5\u00c5\u090e\n"+
|
|
|
+ "\u00c5\3\u00c5\3\u00c5\5\u00c5\u0912\n\u00c5\5\u00c5\u0914\n\u00c5\3\u00c6"+
|
|
|
+ "\3\u00c6\3\u00c6\5\u00c6\u0919\n\u00c6\3\u00c7\3\u00c7\3\u00c7\3\u00c7"+
|
|
|
+ "\3\u00c7\3\u00c7\3\u00c7\3\u00c7\3\u00c7\3\u00c7\3\u00c7\3\u00c7\3\u00c7"+
|
|
|
+ "\5\u00c7\u0928\n\u00c7\3\u00c8\3\u00c8\3\u00c8\3\u00c9\3\u00c9\3\u00c9"+
|
|
|
+ "\3\u00c9\3\u00c9\3\u00c9\3\u00c9\3\u00c9\3\u00c9\5\u00c9\u0936\n\u00c9"+
|
|
|
+ "\3\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca"+
|
|
|
+ "\3\u00ca\5\u00ca\u0942\n\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca"+
|
|
|
+ "\7\u00ca\u0949\n\u00ca\f\u00ca\16\u00ca\u094c\13\u00ca\3\u00cb\3\u00cb"+
|
|
|
+ "\3\u00cb\3\u00cb\3\u00cb\3\u00cb\3\u00cb\3\u00cb\3\u00cb\3\u00cb\7\u00cb"+
|
|
|
+ "\u0958\n\u00cb\f\u00cb\16\u00cb\u095b\13\u00cb\3\u00cc\3\u00cc\3\u00cc"+
|
|
|
+ "\3\u00cc\3\u00cc\3\u00cc\3\u00cc\3\u00cc\3\u00cc\3\u00cc\5\u00cc\u0967"+
|
|
|
+ "\n\u00cc\3\u00cc\3\u00cc\3\u00cc\3\u00cc\3\u00cc\7\u00cc\u096e\n\u00cc"+
|
|
|
+ "\f\u00cc\16\u00cc\u0971\13\u00cc\3\u00cd\3\u00cd\3\u00cd\5\u00cd\u0976"+
|
|
|
+ "\n\u00cd\3\u00cd\3\u00cd\3\u00cd\3\u00cd\3\u00cd\5\u00cd\u097d\n\u00cd"+
|
|
|
+ "\3\u00cd\3\u00cd\3\u00cd\5\u00cd\u0982\n\u00cd\3\u00cd\3\u00cd\3\u00cd"+
|
|
|
+ "\3\u00cd\3\u00cd\5\u00cd\u0989\n\u00cd\3\u00cd\3\u00cd\3\u00cd\5\u00cd"+
|
|
|
+ "\u098e\n\u00cd\3\u00cd\3\u00cd\3\u00cd\3\u00cd\3\u00cd\5\u00cd\u0995\n"+
|
|
|
+ "\u00cd\3\u00cd\3\u00cd\3\u00cd\5\u00cd\u099a\n\u00cd\3\u00cd\3\u00cd\3"+
|
|
|
+ "\u00cd\3\u00cd\3\u00cd\5\u00cd\u09a1\n\u00cd\3\u00cd\3\u00cd\3\u00cd\5"+
|
|
|
+ "\u00cd\u09a6\n\u00cd\3\u00cd\3\u00cd\3\u00cd\3\u00cd\3\u00cd\3\u00cd\3"+
|
|
|
+ "\u00cd\5\u00cd\u09af\n\u00cd\3\u00cd\3\u00cd\3\u00cd\5\u00cd\u09b4\n\u00cd"+
|
|
|
+ "\3\u00cd\3\u00cd\5\u00cd\u09b8\n\u00cd\3\u00ce\3\u00ce\5\u00ce\u09bc\n"+
|
|
|
+ "\u00ce\3\u00ce\3\u00ce\3\u00ce\5\u00ce\u09c1\n\u00ce\3\u00ce\3\u00ce\3"+
|
|
|
+ "\u00cf\3\u00cf\3\u00cf\5\u00cf\u09c8\n\u00cf\3\u00cf\3\u00cf\3\u00cf\3"+
|
|
|
+ "\u00cf\3\u00cf\5\u00cf\u09cf\n\u00cf\3\u00cf\3\u00cf\3\u00cf\5\u00cf\u09d4"+
|
|
|
+ "\n\u00cf\3\u00cf\3\u00cf\3\u00cf\3\u00cf\3\u00cf\5\u00cf\u09db\n\u00cf"+
|
|
|
+ "\3\u00cf\3\u00cf\3\u00cf\5\u00cf\u09e0\n\u00cf\3\u00cf\3\u00cf\3\u00cf"+
|
|
|
+ "\3\u00cf\3\u00cf\5\u00cf\u09e7\n\u00cf\3\u00cf\3\u00cf\3\u00cf\5\u00cf"+
|
|
|
+ "\u09ec\n\u00cf\3\u00cf\3\u00cf\3\u00cf\3\u00cf\3\u00cf\3\u00cf\3\u00cf"+
|
|
|
+ "\5\u00cf\u09f5\n\u00cf\3\u00cf\3\u00cf\3\u00cf\5\u00cf\u09fa\n\u00cf\3"+
|
|
|
+ "\u00cf\3\u00cf\5\u00cf\u09fe\n\u00cf\3\u00d0\3\u00d0\3\u00d0\7\u00d0\u0a03"+
|
|
|
+ "\n\u00d0\f\u00d0\16\u00d0\u0a06\13\u00d0\3\u00d1\3\u00d1\3\u00d1\5\u00d1"+
|
|
|
+ "\u0a0b\n\u00d1\3\u00d1\3\u00d1\3\u00d1\3\u00d1\3\u00d1\5\u00d1\u0a12\n"+
|
|
|
+ "\u00d1\3\u00d1\3\u00d1\3\u00d1\3\u00d1\3\u00d1\5\u00d1\u0a19\n\u00d1\3"+
|
|
|
+ "\u00d1\3\u00d1\3\u00d1\3\u00d1\3\u00d1\5\u00d1\u0a20\n\u00d1\3\u00d1\3"+
|
|
|
+ "\u00d1\3\u00d1\3\u00d1\3\u00d1\3\u00d1\5\u00d1\u0a28\n\u00d1\3\u00d1\3"+
|
|
|
+ "\u00d1\3\u00d1\3\u00d1\3\u00d1\5\u00d1\u0a2f\n\u00d1\3\u00d1\3\u00d1\3"+
|
|
|
+ "\u00d1\3\u00d1\3\u00d1\3\u00d1\5\u00d1\u0a37\n\u00d1\3\u00d2\3\u00d2\5"+
|
|
|
+ "\u00d2\u0a3b\n\u00d2\3\u00d2\3\u00d2\3\u00d3\3\u00d3\3\u00d3\5\u00d3\u0a42"+
|
|
|
+ "\n\u00d3\3\u00d3\3\u00d3\3\u00d3\3\u00d3\3\u00d3\5\u00d3\u0a49\n\u00d3"+
|
|
|
+ "\3\u00d3\3\u00d3\3\u00d3\3\u00d3\3\u00d3\5\u00d3\u0a50\n\u00d3\3\u00d3"+
|
|
|
+ "\3\u00d3\3\u00d3\3\u00d3\3\u00d3\3\u00d3\5\u00d3\u0a58\n\u00d3\3\u00d3"+
|
|
|
+ "\3\u00d3\3\u00d3\3\u00d3\3\u00d3\5\u00d3\u0a5f\n\u00d3\3\u00d3\3\u00d3"+
|
|
|
+ "\3\u00d3\3\u00d3\3\u00d3\3\u00d3\5\u00d3\u0a67\n\u00d3\3\u00d4\3\u00d4"+
|
|
|
+ "\3\u00d4\3\u00d4\5\u00d4\u0a6d\n\u00d4\3\u00d4\3\u00d4\3\u00d4\3\u00d4"+
|
|
|
+ "\5\u00d4\u0a73\n\u00d4\3\u00d4\3\u00d4\3\u00d4\3\u00d4\3\u00d4\3\u00d4"+
|
|
|
+ "\3\u00d4\3\u00d4\3\u00d4\3\u00d4\5\u00d4\u0a7f\n\u00d4\3\u00d5\6\u00d5"+
|
|
|
+ "\u0a82\n\u00d5\r\u00d5\16\u00d5\u0a83\3\u00d6\7\u00d6\u0a87\n\u00d6\f"+
|
|
|
+ "\u00d6\16\u00d6\u0a8a\13\u00d6\3\u00d6\3\u00d6\3\u00d6\3\u00d6\3\u00d7"+
|
|
|
+ "\3\u00d7\3\u00d8\3\u00d8\5\u00d8\u0a94\n\u00d8\3\u00d9\3\u00d9\3\u00d9"+
|
|
|
+ "\3\u00d9\3\u00da\3\u00da\3\u00da\5\u00da\u0a9d\n\u00da\3\u00da\3\u00da"+
|
|
|
+ "\3\u00da\3\u00da\3\u00da\5\u00da\u0aa4\n\u00da\3\u00db\3\u00db\3\u00db"+
|
|
|
+ "\7\u00db\u0aa9\n\u00db\f\u00db\16\u00db\u0aac\13\u00db\3\u00dc\3\u00dc"+
|
|
|
+ "\5\u00dc\u0ab0\n\u00dc\3\u00dd\3\u00dd\5\u00dd\u0ab4\n\u00dd\3\u00de\3"+
|
|
|
+ "\u00de\3\u00de\3\u00de\3\u00df\3\u00df\3\u00df\5\u00df\u0abd\n\u00df\3"+
|
|
|
+ "\u00e0\3\u00e0\3\u00e1\3\u00e1\3\u00e1\3\u00e1\3\u00e1\3\u00e1\3\u00e1"+
|
|
|
+ "\5\u00e1\u0ac8\n\u00e1\5\u00e1\u0aca\n\u00e1\3\u00e2\3\u00e2\3\u00e2\3"+
|
|
|
+ "\u00e2\3\u00e2\3\u00e2\7\u00e2\u0ad2\n\u00e2\f\u00e2\16\u00e2\u0ad5\13"+
|
|
|
+ "\u00e2\3\u00e3\3\u00e3\3\u00e3\3\u00e3\3\u00e3\3\u00e3\7\u00e3\u0add\n"+
|
|
|
+ "\u00e3\f\u00e3\16\u00e3\u0ae0\13\u00e3\3\u00e4\3\u00e4\3\u00e4\3\u00e4"+
|
|
|
+ "\3\u00e4\3\u00e4\7\u00e4\u0ae8\n\u00e4\f\u00e4\16\u00e4\u0aeb\13\u00e4"+
|
|
|
+ "\3\u00e5\3\u00e5\3\u00e5\3\u00e5\3\u00e5\3\u00e5\7\u00e5\u0af3\n\u00e5"+
|
|
|
+ "\f\u00e5\16\u00e5\u0af6\13\u00e5\3\u00e6\3\u00e6\3\u00e6\3\u00e6\3\u00e6"+
|
|
|
+ "\3\u00e6\7\u00e6\u0afe\n\u00e6\f\u00e6\16\u00e6\u0b01\13\u00e6\3\u00e7"+
|
|
|
+ "\3\u00e7\3\u00e7\3\u00e7\3\u00e7\3\u00e7\3\u00e7\3\u00e7\3\u00e7\7\u00e7"+
|
|
|
+ "\u0b0c\n\u00e7\f\u00e7\16\u00e7\u0b0f\13\u00e7\3\u00e8\3\u00e8\3\u00e8"+
|
|
|
+ "\3\u00e8\3\u00e8\3\u00e8\3\u00e8\3\u00e8\3\u00e8\3\u00e8\3\u00e8\3\u00e8"+
|
|
|
+ "\3\u00e8\3\u00e8\3\u00e8\3\u00e8\3\u00e8\3\u00e8\7\u00e8\u0b23\n\u00e8"+
|
|
|
+ "\f\u00e8\16\u00e8\u0b26\13\u00e8\3\u00e9\3\u00e9\3\u00e9\3\u00e9\3\u00e9"+
|
|
|
+ "\3\u00e9\3\u00e9\3\u00e9\3\u00e9\3\u00e9\3\u00e9\3\u00e9\3\u00e9\3\u00e9"+
|
|
|
+ "\3\u00e9\3\u00e9\7\u00e9\u0b38\n\u00e9\f\u00e9\16\u00e9\u0b3b\13\u00e9"+
|
|
|
+ "\3\u00ea\3\u00ea\3\u00ea\3\u00ea\3\u00ea\3\u00ea\3\u00ea\3\u00ea\3\u00ea"+
|
|
|
+ "\7\u00ea\u0b46\n\u00ea\f\u00ea\16\u00ea\u0b49\13\u00ea\3\u00eb\3\u00eb"+
|
|
|
+ "\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb\3\u00eb"+
|
|
|
+ "\3\u00eb\7\u00eb\u0b57\n\u00eb\f\u00eb\16\u00eb\u0b5a\13\u00eb\3\u00ec"+
|
|
|
+ "\3\u00ec\3\u00ec\3\u00ec\3\u00ec\3\u00ec\3\u00ec\5\u00ec\u0b63\n\u00ec"+
|
|
|
+ "\3\u00ed\3\u00ed\3\u00ed\3\u00ee\3\u00ee\3\u00ee\3\u00ef\3\u00ef\3\u00ef"+
|
|
|
+ "\3\u00ef\3\u00ef\3\u00ef\5\u00ef\u0b71\n\u00ef\3\u00f0\3\u00f0\5\u00f0"+
|
|
|
+ "\u0b75\n\u00f0\3\u00f0\3\u00f0\7\u00f0\u0b79\n\u00f0\f\u00f0\16\u00f0"+
|
|
|
+ "\u0b7c\13\u00f0\3\u00f1\3\u00f1\3\u00f1\3\u00f2\3\u00f2\3\u00f3\3\u00f3"+
|
|
|
+ "\3\u00f3\3\u00f4\3\u00f4\3\u00f5\3\u00f5\3\u00f5\3\u00f5\3\u00f5\3\u00f5"+
|
|
|
+ "\3\u00f5\3\u00f5\7\u00f5\u0b90\n\u00f5\f\u00f5\16\u00f5\u0b93\13\u00f5"+
|
|
|
+ "\3\u00f5\3\u00f5\3\u00f5\3\u00f5\3\u00f5\3\u00f5\7\u00f5\u0b9b\n\u00f5"+
|
|
|
+ "\f\u00f5\16\u00f5\u0b9e\13\u00f5\3\u00f5\3\u00f5\3\u00f5\5\u00f5\u0ba3"+
|
|
|
+ "\n\u00f5\3\u00f6\3\u00f6\3\u00f6\2\20\64\66:@\u01c2\u01c4\u01c6\u01c8"+
|
|
|
+ "\u01ca\u01cc\u01ce\u01d0\u01d2\u01d4\u00f7\2\4\6\b\n\f\16\20\22\24\26"+
|
|
|
+ "\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|"+
|
|
|
+ "~\u0080\u0082\u0084\u0086\u0088\u008a\u008c\u008e\u0090\u0092\u0094\u0096"+
|
|
|
+ "\u0098\u009a\u009c\u009e\u00a0\u00a2\u00a4\u00a6\u00a8\u00aa\u00ac\u00ae"+
|
|
|
+ "\u00b0\u00b2\u00b4\u00b6\u00b8\u00ba\u00bc\u00be\u00c0\u00c2\u00c4\u00c6"+
|
|
|
+ "\u00c8\u00ca\u00cc\u00ce\u00d0\u00d2\u00d4\u00d6\u00d8\u00da\u00dc\u00de"+
|
|
|
+ "\u00e0\u00e2\u00e4\u00e6\u00e8\u00ea\u00ec\u00ee\u00f0\u00f2\u00f4\u00f6"+
|
|
|
+ "\u00f8\u00fa\u00fc\u00fe\u0100\u0102\u0104\u0106\u0108\u010a\u010c\u010e"+
|
|
|
+ "\u0110\u0112\u0114\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124\u0126"+
|
|
|
+ "\u0128\u012a\u012c\u012e\u0130\u0132\u0134\u0136\u0138\u013a\u013c\u013e"+
|
|
|
+ "\u0140\u0142\u0144\u0146\u0148\u014a\u014c\u014e\u0150\u0152\u0154\u0156"+
|
|
|
+ "\u0158\u015a\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e"+
|
|
|
+ "\u0170\u0172\u0174\u0176\u0178\u017a\u017c\u017e\u0180\u0182\u0184\u0186"+
|
|
|
+ "\u0188\u018a\u018c\u018e\u0190\u0192\u0194\u0196\u0198\u019a\u019c\u019e"+
|
|
|
+ "\u01a0\u01a2\u01a4\u01a6\u01a8\u01aa\u01ac\u01ae\u01b0\u01b2\u01b4\u01b6"+
|
|
|
+ "\u01b8\u01ba\u01bc\u01be\u01c0\u01c2\u01c4\u01c6\u01c8\u01ca\u01cc\u01ce"+
|
|
|
+ "\u01d0\u01d2\u01d4\u01d6\u01d8\u01da\u01dc\u01de\u01e0\u01e2\u01e4\u01e6"+
|
|
|
+ "\u01e8\u01ea\2\b\3\2@E\7\2\21\21\24\24\'\'))\61\61\4\2\32\32 \4\2\f\f"+
|
|
|
+ "\62\62\4\2RRjt\4\2\3\13uu\2\u0ca5\2\u01ec\3\2\2\2\4\u01fc\3\2\2\2\6\u0200"+
|
|
|
+ "\3\2\2\2\b\u0202\3\2\2\2\n\u0204\3\2\2\2\f\u0209\3\2\2\2\16\u020d\3\2"+
|
|
|
+ "\2\2\20\u022c\3\2\2\2\22\u022e\3\2\2\2\24\u023c\3\2\2\2\26\u0243\3\2\2"+
|
|
|
+ "\2\30\u0245\3\2\2\2\32\u0247\3\2\2\2\34\u024c\3\2\2\2\36\u025a\3\2\2\2"+
|
|
|
+ " \u025f\3\2\2\2\"\u0274\3\2\2\2$\u027b\3\2\2\2&\u0287\3\2\2\2(\u0289\3"+
|
|
|
+ "\2\2\2*\u028c\3\2\2\2,\u0290\3\2\2\2.\u029a\3\2\2\2\60\u029f\3\2\2\2\62"+
|
|
|
+ "\u02aa\3\2\2\2\64\u02ac\3\2\2\2\66\u02b7\3\2\2\28\u02c7\3\2\2\2:\u02c9"+
|
|
|
+ "\3\2\2\2<\u02d9\3\2\2\2>\u02db\3\2\2\2@\u02dd\3\2\2\2B\u02ea\3\2\2\2D"+
|
|
|
+ "\u02ed\3\2\2\2F\u0300\3\2\2\2H\u0308\3\2\2\2J\u030f\3\2\2\2L\u0315\3\2"+
|
|
|
+ "\2\2N\u0317\3\2\2\2P\u031b\3\2\2\2R\u0321\3\2\2\2T\u0328\3\2\2\2V\u0332"+
|
|
|
+ "\3\2\2\2X\u0337\3\2\2\2Z\u0381\3\2\2\2\\\u0383\3\2\2\2^\u0387\3\2\2\2"+
|
|
|
+ "`\u038c\3\2\2\2b\u03a4\3\2\2\2d\u03a6\3\2\2\2f\u03aa\3\2\2\2h\u03b2\3"+
|
|
|
+ "\2\2\2j\u03b5\3\2\2\2l\u03b8\3\2\2\2n\u03c0\3\2\2\2p\u03cd\3\2\2\2r\u03d4"+
|
|
|
+ "\3\2\2\2t\u03d9\3\2\2\2v\u03e8\3\2\2\2x\u03ea\3\2\2\2z\u03f2\3\2\2\2|"+
|
|
|
+ "\u03f7\3\2\2\2~\u03fd\3\2\2\2\u0080\u0401\3\2\2\2\u0082\u0405\3\2\2\2"+
|
|
|
+ "\u0084\u040a\3\2\2\2\u0086\u040e\3\2\2\2\u0088\u0427\3\2\2\2\u008a\u0429"+
|
|
|
+ "\3\2\2\2\u008c\u0434\3\2\2\2\u008e\u0438\3\2\2\2\u0090\u043a\3\2\2\2\u0092"+
|
|
|
+ "\u043c\3\2\2\2\u0094\u043e\3\2\2\2\u0096\u0449\3\2\2\2\u0098\u044e\3\2"+
|
|
|
+ "\2\2\u009a\u045e\3\2\2\2\u009c\u0471\3\2\2\2\u009e\u0475\3\2\2\2\u00a0"+
|
|
|
+ "\u0477\3\2\2\2\u00a2\u0486\3\2\2\2\u00a4\u0498\3\2\2\2\u00a6\u049d\3\2"+
|
|
|
+ "\2\2\u00a8\u04a5\3\2\2\2\u00aa\u04b8\3\2\2\2\u00ac\u04bd\3\2\2\2\u00ae"+
|
|
|
+ "\u04c8\3\2\2\2\u00b0\u04cb\3\2\2\2\u00b2\u04d5\3\2\2\2\u00b4\u04d9\3\2"+
|
|
|
+ "\2\2\u00b6\u04db\3\2\2\2\u00b8\u04dd\3\2\2\2\u00ba\u04e3\3\2\2\2\u00bc"+
|
|
|
+ "\u04f0\3\2\2\2\u00be\u04f3\3\2\2\2\u00c0\u04fc\3\2\2\2\u00c2\u04fe\3\2"+
|
|
|
+ "\2\2\u00c4\u0535\3\2\2\2\u00c6\u053a\3\2\2\2\u00c8\u0544\3\2\2\2\u00ca"+
|
|
|
+ "\u0550\3\2\2\2\u00cc\u055b\3\2\2\2\u00ce\u0569\3\2\2\2\u00d0\u056b\3\2"+
|
|
|
+ "\2\2\u00d2\u0574\3\2\2\2\u00d4\u0579\3\2\2\2\u00d6\u058d\3\2\2\2\u00d8"+
|
|
|
+ "\u058f\3\2\2\2\u00da\u0592\3\2\2\2\u00dc\u05a0\3\2\2\2\u00de\u05a5\3\2"+
|
|
|
+ "\2\2\u00e0\u05b0\3\2\2\2\u00e2\u05b5\3\2\2\2\u00e4\u05c2\3\2\2\2\u00e6"+
|
|
|
+ "\u05c7\3\2\2\2\u00e8\u05cf\3\2\2\2\u00ea\u05dd\3\2\2\2\u00ec\u05e2\3\2"+
|
|
|
+ "\2\2\u00ee\u05f4\3\2\2\2\u00f0\u05f6\3\2\2\2\u00f2\u05fc\3\2\2\2\u00f4"+
|
|
|
+ "\u05fe\3\2\2\2\u00f6\u0606\3\2\2\2\u00f8\u060e\3\2\2\2\u00fa\u0615\3\2"+
|
|
|
+ "\2\2\u00fc\u0617\3\2\2\2\u00fe\u0620\3\2\2\2\u0100\u0628\3\2\2\2\u0102"+
|
|
|
+ "\u062b\3\2\2\2\u0104\u0631\3\2\2\2\u0106\u063a\3\2\2\2\u0108\u0642\3\2"+
|
|
|
+ "\2\2\u010a\u0649\3\2\2\2\u010c\u0650\3\2\2\2\u010e\u0652\3\2\2\2\u0110"+
|
|
|
+ "\u0658\3\2\2\2\u0112\u0664\3\2\2\2\u0114\u066b\3\2\2\2\u0116\u0679\3\2"+
|
|
|
+ "\2\2\u0118\u067b\3\2\2\2\u011a\u067d\3\2\2\2\u011c\u0681\3\2\2\2\u011e"+
|
|
|
+ "\u0685\3\2\2\2\u0120\u068f\3\2\2\2\u0122\u0691\3\2\2\2\u0124\u0697\3\2"+
|
|
|
+ "\2\2\u0126\u069f\3\2\2\2\u0128\u06b1\3\2\2\2\u012a\u06b3\3\2\2\2\u012c"+
|
|
|
+ "\u06b9\3\2\2\2\u012e\u06c8\3\2\2\2\u0130\u06cc\3\2\2\2\u0132\u06da\3\2"+
|
|
|
+ "\2\2\u0134\u06dc\3\2\2\2\u0136\u06de\3\2\2\2\u0138\u06e4\3\2\2\2\u013a"+
|
|
|
+ "\u06ea\3\2\2\2\u013c\u06f4\3\2\2\2\u013e\u06f8\3\2\2\2\u0140\u06fa\3\2"+
|
|
|
+ "\2\2\u0142\u070a\3\2\2\2\u0144\u071c\3\2\2\2\u0146\u071e\3\2\2\2\u0148"+
|
|
|
+ "\u0720\3\2\2\2\u014a\u0728\3\2\2\2\u014c\u0737\3\2\2\2\u014e\u0746\3\2"+
|
|
|
+ "\2\2\u0150\u074c\3\2\2\2\u0152\u0752\3\2\2\2\u0154\u0758\3\2\2\2\u0156"+
|
|
|
+ "\u075c\3\2\2\2\u0158\u076e\3\2\2\2\u015a\u0771\3\2\2\2\u015c\u0775\3\2"+
|
|
|
+ "\2\2\u015e\u077e\3\2\2\2\u0160\u0784\3\2\2\2\u0162\u078c\3\2\2\2\u0164"+
|
|
|
+ "\u078f\3\2\2\2\u0166\u0798\3\2\2\2\u0168\u079f\3\2\2\2\u016a\u07b3\3\2"+
|
|
|
+ "\2\2\u016c\u07b7\3\2\2\2\u016e\u07bb\3\2\2\2\u0170\u07d3\3\2\2\2\u0172"+
|
|
|
+ "\u07d5\3\2\2\2\u0174\u07f3\3\2\2\2\u0176\u07fa\3\2\2\2\u0178\u07fc\3\2"+
|
|
|
+ "\2\2\u017a\u0802\3\2\2\2\u017c\u082c\3\2\2\2\u017e\u082e\3\2\2\2\u0180"+
|
|
|
+ "\u0857\3\2\2\2\u0182\u086a\3\2\2\2\u0184\u08bf\3\2\2\2\u0186\u08c1\3\2"+
|
|
|
+ "\2\2\u0188\u0913\3\2\2\2\u018a\u0918\3\2\2\2\u018c\u0927\3\2\2\2\u018e"+
|
|
|
+ "\u0929\3\2\2\2\u0190\u0935\3\2\2\2\u0192\u0941\3\2\2\2\u0194\u094d\3\2"+
|
|
|
+ "\2\2\u0196\u0966\3\2\2\2\u0198\u09b7\3\2\2\2\u019a\u09b9\3\2\2\2\u019c"+
|
|
|
+ "\u09fd\3\2\2\2\u019e\u09ff\3\2\2\2\u01a0\u0a36\3\2\2\2\u01a2\u0a38\3\2"+
|
|
|
+ "\2\2\u01a4\u0a66\3\2\2\2\u01a6\u0a7e\3\2\2\2\u01a8\u0a81\3\2\2\2\u01aa"+
|
|
|
+ "\u0a88\3\2\2\2\u01ac\u0a8f\3\2\2\2\u01ae\u0a93\3\2\2\2\u01b0\u0a95\3\2"+
|
|
|
+ "\2\2\u01b2\u0aa3\3\2\2\2\u01b4\u0aa5\3\2\2\2\u01b6\u0aaf\3\2\2\2\u01b8"+
|
|
|
+ "\u0ab3\3\2\2\2\u01ba\u0ab5\3\2\2\2\u01bc\u0abc\3\2\2\2\u01be\u0abe\3\2"+
|
|
|
+ "\2\2\u01c0\u0ac9\3\2\2\2\u01c2\u0acb\3\2\2\2\u01c4\u0ad6\3\2\2\2\u01c6"+
|
|
|
+ "\u0ae1\3\2\2\2\u01c8\u0aec\3\2\2\2\u01ca\u0af7\3\2\2\2\u01cc\u0b02\3\2"+
|
|
|
+ "\2\2\u01ce\u0b10\3\2\2\2\u01d0\u0b27\3\2\2\2\u01d2\u0b3c\3\2\2\2\u01d4"+
|
|
|
+ "\u0b4a\3\2\2\2\u01d6\u0b62\3\2\2\2\u01d8\u0b64\3\2\2\2\u01da\u0b67\3\2"+
|
|
|
+ "\2\2\u01dc\u0b70\3\2\2\2\u01de\u0b74\3\2\2\2\u01e0\u0b7d\3\2\2\2\u01e2"+
|
|
|
+ "\u0b80\3\2\2\2\u01e4\u0b82\3\2\2\2\u01e6\u0b85\3\2\2\2\u01e8\u0ba2\3\2"+
|
|
|
+ "\2\2\u01ea\u0ba4\3\2\2\2\u01ec\u01ed\t\2\2\2\u01ed\3\3\2\2\2\u01ee\u01f0"+
|
|
|
+ "\5\u00f2z\2\u01ef\u01ee\3\2\2\2\u01f0\u01f3\3\2\2\2\u01f1\u01ef\3\2\2"+
|
|
|
+ "\2\u01f1\u01f2\3\2\2\2\u01f2\u01f4\3\2\2\2\u01f3\u01f1\3\2\2\2\u01f4\u01fd"+
|
|
|
+ "\5\6\4\2\u01f5\u01f7\5\u00f2z\2\u01f6\u01f5\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\u01fd\7\17\2\2\u01fc\u01f1\3\2\2\2\u01fc\u01f8\3\2\2\2"+
|
|
|
+ "\u01fd\5\3\2\2\2\u01fe\u0201\5\b\5\2\u01ff\u0201\5\n\6\2\u0200\u01fe\3"+
|
|
|
+ "\2\2\2\u0200\u01ff\3\2\2\2\u0201\7\3\2\2\2\u0202\u0203\t\3\2\2\u0203\t"+
|
|
|
+ "\3\2\2\2\u0204\u0205\t\4\2\2\u0205\13\3\2\2\2\u0206\u020a\5\16\b\2\u0207"+
|
|
|
+ "\u020a\5\34\17\2\u0208\u020a\5\36\20\2\u0209\u0206\3\2\2\2\u0209\u0207"+
|
|
|
+ "\3\2\2\2\u0209\u0208\3\2\2\2\u020a\r\3\2\2\2\u020b\u020e\5\24\13\2\u020c"+
|
|
|
+ "\u020e\5\32\16\2\u020d\u020b\3\2\2\2\u020d\u020c\3\2\2\2\u020e\u0213\3"+
|
|
|
+ "\2\2\2\u020f\u0212\5\22\n\2\u0210\u0212\5\30\r\2\u0211\u020f\3\2\2\2\u0211"+
|
|
|
+ "\u0210\3\2\2\2\u0212\u0215\3\2\2\2\u0213\u0211\3\2\2\2\u0213\u0214\3\2"+
|
|
|
+ "\2\2\u0214\17\3\2\2\2\u0215\u0213\3\2\2\2\u0216\u0218\5\u00f2z\2\u0217"+
|
|
|
+ "\u0216\3\2\2\2\u0218\u021b\3\2\2\2\u0219\u0217\3\2\2\2\u0219\u021a\3\2"+
|
|
|
+ "\2\2\u021a\u021c\3\2\2\2\u021b\u0219\3\2\2\2\u021c\u021e\5\u01ea\u00f6"+
|
|
|
+ "\2\u021d\u021f\5*\26\2\u021e\u021d\3\2\2\2\u021e\u021f\3\2\2\2\u021f\u022d"+
|
|
|
+ "\3\2\2\2\u0220\u0221\5\16\b\2\u0221\u0225\7N\2\2\u0222\u0224\5\u00f2z"+
|
|
|
+ "\2\u0223\u0222\3\2\2\2\u0224\u0227\3\2\2\2\u0225\u0223\3\2\2\2\u0225\u0226"+
|
|
|
+ "\3\2\2\2\u0226\u0228\3\2\2\2\u0227\u0225\3\2\2\2\u0228\u022a\5\u01ea\u00f6"+
|
|
|
+ "\2\u0229\u022b\5*\26\2\u022a\u0229\3\2\2\2\u022a\u022b\3\2\2\2\u022b\u022d"+
|
|
|
+ "\3\2\2\2\u022c\u0219\3\2\2\2\u022c\u0220\3\2\2\2\u022d\21\3\2\2\2\u022e"+
|
|
|
+ "\u0232\7N\2\2\u022f\u0231\5\u00f2z\2\u0230\u022f\3\2\2\2\u0231\u0234\3"+
|
|
|
+ "\2\2\2\u0232\u0230\3\2\2\2\u0232\u0233\3\2\2\2\u0233\u0235\3\2\2\2\u0234"+
|
|
|
+ "\u0232\3\2\2\2\u0235\u0237\5\u01ea\u00f6\2\u0236\u0238\5*\26\2\u0237\u0236"+
|
|
|
+ "\3\2\2\2\u0237\u0238\3\2\2\2\u0238\23\3\2\2\2\u0239\u023b\5\u00f2z\2\u023a"+
|
|
|
+ "\u0239\3\2\2\2\u023b\u023e\3\2\2\2\u023c\u023a\3\2\2\2\u023c\u023d\3\2"+
|
|
|
+ "\2\2\u023d\u023f\3\2\2\2\u023e\u023c\3\2\2\2\u023f\u0241\5\u01ea\u00f6"+
|
|
|
+ "\2\u0240\u0242\5*\26\2\u0241\u0240\3\2\2\2\u0241\u0242\3\2\2\2\u0242\25"+
|
|
|
+ "\3\2\2\2\u0243\u0244\5\20\t\2\u0244\27\3\2\2\2\u0245\u0246\5\22\n\2\u0246"+
|
|
|
+ "\31\3\2\2\2\u0247\u0248\5\24\13\2\u0248\33\3\2\2\2\u0249\u024b\5\u00f2"+
|
|
|
+ "z\2\u024a\u0249\3\2\2\2\u024b\u024e\3\2\2\2\u024c\u024a\3\2\2\2\u024c"+
|
|
|
+ "\u024d\3\2\2\2\u024d\u024f\3\2\2\2\u024e\u024c\3\2\2\2\u024f\u0250\5\u01ea"+
|
|
|
+ "\u00f6\2\u0250\35\3\2\2\2\u0251\u0252\5\4\3\2\u0252\u0253\5 \21\2\u0253"+
|
|
|
+ "\u025b\3\2\2\2\u0254\u0255\5\16\b\2\u0255\u0256\5 \21\2\u0256\u025b\3"+
|
|
|
+ "\2\2\2\u0257\u0258\5\34\17\2\u0258\u0259\5 \21\2\u0259\u025b\3\2\2\2\u025a"+
|
|
|
+ "\u0251\3\2\2\2\u025a\u0254\3\2\2\2\u025a\u0257\3\2\2\2\u025b\37\3\2\2"+
|
|
|
+ "\2\u025c\u025e\5\u00f2z\2\u025d\u025c\3\2\2\2\u025e\u0261\3\2\2\2\u025f"+
|
|
|
+ "\u025d\3\2\2\2\u025f\u0260\3\2\2\2\u0260\u0262\3\2\2\2\u0261\u025f\3\2"+
|
|
|
+ "\2\2\u0262\u0263\7J\2\2\u0263\u026e\7K\2\2\u0264\u0266\5\u00f2z\2\u0265"+
|
|
|
+ "\u0264\3\2\2\2\u0266\u0269\3\2\2\2\u0267\u0265\3\2\2\2\u0267\u0268\3\2"+
|
|
|
+ "\2\2\u0268\u026a\3\2\2\2\u0269\u0267\3\2\2\2\u026a\u026b\7J\2\2\u026b"+
|
|
|
+ "\u026d\7K\2\2\u026c\u0267\3\2\2\2\u026d\u0270\3\2\2\2\u026e\u026c\3\2"+
|
|
|
+ "\2\2\u026e\u026f\3\2\2\2\u026f!\3\2\2\2\u0270\u026e\3\2\2\2\u0271\u0273"+
|
|
|
+ "\5$\23\2\u0272\u0271\3\2\2\2\u0273\u0276\3\2\2\2\u0274\u0272\3\2\2\2\u0274"+
|
|
|
+ "\u0275\3\2\2\2\u0275\u0277\3\2\2\2\u0276\u0274\3\2\2\2\u0277\u0279\5\u01ea"+
|
|
|
+ "\u00f6\2\u0278\u027a\5&\24\2\u0279\u0278\3\2\2\2\u0279\u027a\3\2\2\2\u027a"+
|
|
|
+ "#\3\2\2\2\u027b\u027c\5\u00f2z\2\u027c%\3\2\2\2\u027d\u027e\7\35\2\2\u027e"+
|
|
|
+ "\u0288\5\34\17\2\u027f\u0280\7\35\2\2\u0280\u0284\5\16\b\2\u0281\u0283"+
|
|
|
+ "\5(\25\2\u0282\u0281\3\2\2\2\u0283\u0286\3\2\2\2\u0284\u0282\3\2\2\2\u0284"+
|
|
|
+ "\u0285\3\2\2\2\u0285\u0288\3\2\2\2\u0286\u0284\3\2\2\2\u0287\u027d\3\2"+
|
|
|
+ "\2\2\u0287\u027f\3\2\2\2\u0288\'\3\2\2\2\u0289\u028a\7f\2\2\u028a\u028b"+
|
|
|
+ "\5\26\f\2\u028b)\3\2\2\2\u028c\u028d\7T\2\2\u028d\u028e\5,\27\2\u028e"+
|
|
|
+ "\u028f\7S\2\2\u028f+\3\2\2\2\u0290\u0295\5.\30\2\u0291\u0292\7M\2\2\u0292"+
|
|
|
+ "\u0294\5.\30\2\u0293\u0291\3\2\2\2\u0294\u0297\3\2\2\2\u0295\u0293\3\2"+
|
|
|
+ "\2\2\u0295\u0296\3\2\2\2\u0296-\3\2\2\2\u0297\u0295\3\2\2\2\u0298\u029b"+
|
|
|
+ "\5\f\7\2\u0299\u029b\5\60\31\2\u029a\u0298\3\2\2\2\u029a\u0299\3\2\2\2"+
|
|
|
+ "\u029b/\3\2\2\2\u029c\u029e\5\u00f2z\2\u029d\u029c\3\2\2\2\u029e\u02a1"+
|
|
|
+ "\3\2\2\2\u029f\u029d\3\2\2\2\u029f\u02a0\3\2\2\2\u02a0\u02a2\3\2\2\2\u02a1"+
|
|
|
+ "\u029f\3\2\2\2\u02a2\u02a4\7W\2\2\u02a3\u02a5\5\62\32\2\u02a4\u02a3\3"+
|
|
|
+ "\2\2\2\u02a4\u02a5\3\2\2\2\u02a5\61\3\2\2\2\u02a6\u02a7\7\35\2\2\u02a7"+
|
|
|
+ "\u02ab\5\f\7\2\u02a8\u02a9\7\64\2\2\u02a9\u02ab\5\f\7\2\u02aa\u02a6\3"+
|
|
|
+ "\2\2\2\u02aa\u02a8\3\2\2\2\u02ab\63\3\2\2\2\u02ac\u02ad\b\33\1\2\u02ad"+
|
|
|
+ "\u02ae\5\u01ea\u00f6\2\u02ae\u02b4\3\2\2\2\u02af\u02b0\f\3\2\2\u02b0\u02b1"+
|
|
|
+ "\7N\2\2\u02b1\u02b3\5\u01ea\u00f6\2\u02b2\u02af\3\2\2\2\u02b3\u02b6\3"+
|
|
|
+ "\2\2\2\u02b4\u02b2\3\2\2\2\u02b4\u02b5\3\2\2\2\u02b5\65\3\2\2\2\u02b6"+
|
|
|
+ "\u02b4\3\2\2\2\u02b7\u02b8\b\34\1\2\u02b8\u02b9\5\u01ea\u00f6\2\u02b9"+
|
|
|
+ "\u02bf\3\2\2\2\u02ba\u02bb\f\3\2\2\u02bb\u02bc\7N\2\2\u02bc\u02be\5\u01ea"+
|
|
|
+ "\u00f6\2\u02bd\u02ba\3\2\2\2\u02be\u02c1\3\2\2\2\u02bf\u02bd\3\2\2\2\u02bf"+
|
|
|
+ "\u02c0\3\2\2\2\u02c0\67\3\2\2\2\u02c1\u02bf\3\2\2\2\u02c2\u02c8\5\u01ea"+
|
|
|
+ "\u00f6\2\u02c3\u02c4\5:\36\2\u02c4\u02c5\7N\2\2\u02c5\u02c6\5\u01ea\u00f6"+
|
|
|
+ "\2\u02c6\u02c8\3\2\2\2\u02c7\u02c2\3\2\2\2\u02c7\u02c3\3\2\2\2\u02c89"+
|
|
|
+ "\3\2\2\2\u02c9\u02ca\b\36\1\2\u02ca\u02cb\5\u01ea\u00f6\2\u02cb\u02d1"+
|
|
|
+ "\3\2\2\2\u02cc\u02cd\f\3\2\2\u02cd\u02ce\7N\2\2\u02ce\u02d0\5\u01ea\u00f6"+
|
|
|
+ "\2\u02cf\u02cc\3\2\2\2\u02d0\u02d3\3\2\2\2\u02d1\u02cf\3\2\2\2\u02d1\u02d2"+
|
|
|
+ "\3\2\2\2\u02d2;\3\2\2\2\u02d3\u02d1\3\2\2\2\u02d4\u02da\5\u01ea\u00f6"+
|
|
|
+ "\2\u02d5\u02d6\5@!\2\u02d6\u02d7\7N\2\2\u02d7\u02d8\5\u01ea\u00f6\2\u02d8"+
|
|
|
+ "\u02da\3\2\2\2\u02d9\u02d4\3\2\2\2\u02d9\u02d5\3\2\2\2\u02da=\3\2\2\2"+
|
|
|
+ "\u02db\u02dc\5\u01ea\u00f6\2\u02dc?\3\2\2\2\u02dd\u02de\b!\1\2\u02de\u02df"+
|
|
|
+ "\5\u01ea\u00f6\2\u02df\u02e5\3\2\2\2\u02e0\u02e1\f\3\2\2\u02e1\u02e2\7"+
|
|
|
+ "N\2\2\u02e2\u02e4\5\u01ea\u00f6\2\u02e3\u02e0\3\2\2\2\u02e4\u02e7\3\2"+
|
|
|
+ "\2\2\u02e5\u02e3\3\2\2\2\u02e5\u02e6\3\2\2\2\u02e6A\3\2\2\2\u02e7\u02e5"+
|
|
|
+ "\3\2\2\2\u02e8\u02eb\5D#\2\u02e9\u02eb\5F$\2\u02ea\u02e8\3\2\2\2\u02ea"+
|
|
|
+ "\u02e9\3\2\2\2\u02ebC\3\2\2\2\u02ec\u02ee\5H%\2\u02ed\u02ec\3\2\2\2\u02ed"+
|
|
|
+ "\u02ee\3\2\2\2\u02ee\u02f2\3\2\2\2\u02ef\u02f1\5L\'\2\u02f0\u02ef\3\2"+
|
|
|
+ "\2\2\u02f1\u02f4\3\2\2\2\u02f2\u02f0\3\2\2\2\u02f2\u02f3\3\2\2\2\u02f3"+
|
|
|
+ "\u02f8\3\2\2\2\u02f4\u02f2\3\2\2\2\u02f5\u02f7\5V,\2\u02f6\u02f5\3\2\2"+
|
|
|
+ "\2\u02f7\u02fa\3\2\2\2\u02f8\u02f6\3\2\2\2\u02f8\u02f9\3\2\2\2\u02f9\u02fb"+
|
|
|
+ "\3\2\2\2\u02fa\u02f8\3\2\2\2\u02fb\u02fc\7\2\2\3\u02fcE\3\2\2\2\u02fd"+
|
|
|
+ "\u02ff\5L\'\2\u02fe\u02fd\3\2\2\2\u02ff\u0302\3\2\2\2\u0300\u02fe\3\2"+
|
|
|
+ "\2\2\u0300\u0301\3\2\2\2\u0301\u0303\3\2\2\2\u0302\u0300\3\2\2\2\u0303"+
|
|
|
+ "\u0304\5X-\2\u0304G\3\2\2\2\u0305\u0307\5J&\2\u0306\u0305\3\2\2\2\u0307"+
|
|
|
+ "\u030a\3\2\2\2\u0308\u0306\3\2\2\2\u0308\u0309\3\2\2\2\u0309\u030b\3\2"+
|
|
|
+ "\2\2\u030a\u0308\3\2\2\2\u030b\u030c\7,\2\2\u030c\u030d\5\66\34\2\u030d"+
|
|
|
+ "\u030e\7L\2\2\u030eI\3\2\2\2\u030f\u0310\5\u00f2z\2\u0310K\3\2\2\2\u0311"+
|
|
|
+ "\u0316\5N(\2\u0312\u0316\5P)\2\u0313\u0316\5R*\2\u0314\u0316\5T+\2\u0315"+
|
|
|
+ "\u0311\3\2\2\2\u0315\u0312\3\2\2\2\u0315\u0313\3\2\2\2\u0315\u0314\3\2"+
|
|
|
+ "\2\2\u0316M\3\2\2\2\u0317\u0318\7%\2\2\u0318\u0319\58\35\2\u0319\u031a"+
|
|
|
+ "\7L\2\2\u031aO\3\2\2\2\u031b\u031c\7%\2\2\u031c\u031d\5:\36\2\u031d\u031e"+
|
|
|
+ "\7N\2\2\u031e\u031f\7d\2\2\u031f\u0320\7L\2\2\u0320Q\3\2\2\2\u0321\u0322"+
|
|
|
+ "\7%\2\2\u0322\u0323\7\62\2\2\u0323\u0324\58\35\2\u0324\u0325\7N\2\2\u0325"+
|
|
|
+ "\u0326\5\u01ea\u00f6\2\u0326\u0327\7L\2\2\u0327S\3\2\2\2\u0328\u0329\7"+
|
|
|
+ "%\2\2\u0329\u032a\7\62\2\2\u032a\u032b\58\35\2\u032b\u032c\7N\2\2\u032c"+
|
|
|
+ "\u032d\7d\2\2\u032d\u032e\7L\2\2\u032eU\3\2\2\2\u032f\u0333\5^\60\2\u0330"+
|
|
|
+ "\u0333\5\u00d2j\2\u0331\u0333\7L\2\2\u0332\u032f\3\2\2\2\u0332\u0330\3"+
|
|
|
+ "\2\2\2\u0332\u0331\3\2\2\2\u0333W\3\2\2\2\u0334\u0336\5\u00f2z\2\u0335"+
|
|
|
+ "\u0334\3\2\2\2\u0336\u0339\3\2\2\2\u0337\u0335\3\2\2\2\u0337\u0338\3\2"+
|
|
|
+ "\2\2\u0338\u033b\3\2\2\2\u0339\u0337\3\2\2\2\u033a\u033c\7\3\2\2\u033b"+
|
|
|
+ "\u033a\3\2\2\2\u033b\u033c\3\2\2\2\u033c\u033d\3\2\2\2\u033d\u033e\7\4"+
|
|
|
+ "\2\2\u033e\u033f\5\64\33\2\u033f\u0343\7H\2\2\u0340\u0342\5Z.\2\u0341"+
|
|
|
+ "\u0340\3\2\2\2\u0342\u0345\3\2\2\2\u0343\u0341\3\2\2\2\u0343\u0344\3\2"+
|
|
|
+ "\2\2\u0344\u0346\3\2\2\2\u0345\u0343\3\2\2\2\u0346\u0347\7I\2\2\u0347"+
|
|
|
+ "Y\3\2\2\2\u0348\u034c\7\5\2\2\u0349\u034b\5\\/\2\u034a\u0349\3\2\2\2\u034b"+
|
|
|
+ "\u034e\3\2\2\2\u034c\u034a\3\2\2\2\u034c\u034d\3\2\2\2\u034d\u034f\3\2"+
|
|
|
+ "\2\2\u034e\u034c\3\2\2\2\u034f\u0350\5\64\33\2\u0350\u0351\7L\2\2\u0351"+
|
|
|
+ "\u0382\3\2\2\2\u0352\u0353\7\6\2\2\u0353\u035d\5\66\34\2\u0354\u0355\7"+
|
|
|
+ "\7\2\2\u0355\u035a\5\64\33\2\u0356\u0357\7M\2\2\u0357\u0359\5\64\33\2"+
|
|
|
+ "\u0358\u0356\3\2\2\2\u0359\u035c\3\2\2\2\u035a\u0358\3\2\2\2\u035a\u035b"+
|
|
|
+ "\3\2\2\2\u035b\u035e\3\2\2\2\u035c\u035a\3\2\2\2\u035d\u0354\3\2\2\2\u035d"+
|
|
|
+ "\u035e\3\2\2\2\u035e\u035f\3\2\2\2\u035f\u0360\7L\2\2\u0360\u0382\3\2"+
|
|
|
+ "\2\2\u0361\u0362\7\b\2\2\u0362\u036c\5\66\34\2\u0363\u0364\7\7\2\2\u0364"+
|
|
|
+ "\u0369\5\64\33\2\u0365\u0366\7M\2\2\u0366\u0368\5\64\33\2\u0367\u0365"+
|
|
|
+ "\3\2\2\2\u0368\u036b\3\2\2\2\u0369\u0367\3\2\2\2\u0369\u036a\3\2\2\2\u036a"+
|
|
|
+ "\u036d\3\2\2\2\u036b\u0369\3\2\2\2\u036c\u0363\3\2\2\2\u036c\u036d\3\2"+
|
|
|
+ "\2\2\u036d\u036e\3\2\2\2\u036e\u036f\7L\2\2\u036f\u0382\3\2\2\2\u0370"+
|
|
|
+ "\u0371\7\t\2\2\u0371\u0372\58\35\2\u0372\u0373\7L\2\2\u0373\u0382\3\2"+
|
|
|
+ "\2\2\u0374\u0375\7\n\2\2\u0375\u0376\58\35\2\u0376\u0377\7\13\2\2\u0377"+
|
|
|
+ "\u037c\58\35\2\u0378\u0379\7M\2\2\u0379\u037b\58\35\2\u037a\u0378\3\2"+
|
|
|
+ "\2\2\u037b\u037e\3\2\2\2\u037c\u037a\3\2\2\2\u037c\u037d\3\2\2\2\u037d"+
|
|
|
+ "\u037f\3\2\2\2\u037e\u037c\3\2\2\2\u037f\u0380\7L\2\2\u0380\u0382\3\2"+
|
|
|
+ "\2\2\u0381\u0348\3\2\2\2\u0381\u0352\3\2\2\2\u0381\u0361\3\2\2\2\u0381"+
|
|
|
+ "\u0370\3\2\2\2\u0381\u0374\3\2\2\2\u0382[\3\2\2\2\u0383\u0384\t\5\2\2"+
|
|
|
+ "\u0384]\3\2\2\2\u0385\u0388\5`\61\2\u0386\u0388\5\u00c6d\2\u0387\u0385"+
|
|
|
+ "\3\2\2\2\u0387\u0386\3\2\2\2\u0388_\3\2\2\2\u0389\u038b\5b\62\2\u038a"+
|
|
|
+ "\u0389\3\2\2\2\u038b\u038e\3\2\2\2\u038c\u038a\3\2\2\2\u038c\u038d\3\2"+
|
|
|
+ "\2\2\u038d\u038f\3\2\2\2\u038e\u038c\3\2\2\2\u038f\u0390\7\25\2\2\u0390"+
|
|
|
+ "\u0392\5\u01ea\u00f6\2\u0391\u0393\5d\63\2\u0392\u0391\3\2\2\2\u0392\u0393"+
|
|
|
+ "\3\2\2\2\u0393\u0395\3\2\2\2\u0394\u0396\5h\65\2\u0395\u0394\3\2\2\2\u0395"+
|
|
|
+ "\u0396\3\2\2\2\u0396\u0398\3\2\2\2\u0397\u0399\5j\66\2\u0398\u0397\3\2"+
|
|
|
+ "\2\2\u0398\u0399\3\2\2\2\u0399\u039a\3\2\2\2\u039a\u039b\5n8\2\u039ba"+
|
|
|
+ "\3\2\2\2\u039c\u03a5\5\u00f2z\2\u039d\u03a5\7/\2\2\u039e\u03a5\7.\2\2"+
|
|
|
+ "\u039f\u03a5\7-\2\2\u03a0\u03a5\7\r\2\2\u03a1\u03a5\7\62\2\2\u03a2\u03a5"+
|
|
|
+ "\7\36\2\2\u03a3\u03a5\7\63\2\2\u03a4\u039c\3\2\2\2\u03a4\u039d\3\2\2\2"+
|
|
|
+ "\u03a4\u039e\3\2\2\2\u03a4\u039f\3\2\2\2\u03a4\u03a0\3\2\2\2\u03a4\u03a1"+
|
|
|
+ "\3\2\2\2\u03a4\u03a2\3\2\2\2\u03a4\u03a3\3\2\2\2\u03a5c\3\2\2\2\u03a6"+
|
|
|
+ "\u03a7\7T\2\2\u03a7\u03a8\5f\64\2\u03a8\u03a9\7S\2\2\u03a9e\3\2\2\2\u03aa"+
|
|
|
+ "\u03af\5\"\22\2\u03ab\u03ac\7M\2\2\u03ac\u03ae\5\"\22\2\u03ad\u03ab\3"+
|
|
|
+ "\2\2\2\u03ae\u03b1\3\2\2\2\u03af\u03ad\3\2\2\2\u03af\u03b0\3\2\2\2\u03b0"+
|
|
|
+ "g\3\2\2\2\u03b1\u03af\3\2\2\2\u03b2\u03b3\7\35\2\2\u03b3\u03b4\5\20\t"+
|
|
|
+ "\2\u03b4i\3\2\2\2\u03b5\u03b6\7$\2\2\u03b6\u03b7\5l\67\2\u03b7k\3\2\2"+
|
|
|
+ "\2\u03b8\u03bd\5\26\f\2\u03b9\u03ba\7M\2\2\u03ba\u03bc\5\26\f\2\u03bb"+
|
|
|
+ "\u03b9\3\2\2\2\u03bc\u03bf\3\2\2\2\u03bd\u03bb\3\2\2\2\u03bd\u03be\3\2"+
|
|
|
+ "\2\2\u03bem\3\2\2\2\u03bf\u03bd\3\2\2\2\u03c0\u03c4\7H\2\2\u03c1\u03c3"+
|
|
|
+ "\5p9\2\u03c2\u03c1\3\2\2\2\u03c3\u03c6\3\2\2\2\u03c4\u03c2\3\2\2\2\u03c4"+
|
|
|
+ "\u03c5\3\2\2\2\u03c5\u03c7\3\2\2\2\u03c6\u03c4\3\2\2\2\u03c7\u03c8\7I"+
|
|
|
+ "\2\2\u03c8o\3\2\2\2\u03c9\u03ce\5r:\2\u03ca\u03ce\5\u00b6\\\2\u03cb\u03ce"+
|
|
|
+ "\5\u00b8]\2\u03cc\u03ce\5\u00ba^\2\u03cd\u03c9\3\2\2\2\u03cd\u03ca\3\2"+
|
|
|
+ "\2\2\u03cd\u03cb\3\2\2\2\u03cd\u03cc\3\2\2\2\u03ceq\3\2\2\2\u03cf\u03d5"+
|
|
|
+ "\5t;\2\u03d0\u03d5\5\u0098M\2\u03d1\u03d5\5^\60\2\u03d2\u03d5\5\u00d2"+
|
|
|
+ "j\2\u03d3\u03d5\7L\2\2\u03d4\u03cf\3\2\2\2\u03d4\u03d0\3\2\2\2\u03d4\u03d1"+
|
|
|
+ "\3\2\2\2\u03d4\u03d2\3\2\2\2\u03d4\u03d3\3\2\2\2\u03d5s\3\2\2\2\u03d6"+
|
|
|
+ "\u03d8\5v<\2\u03d7\u03d6\3\2\2\2\u03d8\u03db\3\2\2\2\u03d9\u03d7\3\2\2"+
|
|
|
+ "\2\u03d9\u03da\3\2\2\2\u03da\u03dc\3\2\2\2\u03db\u03d9\3\2\2\2\u03dc\u03dd"+
|
|
|
+ "\5\u0080A\2\u03dd\u03de\5x=\2\u03de\u03df\7L\2\2\u03dfu\3\2\2\2\u03e0"+
|
|
|
+ "\u03e9\5\u00f2z\2\u03e1\u03e9\7/\2\2\u03e2\u03e9\7.\2\2\u03e3\u03e9\7"+
|
|
|
+ "-\2\2\u03e4\u03e9\7\62\2\2\u03e5\u03e9\7\36\2\2\u03e6\u03e9\7:\2\2\u03e7"+
|
|
|
+ "\u03e9\7=\2\2\u03e8\u03e0\3\2\2\2\u03e8\u03e1\3\2\2\2\u03e8\u03e2\3\2"+
|
|
|
+ "\2\2\u03e8\u03e3\3\2\2\2\u03e8\u03e4\3\2\2\2\u03e8\u03e5\3\2\2\2\u03e8"+
|
|
|
+ "\u03e6\3\2\2\2\u03e8\u03e7\3\2\2\2\u03e9w\3\2\2\2\u03ea\u03ef\5z>\2\u03eb"+
|
|
|
+ "\u03ec\7M\2\2\u03ec\u03ee\5z>\2\u03ed\u03eb\3\2\2\2\u03ee\u03f1\3\2\2"+
|
|
|
+ "\2\u03ef\u03ed\3\2\2\2\u03ef\u03f0\3\2\2\2\u03f0y\3\2\2\2\u03f1\u03ef"+
|
|
|
+ "\3\2\2\2\u03f2\u03f5\5|?\2\u03f3\u03f4\7R\2\2\u03f4\u03f6\5~@\2\u03f5"+
|
|
|
+ "\u03f3\3\2\2\2\u03f5\u03f6\3\2\2\2\u03f6{\3\2\2\2\u03f7\u03f9\5\u01ea"+
|
|
|
+ "\u00f6\2\u03f8\u03fa\5 \21\2\u03f9\u03f8\3\2\2\2\u03f9\u03fa\3\2\2\2\u03fa"+
|
|
|
+ "}\3\2\2\2\u03fb\u03fe\5\u01ae\u00d8\2\u03fc\u03fe\5\u0104\u0083\2\u03fd"+
|
|
|
+ "\u03fb\3\2\2\2\u03fd\u03fc\3\2\2\2\u03fe\177\3\2\2\2\u03ff\u0402\5\u0082"+
|
|
|
+ "B\2\u0400\u0402\5\u0084C\2\u0401\u03ff\3\2\2\2\u0401\u0400\3\2\2\2\u0402"+
|
|
|
+ "\u0081\3\2\2\2\u0403\u0406\5\6\4\2\u0404\u0406\7\17\2\2\u0405\u0403\3"+
|
|
|
+ "\2\2\2\u0405\u0404\3\2\2\2\u0406\u0083\3\2\2\2\u0407\u040b\5\u0086D\2"+
|
|
|
+ "\u0408\u040b\5\u0094K\2\u0409\u040b\5\u0096L\2\u040a\u0407\3\2\2\2\u040a"+
|
|
|
+ "\u0408\3\2\2\2\u040a\u0409\3\2\2\2\u040b\u0085\3\2\2\2\u040c\u040f\5\u008c"+
|
|
|
+ "G\2\u040d\u040f\5\u0092J\2\u040e\u040c\3\2\2\2\u040e\u040d\3\2\2\2\u040f"+
|
|
|
+ "\u0414\3\2\2\2\u0410\u0413\5\u008aF\2\u0411\u0413\5\u0090I\2\u0412\u0410"+
|
|
|
+ "\3\2\2\2\u0412\u0411\3\2\2\2\u0413\u0416\3\2\2\2\u0414\u0412\3\2\2\2\u0414"+
|
|
|
+ "\u0415\3\2\2\2\u0415\u0087\3\2\2\2\u0416\u0414\3\2\2\2\u0417\u0419\5\u01ea"+
|
|
|
+ "\u00f6\2\u0418\u041a\5*\26\2\u0419\u0418\3\2\2\2\u0419\u041a\3\2\2\2\u041a"+
|
|
|
+ "\u0428\3\2\2\2\u041b\u041c\5\u0086D\2\u041c\u0420\7N\2\2\u041d\u041f\5"+
|
|
|
+ "\u00f2z\2\u041e\u041d\3\2\2\2\u041f\u0422\3\2\2\2\u0420\u041e\3\2\2\2"+
|
|
|
+ "\u0420\u0421\3\2\2\2\u0421\u0423\3\2\2\2\u0422\u0420\3\2\2\2\u0423\u0425"+
|
|
|
+ "\5\u01ea\u00f6\2\u0424\u0426\5*\26\2\u0425\u0424\3\2\2\2\u0425\u0426\3"+
|
|
|
+ "\2\2\2\u0426\u0428\3\2\2\2\u0427\u0417\3\2\2\2\u0427\u041b\3\2\2\2\u0428"+
|
|
|
+ "\u0089\3\2\2\2\u0429\u042d\7N\2\2\u042a\u042c\5\u00f2z\2\u042b\u042a\3"+
|
|
|
+ "\2\2\2\u042c\u042f\3\2\2\2\u042d\u042b\3\2\2\2\u042d\u042e\3\2\2\2\u042e"+
|
|
|
+ "\u0430\3\2\2\2\u042f\u042d\3\2\2\2\u0430\u0432\5\u01ea\u00f6\2\u0431\u0433"+
|
|
|
+ "\5*\26\2\u0432\u0431\3\2\2\2\u0432\u0433\3\2\2\2\u0433\u008b\3\2\2\2\u0434"+
|
|
|
+ "\u0436\5\u01ea\u00f6\2\u0435\u0437\5*\26\2\u0436\u0435\3\2\2\2\u0436\u0437"+
|
|
|
+ "\3\2\2\2\u0437\u008d\3\2\2\2\u0438\u0439\5\u0088E\2\u0439\u008f\3\2\2"+
|
|
|
+ "\2\u043a\u043b\5\u008aF\2\u043b\u0091\3\2\2\2\u043c\u043d\5\u008cG\2\u043d"+
|
|
|
+ "\u0093\3\2\2\2\u043e\u043f\5\u01ea\u00f6\2\u043f\u0095\3\2\2\2\u0440\u0441"+
|
|
|
+ "\5\u0082B\2\u0441\u0442\5 \21\2\u0442\u044a\3\2\2\2\u0443\u0444\5\u0086"+
|
|
|
+ "D\2\u0444\u0445\5 \21\2\u0445\u044a\3\2\2\2\u0446\u0447\5\u0094K\2\u0447"+
|
|
|
+ "\u0448\5 \21\2\u0448\u044a\3\2\2\2\u0449\u0440\3\2\2\2\u0449\u0443\3\2"+
|
|
|
+ "\2\2\u0449\u0446\3\2\2\2\u044a\u0097\3\2\2\2\u044b\u044d\5\u009aN\2\u044c"+
|
|
|
+ "\u044b\3\2\2\2\u044d\u0450\3\2\2\2\u044e\u044c\3\2\2\2\u044e\u044f\3\2"+
|
|
|
+ "\2\2\u044f\u0451\3\2\2\2\u0450\u044e\3\2\2\2\u0451\u0452\5\u009cO\2\u0452"+
|
|
|
+ "\u0453\5\u00b4[\2\u0453\u0099\3\2\2\2\u0454\u045f\5\u00f2z\2\u0455\u045f"+
|
|
|
+ "\7/\2\2\u0456\u045f\7.\2\2\u0457\u045f\7-\2\2\u0458\u045f\7\r\2\2\u0459"+
|
|
|
+ "\u045f\7\62\2\2\u045a\u045f\7\36\2\2\u045b\u045f\7\66\2\2\u045c\u045f"+
|
|
|
+ "\7*\2\2\u045d\u045f\7\63\2\2\u045e\u0454\3\2\2\2\u045e\u0455\3\2\2\2\u045e"+
|
|
|
+ "\u0456\3\2\2\2\u045e\u0457\3\2\2\2\u045e\u0458\3\2\2\2\u045e\u0459\3\2"+
|
|
|
+ "\2\2\u045e\u045a\3\2\2\2\u045e\u045b\3\2\2\2\u045e\u045c\3\2\2\2\u045e"+
|
|
|
+ "\u045d\3\2\2\2\u045f\u009b\3\2\2\2\u0460\u0461\5\u009eP\2\u0461\u0463"+
|
|
|
+ "\5\u00a0Q\2\u0462\u0464\5\u00aeX\2\u0463\u0462\3\2\2\2\u0463\u0464\3\2"+
|
|
|
+ "\2\2\u0464\u0472\3\2\2\2\u0465\u0469\5d\63\2\u0466\u0468\5\u00f2z\2\u0467"+
|
|
|
+ "\u0466\3\2\2\2\u0468\u046b\3\2\2\2\u0469\u0467\3\2\2\2\u0469\u046a\3\2"+
|
|
|
+ "\2\2\u046a\u046c\3\2\2\2\u046b\u0469\3\2\2\2\u046c\u046d\5\u009eP\2\u046d"+
|
|
|
+ "\u046f\5\u00a0Q\2\u046e\u0470\5\u00aeX\2\u046f\u046e\3\2\2\2\u046f\u0470"+
|
|
|
+ "\3\2\2\2\u0470\u0472\3\2\2\2\u0471\u0460\3\2\2\2\u0471\u0465\3\2\2\2\u0472"+
|
|
|
+ "\u009d\3\2\2\2\u0473\u0476\5\u0080A\2\u0474\u0476\7<\2\2\u0475\u0473\3"+
|
|
|
+ "\2\2\2\u0475\u0474\3\2\2\2\u0476\u009f\3\2\2\2\u0477\u0478\5\u01ea\u00f6"+
|
|
|
+ "\2\u0478\u047a\7F\2\2\u0479\u047b\5\u00a2R\2\u047a\u0479\3\2\2\2\u047a"+
|
|
|
+ "\u047b\3\2\2\2\u047b\u047c\3\2\2\2\u047c\u047e\7G\2\2\u047d\u047f\5 \21"+
|
|
|
+ "\2\u047e\u047d\3\2\2\2\u047e\u047f\3\2\2\2\u047f\u00a1\3\2\2\2\u0480\u0481"+
|
|
|
+ "\5\u00a4S\2\u0481\u0482\7M\2\2\u0482\u0483\5\u00aaV\2\u0483\u0487\3\2"+
|
|
|
+ "\2\2\u0484\u0487\5\u00aaV\2\u0485\u0487\5\u00acW\2\u0486\u0480\3\2\2\2"+
|
|
|
+ "\u0486\u0484\3\2\2\2\u0486\u0485\3\2\2\2\u0487\u00a3\3\2\2\2\u0488\u048d"+
|
|
|
+ "\5\u00a6T\2\u0489\u048a\7M\2\2\u048a\u048c\5\u00a6T\2\u048b\u0489\3\2"+
|
|
|
+ "\2\2\u048c\u048f\3\2\2\2\u048d\u048b\3\2\2\2\u048d\u048e\3\2\2\2\u048e"+
|
|
|
+ "\u0499\3\2\2\2\u048f\u048d\3\2\2\2\u0490\u0495\5\u00acW\2\u0491\u0492"+
|
|
|
+ "\7M\2\2\u0492\u0494\5\u00a6T\2\u0493\u0491\3\2\2\2\u0494\u0497\3\2\2\2"+
|
|
|
+ "\u0495\u0493\3\2\2\2\u0495\u0496\3\2\2\2\u0496\u0499\3\2\2\2\u0497\u0495"+
|
|
|
+ "\3\2\2\2\u0498\u0488\3\2\2\2\u0498\u0490\3\2\2\2\u0499\u00a5\3\2\2\2\u049a"+
|
|
|
+ "\u049c\5\u00a8U\2\u049b\u049a\3\2\2\2\u049c\u049f\3\2\2\2\u049d\u049b"+
|
|
|
+ "\3\2\2\2\u049d\u049e\3\2\2\2\u049e\u04a0\3\2\2\2\u049f\u049d\3\2\2\2\u04a0"+
|
|
|
+ "\u04a1\5\u0080A\2\u04a1\u04a2\5|?\2\u04a2\u00a7\3\2\2\2\u04a3\u04a6\5"+
|
|
|
+ "\u00f2z\2\u04a4\u04a6\7\36\2\2\u04a5\u04a3\3\2\2\2\u04a5\u04a4\3\2\2\2"+
|
|
|
+ "\u04a6\u00a9\3\2\2\2\u04a7\u04a9\5\u00a8U\2\u04a8\u04a7\3\2\2\2\u04a9"+
|
|
|
+ "\u04ac\3\2\2\2\u04aa\u04a8\3\2\2\2\u04aa\u04ab\3\2\2\2\u04ab\u04ad\3\2"+
|
|
|
+ "\2\2\u04ac\u04aa\3\2\2\2\u04ad\u04b1\5\u0080A\2\u04ae\u04b0\5\u00f2z\2"+
|
|
|
+ "\u04af\u04ae\3\2\2\2\u04b0\u04b3\3\2\2\2\u04b1\u04af\3\2\2\2\u04b1\u04b2"+
|
|
|
+ "\3\2\2\2\u04b2\u04b4\3\2\2\2\u04b3\u04b1\3\2\2\2\u04b4\u04b5\7O\2\2\u04b5"+
|
|
|
+ "\u04b6\5|?\2\u04b6\u04b9\3\2\2\2\u04b7\u04b9\5\u00a6T\2\u04b8\u04aa\3"+
|
|
|
+ "\2\2\2\u04b8\u04b7\3\2\2\2\u04b9\u00ab\3\2\2\2\u04ba\u04bc\5\u00f2z\2"+
|
|
|
+ "\u04bb\u04ba\3\2\2\2\u04bc\u04bf\3\2\2\2\u04bd\u04bb\3\2\2\2\u04bd\u04be"+
|
|
|
+ "\3\2\2\2\u04be\u04c0\3\2\2\2\u04bf\u04bd\3\2\2\2\u04c0\u04c4\5\u0080A"+
|
|
|
+ "\2\u04c1\u04c2\5\u01ea\u00f6\2\u04c2\u04c3\7N\2\2\u04c3\u04c5\3\2\2\2"+
|
|
|
+ "\u04c4\u04c1\3\2\2\2\u04c4\u04c5\3\2\2\2\u04c5\u04c6\3\2\2\2\u04c6\u04c7"+
|
|
|
+ "\7\67\2\2\u04c7\u00ad\3\2\2\2\u04c8\u04c9\79\2\2\u04c9\u04ca\5\u00b0Y"+
|
|
|
+ "\2\u04ca\u00af\3\2\2\2\u04cb\u04d0\5\u00b2Z\2\u04cc\u04cd\7M\2\2\u04cd"+
|
|
|
+ "\u04cf\5\u00b2Z\2\u04ce\u04cc\3\2\2\2\u04cf\u04d2\3\2\2\2\u04d0\u04ce"+
|
|
|
+ "\3\2\2\2\u04d0\u04d1\3\2\2\2\u04d1\u00b1\3\2\2\2\u04d2\u04d0\3\2\2\2\u04d3"+
|
|
|
+ "\u04d6\5\20\t\2\u04d4\u04d6\5\34\17\2\u04d5\u04d3\3\2\2\2\u04d5\u04d4"+
|
|
|
+ "\3\2\2\2\u04d6\u00b3\3\2\2\2\u04d7\u04da\5\u0108\u0085\2\u04d8\u04da\7"+
|
|
|
+ "L\2\2\u04d9\u04d7\3\2\2\2\u04d9\u04d8\3\2\2\2\u04da\u00b5\3\2\2\2\u04db"+
|
|
|
+ "\u04dc\5\u0108\u0085\2\u04dc\u00b7\3\2\2\2\u04dd\u04de\7\62\2\2\u04de"+
|
|
|
+ "\u04df\5\u0108\u0085\2\u04df\u00b9\3\2\2\2\u04e0\u04e2\5\u00bc_\2\u04e1"+
|
|
|
+ "\u04e0\3\2\2\2\u04e2\u04e5\3\2\2\2\u04e3\u04e1\3\2\2\2\u04e3\u04e4\3\2"+
|
|
|
+ "\2\2\u04e4\u04e6\3\2\2\2\u04e5\u04e3\3\2\2\2\u04e6\u04e8\5\u00be`\2\u04e7"+
|
|
|
+ "\u04e9\5\u00aeX\2\u04e8\u04e7\3\2\2\2\u04e8\u04e9\3\2\2\2\u04e9\u04ea"+
|
|
|
+ "\3\2\2\2\u04ea\u04eb\5\u00c2b\2\u04eb\u00bb\3\2\2\2\u04ec\u04f1\5\u00f2"+
|
|
|
+ "z\2\u04ed\u04f1\7/\2\2\u04ee\u04f1\7.\2\2\u04ef\u04f1\7-\2\2\u04f0\u04ec"+
|
|
|
+ "\3\2\2\2\u04f0\u04ed\3\2\2\2\u04f0\u04ee\3\2\2\2\u04f0\u04ef\3\2\2\2\u04f1"+
|
|
|
+ "\u00bd\3\2\2\2\u04f2\u04f4\5d\63\2\u04f3\u04f2\3\2\2\2\u04f3\u04f4\3\2"+
|
|
|
+ "\2\2\u04f4\u04f5\3\2\2\2\u04f5\u04f6\5\u00c0a\2\u04f6\u04f8\7F\2\2\u04f7"+
|
|
|
+ "\u04f9\5\u00a2R\2\u04f8\u04f7\3\2\2\2\u04f8\u04f9\3\2\2\2\u04f9\u04fa"+
|
|
|
+ "\3\2\2\2\u04fa\u04fb\7G\2\2\u04fb\u00bf\3\2\2\2\u04fc\u04fd\5\u01ea\u00f6"+
|
|
|
+ "\2\u04fd\u00c1\3\2\2\2\u04fe\u0500\7H\2\2\u04ff\u0501\5\u00c4c\2\u0500"+
|
|
|
+ "\u04ff\3\2\2\2\u0500\u0501\3\2\2\2\u0501\u0503\3\2\2\2\u0502\u0504\5\u010a"+
|
|
|
+ "\u0086\2\u0503\u0502\3\2\2\2\u0503\u0504\3\2\2\2\u0504\u0505\3\2\2\2\u0505"+
|
|
|
+ "\u0506\7I\2\2\u0506\u00c3\3\2\2\2\u0507\u0509\5*\26\2\u0508\u0507\3\2"+
|
|
|
+ "\2\2\u0508\u0509\3\2\2\2\u0509\u050a\3\2\2\2\u050a\u050b\7\67\2\2\u050b"+
|
|
|
+ "\u050d\7F\2\2\u050c\u050e\5\u019e\u00d0\2\u050d\u050c\3\2\2\2\u050d\u050e"+
|
|
|
+ "\3\2\2\2\u050e\u050f\3\2\2\2\u050f\u0510\7G\2\2\u0510\u0536\7L\2\2\u0511"+
|
|
|
+ "\u0513\5*\26\2\u0512\u0511\3\2\2\2\u0512\u0513\3\2\2\2\u0513\u0514\3\2"+
|
|
|
+ "\2\2\u0514\u0515\7\64\2\2\u0515\u0517\7F\2\2\u0516\u0518\5\u019e\u00d0"+
|
|
|
+ "\2\u0517\u0516\3\2\2\2\u0517\u0518\3\2\2\2\u0518\u0519\3\2\2\2\u0519\u051a"+
|
|
|
+ "\7G\2\2\u051a\u0536\7L\2\2\u051b\u051c\5<\37\2\u051c\u051e\7N\2\2\u051d"+
|
|
|
+ "\u051f\5*\26\2\u051e\u051d\3\2\2\2\u051e\u051f\3\2\2\2\u051f\u0520\3\2"+
|
|
|
+ "\2\2\u0520\u0521\7\64\2\2\u0521\u0523\7F\2\2\u0522\u0524\5\u019e\u00d0"+
|
|
|
+ "\2\u0523\u0522\3\2\2\2\u0523\u0524\3\2\2\2\u0524\u0525\3\2\2\2\u0525\u0526"+
|
|
|
+ "\7G\2\2\u0526\u0527\7L\2\2\u0527\u0536\3\2\2\2\u0528\u0529\5\u016e\u00b8"+
|
|
|
+ "\2\u0529\u052b\7N\2\2\u052a\u052c\5*\26\2\u052b\u052a\3\2\2\2\u052b\u052c"+
|
|
|
+ "\3\2\2\2\u052c\u052d\3\2\2\2\u052d\u052e\7\64\2\2\u052e\u0530\7F\2\2\u052f"+
|
|
|
+ "\u0531\5\u019e\u00d0\2\u0530\u052f\3\2\2\2\u0530\u0531\3\2\2\2\u0531\u0532"+
|
|
|
+ "\3\2\2\2\u0532\u0533\7G\2\2\u0533\u0534\7L\2\2\u0534\u0536\3\2\2\2\u0535"+
|
|
|
+ "\u0508\3\2\2\2\u0535\u0512\3\2\2\2\u0535\u051b\3\2\2\2\u0535\u0528\3\2"+
|
|
|
+ "\2\2\u0536\u00c5\3\2\2\2\u0537\u0539\5b\62\2\u0538\u0537\3\2\2\2\u0539"+
|
|
|
+ "\u053c\3\2\2\2\u053a\u0538\3\2\2\2\u053a\u053b\3\2\2\2\u053b\u053d\3\2"+
|
|
|
+ "\2\2\u053c\u053a\3\2\2\2\u053d\u053e\7\34\2\2\u053e\u0540\5\u01ea\u00f6"+
|
|
|
+ "\2\u053f\u0541\5j\66\2\u0540\u053f\3\2\2\2\u0540\u0541\3\2\2\2\u0541\u0542"+
|
|
|
+ "\3\2\2\2\u0542\u0543\5\u00c8e\2\u0543\u00c7\3\2\2\2\u0544\u0546\7H\2\2"+
|
|
|
+ "\u0545\u0547\5\u00caf\2\u0546\u0545\3\2\2\2\u0546\u0547\3\2\2\2\u0547"+
|
|
|
+ "\u0549\3\2\2\2\u0548\u054a\7M\2\2\u0549\u0548\3\2\2\2\u0549\u054a\3\2"+
|
|
|
+ "\2\2\u054a\u054c\3\2\2\2\u054b\u054d\5\u00d0i\2\u054c\u054b\3\2\2\2\u054c"+
|
|
|
+ "\u054d\3\2\2\2\u054d\u054e\3\2\2\2\u054e\u054f\7I\2\2\u054f\u00c9\3\2"+
|
|
|
+ "\2\2\u0550\u0555\5\u00ccg\2\u0551\u0552\7M\2\2\u0552\u0554\5\u00ccg\2"+
|
|
|
+ "\u0553\u0551\3\2\2\2\u0554\u0557\3\2\2\2\u0555\u0553\3\2\2\2\u0555\u0556"+
|
|
|
+ "\3\2\2\2\u0556\u00cb\3\2\2\2\u0557\u0555\3\2\2\2\u0558\u055a\5\u00ceh"+
|
|
|
+ "\2\u0559\u0558\3\2\2\2\u055a\u055d\3\2\2\2\u055b\u0559\3\2\2\2\u055b\u055c"+
|
|
|
+ "\3\2\2\2\u055c\u055e\3\2\2\2\u055d\u055b\3\2\2\2\u055e\u0564\5\u01ea\u00f6"+
|
|
|
+ "\2\u055f\u0561\7F\2\2\u0560\u0562\5\u019e\u00d0\2\u0561\u0560\3\2\2\2"+
|
|
|
+ "\u0561\u0562\3\2\2\2\u0562\u0563\3\2\2\2\u0563\u0565\7G\2\2\u0564\u055f"+
|
|
|
+ "\3\2\2\2\u0564\u0565\3\2\2\2\u0565\u0567\3\2\2\2\u0566\u0568\5n8\2\u0567"+
|
|
|
+ "\u0566\3\2\2\2\u0567\u0568\3\2\2\2\u0568\u00cd\3\2\2\2\u0569\u056a\5\u00f2"+
|
|
|
+ "z\2\u056a\u00cf\3\2\2\2\u056b\u056f\7L\2\2\u056c\u056e\5p9\2\u056d\u056c"+
|
|
|
+ "\3\2\2\2\u056e\u0571\3\2\2\2\u056f\u056d\3\2\2\2\u056f\u0570\3\2\2\2\u0570"+
|
|
|
+ "\u00d1\3\2\2\2\u0571\u056f\3\2\2\2\u0572\u0575\5\u00d4k\2\u0573\u0575"+
|
|
|
+ "\5\u00e6t\2\u0574\u0572\3\2\2\2\u0574\u0573\3\2\2\2\u0575\u00d3\3\2\2"+
|
|
|
+ "\2\u0576\u0578\5\u00d6l\2\u0577\u0576\3\2\2\2\u0578\u057b\3\2\2\2\u0579"+
|
|
|
+ "\u0577\3\2\2\2\u0579\u057a\3\2\2\2\u057a\u057c\3\2\2\2\u057b\u0579\3\2"+
|
|
|
+ "\2\2\u057c\u057d\7(\2\2\u057d\u057f\5\u01ea\u00f6\2\u057e\u0580\5d\63"+
|
|
|
+ "\2\u057f\u057e\3\2\2\2\u057f\u0580\3\2\2\2\u0580\u0582\3\2\2\2\u0581\u0583"+
|
|
|
+ "\5\u00d8m\2\u0582\u0581\3\2\2\2\u0582\u0583\3\2\2\2\u0583\u0584\3\2\2"+
|
|
|
+ "\2\u0584\u0585\5\u00dan\2\u0585\u00d5\3\2\2\2\u0586\u058e\5\u00f2z\2\u0587"+
|
|
|
+ "\u058e\7/\2\2\u0588\u058e\7.\2\2\u0589\u058e\7-\2\2\u058a\u058e\7\r\2"+
|
|
|
+ "\2\u058b\u058e\7\62\2\2\u058c\u058e\7\63\2\2\u058d\u0586\3\2\2\2\u058d"+
|
|
|
+ "\u0587\3\2\2\2\u058d\u0588\3\2\2\2\u058d\u0589\3\2\2\2\u058d\u058a\3\2"+
|
|
|
+ "\2\2\u058d\u058b\3\2\2\2\u058d\u058c\3\2\2\2\u058e\u00d7\3\2\2\2\u058f"+
|
|
|
+ "\u0590\7\35\2\2\u0590\u0591\5l\67\2\u0591\u00d9\3\2\2\2\u0592\u0596\7"+
|
|
|
+ "H\2\2\u0593\u0595\5\u00dco\2\u0594\u0593\3\2\2\2\u0595\u0598\3\2\2\2\u0596"+
|
|
|
+ "\u0594\3\2\2\2\u0596\u0597\3\2\2\2\u0597\u0599\3\2\2\2\u0598\u0596\3\2"+
|
|
|
+ "\2\2\u0599\u059a\7I\2\2\u059a\u00db\3\2\2\2\u059b\u05a1\5\u00dep\2\u059c"+
|
|
|
+ "\u05a1\5\u00e2r\2\u059d\u05a1\5^\60\2\u059e\u05a1\5\u00d2j\2\u059f\u05a1"+
|
|
|
+ "\7L\2\2\u05a0\u059b\3\2\2\2\u05a0\u059c\3\2\2\2\u05a0\u059d\3\2\2\2\u05a0"+
|
|
|
+ "\u059e\3\2\2\2\u05a0\u059f\3\2\2\2\u05a1\u00dd\3\2\2\2\u05a2\u05a4\5\u00e0"+
|
|
|
+ "q\2\u05a3\u05a2\3\2\2\2\u05a4\u05a7\3\2\2\2\u05a5\u05a3\3\2\2\2\u05a5"+
|
|
|
+ "\u05a6\3\2\2\2\u05a6\u05a8\3\2\2\2\u05a7\u05a5\3\2\2\2\u05a8\u05a9\5\u0080"+
|
|
|
+ "A\2\u05a9\u05aa\5x=\2\u05aa\u05ab\7L\2\2\u05ab\u00df\3\2\2\2\u05ac\u05b1"+
|
|
|
+ "\5\u00f2z\2\u05ad\u05b1\7/\2\2\u05ae\u05b1\7\62\2\2\u05af\u05b1\7\36\2"+
|
|
|
+ "\2\u05b0\u05ac\3\2\2\2\u05b0\u05ad\3\2\2\2\u05b0\u05ae\3\2\2\2\u05b0\u05af"+
|
|
|
+ "\3\2\2\2\u05b1\u00e1\3\2\2\2\u05b2\u05b4\5\u00e4s\2\u05b3\u05b2\3\2\2"+
|
|
|
+ "\2\u05b4\u05b7\3\2\2\2\u05b5\u05b3\3\2\2\2\u05b5\u05b6\3\2\2\2\u05b6\u05b8"+
|
|
|
+ "\3\2\2\2\u05b7\u05b5\3\2\2\2\u05b8\u05b9\5\u009cO\2\u05b9\u05ba\5\u00b4"+
|
|
|
+ "[\2\u05ba\u00e3\3\2\2\2\u05bb\u05c3\5\u00f2z\2\u05bc\u05c3\7/\2\2\u05bd"+
|
|
|
+ "\u05c3\7-\2\2\u05be\u05c3\7\r\2\2\u05bf\u05c3\7\30\2\2\u05c0\u05c3\7\62"+
|
|
|
+ "\2\2\u05c1\u05c3\7\63\2\2\u05c2\u05bb\3\2\2\2\u05c2\u05bc\3\2\2\2\u05c2"+
|
|
|
+ "\u05bd\3\2\2\2\u05c2\u05be\3\2\2\2\u05c2\u05bf\3\2\2\2\u05c2\u05c0\3\2"+
|
|
|
+ "\2\2\u05c2\u05c1\3\2\2\2\u05c3\u00e5\3\2\2\2\u05c4\u05c6\5\u00d6l\2\u05c5"+
|
|
|
+ "\u05c4\3\2\2\2\u05c6\u05c9\3\2\2\2\u05c7\u05c5\3\2\2\2\u05c7\u05c8\3\2"+
|
|
|
+ "\2\2\u05c8\u05ca\3\2\2\2\u05c9\u05c7\3\2\2\2\u05ca\u05cb\7P\2\2\u05cb"+
|
|
|
+ "\u05cc\7(\2\2\u05cc\u05cd\5\u01ea\u00f6\2\u05cd\u05ce\5\u00e8u\2\u05ce"+
|
|
|
+ "\u00e7\3\2\2\2\u05cf\u05d3\7H\2\2\u05d0\u05d2\5\u00eav\2\u05d1\u05d0\3"+
|
|
|
+ "\2\2\2\u05d2\u05d5\3\2\2\2\u05d3\u05d1\3\2\2\2\u05d3\u05d4\3\2\2\2\u05d4"+
|
|
|
+ "\u05d6\3\2\2\2\u05d5\u05d3\3\2\2\2\u05d6\u05d7\7I\2\2\u05d7\u00e9\3\2"+
|
|
|
+ "\2\2\u05d8\u05de\5\u00ecw\2\u05d9\u05de\5\u00dep\2\u05da\u05de\5^\60\2"+
|
|
|
+ "\u05db\u05de\5\u00d2j\2\u05dc\u05de\7L\2\2\u05dd\u05d8\3\2\2\2\u05dd\u05d9"+
|
|
|
+ "\3\2\2\2\u05dd\u05da\3\2\2\2\u05dd\u05db\3\2\2\2\u05dd\u05dc\3\2\2\2\u05de"+
|
|
|
+ "\u00eb\3\2\2\2\u05df\u05e1\5\u00eex\2\u05e0\u05df\3\2\2\2\u05e1\u05e4"+
|
|
|
+ "\3\2\2\2\u05e2\u05e0\3\2\2\2\u05e2\u05e3\3\2\2\2\u05e3\u05e5\3\2\2\2\u05e4"+
|
|
|
+ "\u05e2\3\2\2\2\u05e5\u05e6\5\u0080A\2\u05e6\u05e7\5\u01ea\u00f6\2\u05e7"+
|
|
|
+ "\u05e8\7F\2\2\u05e8\u05ea\7G\2\2\u05e9\u05eb\5 \21\2\u05ea\u05e9\3\2\2"+
|
|
|
+ "\2\u05ea\u05eb\3\2\2\2\u05eb\u05ed\3\2\2\2\u05ec\u05ee\5\u00f0y\2\u05ed"+
|
|
|
+ "\u05ec\3\2\2\2\u05ed\u05ee\3\2\2\2\u05ee\u05ef\3\2\2\2\u05ef\u05f0\7L"+
|
|
|
+ "\2\2\u05f0\u00ed\3\2\2\2\u05f1\u05f5\5\u00f2z\2\u05f2\u05f5\7/\2\2\u05f3"+
|
|
|
+ "\u05f5\7\r\2\2\u05f4\u05f1\3\2\2\2\u05f4\u05f2\3\2\2\2\u05f4\u05f3\3\2"+
|
|
|
+ "\2\2\u05f5\u00ef\3\2\2\2\u05f6\u05f7\7\30\2\2\u05f7\u05f8\5\u00fa~\2\u05f8"+
|
|
|
+ "\u00f1\3\2\2\2\u05f9\u05fd\5\u00f4{\2\u05fa\u05fd\5\u0100\u0081\2\u05fb"+
|
|
|
+ "\u05fd\5\u0102\u0082\2\u05fc\u05f9\3\2\2\2\u05fc\u05fa\3\2\2\2\u05fc\u05fb"+
|
|
|
+ "\3\2\2\2\u05fd\u00f3\3\2\2\2\u05fe\u05ff\7P\2\2\u05ff\u0600\58\35\2\u0600"+
|
|
|
+ "\u0602\7F\2\2\u0601\u0603\5\u00f6|\2\u0602\u0601\3\2\2\2\u0602\u0603\3"+
|
|
|
+ "\2\2\2\u0603\u0604\3\2\2\2\u0604\u0605\7G\2\2\u0605\u00f5\3\2\2\2\u0606"+
|
|
|
+ "\u060b\5\u00f8}\2\u0607\u0608\7M\2\2\u0608\u060a\5\u00f8}\2\u0609\u0607"+
|
|
|
+ "\3\2\2\2\u060a\u060d\3\2\2\2\u060b\u0609\3\2\2\2\u060b\u060c\3\2\2\2\u060c"+
|
|
|
+ "\u00f7\3\2\2\2\u060d\u060b\3\2\2\2\u060e\u060f\5\u01ea\u00f6\2\u060f\u0610"+
|
|
|
+ "\7R\2\2\u0610\u0611\5\u00fa~\2\u0611\u00f9\3\2\2\2\u0612\u0616\5\u01c0"+
|
|
|
+ "\u00e1\2\u0613\u0616\5\u00fc\177\2\u0614\u0616\5\u00f2z\2\u0615\u0612"+
|
|
|
+ "\3\2\2\2\u0615\u0613\3\2\2\2\u0615\u0614\3\2\2\2\u0616\u00fb\3\2\2\2\u0617"+
|
|
|
+ "\u0619\7H\2\2\u0618\u061a\5\u00fe\u0080\2\u0619\u0618\3\2\2\2\u0619\u061a"+
|
|
|
+ "\3\2\2\2\u061a\u061c\3\2\2\2\u061b\u061d\7M\2\2\u061c\u061b\3\2\2\2\u061c"+
|
|
|
+ "\u061d\3\2\2\2\u061d\u061e\3\2\2\2\u061e\u061f\7I\2\2\u061f\u00fd\3\2"+
|
|
|
+ "\2\2\u0620\u0625\5\u00fa~\2\u0621\u0622\7M\2\2\u0622\u0624\5\u00fa~\2"+
|
|
|
+ "\u0623\u0621\3\2\2\2\u0624\u0627\3\2\2\2\u0625\u0623\3\2\2\2\u0625\u0626"+
|
|
|
+ "\3\2\2\2\u0626\u00ff\3\2\2\2\u0627\u0625\3\2\2\2\u0628\u0629\7P\2\2\u0629"+
|
|
|
+ "\u062a\58\35\2\u062a\u0101\3\2\2\2\u062b\u062c\7P\2\2\u062c\u062d\58\35"+
|
|
|
+ "\2\u062d\u062e\7F\2\2\u062e\u062f\5\u00fa~\2\u062f\u0630\7G\2\2\u0630"+
|
|
|
+ "\u0103\3\2\2\2\u0631\u0633\7H\2\2\u0632\u0634\5\u0106\u0084\2\u0633\u0632"+
|
|
|
+ "\3\2\2\2\u0633\u0634\3\2\2\2\u0634\u0636\3\2\2\2\u0635\u0637\7M\2\2\u0636"+
|
|
|
+ "\u0635\3\2\2\2\u0636\u0637\3\2\2\2\u0637\u0638\3\2\2\2\u0638\u0639\7I"+
|
|
|
+ "\2\2\u0639\u0105\3\2\2\2\u063a\u063f\5~@\2\u063b\u063c\7M\2\2\u063c\u063e"+
|
|
|
+ "\5~@\2\u063d\u063b\3\2\2\2\u063e\u0641\3\2\2\2\u063f\u063d\3\2\2\2\u063f"+
|
|
|
+ "\u0640\3\2\2\2\u0640\u0107\3\2\2\2\u0641\u063f\3\2\2\2\u0642\u0644\7H"+
|
|
|
+ "\2\2\u0643\u0645\5\u010a\u0086\2\u0644\u0643\3\2\2\2\u0644\u0645\3\2\2"+
|
|
|
+ "\2\u0645\u0646\3\2\2\2\u0646\u0647\7I\2\2\u0647\u0109\3\2\2\2\u0648\u064a"+
|
|
|
+ "\5\u010c\u0087\2\u0649\u0648\3\2\2\2\u064a\u064b\3\2\2\2\u064b\u0649\3"+
|
|
|
+ "\2\2\2\u064b\u064c\3\2\2\2\u064c\u010b\3\2\2\2\u064d\u0651\5\u010e\u0088"+
|
|
|
+ "\2\u064e\u0651\5^\60\2\u064f\u0651\5\u0112\u008a\2\u0650\u064d\3\2\2\2"+
|
|
|
+ "\u0650\u064e\3\2\2\2\u0650\u064f\3\2\2\2\u0651\u010d\3\2\2\2\u0652\u0653"+
|
|
|
+ "\5\u0110\u0089\2\u0653\u0654\7L\2\2\u0654\u010f\3\2\2\2\u0655\u0657\5"+
|
|
|
+ "\u00a8U\2\u0656\u0655\3\2\2\2\u0657\u065a\3\2\2\2\u0658\u0656\3\2\2\2"+
|
|
|
+ "\u0658\u0659\3\2\2\2\u0659\u065b\3\2\2\2\u065a\u0658\3\2\2\2\u065b\u065c"+
|
|
|
+ "\5\u0080A\2\u065c\u065d\5x=\2\u065d\u0111\3\2\2\2\u065e\u0665\5\u0116"+
|
|
|
+ "\u008c\2\u065f\u0665\5\u011a\u008e\2\u0660\u0665\5\u0122\u0092\2\u0661"+
|
|
|
+ "\u0665\5\u0124\u0093\2\u0662\u0665\5\u0136\u009c\2\u0663\u0665\5\u013c"+
|
|
|
+ "\u009f\2\u0664\u065e\3\2\2\2\u0664\u065f\3\2\2\2\u0664\u0660\3\2\2\2\u0664"+
|
|
|
+ "\u0661\3\2\2\2\u0664\u0662\3\2\2\2\u0664\u0663\3\2\2\2\u0665\u0113\3\2"+
|
|
|
+ "\2\2\u0666\u066c\5\u0116\u008c\2\u0667\u066c\5\u011c\u008f\2\u0668\u066c"+
|
|
|
+ "\5\u0126\u0094\2\u0669\u066c\5\u0138\u009d\2\u066a\u066c\5\u013e\u00a0"+
|
|
|
+ "\2\u066b\u0666\3\2\2\2\u066b\u0667\3\2\2\2\u066b\u0668\3\2\2\2\u066b\u0669"+
|
|
|
+ "\3\2\2\2\u066b\u066a\3\2\2\2\u066c\u0115\3\2\2\2\u066d\u067a\5\u0108\u0085"+
|
|
|
+ "\2\u066e\u067a\5\u0118\u008d\2\u066f\u067a\5\u011e\u0090\2\u0670\u067a"+
|
|
|
+ "\5\u0128\u0095\2\u0671\u067a\5\u012a\u0096\2\u0672\u067a\5\u013a\u009e"+
|
|
|
+ "\2\u0673\u067a\5\u014e\u00a8\2\u0674\u067a\5\u0150\u00a9\2\u0675\u067a"+
|
|
|
+ "\5\u0152\u00aa\2\u0676\u067a\5\u0156\u00ac\2\u0677\u067a\5\u0154\u00ab"+
|
|
|
+ "\2\u0678\u067a\5\u0158\u00ad\2\u0679\u066d\3\2\2\2\u0679\u066e\3\2\2\2"+
|
|
|
+ "\u0679\u066f\3\2\2\2\u0679\u0670\3\2\2\2\u0679\u0671\3\2\2\2\u0679\u0672"+
|
|
|
+ "\3\2\2\2\u0679\u0673\3\2\2\2\u0679\u0674\3\2\2\2\u0679\u0675\3\2\2\2\u0679"+
|
|
|
+ "\u0676\3\2\2\2\u0679\u0677\3\2\2\2\u0679\u0678\3\2\2\2\u067a\u0117\3\2"+
|
|
|
+ "\2\2\u067b\u067c\7L\2\2\u067c\u0119\3\2\2\2\u067d\u067e\5\u01ea\u00f6"+
|
|
|
+ "\2\u067e\u067f\7X\2\2\u067f\u0680\5\u0112\u008a\2\u0680\u011b\3\2\2\2"+
|
|
|
+ "\u0681\u0682\5\u01ea\u00f6\2\u0682\u0683\7X\2\2\u0683\u0684\5\u0114\u008b"+
|
|
|
+ "\2\u0684\u011d\3\2\2\2\u0685\u0686\5\u0120\u0091\2\u0686\u0687\7L\2\2"+
|
|
|
+ "\u0687\u011f\3\2\2\2\u0688\u0690\5\u01ba\u00de\2\u0689\u0690\5\u01d8\u00ed"+
|
|
|
+ "\2\u068a\u0690\5\u01da\u00ee\2\u068b\u0690\5\u01e0\u00f1\2\u068c\u0690"+
|
|
|
+ "\5\u01e4\u00f3\2\u068d\u0690\5\u0198\u00cd\2\u068e\u0690\5\u0184\u00c3"+
|
|
|
+ "\2\u068f\u0688\3\2\2\2\u068f\u0689\3\2\2\2\u068f\u068a\3\2\2\2\u068f\u068b"+
|
|
|
+ "\3\2\2\2\u068f\u068c\3\2\2\2\u068f\u068d\3\2\2\2\u068f\u068e\3\2\2\2\u0690"+
|
|
|
+ "\u0121\3\2\2\2\u0691\u0692\7\"\2\2\u0692\u0693\7F\2\2\u0693\u0694\5\u01ae"+
|
|
|
+ "\u00d8\2\u0694\u0695\7G\2\2\u0695\u0696\5\u0112\u008a\2\u0696\u0123\3"+
|
|
|
+ "\2\2\2\u0697\u0698\7\"\2\2\u0698\u0699\7F\2\2\u0699\u069a\5\u01ae\u00d8"+
|
|
|
+ "\2\u069a\u069b\7G\2\2\u069b\u069c\5\u0114\u008b\2\u069c\u069d\7\33\2\2"+
|
|
|
+ "\u069d\u069e\5\u0112\u008a\2\u069e\u0125\3\2\2\2\u069f\u06a0\7\"\2\2\u06a0"+
|
|
|
+ "\u06a1\7F\2\2\u06a1\u06a2\5\u01ae\u00d8\2\u06a2\u06a3\7G\2\2\u06a3\u06a4"+
|
|
|
+ "\5\u0114\u008b\2\u06a4\u06a5\7\33\2\2\u06a5\u06a6\5\u0114\u008b\2\u06a6"+
|
|
|
+ "\u0127\3\2\2\2\u06a7\u06a8\7\16\2\2\u06a8\u06a9\5\u01ae\u00d8\2\u06a9"+
|
|
|
+ "\u06aa\7L\2\2\u06aa\u06b2\3\2\2\2\u06ab\u06ac\7\16\2\2\u06ac\u06ad\5\u01ae"+
|
|
|
+ "\u00d8\2\u06ad\u06ae\7X\2\2\u06ae\u06af\5\u01ae\u00d8\2\u06af\u06b0\7"+
|
|
|
+ "L\2\2\u06b0\u06b2\3\2\2\2\u06b1\u06a7\3\2\2\2\u06b1\u06ab\3\2\2\2\u06b2"+
|
|
|
+ "\u0129\3\2\2\2\u06b3\u06b4\7\65\2\2\u06b4\u06b5\7F\2\2\u06b5\u06b6\5\u01ae"+
|
|
|
+ "\u00d8\2\u06b6\u06b7\7G\2\2\u06b7\u06b8\5\u012c\u0097\2\u06b8\u012b\3"+
|
|
|
+ "\2\2\2\u06b9\u06bd\7H\2\2\u06ba\u06bc\5\u012e\u0098\2\u06bb\u06ba\3\2"+
|
|
|
+ "\2\2\u06bc\u06bf\3\2\2\2\u06bd\u06bb\3\2\2\2\u06bd\u06be\3\2\2\2\u06be"+
|
|
|
+ "\u06c3\3\2\2\2\u06bf\u06bd\3\2\2\2\u06c0\u06c2\5\u0132\u009a\2\u06c1\u06c0"+
|
|
|
+ "\3\2\2\2\u06c2\u06c5\3\2\2\2\u06c3\u06c1\3\2\2\2\u06c3\u06c4\3\2\2\2\u06c4"+
|
|
|
+ "\u06c6\3\2\2\2\u06c5\u06c3\3\2\2\2\u06c6\u06c7\7I\2\2\u06c7\u012d\3\2"+
|
|
|
+ "\2\2\u06c8\u06c9\5\u0130\u0099\2\u06c9\u06ca\5\u010a\u0086\2\u06ca\u012f"+
|
|
|
+ "\3\2\2\2\u06cb\u06cd\5\u0132\u009a\2\u06cc\u06cb\3\2\2\2\u06cd\u06ce\3"+
|
|
|
+ "\2\2\2\u06ce\u06cc\3\2\2\2\u06ce\u06cf\3\2\2\2\u06cf\u0131\3\2\2\2\u06d0"+
|
|
|
+ "\u06d1\7\22\2\2\u06d1\u06d2\5\u01ac\u00d7\2\u06d2\u06d3\7X\2\2\u06d3\u06db"+
|
|
|
+ "\3\2\2\2\u06d4\u06d5\7\22\2\2\u06d5\u06d6\5\u0134\u009b\2\u06d6\u06d7"+
|
|
|
+ "\7X\2\2\u06d7\u06db\3\2\2\2\u06d8\u06d9\7\30\2\2\u06d9\u06db\7X\2\2\u06da"+
|
|
|
+ "\u06d0\3\2\2\2\u06da\u06d4\3\2\2\2\u06da\u06d8\3\2\2\2\u06db\u0133\3\2"+
|
|
|
+ "\2\2\u06dc\u06dd\5\u01ea\u00f6\2\u06dd\u0135\3\2\2\2\u06de\u06df\7>\2"+
|
|
|
+ "\2\u06df\u06e0\7F\2\2\u06e0\u06e1\5\u01ae\u00d8\2\u06e1\u06e2\7G\2\2\u06e2"+
|
|
|
+ "\u06e3\5\u0112\u008a\2\u06e3\u0137\3\2\2\2\u06e4\u06e5\7>\2\2\u06e5\u06e6"+
|
|
|
+ "\7F\2\2\u06e6\u06e7\5\u01ae\u00d8\2\u06e7\u06e8\7G\2\2\u06e8\u06e9\5\u0114"+
|
|
|
+ "\u008b\2\u06e9\u0139\3\2\2\2\u06ea\u06eb\7\31\2\2\u06eb\u06ec\5\u0112"+
|
|
|
+ "\u008a\2\u06ec\u06ed\7>\2\2\u06ed\u06ee\7F\2\2\u06ee\u06ef\5\u01ae\u00d8"+
|
|
|
+ "\2\u06ef\u06f0\7G\2\2\u06f0\u06f1\7L\2\2\u06f1\u013b\3\2\2\2\u06f2\u06f5"+
|
|
|
+ "\5\u0140\u00a1\2\u06f3\u06f5\5\u014a\u00a6\2\u06f4\u06f2\3\2\2\2\u06f4"+
|
|
|
+ "\u06f3\3\2\2\2\u06f5\u013d\3\2\2\2\u06f6\u06f9\5\u0142\u00a2\2\u06f7\u06f9"+
|
|
|
+ "\5\u014c\u00a7\2\u06f8\u06f6\3\2\2\2\u06f8\u06f7\3\2\2\2\u06f9\u013f\3"+
|
|
|
+ "\2\2\2\u06fa\u06fb\7!\2\2\u06fb\u06fd\7F\2\2\u06fc\u06fe\5\u0144\u00a3"+
|
|
|
+ "\2\u06fd\u06fc\3\2\2\2\u06fd\u06fe\3\2\2\2\u06fe\u06ff\3\2\2\2\u06ff\u0701"+
|
|
|
+ "\7L\2\2\u0700\u0702\5\u01ae\u00d8\2\u0701\u0700\3\2\2\2\u0701\u0702\3"+
|
|
|
+ "\2\2\2\u0702\u0703\3\2\2\2\u0703\u0705\7L\2\2\u0704\u0706\5\u0146\u00a4"+
|
|
|
+ "\2\u0705\u0704\3\2\2\2\u0705\u0706\3\2\2\2\u0706\u0707\3\2\2\2\u0707\u0708"+
|
|
|
+ "\7G\2\2\u0708\u0709\5\u0112\u008a\2\u0709\u0141\3\2\2\2\u070a\u070b\7"+
|
|
|
+ "!\2\2\u070b\u070d\7F\2\2\u070c\u070e\5\u0144\u00a3\2\u070d\u070c\3\2\2"+
|
|
|
+ "\2\u070d\u070e\3\2\2\2\u070e\u070f\3\2\2\2\u070f\u0711\7L\2\2\u0710\u0712"+
|
|
|
+ "\5\u01ae\u00d8\2\u0711\u0710\3\2\2\2\u0711\u0712\3\2\2\2\u0712\u0713\3"+
|
|
|
+ "\2\2\2\u0713\u0715\7L\2\2\u0714\u0716\5\u0146\u00a4\2\u0715\u0714\3\2"+
|
|
|
+ "\2\2\u0715\u0716\3\2\2\2\u0716\u0717\3\2\2\2\u0717\u0718\7G\2\2\u0718"+
|
|
|
+ "\u0719\5\u0114\u008b\2\u0719\u0143\3\2\2\2\u071a\u071d\5\u0148\u00a5\2"+
|
|
|
+ "\u071b\u071d\5\u0110\u0089\2\u071c\u071a\3\2\2\2\u071c\u071b\3\2\2\2\u071d"+
|
|
|
+ "\u0145\3\2\2\2\u071e\u071f\5\u0148\u00a5\2\u071f\u0147\3\2\2\2\u0720\u0725"+
|
|
|
+ "\5\u0120\u0091\2\u0721\u0722\7M\2\2\u0722\u0724\5\u0120\u0091\2\u0723"+
|
|
|
+ "\u0721\3\2\2\2\u0724\u0727\3\2\2\2\u0725\u0723\3\2\2\2\u0725\u0726\3\2"+
|
|
|
+ "\2\2\u0726\u0149\3\2\2\2\u0727\u0725\3\2\2\2\u0728\u0729\7!\2\2\u0729"+
|
|
|
+ "\u072d\7F\2\2\u072a\u072c\5\u00a8U\2\u072b\u072a\3\2\2\2\u072c\u072f\3"+
|
|
|
+ "\2\2\2\u072d\u072b\3\2\2\2\u072d\u072e\3\2\2\2\u072e\u0730\3\2\2\2\u072f"+
|
|
|
+ "\u072d\3\2\2\2\u0730\u0731\5\u0080A\2\u0731\u0732\5|?\2\u0732\u0733\7"+
|
|
|
+ "X\2\2\u0733\u0734\5\u01ae\u00d8\2\u0734\u0735\7G\2\2\u0735\u0736\5\u0112"+
|
|
|
+ "\u008a\2\u0736\u014b\3\2\2\2\u0737\u0738\7!\2\2\u0738\u073c\7F\2\2\u0739"+
|
|
|
+ "\u073b\5\u00a8U\2\u073a\u0739\3\2\2\2\u073b\u073e\3\2\2\2\u073c\u073a"+
|
|
|
+ "\3\2\2\2\u073c\u073d\3\2\2\2\u073d\u073f\3\2\2\2\u073e\u073c\3\2\2\2\u073f"+
|
|
|
+ "\u0740\5\u0080A\2\u0740\u0741\5|?\2\u0741\u0742\7X\2\2\u0742\u0743\5\u01ae"+
|
|
|
+ "\u00d8\2\u0743\u0744\7G\2\2\u0744\u0745\5\u0114\u008b\2\u0745\u014d\3"+
|
|
|
+ "\2\2\2\u0746\u0748\7\20\2\2\u0747\u0749\5\u01ea\u00f6\2\u0748\u0747\3"+
|
|
|
+ "\2\2\2\u0748\u0749\3\2\2\2\u0749\u074a\3\2\2\2\u074a\u074b\7L\2\2\u074b"+
|
|
|
+ "\u014f\3\2\2\2\u074c\u074e\7\27\2\2\u074d\u074f\5\u01ea\u00f6\2\u074e"+
|
|
|
+ "\u074d\3\2\2\2\u074e\u074f\3\2\2\2\u074f\u0750\3\2\2\2\u0750\u0751\7L"+
|
|
|
+ "\2\2\u0751\u0151\3\2\2\2\u0752\u0754\7\60\2\2\u0753\u0755\5\u01ae\u00d8"+
|
|
|
+ "\2\u0754\u0753\3\2\2\2\u0754\u0755\3\2\2\2\u0755\u0756\3\2\2\2\u0756\u0757"+
|
|
|
+ "\7L\2\2\u0757\u0153\3\2\2\2\u0758\u0759\78\2\2\u0759\u075a\5\u01ae\u00d8"+
|
|
|
+ "\2\u075a\u075b\7L\2\2\u075b\u0155\3\2\2\2\u075c\u075d\7\66\2\2\u075d\u075e"+
|
|
|
+ "\7F\2\2\u075e\u075f\5\u01ae\u00d8\2\u075f\u0760\7G\2\2\u0760\u0761\5\u0108"+
|
|
|
+ "\u0085\2\u0761\u0157\3\2\2\2\u0762\u0763\7;\2\2\u0763\u0764\5\u0108\u0085"+
|
|
|
+ "\2\u0764\u0765\5\u015a\u00ae\2\u0765\u076f\3\2\2\2\u0766\u0767\7;\2\2"+
|
|
|
+ "\u0767\u0769\5\u0108\u0085\2\u0768\u076a\5\u015a\u00ae\2\u0769\u0768\3"+
|
|
|
+ "\2\2\2\u0769\u076a\3\2\2\2\u076a\u076b\3\2\2\2\u076b\u076c\5\u0162\u00b2"+
|
|
|
+ "\2\u076c\u076f\3\2\2\2\u076d\u076f\5\u0164\u00b3\2\u076e\u0762\3\2\2\2"+
|
|
|
+ "\u076e\u0766\3\2\2\2\u076e\u076d\3\2\2\2\u076f\u0159\3\2\2\2\u0770\u0772"+
|
|
|
+ "\5\u015c\u00af\2\u0771\u0770\3\2\2\2\u0772\u0773\3\2\2\2\u0773\u0771\3"+
|
|
|
+ "\2\2\2\u0773\u0774\3\2\2\2\u0774\u015b\3\2\2\2\u0775\u0776\7\23\2\2\u0776"+
|
|
|
+ "\u0777\7F\2\2\u0777\u0778\5\u015e\u00b0\2\u0778\u0779\7G\2\2\u0779\u077a"+
|
|
|
+ "\5\u0108\u0085\2\u077a\u015d\3\2\2\2\u077b\u077d\5\u00a8U\2\u077c\u077b"+
|
|
|
+ "\3\2\2\2\u077d\u0780\3\2\2\2\u077e\u077c\3\2\2\2\u077e\u077f\3\2\2\2\u077f"+
|
|
|
+ "\u0781\3\2\2\2\u0780\u077e\3\2\2\2\u0781\u0782\5\u0160\u00b1\2\u0782\u0783"+
|
|
|
+ "\5|?\2\u0783\u015f\3\2\2\2\u0784\u0789\5\u0088E\2\u0785\u0786\7g\2\2\u0786"+
|
|
|
+ "\u0788\5\20\t\2\u0787\u0785\3\2\2\2\u0788\u078b\3\2\2\2\u0789\u0787\3"+
|
|
|
+ "\2\2\2\u0789\u078a\3\2\2\2\u078a\u0161\3\2\2\2\u078b\u0789\3\2\2\2\u078c"+
|
|
|
+ "\u078d\7\37\2\2\u078d\u078e\5\u0108\u0085\2\u078e\u0163\3\2\2\2\u078f"+
|
|
|
+ "\u0790\7;\2\2\u0790\u0791\5\u0166\u00b4\2\u0791\u0793\5\u0108\u0085\2"+
|
|
|
+ "\u0792\u0794\5\u015a\u00ae\2\u0793\u0792\3\2\2\2\u0793\u0794\3\2\2\2\u0794"+
|
|
|
+ "\u0796\3\2\2\2\u0795\u0797\5\u0162\u00b2\2\u0796\u0795\3\2\2\2\u0796\u0797"+
|
|
|
+ "\3\2\2\2\u0797\u0165\3\2\2\2\u0798\u0799\7F\2\2\u0799\u079b\5\u0168\u00b5"+
|
|
|
+ "\2\u079a\u079c\7L\2\2\u079b\u079a\3\2\2\2\u079b\u079c\3\2\2\2\u079c\u079d"+
|
|
|
+ "\3\2\2\2\u079d\u079e\7G\2\2\u079e\u0167\3\2\2\2\u079f\u07a4\5\u016a\u00b6"+
|
|
|
+ "\2\u07a0\u07a1\7L\2\2\u07a1\u07a3\5\u016a\u00b6\2\u07a2\u07a0\3\2\2\2"+
|
|
|
+ "\u07a3\u07a6\3\2\2\2\u07a4\u07a2\3\2\2\2\u07a4\u07a5\3\2\2\2\u07a5\u0169"+
|
|
|
+ "\3\2\2\2\u07a6\u07a4\3\2\2\2\u07a7\u07a9\5\u00a8U\2\u07a8\u07a7\3\2\2"+
|
|
|
+ "\2\u07a9\u07ac\3\2\2\2\u07aa\u07a8\3\2\2\2\u07aa\u07ab\3\2\2\2\u07ab\u07ad"+
|
|
|
+ "\3\2\2\2\u07ac\u07aa\3\2\2\2\u07ad\u07ae\5\u0080A\2\u07ae\u07af\5|?\2"+
|
|
|
+ "\u07af\u07b0\7R\2\2\u07b0\u07b1\5\u01ae\u00d8\2\u07b1\u07b4\3\2\2\2\u07b2"+
|
|
|
+ "\u07b4\5\u016c\u00b7\2\u07b3\u07aa\3\2\2\2\u07b3\u07b2\3\2\2\2\u07b4\u016b"+
|
|
|
+ "\3\2\2\2\u07b5\u07b8\5<\37\2\u07b6\u07b8\5\u018c\u00c7\2\u07b7\u07b5\3"+
|
|
|
+ "\2\2\2\u07b7\u07b6\3\2\2\2\u07b8\u016d\3\2\2\2\u07b9\u07bc\5\u017c\u00bf"+
|
|
|
+ "\2\u07ba\u07bc\5\u01a6\u00d4\2\u07bb\u07b9\3\2\2\2\u07bb\u07ba\3\2\2\2"+
|
|
|
+ "\u07bc\u07c0\3\2\2\2\u07bd\u07bf\5\u0176\u00bc\2\u07be\u07bd\3\2\2\2\u07bf"+
|
|
|
+ "\u07c2\3\2\2\2\u07c0\u07be\3\2\2\2\u07c0\u07c1\3\2\2\2\u07c1\u016f\3\2"+
|
|
|
+ "\2\2\u07c2\u07c0\3\2\2\2\u07c3\u07d4\5\2\2\2\u07c4\u07d4\5\u0182\u00c2"+
|
|
|
+ "\2\u07c5\u07d4\7\67\2\2\u07c6\u07c7\58\35\2\u07c7\u07c8\7N\2\2\u07c8\u07c9"+
|
|
|
+ "\7\67\2\2\u07c9\u07d4\3\2\2\2\u07ca\u07cb\7F\2\2\u07cb\u07cc\5\u01ae\u00d8"+
|
|
|
+ "\2\u07cc\u07cd\7G\2\2\u07cd\u07d4\3\2\2\2\u07ce\u07d4\5\u0184\u00c3\2"+
|
|
|
+ "\u07cf\u07d4\5\u018c\u00c7\2\u07d0\u07d4\5\u0192\u00ca\2\u07d1\u07d4\5"+
|
|
|
+ "\u0198\u00cd\2\u07d2\u07d4\5\u01a0\u00d1\2\u07d3\u07c3\3\2\2\2\u07d3\u07c4"+
|
|
|
+ "\3\2\2\2\u07d3\u07c5\3\2\2\2\u07d3\u07c6\3\2\2\2\u07d3\u07ca\3\2\2\2\u07d3"+
|
|
|
+ "\u07ce\3\2\2\2\u07d3\u07cf\3\2\2\2\u07d3\u07d0\3\2\2\2\u07d3\u07d1\3\2"+
|
|
|
+ "\2\2\u07d3\u07d2\3\2\2\2\u07d4\u0171\3\2\2\2\u07d5\u07d6\3\2\2\2\u07d6"+
|
|
|
+ "\u0173\3\2\2\2\u07d7\u07f4\5\2\2\2\u07d8\u07dd\58\35\2\u07d9\u07da\7J"+
|
|
|
+ "\2\2\u07da\u07dc\7K\2\2\u07db\u07d9\3\2\2\2\u07dc\u07df\3\2\2\2\u07dd"+
|
|
|
+ "\u07db\3\2\2\2\u07dd\u07de\3\2\2\2\u07de\u07e0\3\2\2\2\u07df\u07dd\3\2"+
|
|
|
+ "\2\2\u07e0\u07e1\7N\2\2\u07e1\u07e2\7\25\2\2\u07e2\u07f4\3\2\2\2\u07e3"+
|
|
|
+ "\u07e4\7<\2\2\u07e4\u07e5\7N\2\2\u07e5\u07f4\7\25\2\2\u07e6\u07f4\7\67"+
|
|
|
+ "\2\2\u07e7\u07e8\58\35\2\u07e8\u07e9\7N\2\2\u07e9\u07ea\7\67\2\2\u07ea"+
|
|
|
+ "\u07f4\3\2\2\2\u07eb\u07ec\7F\2\2\u07ec\u07ed\5\u01ae\u00d8\2\u07ed\u07ee"+
|
|
|
+ "\7G\2\2\u07ee\u07f4\3\2\2\2\u07ef\u07f4\5\u0184\u00c3\2\u07f0\u07f4\5"+
|
|
|
+ "\u018c\u00c7\2\u07f1\u07f4\5\u0198\u00cd\2\u07f2\u07f4\5\u01a0\u00d1\2"+
|
|
|
+ "\u07f3\u07d7\3\2\2\2\u07f3\u07d8\3\2\2\2\u07f3\u07e3\3\2\2\2\u07f3\u07e6"+
|
|
|
+ "\3\2\2\2\u07f3\u07e7\3\2\2\2\u07f3\u07eb\3\2\2\2\u07f3\u07ef\3\2\2\2\u07f3"+
|
|
|
+ "\u07f0\3\2\2\2\u07f3\u07f1\3\2\2\2\u07f3\u07f2\3\2\2\2\u07f4\u0175\3\2"+
|
|
|
+ "\2\2\u07f5\u07fb\5\u0186\u00c4\2\u07f6\u07fb\5\u018e\u00c8\2\u07f7\u07fb"+
|
|
|
+ "\5\u0194\u00cb\2\u07f8\u07fb\5\u019a\u00ce\2\u07f9\u07fb\5\u01a2\u00d2"+
|
|
|
+ "\2\u07fa\u07f5\3\2\2\2\u07fa\u07f6\3\2\2\2\u07fa\u07f7\3\2\2\2\u07fa\u07f8"+
|
|
|
+ "\3\2\2\2\u07fa\u07f9\3\2\2\2\u07fb\u0177\3\2\2\2\u07fc\u07fd\3\2\2\2\u07fd"+
|
|
|
+ "\u0179\3\2\2\2\u07fe\u0803\5\u0186\u00c4\2\u07ff\u0803\5\u018e\u00c8\2"+
|
|
|
+ "\u0800\u0803\5\u019a\u00ce\2\u0801\u0803\5\u01a2\u00d2\2\u0802\u07fe\3"+
|
|
|
+ "\2\2\2\u0802\u07ff\3\2\2\2\u0802\u0800\3\2\2\2\u0802\u0801\3\2\2\2\u0803"+
|
|
|
+ "\u017b\3\2\2\2\u0804\u082d\5\2\2\2\u0805\u080a\58\35\2\u0806\u0807\7J"+
|
|
|
+ "\2\2\u0807\u0809\7K\2\2\u0808\u0806\3\2\2\2\u0809\u080c\3\2\2\2\u080a"+
|
|
|
+ "\u0808\3\2\2\2\u080a\u080b\3\2\2\2\u080b\u080d\3\2\2\2\u080c\u080a\3\2"+
|
|
|
+ "\2\2\u080d\u080e\7N\2\2\u080e\u080f\7\25\2\2\u080f\u082d\3\2\2\2\u0810"+
|
|
|
+ "\u0815\5\u0082B\2\u0811\u0812\7J\2\2\u0812\u0814\7K\2\2\u0813\u0811\3"+
|
|
|
+ "\2\2\2\u0814\u0817\3\2\2\2\u0815\u0813\3\2\2\2\u0815\u0816\3\2\2\2\u0816"+
|
|
|
+ "\u0818\3\2\2\2\u0817\u0815\3\2\2\2\u0818\u0819\7N\2\2\u0819\u081a\7\25"+
|
|
|
+ "\2\2\u081a\u082d\3\2\2\2\u081b\u081c\7<\2\2\u081c\u081d\7N\2\2\u081d\u082d"+
|
|
|
+ "\7\25\2\2\u081e\u082d\7\67\2\2\u081f\u0820\58\35\2\u0820\u0821\7N\2\2"+
|
|
|
+ "\u0821\u0822\7\67\2\2\u0822\u082d\3\2\2\2\u0823\u0824\7F\2\2\u0824\u0825"+
|
|
|
+ "\5\u01ae\u00d8\2\u0825\u0826\7G\2\2\u0826\u082d\3\2\2\2\u0827\u082d\5"+
|
|
|
+ "\u0188\u00c5\2\u0828\u082d\5\u0190\u00c9\2\u0829\u082d\5\u0196\u00cc\2"+
|
|
|
+ "\u082a\u082d\5\u019c\u00cf\2\u082b\u082d\5\u01a4\u00d3\2\u082c\u0804\3"+
|
|
|
+ "\2\2\2\u082c\u0805\3\2\2\2\u082c\u0810\3\2\2\2\u082c\u081b\3\2\2\2\u082c"+
|
|
|
+ "\u081e\3\2\2\2\u082c\u081f\3\2\2\2\u082c\u0823\3\2\2\2\u082c\u0827\3\2"+
|
|
|
+ "\2\2\u082c\u0828\3\2\2\2\u082c\u0829\3\2\2\2\u082c\u082a\3\2\2\2\u082c"+
|
|
|
+ "\u082b\3\2\2\2\u082d\u017d\3\2\2\2\u082e\u082f\3\2\2\2\u082f\u017f\3\2"+
|
|
|
+ "\2\2\u0830\u0858\5\2\2\2\u0831\u0836\58\35\2\u0832\u0833\7J\2\2\u0833"+
|
|
|
+ "\u0835\7K\2\2\u0834\u0832\3\2\2\2\u0835\u0838\3\2\2\2\u0836\u0834\3\2"+
|
|
|
+ "\2\2\u0836\u0837\3\2\2\2\u0837\u0839\3\2\2\2\u0838\u0836\3\2\2\2\u0839"+
|
|
|
+ "\u083a\7N\2\2\u083a\u083b\7\25\2\2\u083b\u0858\3\2\2\2\u083c\u0841\5\u0082"+
|
|
|
+ "B\2\u083d\u083e\7J\2\2\u083e\u0840\7K\2\2\u083f\u083d\3\2\2\2\u0840\u0843"+
|
|
|
+ "\3\2\2\2\u0841\u083f\3\2\2\2\u0841\u0842\3\2\2\2\u0842\u0844\3\2\2\2\u0843"+
|
|
|
+ "\u0841\3\2\2\2\u0844\u0845\7N\2\2\u0845\u0846\7\25\2\2\u0846\u0858\3\2"+
|
|
|
+ "\2\2\u0847\u0848\7<\2\2\u0848\u0849\7N\2\2\u0849\u0858\7\25\2\2\u084a"+
|
|
|
+ "\u0858\7\67\2\2\u084b\u084c\58\35\2\u084c\u084d\7N\2\2\u084d\u084e\7\67"+
|
|
|
+ "\2\2\u084e\u0858\3\2\2\2\u084f\u0850\7F\2\2\u0850\u0851\5\u01ae\u00d8"+
|
|
|
+ "\2\u0851\u0852\7G\2\2\u0852\u0858\3\2\2\2\u0853\u0858\5\u0188\u00c5\2"+
|
|
|
+ "\u0854\u0858\5\u0190\u00c9\2\u0855\u0858\5\u019c\u00cf\2\u0856\u0858\5"+
|
|
|
+ "\u01a4\u00d3\2\u0857\u0830\3\2\2\2\u0857\u0831\3\2\2\2\u0857\u083c\3\2"+
|
|
|
+ "\2\2\u0857\u0847\3\2\2\2\u0857\u084a\3\2\2\2\u0857\u084b\3\2\2\2\u0857"+
|
|
|
+ "\u084f\3\2\2\2\u0857\u0853\3\2\2\2\u0857\u0854\3\2\2\2\u0857\u0855\3\2"+
|
|
|
+ "\2\2\u0857\u0856\3\2\2\2\u0858\u0181\3\2\2\2\u0859\u085d\58\35\2\u085a"+
|
|
|
+ "\u085d\5\6\4\2\u085b\u085d\7\17\2\2\u085c\u0859\3\2\2\2\u085c\u085a\3"+
|
|
|
+ "\2\2\2\u085c\u085b\3\2\2\2\u085d\u0862\3\2\2\2\u085e\u085f\7J\2\2\u085f"+
|
|
|
+ "\u0861\7K\2\2\u0860\u085e\3\2\2\2\u0861\u0864\3\2\2\2\u0862\u0860\3\2"+
|
|
|
+ "\2\2\u0862\u0863\3\2\2\2\u0863\u0865\3\2\2\2\u0864\u0862\3\2\2\2\u0865"+
|
|
|
+ "\u0866\7N\2\2\u0866\u086b\7\25\2\2\u0867\u0868\7<\2\2\u0868\u0869\7N\2"+
|
|
|
+ "\2\u0869\u086b\7\25\2\2\u086a\u085c\3\2\2\2\u086a\u0867\3\2\2\2\u086b"+
|
|
|
+ "\u0183\3\2\2\2\u086c\u086e\7+\2\2\u086d\u086f\5*\26\2\u086e\u086d\3\2"+
|
|
|
+ "\2\2\u086e\u086f\3\2\2\2\u086f\u0873\3\2\2\2\u0870\u0872\5\u00f2z\2\u0871"+
|
|
|
+ "\u0870\3\2\2\2\u0872\u0875\3\2\2\2\u0873\u0871\3\2\2\2\u0873\u0874\3\2"+
|
|
|
+ "\2\2\u0874\u0876\3\2\2\2\u0875\u0873\3\2\2\2\u0876\u0881\5\u01ea\u00f6"+
|
|
|
+ "\2\u0877\u087b\7N\2\2\u0878\u087a\5\u00f2z\2\u0879\u0878\3\2\2\2\u087a"+
|
|
|
+ "\u087d\3\2\2\2\u087b\u0879\3\2\2\2\u087b\u087c\3\2\2\2\u087c\u087e\3\2"+
|
|
|
+ "\2\2\u087d\u087b\3\2\2\2\u087e\u0880\5\u01ea\u00f6\2\u087f\u0877\3\2\2"+
|
|
|
+ "\2\u0880\u0883\3\2\2\2\u0881\u087f\3\2\2\2\u0881\u0882\3\2\2\2\u0882\u0885"+
|
|
|
+ "\3\2\2\2\u0883\u0881\3\2\2\2\u0884\u0886\5\u018a\u00c6\2\u0885\u0884\3"+
|
|
|
+ "\2\2\2\u0885\u0886\3\2\2\2\u0886\u0887\3\2\2\2\u0887\u0889\7F\2\2\u0888"+
|
|
|
+ "\u088a\5\u019e\u00d0\2\u0889\u0888\3\2\2\2\u0889\u088a\3\2\2\2\u088a\u088b"+
|
|
|
+ "\3\2\2\2\u088b\u088d\7G\2\2\u088c\u088e\5n8\2\u088d\u088c\3\2\2\2\u088d"+
|
|
|
+ "\u088e\3\2\2\2\u088e\u08c0\3\2\2\2\u088f\u0890\5<\37\2\u0890\u0891\7N"+
|
|
|
+ "\2\2\u0891\u0893\7+\2\2\u0892\u0894\5*\26\2\u0893\u0892\3\2\2\2\u0893"+
|
|
|
+ "\u0894\3\2\2\2\u0894\u0898\3\2\2\2\u0895\u0897\5\u00f2z\2\u0896\u0895"+
|
|
|
+ "\3\2\2\2\u0897\u089a\3\2\2\2\u0898\u0896\3\2\2\2\u0898\u0899\3\2\2\2\u0899"+
|
|
|
+ "\u089b\3\2\2\2\u089a\u0898\3\2\2\2\u089b\u089d\5\u01ea\u00f6\2\u089c\u089e"+
|
|
|
+ "\5\u018a\u00c6\2\u089d\u089c\3\2\2\2\u089d\u089e\3\2\2\2\u089e\u089f\3"+
|
|
|
+ "\2\2\2\u089f\u08a1\7F\2\2\u08a0\u08a2\5\u019e\u00d0\2\u08a1\u08a0\3\2"+
|
|
|
+ "\2\2\u08a1\u08a2\3\2\2\2\u08a2\u08a3\3\2\2\2\u08a3\u08a5\7G\2\2\u08a4"+
|
|
|
+ "\u08a6\5n8\2\u08a5\u08a4\3\2\2\2\u08a5\u08a6\3\2\2\2\u08a6\u08c0\3\2\2"+
|
|
|
+ "\2\u08a7\u08a8\5\u016e\u00b8\2\u08a8\u08a9\7N\2\2\u08a9\u08ab\7+\2\2\u08aa"+
|
|
|
+ "\u08ac\5*\26\2\u08ab\u08aa\3\2\2\2\u08ab\u08ac\3\2\2\2\u08ac\u08b0\3\2"+
|
|
|
+ "\2\2\u08ad\u08af\5\u00f2z\2\u08ae\u08ad\3\2\2\2\u08af\u08b2\3\2\2\2\u08b0"+
|
|
|
+ "\u08ae\3\2\2\2\u08b0\u08b1\3\2\2\2\u08b1\u08b3\3\2\2\2\u08b2\u08b0\3\2"+
|
|
|
+ "\2\2\u08b3\u08b5\5\u01ea\u00f6\2\u08b4\u08b6\5\u018a\u00c6\2\u08b5\u08b4"+
|
|
|
+ "\3\2\2\2\u08b5\u08b6\3\2\2\2\u08b6\u08b7\3\2\2\2\u08b7\u08b9\7F\2\2\u08b8"+
|
|
|
+ "\u08ba\5\u019e\u00d0\2\u08b9\u08b8\3\2\2\2\u08b9\u08ba\3\2\2\2\u08ba\u08bb"+
|
|
|
+ "\3\2\2\2\u08bb\u08bd\7G\2\2\u08bc\u08be\5n8\2\u08bd\u08bc\3\2\2\2\u08bd"+
|
|
|
+ "\u08be\3\2\2\2\u08be\u08c0\3\2\2\2\u08bf\u086c\3\2\2\2\u08bf\u088f\3\2"+
|
|
|
+ "\2\2\u08bf\u08a7\3\2\2\2\u08c0\u0185\3\2\2\2\u08c1\u08c2\7N\2\2\u08c2"+
|
|
|
+ "\u08c4\7+\2\2\u08c3\u08c5\5*\26\2\u08c4\u08c3\3\2\2\2\u08c4\u08c5\3\2"+
|
|
|
+ "\2\2\u08c5\u08c9\3\2\2\2\u08c6\u08c8\5\u00f2z\2\u08c7\u08c6\3\2\2\2\u08c8"+
|
|
|
+ "\u08cb\3\2\2\2\u08c9\u08c7\3\2\2\2\u08c9\u08ca\3\2\2\2\u08ca\u08cc\3\2"+
|
|
|
+ "\2\2\u08cb\u08c9\3\2\2\2\u08cc\u08ce\5\u01ea\u00f6\2\u08cd\u08cf\5\u018a"+
|
|
|
+ "\u00c6\2\u08ce\u08cd\3\2\2\2\u08ce\u08cf\3\2\2\2\u08cf\u08d0\3\2\2\2\u08d0"+
|
|
|
+ "\u08d2\7F\2\2\u08d1\u08d3\5\u019e\u00d0\2\u08d2\u08d1\3\2\2\2\u08d2\u08d3"+
|
|
|
+ "\3\2\2\2\u08d3\u08d4\3\2\2\2\u08d4\u08d6\7G\2\2\u08d5\u08d7\5n8\2\u08d6"+
|
|
|
+ "\u08d5\3\2\2\2\u08d6\u08d7\3\2\2\2\u08d7\u0187\3\2\2\2\u08d8\u08da\7+"+
|
|
|
+ "\2\2\u08d9\u08db\5*\26\2\u08da\u08d9\3\2\2\2\u08da\u08db\3\2\2\2\u08db"+
|
|
|
+ "\u08df\3\2\2\2\u08dc\u08de\5\u00f2z\2\u08dd\u08dc\3\2\2\2\u08de\u08e1"+
|
|
|
+ "\3\2\2\2\u08df\u08dd\3\2\2\2\u08df\u08e0\3\2\2\2\u08e0\u08e2\3\2\2\2\u08e1"+
|
|
|
+ "\u08df\3\2\2\2\u08e2\u08ed\5\u01ea\u00f6\2\u08e3\u08e7\7N\2\2\u08e4\u08e6"+
|
|
|
+ "\5\u00f2z\2\u08e5\u08e4\3\2\2\2\u08e6\u08e9\3\2\2\2\u08e7\u08e5\3\2\2"+
|
|
|
+ "\2\u08e7\u08e8\3\2\2\2\u08e8\u08ea\3\2\2\2\u08e9\u08e7\3\2\2\2\u08ea\u08ec"+
|
|
|
+ "\5\u01ea\u00f6\2\u08eb\u08e3\3\2\2\2\u08ec\u08ef\3\2\2\2\u08ed\u08eb\3"+
|
|
|
+ "\2\2\2\u08ed\u08ee\3\2\2\2\u08ee\u08f1\3\2\2\2\u08ef\u08ed\3\2\2\2\u08f0"+
|
|
|
+ "\u08f2\5\u018a\u00c6\2\u08f1\u08f0\3\2\2\2\u08f1\u08f2\3\2\2\2\u08f2\u08f3"+
|
|
|
+ "\3\2\2\2\u08f3\u08f5\7F\2\2\u08f4\u08f6\5\u019e\u00d0\2\u08f5\u08f4\3"+
|
|
|
+ "\2\2\2\u08f5\u08f6\3\2\2\2\u08f6\u08f7\3\2\2\2\u08f7\u08f9\7G\2\2\u08f8"+
|
|
|
+ "\u08fa\5n8\2\u08f9\u08f8\3\2\2\2\u08f9\u08fa\3\2\2\2\u08fa\u0914\3\2\2"+
|
|
|
+ "\2\u08fb\u08fc\5<\37\2\u08fc\u08fd\7N\2\2\u08fd\u08ff\7+\2\2\u08fe\u0900"+
|
|
|
+ "\5*\26\2\u08ff\u08fe\3\2\2\2\u08ff\u0900\3\2\2\2\u0900\u0904\3\2\2\2\u0901"+
|
|
|
+ "\u0903\5\u00f2z\2\u0902\u0901\3\2\2\2\u0903\u0906\3\2\2\2\u0904\u0902"+
|
|
|
+ "\3\2\2\2\u0904\u0905\3\2\2\2\u0905\u0907\3\2\2\2\u0906\u0904\3\2\2\2\u0907"+
|
|
|
+ "\u0909\5\u01ea\u00f6\2\u0908\u090a\5\u018a\u00c6\2\u0909\u0908\3\2\2\2"+
|
|
|
+ "\u0909\u090a\3\2\2\2\u090a\u090b\3\2\2\2\u090b\u090d\7F\2\2\u090c\u090e"+
|
|
|
+ "\5\u019e\u00d0\2\u090d\u090c\3\2\2\2\u090d\u090e\3\2\2\2\u090e\u090f\3"+
|
|
|
+ "\2\2\2\u090f\u0911\7G\2\2\u0910\u0912\5n8\2\u0911\u0910\3\2\2\2\u0911"+
|
|
|
+ "\u0912\3\2\2\2\u0912\u0914\3\2\2\2\u0913\u08d8\3\2\2\2\u0913\u08fb\3\2"+
|
|
|
+ "\2\2\u0914\u0189\3\2\2\2\u0915\u0919\5*\26\2\u0916\u0917\7T\2\2\u0917"+
|
|
|
+ "\u0919\7S\2\2\u0918\u0915\3\2\2\2\u0918\u0916\3\2\2\2\u0919\u018b\3\2"+
|
|
|
+ "\2\2\u091a\u091b\5\u016e\u00b8\2\u091b\u091c\7N\2\2\u091c\u091d\5\u01ea"+
|
|
|
+ "\u00f6\2\u091d\u0928\3\2\2\2\u091e\u091f\7\64\2\2\u091f\u0920\7N\2\2\u0920"+
|
|
|
+ "\u0928\5\u01ea\u00f6\2\u0921\u0922\58\35\2\u0922\u0923\7N\2\2\u0923\u0924"+
|
|
|
+ "\7\64\2\2\u0924\u0925\7N\2\2\u0925\u0926\5\u01ea\u00f6\2\u0926\u0928\3"+
|
|
|
+ "\2\2\2\u0927\u091a\3\2\2\2\u0927\u091e\3\2\2\2\u0927\u0921\3\2\2\2\u0928"+
|
|
|
+ "\u018d\3\2\2\2\u0929\u092a\7N\2\2\u092a\u092b\5\u01ea\u00f6\2\u092b\u018f"+
|
|
|
+ "\3\2\2\2\u092c\u092d\7\64\2\2\u092d\u092e\7N\2\2\u092e\u0936\5\u01ea\u00f6"+
|
|
|
+ "\2\u092f\u0930\58\35\2\u0930\u0931\7N\2\2\u0931\u0932\7\64\2\2\u0932\u0933"+
|
|
|
+ "\7N\2\2\u0933\u0934\5\u01ea\u00f6\2\u0934\u0936\3\2\2\2\u0935\u092c\3"+
|
|
|
+ "\2\2\2\u0935\u092f\3\2\2\2\u0936\u0191\3\2\2\2\u0937\u0938\5<\37\2\u0938"+
|
|
|
+ "\u0939\7J\2\2\u0939\u093a\5\u01ae\u00d8\2\u093a\u093b\7K\2\2\u093b\u0942"+
|
|
|
+ "\3\2\2\2\u093c\u093d\5\u0174\u00bb\2\u093d\u093e\7J\2\2\u093e\u093f\5"+
|
|
|
+ "\u01ae\u00d8\2\u093f\u0940\7K\2\2\u0940\u0942\3\2\2\2\u0941\u0937\3\2"+
|
|
|
+ "\2\2\u0941\u093c\3\2\2\2\u0942\u094a\3\2\2\2\u0943\u0944\5\u0172\u00ba"+
|
|
|
+ "\2\u0944\u0945\7J\2\2\u0945\u0946\5\u01ae\u00d8\2\u0946\u0947\7K\2\2\u0947"+
|
|
|
+ "\u0949\3\2\2\2\u0948\u0943\3\2\2\2\u0949\u094c\3\2\2\2\u094a";
|
|
|
+ private static final String _serializedATNSegment1 =
|
|
|
+ "\u0948\3\2\2\2\u094a\u094b\3\2\2\2\u094b\u0193\3\2\2\2\u094c\u094a\3\2"+
|
|
|
+ "\2\2\u094d\u094e\5\u017a\u00be\2\u094e\u094f\7J\2\2\u094f\u0950\5\u01ae"+
|
|
|
+ "\u00d8\2\u0950\u0951\7K\2\2\u0951\u0959\3\2\2\2\u0952\u0953\5\u0178\u00bd"+
|
|
|
+ "\2\u0953\u0954\7J\2\2\u0954\u0955\5\u01ae\u00d8\2\u0955\u0956\7K\2\2\u0956"+
|
|
|
+ "\u0958\3\2\2\2\u0957\u0952\3\2\2\2\u0958\u095b\3\2\2\2\u0959\u0957\3\2"+
|
|
|
+ "\2\2\u0959\u095a\3\2\2\2\u095a\u0195\3\2\2\2\u095b\u0959\3\2\2\2\u095c"+
|
|
|
+ "\u095d\5<\37\2\u095d\u095e\7J\2\2\u095e\u095f\5\u01ae\u00d8\2\u095f\u0960"+
|
|
|
+ "\7K\2\2\u0960\u0967\3\2\2\2\u0961\u0962\5\u0180\u00c1\2\u0962\u0963\7"+
|
|
|
+ "J\2\2\u0963\u0964\5\u01ae\u00d8\2\u0964\u0965\7K\2\2\u0965\u0967\3\2\2"+
|
|
|
+ "\2\u0966\u095c\3\2\2\2\u0966\u0961\3\2\2\2\u0967\u096f\3\2\2\2\u0968\u0969"+
|
|
|
+ "\5\u017e\u00c0\2\u0969\u096a\7J\2\2\u096a\u096b\5\u01ae\u00d8\2\u096b"+
|
|
|
+ "\u096c\7K\2\2\u096c\u096e\3\2\2\2\u096d\u0968\3\2\2\2\u096e\u0971\3\2"+
|
|
|
+ "\2\2\u096f\u096d\3\2\2\2\u096f\u0970\3\2\2\2\u0970\u0197\3\2\2\2\u0971"+
|
|
|
+ "\u096f\3\2\2\2\u0972\u0973\5> \2\u0973\u0975\7F\2\2\u0974\u0976\5\u019e"+
|
|
|
+ "\u00d0\2\u0975\u0974\3\2\2\2\u0975\u0976\3\2\2\2\u0976\u0977\3\2\2\2\u0977"+
|
|
|
+ "\u0978\7G\2\2\u0978\u09b8\3\2\2\2\u0979\u097a\58\35\2\u097a\u097c\7N\2"+
|
|
|
+ "\2\u097b\u097d\5*\26\2\u097c\u097b\3\2\2\2\u097c\u097d\3\2\2\2\u097d\u097e"+
|
|
|
+ "\3\2\2\2\u097e\u097f\5\u01ea\u00f6\2\u097f\u0981\7F\2\2\u0980\u0982\5"+
|
|
|
+ "\u019e\u00d0\2\u0981\u0980\3\2\2\2\u0981\u0982\3\2\2\2\u0982\u0983\3\2"+
|
|
|
+ "\2\2\u0983\u0984\7G\2\2\u0984\u09b8\3\2\2\2\u0985\u0986\5<\37\2\u0986"+
|
|
|
+ "\u0988\7N\2\2\u0987\u0989\5*\26\2\u0988\u0987\3\2\2\2\u0988\u0989\3\2"+
|
|
|
+ "\2\2\u0989\u098a\3\2\2\2\u098a\u098b\5\u01ea\u00f6\2\u098b\u098d\7F\2"+
|
|
|
+ "\2\u098c\u098e\5\u019e\u00d0\2\u098d\u098c\3\2\2\2\u098d\u098e\3\2\2\2"+
|
|
|
+ "\u098e\u098f\3\2\2\2\u098f\u0990\7G\2\2\u0990\u09b8\3\2\2\2\u0991\u0992"+
|
|
|
+ "\5\u016e\u00b8\2\u0992\u0994\7N\2\2\u0993\u0995\5*\26\2\u0994\u0993\3"+
|
|
|
+ "\2\2\2\u0994\u0995\3\2\2\2\u0995\u0996\3\2\2\2\u0996\u0997\5\u01ea\u00f6"+
|
|
|
+ "\2\u0997\u0999\7F\2\2\u0998\u099a\5\u019e\u00d0\2\u0999\u0998\3\2\2\2"+
|
|
|
+ "\u0999\u099a\3\2\2\2\u099a\u099b\3\2\2\2\u099b\u099c\7G\2\2\u099c\u09b8"+
|
|
|
+ "\3\2\2\2\u099d\u099e\7\64\2\2\u099e\u09a0\7N\2\2\u099f\u09a1\5*\26\2\u09a0"+
|
|
|
+ "\u099f\3\2\2\2\u09a0\u09a1\3\2\2\2\u09a1\u09a2\3\2\2\2\u09a2\u09a3\5\u01ea"+
|
|
|
+ "\u00f6\2\u09a3\u09a5\7F\2\2\u09a4\u09a6\5\u019e\u00d0\2\u09a5\u09a4\3"+
|
|
|
+ "\2\2\2\u09a5\u09a6\3\2\2\2\u09a6\u09a7\3\2\2\2\u09a7\u09a8\7G\2\2\u09a8"+
|
|
|
+ "\u09b8\3\2\2\2\u09a9\u09aa\58\35\2\u09aa\u09ab\7N\2\2\u09ab\u09ac\7\64"+
|
|
|
+ "\2\2\u09ac\u09ae\7N\2\2\u09ad\u09af\5*\26\2\u09ae\u09ad\3\2\2\2\u09ae"+
|
|
|
+ "\u09af\3\2\2\2\u09af\u09b0\3\2\2\2\u09b0\u09b1\5\u01ea\u00f6\2\u09b1\u09b3"+
|
|
|
+ "\7F\2\2\u09b2\u09b4\5\u019e\u00d0\2\u09b3\u09b2\3\2\2\2\u09b3\u09b4\3"+
|
|
|
+ "\2\2\2\u09b4\u09b5\3\2\2\2\u09b5\u09b6\7G\2\2\u09b6\u09b8\3\2\2\2\u09b7"+
|
|
|
+ "\u0972\3\2\2\2\u09b7\u0979\3\2\2\2\u09b7\u0985\3\2\2\2\u09b7\u0991\3\2"+
|
|
|
+ "\2\2\u09b7\u099d\3\2\2\2\u09b7\u09a9\3\2\2\2\u09b8\u0199\3\2\2\2\u09b9"+
|
|
|
+ "\u09bb\7N\2\2\u09ba\u09bc\5*\26\2\u09bb\u09ba\3\2\2\2\u09bb\u09bc\3\2"+
|
|
|
+ "\2\2\u09bc\u09bd\3\2\2\2\u09bd\u09be\5\u01ea\u00f6\2\u09be\u09c0\7F\2"+
|
|
|
+ "\2\u09bf\u09c1\5\u019e\u00d0\2\u09c0\u09bf\3\2\2\2\u09c0\u09c1\3\2\2\2"+
|
|
|
+ "\u09c1\u09c2\3\2\2\2\u09c2\u09c3\7G\2\2\u09c3\u019b\3\2\2\2\u09c4\u09c5"+
|
|
|
+ "\5> \2\u09c5\u09c7\7F\2\2\u09c6\u09c8\5\u019e\u00d0\2\u09c7\u09c6\3\2"+
|
|
|
+ "\2\2\u09c7\u09c8\3\2\2\2\u09c8\u09c9\3\2\2\2\u09c9\u09ca\7G\2\2\u09ca"+
|
|
|
+ "\u09fe\3\2\2\2\u09cb\u09cc\58\35\2\u09cc\u09ce\7N\2\2\u09cd\u09cf\5*\26"+
|
|
|
+ "\2\u09ce\u09cd\3\2\2\2\u09ce\u09cf\3\2\2\2\u09cf\u09d0\3\2\2\2\u09d0\u09d1"+
|
|
|
+ "\5\u01ea\u00f6\2\u09d1\u09d3\7F\2\2\u09d2\u09d4\5\u019e\u00d0\2\u09d3"+
|
|
|
+ "\u09d2\3\2\2\2\u09d3\u09d4\3\2\2\2\u09d4\u09d5\3\2\2\2\u09d5\u09d6\7G"+
|
|
|
+ "\2\2\u09d6\u09fe\3\2\2\2\u09d7\u09d8\5<\37\2\u09d8\u09da\7N\2\2\u09d9"+
|
|
|
+ "\u09db\5*\26\2\u09da\u09d9\3\2\2\2\u09da\u09db\3\2\2\2\u09db\u09dc\3\2"+
|
|
|
+ "\2\2\u09dc\u09dd\5\u01ea\u00f6\2\u09dd\u09df\7F\2\2\u09de\u09e0\5\u019e"+
|
|
|
+ "\u00d0\2\u09df\u09de\3\2\2\2\u09df\u09e0\3\2\2\2\u09e0\u09e1\3\2\2\2\u09e1"+
|
|
|
+ "\u09e2\7G\2\2\u09e2\u09fe\3\2\2\2\u09e3\u09e4\7\64\2\2\u09e4\u09e6\7N"+
|
|
|
+ "\2\2\u09e5\u09e7\5*\26\2\u09e6\u09e5\3\2\2\2\u09e6\u09e7\3\2\2\2\u09e7"+
|
|
|
+ "\u09e8\3\2\2\2\u09e8\u09e9\5\u01ea\u00f6\2\u09e9\u09eb\7F\2\2\u09ea\u09ec"+
|
|
|
+ "\5\u019e\u00d0\2\u09eb\u09ea\3\2\2\2\u09eb\u09ec\3\2\2\2\u09ec\u09ed\3"+
|
|
|
+ "\2\2\2\u09ed\u09ee\7G\2\2\u09ee\u09fe\3\2\2\2\u09ef\u09f0\58\35\2\u09f0"+
|
|
|
+ "\u09f1\7N\2\2\u09f1\u09f2\7\64\2\2\u09f2\u09f4\7N\2\2\u09f3\u09f5\5*\26"+
|
|
|
+ "\2\u09f4\u09f3\3\2\2\2\u09f4\u09f5\3\2\2\2\u09f5\u09f6\3\2\2\2\u09f6\u09f7"+
|
|
|
+ "\5\u01ea\u00f6\2\u09f7\u09f9\7F\2\2\u09f8\u09fa\5\u019e\u00d0\2\u09f9"+
|
|
|
+ "\u09f8\3\2\2\2\u09f9\u09fa\3\2\2\2\u09fa\u09fb\3\2\2\2\u09fb\u09fc\7G"+
|
|
|
+ "\2\2\u09fc\u09fe\3\2\2\2\u09fd\u09c4\3\2\2\2\u09fd\u09cb\3\2\2\2\u09fd"+
|
|
|
+ "\u09d7\3\2\2\2\u09fd\u09e3\3\2\2\2\u09fd\u09ef\3\2\2\2\u09fe\u019d\3\2"+
|
|
|
+ "\2\2\u09ff\u0a04\5\u01ae\u00d8\2\u0a00\u0a01\7M\2\2\u0a01\u0a03\5\u01ae"+
|
|
|
+ "\u00d8\2\u0a02\u0a00\3\2\2\2\u0a03\u0a06\3\2\2\2\u0a04\u0a02\3\2\2\2\u0a04"+
|
|
|
+ "\u0a05\3\2\2\2\u0a05\u019f\3\2\2\2\u0a06\u0a04\3\2\2\2\u0a07\u0a08\5<"+
|
|
|
+ "\37\2\u0a08\u0a0a\7Q\2\2\u0a09\u0a0b\5*\26\2\u0a0a\u0a09\3\2\2\2\u0a0a"+
|
|
|
+ "\u0a0b\3\2\2\2\u0a0b\u0a0c\3\2\2\2\u0a0c\u0a0d\5\u01ea\u00f6\2\u0a0d\u0a37"+
|
|
|
+ "\3\2\2\2\u0a0e\u0a0f\5\f\7\2\u0a0f\u0a11\7Q\2\2\u0a10\u0a12\5*\26\2\u0a11"+
|
|
|
+ "\u0a10\3\2\2\2\u0a11\u0a12\3\2\2\2\u0a12\u0a13\3\2\2\2\u0a13\u0a14\5\u01ea"+
|
|
|
+ "\u00f6\2\u0a14\u0a37\3\2\2\2\u0a15\u0a16\5\u016e\u00b8\2\u0a16\u0a18\7"+
|
|
|
+ "Q\2\2\u0a17\u0a19\5*\26\2\u0a18\u0a17\3\2\2\2\u0a18\u0a19\3\2\2\2\u0a19"+
|
|
|
+ "\u0a1a\3\2\2\2\u0a1a\u0a1b\5\u01ea\u00f6\2\u0a1b\u0a37\3\2\2\2\u0a1c\u0a1d"+
|
|
|
+ "\7\64\2\2\u0a1d\u0a1f\7Q\2\2\u0a1e\u0a20\5*\26\2\u0a1f\u0a1e\3\2\2\2\u0a1f"+
|
|
|
+ "\u0a20\3\2\2\2\u0a20\u0a21\3\2\2\2\u0a21\u0a37\5\u01ea\u00f6\2\u0a22\u0a23"+
|
|
|
+ "\58\35\2\u0a23\u0a24\7N\2\2\u0a24\u0a25\7\64\2\2\u0a25\u0a27\7Q\2\2\u0a26"+
|
|
|
+ "\u0a28\5*\26\2\u0a27\u0a26\3\2\2\2\u0a27\u0a28\3\2\2\2\u0a28\u0a29\3\2"+
|
|
|
+ "\2\2\u0a29\u0a2a\5\u01ea\u00f6\2\u0a2a\u0a37\3\2\2\2\u0a2b\u0a2c\5\20"+
|
|
|
+ "\t\2\u0a2c\u0a2e\7Q\2\2\u0a2d\u0a2f\5*\26\2\u0a2e\u0a2d\3\2\2\2\u0a2e"+
|
|
|
+ "\u0a2f\3\2\2\2\u0a2f\u0a30\3\2\2\2\u0a30\u0a31\7+\2\2\u0a31\u0a37\3\2"+
|
|
|
+ "\2\2\u0a32\u0a33\5\36\20\2\u0a33\u0a34\7Q\2\2\u0a34\u0a35\7+\2\2\u0a35"+
|
|
|
+ "\u0a37\3\2\2\2\u0a36\u0a07\3\2\2\2\u0a36\u0a0e\3\2\2\2\u0a36\u0a15\3\2"+
|
|
|
+ "\2\2\u0a36\u0a1c\3\2\2\2\u0a36\u0a22\3\2\2\2\u0a36\u0a2b\3\2\2\2\u0a36"+
|
|
|
+ "\u0a32\3\2\2\2\u0a37\u01a1\3\2\2\2\u0a38\u0a3a\7Q\2\2\u0a39\u0a3b\5*\26"+
|
|
|
+ "\2\u0a3a\u0a39\3\2\2\2\u0a3a\u0a3b\3\2\2\2\u0a3b\u0a3c\3\2\2\2\u0a3c\u0a3d"+
|
|
|
+ "\5\u01ea\u00f6\2\u0a3d\u01a3\3\2\2\2\u0a3e\u0a3f\5<\37\2\u0a3f\u0a41\7"+
|
|
|
+ "Q\2\2\u0a40\u0a42\5*\26\2\u0a41\u0a40\3\2\2\2\u0a41\u0a42\3\2\2\2\u0a42"+
|
|
|
+ "\u0a43\3\2\2\2\u0a43\u0a44\5\u01ea\u00f6\2\u0a44\u0a67\3\2\2\2\u0a45\u0a46"+
|
|
|
+ "\5\f\7\2\u0a46\u0a48\7Q\2\2\u0a47\u0a49\5*\26\2\u0a48\u0a47\3\2\2\2\u0a48"+
|
|
|
+ "\u0a49\3\2\2\2\u0a49\u0a4a\3\2\2\2\u0a4a\u0a4b\5\u01ea\u00f6\2\u0a4b\u0a67"+
|
|
|
+ "\3\2\2\2\u0a4c\u0a4d\7\64\2\2\u0a4d\u0a4f\7Q\2\2\u0a4e\u0a50\5*\26\2\u0a4f"+
|
|
|
+ "\u0a4e\3\2\2\2\u0a4f\u0a50\3\2\2\2\u0a50\u0a51\3\2\2\2\u0a51\u0a67\5\u01ea"+
|
|
|
+ "\u00f6\2\u0a52\u0a53\58\35\2\u0a53\u0a54\7N\2\2\u0a54\u0a55\7\64\2\2\u0a55"+
|
|
|
+ "\u0a57\7Q\2\2\u0a56\u0a58\5*\26\2\u0a57\u0a56\3\2\2\2\u0a57\u0a58\3\2"+
|
|
|
+ "\2\2\u0a58\u0a59\3\2\2\2\u0a59\u0a5a\5\u01ea\u00f6\2\u0a5a\u0a67\3\2\2"+
|
|
|
+ "\2\u0a5b\u0a5c\5\20\t\2\u0a5c\u0a5e\7Q\2\2\u0a5d\u0a5f\5*\26\2\u0a5e\u0a5d"+
|
|
|
+ "\3\2\2\2\u0a5e\u0a5f\3\2\2\2\u0a5f\u0a60\3\2\2\2\u0a60\u0a61\7+\2\2\u0a61"+
|
|
|
+ "\u0a67\3\2\2\2\u0a62\u0a63\5\36\20\2\u0a63\u0a64\7Q\2\2\u0a64\u0a65\7"+
|
|
|
+ "+\2\2\u0a65\u0a67\3\2\2\2\u0a66\u0a3e\3\2\2\2\u0a66\u0a45\3\2\2\2\u0a66"+
|
|
|
+ "\u0a4c\3\2\2\2\u0a66\u0a52\3\2\2\2\u0a66\u0a5b\3\2\2\2\u0a66\u0a62\3\2"+
|
|
|
+ "\2\2\u0a67\u01a5\3\2\2\2\u0a68\u0a69\7+\2\2\u0a69\u0a6a\5\4\3\2\u0a6a"+
|
|
|
+ "\u0a6c\5\u01a8\u00d5\2\u0a6b\u0a6d\5 \21\2\u0a6c\u0a6b\3\2\2\2\u0a6c\u0a6d"+
|
|
|
+ "\3\2\2\2\u0a6d\u0a7f\3\2\2\2\u0a6e\u0a6f\7+\2\2\u0a6f\u0a70\5\16\b\2\u0a70"+
|
|
|
+ "\u0a72\5\u01a8\u00d5\2\u0a71\u0a73\5 \21\2\u0a72\u0a71\3\2\2\2\u0a72\u0a73"+
|
|
|
+ "\3\2\2\2\u0a73\u0a7f\3\2\2\2\u0a74\u0a75\7+\2\2\u0a75\u0a76\5\4\3\2\u0a76"+
|
|
|
+ "\u0a77\5 \21\2\u0a77\u0a78\5\u0104\u0083\2\u0a78\u0a7f\3\2\2\2\u0a79\u0a7a"+
|
|
|
+ "\7+\2\2\u0a7a\u0a7b\5\16\b\2\u0a7b\u0a7c\5 \21\2\u0a7c\u0a7d\5\u0104\u0083"+
|
|
|
+ "\2\u0a7d\u0a7f\3\2\2\2\u0a7e\u0a68\3\2\2\2\u0a7e\u0a6e\3\2\2\2\u0a7e\u0a74"+
|
|
|
+ "\3\2\2\2\u0a7e\u0a79\3\2\2\2\u0a7f\u01a7\3\2\2\2\u0a80\u0a82\5\u01aa\u00d6"+
|
|
|
+ "\2\u0a81\u0a80\3\2\2\2\u0a82\u0a83\3\2\2\2\u0a83\u0a81\3\2\2\2\u0a83\u0a84"+
|
|
|
+ "\3\2\2\2\u0a84\u01a9\3\2\2\2\u0a85\u0a87\5\u00f2z\2\u0a86\u0a85\3\2\2"+
|
|
|
+ "\2\u0a87\u0a8a\3\2\2\2\u0a88\u0a86\3\2\2\2\u0a88\u0a89\3\2\2\2\u0a89\u0a8b"+
|
|
|
+ "\3\2\2\2\u0a8a\u0a88\3\2\2\2\u0a8b\u0a8c\7J\2\2\u0a8c\u0a8d\5\u01ae\u00d8"+
|
|
|
+ "\2\u0a8d\u0a8e\7K\2\2\u0a8e\u01ab\3\2\2\2\u0a8f\u0a90\5\u01ae\u00d8\2"+
|
|
|
+ "\u0a90\u01ad\3\2\2\2\u0a91\u0a94\5\u01b0\u00d9\2\u0a92\u0a94\5\u01b8\u00dd"+
|
|
|
+ "\2\u0a93\u0a91\3\2\2\2\u0a93\u0a92\3\2\2\2\u0a94\u01af\3\2\2\2\u0a95\u0a96"+
|
|
|
+ "\5\u01b2\u00da\2\u0a96\u0a97\7Y\2\2\u0a97\u0a98\5\u01b6\u00dc\2\u0a98"+
|
|
|
+ "\u01b1\3\2\2\2\u0a99\u0aa4\5\u01ea\u00f6\2\u0a9a\u0a9c\7F\2\2\u0a9b\u0a9d"+
|
|
|
+ "\5\u00a2R\2\u0a9c\u0a9b\3\2\2\2\u0a9c\u0a9d\3\2\2\2\u0a9d\u0a9e\3\2\2"+
|
|
|
+ "\2\u0a9e\u0aa4\7G\2\2\u0a9f\u0aa0\7F\2\2\u0aa0\u0aa1\5\u01b4\u00db\2\u0aa1"+
|
|
|
+ "\u0aa2\7G\2\2\u0aa2\u0aa4\3\2\2\2\u0aa3\u0a99\3\2\2\2\u0aa3\u0a9a\3\2"+
|
|
|
+ "\2\2\u0aa3\u0a9f\3\2\2\2\u0aa4\u01b3\3\2\2\2\u0aa5\u0aaa\5\u01ea\u00f6"+
|
|
|
+ "\2\u0aa6\u0aa7\7M\2\2\u0aa7\u0aa9\5\u01ea\u00f6\2\u0aa8\u0aa6\3\2\2\2"+
|
|
|
+ "\u0aa9\u0aac\3\2\2\2\u0aaa\u0aa8\3\2\2\2\u0aaa\u0aab\3\2\2\2\u0aab\u01b5"+
|
|
|
+ "\3\2\2\2\u0aac\u0aaa\3\2\2\2\u0aad\u0ab0\5\u01ae\u00d8\2\u0aae\u0ab0\5"+
|
|
|
+ "\u0108\u0085\2\u0aaf\u0aad\3\2\2\2\u0aaf\u0aae\3\2\2\2\u0ab0\u01b7\3\2"+
|
|
|
+ "\2\2\u0ab1\u0ab4\5\u01c0\u00e1\2\u0ab2\u0ab4\5\u01ba\u00de\2\u0ab3\u0ab1"+
|
|
|
+ "\3\2\2\2\u0ab3\u0ab2\3\2\2\2\u0ab4\u01b9\3\2\2\2\u0ab5\u0ab6\5\u01bc\u00df"+
|
|
|
+ "\2\u0ab6\u0ab7\5\u01be\u00e0\2\u0ab7\u0ab8\5\u01ae\u00d8\2\u0ab8\u01bb"+
|
|
|
+ "\3\2\2\2\u0ab9\u0abd\5<\37\2\u0aba\u0abd\5\u018c\u00c7\2\u0abb\u0abd\5"+
|
|
|
+ "\u0192\u00ca\2\u0abc\u0ab9\3\2\2\2\u0abc\u0aba\3\2\2\2\u0abc\u0abb\3\2"+
|
|
|
+ "\2\2\u0abd\u01bd\3\2\2\2\u0abe\u0abf\t\6\2\2\u0abf\u01bf\3\2\2\2\u0ac0"+
|
|
|
+ "\u0aca\5\u01c2\u00e2\2\u0ac1\u0ac2\5\u01c2\u00e2\2\u0ac2\u0ac3\7W\2\2"+
|
|
|
+ "\u0ac3\u0ac4\5\u01ae\u00d8\2\u0ac4\u0ac7\7X\2\2\u0ac5\u0ac8\5\u01c0\u00e1"+
|
|
|
+ "\2\u0ac6\u0ac8\5\u01b0\u00d9\2\u0ac7\u0ac5\3\2\2\2\u0ac7\u0ac6\3\2\2\2"+
|
|
|
+ "\u0ac8\u0aca\3\2\2\2\u0ac9\u0ac0\3\2\2\2\u0ac9\u0ac1\3\2\2\2\u0aca\u01c1"+
|
|
|
+ "\3\2\2\2\u0acb\u0acc\b\u00e2\1\2\u0acc\u0acd\5\u01c4\u00e3\2\u0acd\u0ad3"+
|
|
|
+ "\3\2\2\2\u0ace\u0acf\f\3\2\2\u0acf\u0ad0\7_\2\2\u0ad0\u0ad2\5\u01c4\u00e3"+
|
|
|
+ "\2\u0ad1\u0ace\3\2\2\2\u0ad2\u0ad5\3\2\2\2\u0ad3\u0ad1\3\2\2\2\u0ad3\u0ad4"+
|
|
|
+ "\3\2\2\2\u0ad4\u01c3\3\2\2\2\u0ad5\u0ad3\3\2\2\2\u0ad6\u0ad7\b\u00e3\1"+
|
|
|
+ "\2\u0ad7\u0ad8\5\u01c6\u00e4\2\u0ad8\u0ade\3\2\2\2\u0ad9\u0ada\f\3\2\2"+
|
|
|
+ "\u0ada\u0adb\7^\2\2\u0adb\u0add\5\u01c6\u00e4\2\u0adc\u0ad9\3\2\2\2\u0add"+
|
|
|
+ "\u0ae0\3\2\2\2\u0ade\u0adc\3\2\2\2\u0ade\u0adf\3\2\2\2\u0adf\u01c5\3\2"+
|
|
|
+ "\2\2\u0ae0\u0ade\3\2\2\2\u0ae1\u0ae2\b\u00e4\1\2\u0ae2\u0ae3\5\u01c8\u00e5"+
|
|
|
+ "\2\u0ae3\u0ae9\3\2\2\2\u0ae4\u0ae5\f\3\2\2\u0ae5\u0ae6\7g\2\2\u0ae6\u0ae8"+
|
|
|
+ "\5\u01c8\u00e5\2\u0ae7\u0ae4\3\2\2\2\u0ae8\u0aeb\3\2\2\2\u0ae9\u0ae7\3"+
|
|
|
+ "\2\2\2\u0ae9\u0aea\3\2\2\2\u0aea\u01c7\3\2\2\2\u0aeb\u0ae9\3\2\2\2\u0aec"+
|
|
|
+ "\u0aed\b\u00e5\1\2\u0aed\u0aee\5\u01ca\u00e6\2\u0aee\u0af4\3\2\2\2\u0aef"+
|
|
|
+ "\u0af0\f\3\2\2\u0af0\u0af1\7h\2\2\u0af1\u0af3\5\u01ca\u00e6\2\u0af2\u0aef"+
|
|
|
+ "\3\2\2\2\u0af3\u0af6\3\2\2\2\u0af4\u0af2\3\2\2\2\u0af4\u0af5\3\2\2\2\u0af5"+
|
|
|
+ "\u01c9\3\2\2\2\u0af6\u0af4\3\2\2\2\u0af7\u0af8\b\u00e6\1\2\u0af8\u0af9"+
|
|
|
+ "\5\u01cc\u00e7\2\u0af9\u0aff\3\2\2\2\u0afa\u0afb\f\3\2\2\u0afb\u0afc\7"+
|
|
|
+ "f\2\2\u0afc\u0afe\5\u01cc\u00e7\2\u0afd\u0afa\3\2\2\2\u0afe\u0b01\3\2"+
|
|
|
+ "\2\2\u0aff\u0afd\3\2\2\2\u0aff\u0b00\3\2\2\2\u0b00\u01cb\3\2\2\2\u0b01"+
|
|
|
+ "\u0aff\3\2\2\2\u0b02\u0b03\b\u00e7\1\2\u0b03\u0b04\5\u01ce\u00e8\2\u0b04"+
|
|
|
+ "\u0b0d\3\2\2\2\u0b05\u0b06\f\4\2\2\u0b06\u0b07\7Z\2\2\u0b07\u0b0c\5\u01ce"+
|
|
|
+ "\u00e8\2\u0b08\u0b09\f\3\2\2\u0b09\u0b0a\7]\2\2\u0b0a\u0b0c\5\u01ce\u00e8"+
|
|
|
+ "\2\u0b0b\u0b05\3\2\2\2\u0b0b\u0b08\3\2\2\2\u0b0c\u0b0f\3\2\2\2\u0b0d\u0b0b"+
|
|
|
+ "\3\2\2\2\u0b0d\u0b0e\3\2\2\2\u0b0e\u01cd\3\2\2\2\u0b0f\u0b0d\3\2\2\2\u0b10"+
|
|
|
+ "\u0b11\b\u00e8\1\2\u0b11\u0b12\5\u01d0\u00e9\2\u0b12\u0b24\3\2\2\2\u0b13"+
|
|
|
+ "\u0b14\f\7\2\2\u0b14\u0b15\7T\2\2\u0b15\u0b23\5\u01d0\u00e9\2\u0b16\u0b17"+
|
|
|
+ "\f\6\2\2\u0b17\u0b18\7S\2\2\u0b18\u0b23\5\u01d0\u00e9\2\u0b19\u0b1a\f"+
|
|
|
+ "\5\2\2\u0b1a\u0b1b\7[\2\2\u0b1b\u0b23\5\u01d0\u00e9\2\u0b1c\u0b1d\f\4"+
|
|
|
+ "\2\2\u0b1d\u0b1e\7\\\2\2\u0b1e\u0b23\5\u01d0\u00e9\2\u0b1f\u0b20\f\3\2"+
|
|
|
+ "\2\u0b20\u0b21\7&\2\2\u0b21\u0b23\5\f\7\2\u0b22\u0b13\3\2\2\2\u0b22\u0b16"+
|
|
|
+ "\3\2\2\2\u0b22\u0b19\3\2\2\2\u0b22\u0b1c\3\2\2\2\u0b22\u0b1f\3\2\2\2\u0b23"+
|
|
|
+ "\u0b26\3\2\2\2\u0b24\u0b22\3\2\2\2\u0b24\u0b25\3\2\2\2\u0b25\u01cf\3\2"+
|
|
|
+ "\2\2\u0b26\u0b24\3\2\2\2\u0b27\u0b28\b\u00e9\1\2\u0b28\u0b29\5\u01d2\u00ea"+
|
|
|
+ "\2\u0b29\u0b39\3\2\2\2\u0b2a\u0b2b\f\5\2\2\u0b2b\u0b2c\7T\2\2\u0b2c\u0b2d"+
|
|
|
+ "\7T\2\2\u0b2d\u0b38\5\u01d2\u00ea\2\u0b2e\u0b2f\f\4\2\2\u0b2f\u0b30\7"+
|
|
|
+ "S\2\2\u0b30\u0b31\7S\2\2\u0b31\u0b38\5\u01d2\u00ea\2\u0b32\u0b33\f\3\2"+
|
|
|
+ "\2\u0b33\u0b34\7S\2\2\u0b34\u0b35\7S\2\2\u0b35\u0b36\7S\2\2\u0b36\u0b38"+
|
|
|
+ "\5\u01d2\u00ea\2\u0b37\u0b2a\3\2\2\2\u0b37\u0b2e\3\2\2\2\u0b37\u0b32\3"+
|
|
|
+ "\2\2\2\u0b38\u0b3b\3\2\2\2\u0b39\u0b37\3\2\2\2\u0b39\u0b3a\3\2\2\2\u0b3a"+
|
|
|
+ "\u01d1\3\2\2\2\u0b3b\u0b39\3\2\2\2\u0b3c\u0b3d\b\u00ea\1\2\u0b3d\u0b3e"+
|
|
|
+ "\5\u01d4\u00eb\2\u0b3e\u0b47\3\2\2\2\u0b3f\u0b40\f\4\2\2\u0b40\u0b41\7"+
|
|
|
+ "b\2\2\u0b41\u0b46\5\u01d4\u00eb\2\u0b42\u0b43\f\3\2\2\u0b43\u0b44\7c\2"+
|
|
|
+ "\2\u0b44\u0b46\5\u01d4\u00eb\2\u0b45\u0b3f\3\2\2\2\u0b45\u0b42\3\2\2\2"+
|
|
|
+ "\u0b46\u0b49\3\2\2\2\u0b47\u0b45\3\2\2\2\u0b47\u0b48\3\2\2\2\u0b48\u01d3"+
|
|
|
+ "\3\2\2\2\u0b49\u0b47\3\2\2\2\u0b4a\u0b4b\b\u00eb\1\2\u0b4b\u0b4c\5\u01d6"+
|
|
|
+ "\u00ec\2\u0b4c\u0b58\3\2\2\2\u0b4d\u0b4e\f\5\2\2\u0b4e\u0b4f\7d\2\2\u0b4f"+
|
|
|
+ "\u0b57\5\u01d6\u00ec\2\u0b50\u0b51\f\4\2\2\u0b51\u0b52\7e\2\2\u0b52\u0b57"+
|
|
|
+ "\5\u01d6\u00ec\2\u0b53\u0b54\f\3\2\2\u0b54\u0b55\7i\2\2\u0b55\u0b57\5"+
|
|
|
+ "\u01d6\u00ec\2\u0b56\u0b4d\3\2\2\2\u0b56\u0b50\3\2\2\2\u0b56\u0b53\3\2"+
|
|
|
+ "\2\2\u0b57\u0b5a\3\2\2\2\u0b58\u0b56\3\2\2\2\u0b58\u0b59\3\2\2\2\u0b59"+
|
|
|
+ "\u01d5\3\2\2\2\u0b5a\u0b58\3\2\2\2\u0b5b\u0b63\5\u01d8\u00ed\2\u0b5c\u0b63"+
|
|
|
+ "\5\u01da\u00ee\2\u0b5d\u0b5e\7b\2\2\u0b5e\u0b63\5\u01d6\u00ec\2\u0b5f"+
|
|
|
+ "\u0b60\7c\2\2\u0b60\u0b63\5\u01d6\u00ec\2\u0b61\u0b63\5\u01dc\u00ef\2"+
|
|
|
+ "\u0b62\u0b5b\3\2\2\2\u0b62\u0b5c\3\2\2\2\u0b62\u0b5d\3\2\2\2\u0b62\u0b5f"+
|
|
|
+ "\3\2\2\2\u0b62\u0b61\3\2\2\2\u0b63\u01d7\3\2\2\2\u0b64\u0b65\7`\2\2\u0b65"+
|
|
|
+ "\u0b66\5\u01d6\u00ec\2\u0b66\u01d9\3\2\2\2\u0b67\u0b68\7a\2\2\u0b68\u0b69"+
|
|
|
+ "\5\u01d6\u00ec\2\u0b69\u01db\3\2\2\2\u0b6a\u0b71\5\u01de\u00f0\2\u0b6b"+
|
|
|
+ "\u0b6c\7V\2\2\u0b6c\u0b71\5\u01d6\u00ec\2\u0b6d\u0b6e\7U\2\2\u0b6e\u0b71"+
|
|
|
+ "\5\u01d6\u00ec\2\u0b6f\u0b71\5\u01e8\u00f5\2\u0b70\u0b6a\3\2\2\2\u0b70"+
|
|
|
+ "\u0b6b\3\2\2\2\u0b70\u0b6d\3\2\2\2\u0b70\u0b6f\3\2\2\2\u0b71\u01dd\3\2"+
|
|
|
+ "\2\2\u0b72\u0b75\5\u016e\u00b8\2\u0b73\u0b75\5<\37\2\u0b74\u0b72\3\2\2"+
|
|
|
+ "\2\u0b74\u0b73\3\2\2\2\u0b75\u0b7a\3\2\2\2\u0b76\u0b79\5\u01e2\u00f2\2"+
|
|
|
+ "\u0b77\u0b79\5\u01e6\u00f4\2\u0b78\u0b76\3\2\2\2\u0b78\u0b77\3\2\2\2\u0b79"+
|
|
|
+ "\u0b7c\3\2\2\2\u0b7a\u0b78\3\2\2\2\u0b7a\u0b7b\3\2\2\2\u0b7b\u01df\3\2"+
|
|
|
+ "\2\2\u0b7c\u0b7a\3\2\2\2\u0b7d\u0b7e\5\u01de\u00f0\2\u0b7e\u0b7f\7`\2"+
|
|
|
+ "\2\u0b7f\u01e1\3\2\2\2\u0b80\u0b81\7`\2\2\u0b81\u01e3\3\2\2\2\u0b82\u0b83"+
|
|
|
+ "\5\u01de\u00f0\2\u0b83\u0b84\7a\2\2\u0b84\u01e5\3\2\2\2\u0b85\u0b86\7"+
|
|
|
+ "a\2\2\u0b86\u01e7\3\2\2\2\u0b87\u0b88\7F\2\2\u0b88\u0b89\5\4\3\2\u0b89"+
|
|
|
+ "\u0b8a\7G\2\2\u0b8a\u0b8b\5\u01d6\u00ec\2\u0b8b\u0ba3\3\2\2\2\u0b8c\u0b8d"+
|
|
|
+ "\7F\2\2\u0b8d\u0b91\5\f\7\2\u0b8e\u0b90\5(\25\2\u0b8f\u0b8e\3\2\2\2\u0b90"+
|
|
|
+ "\u0b93\3\2\2\2\u0b91\u0b8f\3\2\2\2\u0b91\u0b92\3\2\2\2\u0b92\u0b94\3\2"+
|
|
|
+ "\2\2\u0b93\u0b91\3\2\2\2\u0b94\u0b95\7G\2\2\u0b95\u0b96\5\u01dc\u00ef"+
|
|
|
+ "\2\u0b96\u0ba3\3\2\2\2\u0b97\u0b98\7F\2\2\u0b98\u0b9c\5\f\7\2\u0b99\u0b9b"+
|
|
|
+ "\5(\25\2\u0b9a\u0b99\3\2\2\2\u0b9b\u0b9e\3\2\2\2\u0b9c\u0b9a\3\2\2\2\u0b9c"+
|
|
|
+ "\u0b9d\3\2\2\2\u0b9d\u0b9f\3\2\2\2\u0b9e\u0b9c\3\2\2\2\u0b9f\u0ba0\7G"+
|
|
|
+ "\2\2\u0ba0\u0ba1\5\u01b0\u00d9\2\u0ba1\u0ba3\3\2\2\2\u0ba2\u0b87\3\2\2"+
|
|
|
+ "\2\u0ba2\u0b8c\3\2\2\2\u0ba2\u0b97\3\2\2\2\u0ba3\u01e9\3\2\2\2\u0ba4\u0ba5"+
|
|
|
+ "\t\7\2\2\u0ba5\u01eb\3\2\2\2\u0156\u01f1\u01f8\u01fc\u0200\u0209\u020d"+
|
|
|
+ "\u0211\u0213\u0219\u021e\u0225\u022a\u022c\u0232\u0237\u023c\u0241\u024c"+
|
|
|
+ "\u025a\u025f\u0267\u026e\u0274\u0279\u0284\u0287\u0295\u029a\u029f\u02a4"+
|
|
|
+ "\u02aa\u02b4\u02bf\u02c7\u02d1\u02d9\u02e5\u02ea\u02ed\u02f2\u02f8\u0300"+
|
|
|
+ "\u0308\u0315\u0332\u0337\u033b\u0343\u034c\u035a\u035d\u0369\u036c\u037c"+
|
|
|
+ "\u0381\u0387\u038c\u0392\u0395\u0398\u03a4\u03af\u03bd\u03c4\u03cd\u03d4"+
|
|
|
+ "\u03d9\u03e8\u03ef\u03f5\u03f9\u03fd\u0401\u0405\u040a\u040e\u0412\u0414"+
|
|
|
+ "\u0419\u0420\u0425\u0427\u042d\u0432\u0436\u0449\u044e\u045e\u0463\u0469"+
|
|
|
+ "\u046f\u0471\u0475\u047a\u047e\u0486\u048d\u0495\u0498\u049d\u04a5\u04aa"+
|
|
|
+ "\u04b1\u04b8\u04bd\u04c4\u04d0\u04d5\u04d9\u04e3\u04e8\u04f0\u04f3\u04f8"+
|
|
|
+ "\u0500\u0503\u0508\u050d\u0512\u0517\u051e\u0523\u052b\u0530\u0535\u053a"+
|
|
|
+ "\u0540\u0546\u0549\u054c\u0555\u055b\u0561\u0564\u0567\u056f\u0574\u0579"+
|
|
|
+ "\u057f\u0582\u058d\u0596\u05a0\u05a5\u05b0\u05b5\u05c2\u05c7\u05d3\u05dd"+
|
|
|
+ "\u05e2\u05ea\u05ed\u05f4\u05fc\u0602\u060b\u0615\u0619\u061c\u0625\u0633"+
|
|
|
+ "\u0636\u063f\u0644\u064b\u0650\u0658\u0664\u066b\u0679\u068f\u06b1\u06bd"+
|
|
|
+ "\u06c3\u06ce\u06da\u06f4\u06f8\u06fd\u0701\u0705\u070d\u0711\u0715\u071c"+
|
|
|
+ "\u0725\u072d\u073c\u0748\u074e\u0754\u0769\u076e\u0773\u077e\u0789\u0793"+
|
|
|
+ "\u0796\u079b\u07a4\u07aa\u07b3\u07b7\u07bb\u07c0\u07d3\u07dd\u07f3\u07fa"+
|
|
|
+ "\u0802\u080a\u0815\u082c\u0836\u0841\u0857\u085c\u0862\u086a\u086e\u0873"+
|
|
|
+ "\u087b\u0881\u0885\u0889\u088d\u0893\u0898\u089d\u08a1\u08a5\u08ab\u08b0"+
|
|
|
+ "\u08b5\u08b9\u08bd\u08bf\u08c4\u08c9\u08ce\u08d2\u08d6\u08da\u08df\u08e7"+
|
|
|
+ "\u08ed\u08f1\u08f5\u08f9\u08ff\u0904\u0909\u090d\u0911\u0913\u0918\u0927"+
|
|
|
+ "\u0935\u0941\u094a\u0959\u0966\u096f\u0975\u097c\u0981\u0988\u098d\u0994"+
|
|
|
+ "\u0999\u09a0\u09a5\u09ae\u09b3\u09b7\u09bb\u09c0\u09c7\u09ce\u09d3\u09da"+
|
|
|
+ "\u09df\u09e6\u09eb\u09f4\u09f9\u09fd\u0a04\u0a0a\u0a11\u0a18\u0a1f\u0a27"+
|
|
|
+ "\u0a2e\u0a36\u0a3a\u0a41\u0a48\u0a4f\u0a57\u0a5e\u0a66\u0a6c\u0a72\u0a7e"+
|
|
|
+ "\u0a83\u0a88\u0a93\u0a9c\u0aa3\u0aaa\u0aaf\u0ab3\u0abc\u0ac7\u0ac9\u0ad3"+
|
|
|
+ "\u0ade\u0ae9\u0af4\u0aff\u0b0b\u0b0d\u0b22\u0b24\u0b37\u0b39\u0b45\u0b47"+
|
|
|
+ "\u0b56\u0b58\u0b62\u0b70\u0b74\u0b78\u0b7a\u0b91\u0b9c\u0ba2";
|
|
|
+ public static final String _serializedATN = Utils.join(
|
|
|
+ new String[] {
|
|
|
+ _serializedATNSegment0,
|
|
|
+ _serializedATNSegment1
|
|
|
+ },
|
|
|
+ ""
|
|
|
+ );
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|