Class JavaLanguageParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser
-
public class JavaLanguageParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JavaLanguageParser(org.antlr.v4.runtime.TokenStream input)
JavaLanguageParser(org.antlr.v4.runtime.TokenStream input, int clearDfaLimit)
We create a custom constructor so that we can clear the DFA states upon instantiation of JavaLanguageParser.
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
COMPILATION_UNIT
public static final int COMPILATION_UNIT
- See Also:
- Constant Field Values
-
PLACEHOLDER1
public static final int PLACEHOLDER1
- See Also:
- Constant Field Values
-
NULL_TREE_LOOKAHEAD
public static final int NULL_TREE_LOOKAHEAD
- See Also:
- Constant Field Values
-
BLOCK
public static final int BLOCK
- See Also:
- Constant Field Values
-
MODIFIERS
public static final int MODIFIERS
- See Also:
- Constant Field Values
-
OBJBLOCK
public static final int OBJBLOCK
- See Also:
- Constant Field Values
-
SLIST
public static final int SLIST
- See Also:
- Constant Field Values
-
CTOR_DEF
public static final int CTOR_DEF
- See Also:
- Constant Field Values
-
METHOD_DEF
public static final int METHOD_DEF
- See Also:
- Constant Field Values
-
VARIABLE_DEF
public static final int VARIABLE_DEF
- See Also:
- Constant Field Values
-
INSTANCE_INIT
public static final int INSTANCE_INIT
- See Also:
- Constant Field Values
-
STATIC_INIT
public static final int STATIC_INIT
- See Also:
- Constant Field Values
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
CLASS_DEF
public static final int CLASS_DEF
- See Also:
- Constant Field Values
-
INTERFACE_DEF
public static final int INTERFACE_DEF
- See Also:
- Constant Field Values
-
PACKAGE_DEF
public static final int PACKAGE_DEF
- See Also:
- Constant Field Values
-
ARRAY_DECLARATOR
public static final int ARRAY_DECLARATOR
- See Also:
- Constant Field Values
-
EXTENDS_CLAUSE
public static final int EXTENDS_CLAUSE
- See Also:
- Constant Field Values
-
IMPLEMENTS_CLAUSE
public static final int IMPLEMENTS_CLAUSE
- See Also:
- Constant Field Values
-
PARAMETERS
public static final int PARAMETERS
- See Also:
- Constant Field Values
-
PARAMETER_DEF
public static final int PARAMETER_DEF
- See Also:
- Constant Field Values
-
LABELED_STAT
public static final int LABELED_STAT
- See Also:
- Constant Field Values
-
TYPECAST
public static final int TYPECAST
- See Also:
- Constant Field Values
-
INDEX_OP
public static final int INDEX_OP
- See Also:
- Constant Field Values
-
POST_INC
public static final int POST_INC
- See Also:
- Constant Field Values
-
POST_DEC
public static final int POST_DEC
- See Also:
- Constant Field Values
-
METHOD_CALL
public static final int METHOD_CALL
- See Also:
- Constant Field Values
-
EXPR
public static final int EXPR
- See Also:
- Constant Field Values
-
ARRAY_INIT
public static final int ARRAY_INIT
- See Also:
- Constant Field Values
-
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
-
UNARY_MINUS
public static final int UNARY_MINUS
- See Also:
- Constant Field Values
-
UNARY_PLUS
public static final int UNARY_PLUS
- See Also:
- Constant Field Values
-
CASE_GROUP
public static final int CASE_GROUP
- See Also:
- Constant Field Values
-
ELIST
public static final int ELIST
- See Also:
- Constant Field Values
-
FOR_INIT
public static final int FOR_INIT
- See Also:
- Constant Field Values
-
FOR_CONDITION
public static final int FOR_CONDITION
- See Also:
- Constant Field Values
-
FOR_ITERATOR
public static final int FOR_ITERATOR
- See Also:
- Constant Field Values
-
EMPTY_STAT
public static final int EMPTY_STAT
- See Also:
- Constant Field Values
-
FINAL
public static final int FINAL
- See Also:
- Constant Field Values
-
ABSTRACT
public static final int ABSTRACT
- See Also:
- Constant Field Values
-
STRICTFP
public static final int STRICTFP
- See Also:
- Constant Field Values
-
SUPER_CTOR_CALL
public static final int SUPER_CTOR_CALL
- See Also:
- Constant Field Values
-
CTOR_CALL
public static final int CTOR_CALL
- See Also:
- Constant Field Values
-
LITERAL_PACKAGE
public static final int LITERAL_PACKAGE
- See Also:
- Constant Field Values
-
SEMI
public static final int SEMI
- See Also:
- Constant Field Values
-
LITERAL_IMPORT
public static final int LITERAL_IMPORT
- See Also:
- Constant Field Values
-
LBRACK
public static final int LBRACK
- See Also:
- Constant Field Values
-
RBRACK
public static final int RBRACK
- See Also:
- Constant Field Values
-
LITERAL_VOID
public static final int LITERAL_VOID
- See Also:
- Constant Field Values
-
LITERAL_BOOLEAN
public static final int LITERAL_BOOLEAN
- See Also:
- Constant Field Values
-
LITERAL_BYTE
public static final int LITERAL_BYTE
- See Also:
- Constant Field Values
-
LITERAL_CHAR
public static final int LITERAL_CHAR
- See Also:
- Constant Field Values
-
LITERAL_SHORT
public static final int LITERAL_SHORT
- See Also:
- Constant Field Values
-
LITERAL_INT
public static final int LITERAL_INT
- See Also:
- Constant Field Values
-
LITERAL_FLOAT
public static final int LITERAL_FLOAT
- See Also:
- Constant Field Values
-
LITERAL_LONG
public static final int LITERAL_LONG
- See Also:
- Constant Field Values
-
LITERAL_DOUBLE
public static final int LITERAL_DOUBLE
- See Also:
- Constant Field Values
-
IDENT
public static final int IDENT
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
STAR
public static final int STAR
- See Also:
- Constant Field Values
-
LITERAL_PRIVATE
public static final int LITERAL_PRIVATE
- See Also:
- Constant Field Values
-
LITERAL_PUBLIC
public static final int LITERAL_PUBLIC
- See Also:
- Constant Field Values
-
LITERAL_PROTECTED
public static final int LITERAL_PROTECTED
- See Also:
- Constant Field Values
-
LITERAL_STATIC
public static final int LITERAL_STATIC
- See Also:
- Constant Field Values
-
LITERAL_TRANSIENT
public static final int LITERAL_TRANSIENT
- See Also:
- Constant Field Values
-
LITERAL_NATIVE
public static final int LITERAL_NATIVE
- See Also:
- Constant Field Values
-
LITERAL_SYNCHRONIZED
public static final int LITERAL_SYNCHRONIZED
- See Also:
- Constant Field Values
-
LITERAL_VOLATILE
public static final int LITERAL_VOLATILE
- See Also:
- Constant Field Values
-
LITERAL_CLASS
public static final int LITERAL_CLASS
- See Also:
- Constant Field Values
-
LITERAL_EXTENDS
public static final int LITERAL_EXTENDS
- See Also:
- Constant Field Values
-
LITERAL_INTERFACE
public static final int LITERAL_INTERFACE
- See Also:
- Constant Field Values
-
LCURLY
public static final int LCURLY
- See Also:
- Constant Field Values
-
RCURLY
public static final int RCURLY
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
LITERAL_IMPLEMENTS
public static final int LITERAL_IMPLEMENTS
- See Also:
- Constant Field Values
-
LPAREN
public static final int LPAREN
- See Also:
- Constant Field Values
-
RPAREN
public static final int RPAREN
- See Also:
- Constant Field Values
-
LITERAL_THIS
public static final int LITERAL_THIS
- See Also:
- Constant Field Values
-
LITERAL_SUPER
public static final int LITERAL_SUPER
- See Also:
- Constant Field Values
-
ASSIGN
public static final int ASSIGN
- See Also:
- Constant Field Values
-
LITERAL_THROWS
public static final int LITERAL_THROWS
- See Also:
- Constant Field Values
-
COLON
public static final int COLON
- See Also:
- Constant Field Values
-
LITERAL_IF
public static final int LITERAL_IF
- See Also:
- Constant Field Values
-
LITERAL_WHILE
public static final int LITERAL_WHILE
- See Also:
- Constant Field Values
-
LITERAL_DO
public static final int LITERAL_DO
- See Also:
- Constant Field Values
-
LITERAL_BREAK
public static final int LITERAL_BREAK
- See Also:
- Constant Field Values
-
LITERAL_CONTINUE
public static final int LITERAL_CONTINUE
- See Also:
- Constant Field Values
-
LITERAL_RETURN
public static final int LITERAL_RETURN
- See Also:
- Constant Field Values
-
LITERAL_SWITCH
public static final int LITERAL_SWITCH
- See Also:
- Constant Field Values
-
LITERAL_THROW
public static final int LITERAL_THROW
- See Also:
- Constant Field Values
-
LITERAL_FOR
public static final int LITERAL_FOR
- See Also:
- Constant Field Values
-
LITERAL_ELSE
public static final int LITERAL_ELSE
- See Also:
- Constant Field Values
-
LITERAL_CASE
public static final int LITERAL_CASE
- See Also:
- Constant Field Values
-
LITERAL_DEFAULT
public static final int LITERAL_DEFAULT
- See Also:
- Constant Field Values
-
LITERAL_TRY
public static final int LITERAL_TRY
- See Also:
- Constant Field Values
-
LITERAL_CATCH
public static final int LITERAL_CATCH
- See Also:
- Constant Field Values
-
LITERAL_FINALLY
public static final int LITERAL_FINALLY
- See Also:
- Constant Field Values
-
PLUS_ASSIGN
public static final int PLUS_ASSIGN
- See Also:
- Constant Field Values
-
MINUS_ASSIGN
public static final int MINUS_ASSIGN
- See Also:
- Constant Field Values
-
STAR_ASSIGN
public static final int STAR_ASSIGN
- See Also:
- Constant Field Values
-
DIV_ASSIGN
public static final int DIV_ASSIGN
- See Also:
- Constant Field Values
-
MOD_ASSIGN
public static final int MOD_ASSIGN
- See Also:
- Constant Field Values
-
SR_ASSIGN
public static final int SR_ASSIGN
- See Also:
- Constant Field Values
-
BSR_ASSIGN
public static final int BSR_ASSIGN
- See Also:
- Constant Field Values
-
SL_ASSIGN
public static final int SL_ASSIGN
- See Also:
- Constant Field Values
-
BAND_ASSIGN
public static final int BAND_ASSIGN
- See Also:
- Constant Field Values
-
BXOR_ASSIGN
public static final int BXOR_ASSIGN
- See Also:
- Constant Field Values
-
BOR_ASSIGN
public static final int BOR_ASSIGN
- See Also:
- Constant Field Values
-
QUESTION
public static final int QUESTION
- See Also:
- Constant Field Values
-
LOR
public static final int LOR
- See Also:
- Constant Field Values
-
LAND
public static final int LAND
- See Also:
- Constant Field Values
-
BOR
public static final int BOR
- See Also:
- Constant Field Values
-
BXOR
public static final int BXOR
- See Also:
- Constant Field Values
-
BAND
public static final int BAND
- See Also:
- Constant Field Values
-
NOT_EQUAL
public static final int NOT_EQUAL
- See Also:
- Constant Field Values
-
EQUAL
public static final int EQUAL
- See Also:
- Constant Field Values
-
LT
public static final int LT
- See Also:
- Constant Field Values
-
GT
public static final int GT
- See Also:
- Constant Field Values
-
LE
public static final int LE
- See Also:
- Constant Field Values
-
GE
public static final int GE
- See Also:
- Constant Field Values
-
LITERAL_INSTANCEOF
public static final int LITERAL_INSTANCEOF
- See Also:
- Constant Field Values
-
SL
public static final int SL
- See Also:
- Constant Field Values
-
SR
public static final int SR
- See Also:
- Constant Field Values
-
BSR
public static final int BSR
- See Also:
- Constant Field Values
-
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
DIV
public static final int DIV
- See Also:
- Constant Field Values
-
MOD
public static final int MOD
- See Also:
- Constant Field Values
-
INC
public static final int INC
- See Also:
- Constant Field Values
-
DEC
public static final int DEC
- See Also:
- Constant Field Values
-
BNOT
public static final int BNOT
- See Also:
- Constant Field Values
-
LNOT
public static final int LNOT
- See Also:
- Constant Field Values
-
LITERAL_TRUE
public static final int LITERAL_TRUE
- See Also:
- Constant Field Values
-
LITERAL_FALSE
public static final int LITERAL_FALSE
- See Also:
- Constant Field Values
-
LITERAL_NULL
public static final int LITERAL_NULL
- See Also:
- Constant Field Values
-
LITERAL_NEW
public static final int LITERAL_NEW
- See Also:
- Constant Field Values
-
NUM_INT
public static final int NUM_INT
- See Also:
- Constant Field Values
-
CHAR_LITERAL
public static final int CHAR_LITERAL
- See Also:
- Constant Field Values
-
STRING_LITERAL
public static final int STRING_LITERAL
- See Also:
- Constant Field Values
-
NUM_FLOAT
public static final int NUM_FLOAT
- See Also:
- Constant Field Values
-
NUM_LONG
public static final int NUM_LONG
- See Also:
- Constant Field Values
-
NUM_DOUBLE
public static final int NUM_DOUBLE
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
SINGLE_LINE_COMMENT
public static final int SINGLE_LINE_COMMENT
- See Also:
- Constant Field Values
-
BLOCK_COMMENT_BEGIN
public static final int BLOCK_COMMENT_BEGIN
- See Also:
- Constant Field Values
-
ESC
public static final int ESC
- See Also:
- Constant Field Values
-
HEX_DIGIT
public static final int HEX_DIGIT
- See Also:
- Constant Field Values
-
VOCAB
public static final int VOCAB
- See Also:
- Constant Field Values
-
EXPONENT
public static final int EXPONENT
- See Also:
- Constant Field Values
-
FLOAT_SUFFIX
public static final int FLOAT_SUFFIX
- See Also:
- Constant Field Values
-
ASSERT
public static final int ASSERT
- See Also:
- Constant Field Values
-
STATIC_IMPORT
public static final int STATIC_IMPORT
- See Also:
- Constant Field Values
-
ENUM
public static final int ENUM
- See Also:
- Constant Field Values
-
ENUM_DEF
public static final int ENUM_DEF
- See Also:
- Constant Field Values
-
ENUM_CONSTANT_DEF
public static final int ENUM_CONSTANT_DEF
- See Also:
- Constant Field Values
-
FOR_EACH_CLAUSE
public static final int FOR_EACH_CLAUSE
- See Also:
- Constant Field Values
-
ANNOTATION_DEF
public static final int ANNOTATION_DEF
- See Also:
- Constant Field Values
-
ANNOTATIONS
public static final int ANNOTATIONS
- See Also:
- Constant Field Values
-
ANNOTATION
public static final int ANNOTATION
- See Also:
- Constant Field Values
-
ANNOTATION_MEMBER_VALUE_PAIR
public static final int ANNOTATION_MEMBER_VALUE_PAIR
- See Also:
- Constant Field Values
-
ANNOTATION_FIELD_DEF
public static final int ANNOTATION_FIELD_DEF
- See Also:
- Constant Field Values
-
ANNOTATION_ARRAY_INIT
public static final int ANNOTATION_ARRAY_INIT
- See Also:
- Constant Field Values
-
TYPE_ARGUMENTS
public static final int TYPE_ARGUMENTS
- See Also:
- Constant Field Values
-
TYPE_ARGUMENT
public static final int TYPE_ARGUMENT
- See Also:
- Constant Field Values
-
TYPE_PARAMETERS
public static final int TYPE_PARAMETERS
- See Also:
- Constant Field Values
-
TYPE_PARAMETER
public static final int TYPE_PARAMETER
- See Also:
- Constant Field Values
-
WILDCARD_TYPE
public static final int WILDCARD_TYPE
- See Also:
- Constant Field Values
-
TYPE_UPPER_BOUNDS
public static final int TYPE_UPPER_BOUNDS
- See Also:
- Constant Field Values
-
TYPE_LOWER_BOUNDS
public static final int TYPE_LOWER_BOUNDS
- See Also:
- Constant Field Values
-
AT
public static final int AT
- See Also:
- Constant Field Values
-
ELLIPSIS
public static final int ELLIPSIS
- See Also:
- Constant Field Values
-
GENERIC_START
public static final int GENERIC_START
- See Also:
- Constant Field Values
-
GENERIC_END
public static final int GENERIC_END
- See Also:
- Constant Field Values
-
TYPE_EXTENSION_AND
public static final int TYPE_EXTENSION_AND
- See Also:
- Constant Field Values
-
DO_WHILE
public static final int DO_WHILE
- See Also:
- Constant Field Values
-
RESOURCE_SPECIFICATION
public static final int RESOURCE_SPECIFICATION
- See Also:
- Constant Field Values
-
RESOURCES
public static final int RESOURCES
- See Also:
- Constant Field Values
-
RESOURCE
public static final int RESOURCE
- See Also:
- Constant Field Values
-
DOUBLE_COLON
public static final int DOUBLE_COLON
- See Also:
- Constant Field Values
-
METHOD_REF
public static final int METHOD_REF
- See Also:
- Constant Field Values
-
LAMBDA
public static final int LAMBDA
- See Also:
- Constant Field Values
-
BLOCK_COMMENT_END
public static final int BLOCK_COMMENT_END
- See Also:
- Constant Field Values
-
COMMENT_CONTENT
public static final int COMMENT_CONTENT
- See Also:
- Constant Field Values
-
SINGLE_LINE_COMMENT_CONTENT
public static final int SINGLE_LINE_COMMENT_CONTENT
- See Also:
- Constant Field Values
-
BLOCK_COMMENT_CONTENT
public static final int BLOCK_COMMENT_CONTENT
- See Also:
- Constant Field Values
-
STD_ESC
public static final int STD_ESC
- See Also:
- Constant Field Values
-
BINARY_DIGIT
public static final int BINARY_DIGIT
- See Also:
- Constant Field Values
-
ID_START
public static final int ID_START
- See Also:
- Constant Field Values
-
ID_PART
public static final int ID_PART
- See Also:
- Constant Field Values
-
INT_LITERAL
public static final int INT_LITERAL
- See Also:
- Constant Field Values
-
LONG_LITERAL
public static final int LONG_LITERAL
- See Also:
- Constant Field Values
-
FLOAT_LITERAL
public static final int FLOAT_LITERAL
- See Also:
- Constant Field Values
-
DOUBLE_LITERAL
public static final int DOUBLE_LITERAL
- See Also:
- Constant Field Values
-
HEX_FLOAT_LITERAL
public static final int HEX_FLOAT_LITERAL
- See Also:
- Constant Field Values
-
HEX_DOUBLE_LITERAL
public static final int HEX_DOUBLE_LITERAL
- See Also:
- Constant Field Values
-
SIGNED_INTEGER
public static final int SIGNED_INTEGER
- See Also:
- Constant Field Values
-
BINARY_EXPONENT
public static final int BINARY_EXPONENT
- See Also:
- Constant Field Values
-
PATTERN_VARIABLE_DEF
public static final int PATTERN_VARIABLE_DEF
- See Also:
- Constant Field Values
-
RECORD_DEF
public static final int RECORD_DEF
- See Also:
- Constant Field Values
-
LITERAL_RECORD
public static final int LITERAL_RECORD
- See Also:
- Constant Field Values
-
RECORD_COMPONENTS
public static final int RECORD_COMPONENTS
- See Also:
- Constant Field Values
-
RECORD_COMPONENT_DEF
public static final int RECORD_COMPONENT_DEF
- See Also:
- Constant Field Values
-
COMPACT_CTOR_DEF
public static final int COMPACT_CTOR_DEF
- See Also:
- Constant Field Values
-
TEXT_BLOCK_LITERAL_BEGIN
public static final int TEXT_BLOCK_LITERAL_BEGIN
- See Also:
- Constant Field Values
-
TEXT_BLOCK_CONTENT
public static final int TEXT_BLOCK_CONTENT
- See Also:
- Constant Field Values
-
TEXT_BLOCK_LITERAL_END
public static final int TEXT_BLOCK_LITERAL_END
- See Also:
- Constant Field Values
-
LITERAL_YIELD
public static final int LITERAL_YIELD
- See Also:
- Constant Field Values
-
SWITCH_RULE
public static final int SWITCH_RULE
- See Also:
- Constant Field Values
-
LITERAL_NON_SEALED
public static final int LITERAL_NON_SEALED
- See Also:
- Constant Field Values
-
LITERAL_SEALED
public static final int LITERAL_SEALED
- See Also:
- Constant Field Values
-
LITERAL_PERMITS
public static final int LITERAL_PERMITS
- See Also:
- Constant Field Values
-
PERMITS_CLAUSE
public static final int PERMITS_CLAUSE
- See Also:
- Constant Field Values
-
PATTERN_DEF
public static final int PATTERN_DEF
- See Also:
- Constant Field Values
-
LITERAL_CONST
public static final int LITERAL_CONST
- See Also:
- Constant Field Values
-
LITERAL_GOTO
public static final int LITERAL_GOTO
- See Also:
- Constant Field Values
-
DECIMAL_LITERAL_LONG
public static final int DECIMAL_LITERAL_LONG
- See Also:
- Constant Field Values
-
DECIMAL_LITERAL
public static final int DECIMAL_LITERAL
- See Also:
- Constant Field Values
-
HEX_LITERAL_LONG
public static final int HEX_LITERAL_LONG
- See Also:
- Constant Field Values
-
HEX_LITERAL
public static final int HEX_LITERAL
- See Also:
- Constant Field Values
-
OCT_LITERAL_LONG
public static final int OCT_LITERAL_LONG
- See Also:
- Constant Field Values
-
OCT_LITERAL
public static final int OCT_LITERAL
- See Also:
- Constant Field Values
-
BINARY_LITERAL_LONG
public static final int BINARY_LITERAL_LONG
- See Also:
- Constant Field Values
-
BINARY_LITERAL
public static final int BINARY_LITERAL
- See Also:
- Constant Field Values
-
RULE_compilationUnit
public static final int RULE_compilationUnit
- See Also:
- Constant Field Values
-
RULE_packageDeclaration
public static final int RULE_packageDeclaration
- See Also:
- Constant Field Values
-
RULE_importDeclaration
public static final int RULE_importDeclaration
- See Also:
- Constant Field Values
-
RULE_typeDeclaration
public static final int RULE_typeDeclaration
- See Also:
- Constant Field Values
-
RULE_types
public static final int RULE_types
- See Also:
- Constant Field Values
-
RULE_modifier
public static final int RULE_modifier
- See Also:
- Constant Field Values
-
RULE_variableModifier
public static final int RULE_variableModifier
- See Also:
- Constant Field Values
-
RULE_classDeclaration
public static final int RULE_classDeclaration
- See Also:
- Constant Field Values
-
RULE_recordDeclaration
public static final int RULE_recordDeclaration
- See Also:
- Constant Field Values
-
RULE_recordComponentsList
public static final int RULE_recordComponentsList
- See Also:
- Constant Field Values
-
RULE_recordComponents
public static final int RULE_recordComponents
- See Also:
- Constant Field Values
-
RULE_recordComponent
public static final int RULE_recordComponent
- See Also:
- Constant Field Values
-
RULE_lastRecordComponent
public static final int RULE_lastRecordComponent
- See Also:
- Constant Field Values
-
RULE_recordBody
public static final int RULE_recordBody
- See Also:
- Constant Field Values
-
RULE_recordBodyDeclaration
public static final int RULE_recordBodyDeclaration
- See Also:
- Constant Field Values
-
RULE_compactConstructorDeclaration
public static final int RULE_compactConstructorDeclaration
- See Also:
- Constant Field Values
-
RULE_classExtends
public static final int RULE_classExtends
- See Also:
- Constant Field Values
-
RULE_implementsClause
public static final int RULE_implementsClause
- See Also:
- Constant Field Values
-
RULE_typeParameters
public static final int RULE_typeParameters
- See Also:
- Constant Field Values
-
RULE_typeParameter
public static final int RULE_typeParameter
- See Also:
- Constant Field Values
-
RULE_typeUpperBounds
public static final int RULE_typeUpperBounds
- See Also:
- Constant Field Values
-
RULE_typeBound
public static final int RULE_typeBound
- See Also:
- Constant Field Values
-
RULE_typeBoundType
public static final int RULE_typeBoundType
- See Also:
- Constant Field Values
-
RULE_enumDeclaration
public static final int RULE_enumDeclaration
- See Also:
- Constant Field Values
-
RULE_enumBody
public static final int RULE_enumBody
- See Also:
- Constant Field Values
-
RULE_enumConstants
public static final int RULE_enumConstants
- See Also:
- Constant Field Values
-
RULE_enumConstant
public static final int RULE_enumConstant
- See Also:
- Constant Field Values
-
RULE_enumBodyDeclarations
public static final int RULE_enumBodyDeclarations
- See Also:
- Constant Field Values
-
RULE_interfaceDeclaration
public static final int RULE_interfaceDeclaration
- See Also:
- Constant Field Values
-
RULE_interfaceExtends
public static final int RULE_interfaceExtends
- See Also:
- Constant Field Values
-
RULE_classBody
public static final int RULE_classBody
- See Also:
- Constant Field Values
-
RULE_interfaceBody
public static final int RULE_interfaceBody
- See Also:
- Constant Field Values
-
RULE_classBodyDeclaration
public static final int RULE_classBodyDeclaration
- See Also:
- Constant Field Values
-
RULE_memberDeclaration
public static final int RULE_memberDeclaration
- See Also:
- Constant Field Values
-
RULE_methodDeclaration
public static final int RULE_methodDeclaration
- See Also:
- Constant Field Values
-
RULE_methodBody
public static final int RULE_methodBody
- See Also:
- Constant Field Values
-
RULE_throwsList
public static final int RULE_throwsList
- See Also:
- Constant Field Values
-
RULE_constructorDeclaration
public static final int RULE_constructorDeclaration
- See Also:
- Constant Field Values
-
RULE_fieldDeclaration
public static final int RULE_fieldDeclaration
- See Also:
- Constant Field Values
-
RULE_interfaceBodyDeclaration
public static final int RULE_interfaceBodyDeclaration
- See Also:
- Constant Field Values
-
RULE_interfaceMemberDeclaration
public static final int RULE_interfaceMemberDeclaration
- See Also:
- Constant Field Values
-
RULE_interfaceMethodDeclaration
public static final int RULE_interfaceMethodDeclaration
- See Also:
- Constant Field Values
-
RULE_variableDeclarators
public static final int RULE_variableDeclarators
- See Also:
- Constant Field Values
-
RULE_variableDeclarator
public static final int RULE_variableDeclarator
- See Also:
- Constant Field Values
-
RULE_variableDeclaratorId
public static final int RULE_variableDeclaratorId
- See Also:
- Constant Field Values
-
RULE_variableInitializer
public static final int RULE_variableInitializer
- See Also:
- Constant Field Values
-
RULE_arrayInitializer
public static final int RULE_arrayInitializer
- See Also:
- Constant Field Values
-
RULE_classOrInterfaceType
public static final int RULE_classOrInterfaceType
- See Also:
- Constant Field Values
-
RULE_classOrInterfaceTypeExtended
public static final int RULE_classOrInterfaceTypeExtended
- See Also:
- Constant Field Values
-
RULE_typeArgument
public static final int RULE_typeArgument
- See Also:
- Constant Field Values
-
RULE_qualifiedNameList
public static final int RULE_qualifiedNameList
- See Also:
- Constant Field Values
-
RULE_formalParameters
public static final int RULE_formalParameters
- See Also:
- Constant Field Values
-
RULE_formalParameterList
public static final int RULE_formalParameterList
- See Also:
- Constant Field Values
-
RULE_formalParameter
public static final int RULE_formalParameter
- See Also:
- Constant Field Values
-
RULE_lastFormalParameter
public static final int RULE_lastFormalParameter
- See Also:
- Constant Field Values
-
RULE_qualifiedName
public static final int RULE_qualifiedName
- See Also:
- Constant Field Values
-
RULE_qualifiedNameExtended
public static final int RULE_qualifiedNameExtended
- See Also:
- Constant Field Values
-
RULE_literal
public static final int RULE_literal
- See Also:
- Constant Field Values
-
RULE_integerLiteral
public static final int RULE_integerLiteral
- See Also:
- Constant Field Values
-
RULE_floatLiteral
public static final int RULE_floatLiteral
- See Also:
- Constant Field Values
-
RULE_textBlockLiteral
public static final int RULE_textBlockLiteral
- See Also:
- Constant Field Values
-
RULE_annotations
public static final int RULE_annotations
- See Also:
- Constant Field Values
-
RULE_annotation
public static final int RULE_annotation
- See Also:
- Constant Field Values
-
RULE_elementValuePairs
public static final int RULE_elementValuePairs
- See Also:
- Constant Field Values
-
RULE_elementValuePair
public static final int RULE_elementValuePair
- See Also:
- Constant Field Values
-
RULE_elementValue
public static final int RULE_elementValue
- See Also:
- Constant Field Values
-
RULE_elementValueArrayInitializer
public static final int RULE_elementValueArrayInitializer
- See Also:
- Constant Field Values
-
RULE_annotationTypeDeclaration
public static final int RULE_annotationTypeDeclaration
- See Also:
- Constant Field Values
-
RULE_annotationTypeBody
public static final int RULE_annotationTypeBody
- See Also:
- Constant Field Values
-
RULE_annotationTypeElementDeclaration
public static final int RULE_annotationTypeElementDeclaration
- See Also:
- Constant Field Values
-
RULE_annotationTypeElementRest
public static final int RULE_annotationTypeElementRest
- See Also:
- Constant Field Values
-
RULE_annotationMethodRest
public static final int RULE_annotationMethodRest
- See Also:
- Constant Field Values
-
RULE_annotationConstantRest
public static final int RULE_annotationConstantRest
- See Also:
- Constant Field Values
-
RULE_defaultValue
public static final int RULE_defaultValue
- See Also:
- Constant Field Values
-
RULE_constructorBlock
public static final int RULE_constructorBlock
- See Also:
- Constant Field Values
-
RULE_explicitConstructorInvocation
public static final int RULE_explicitConstructorInvocation
- See Also:
- Constant Field Values
-
RULE_block
public static final int RULE_block
- See Also:
- Constant Field Values
-
RULE_blockStatement
public static final int RULE_blockStatement
- See Also:
- Constant Field Values
-
RULE_localVariableDeclaration
public static final int RULE_localVariableDeclaration
- See Also:
- Constant Field Values
-
RULE_localTypeDeclaration
public static final int RULE_localTypeDeclaration
- See Also:
- Constant Field Values
-
RULE_statement
public static final int RULE_statement
- See Also:
- Constant Field Values
-
RULE_switchExpressionOrStatement
public static final int RULE_switchExpressionOrStatement
- See Also:
- Constant Field Values
-
RULE_switchBlock
public static final int RULE_switchBlock
- See Also:
- Constant Field Values
-
RULE_switchLabeledRule
public static final int RULE_switchLabeledRule
- See Also:
- Constant Field Values
-
RULE_switchLabeledExpression
public static final int RULE_switchLabeledExpression
- See Also:
- Constant Field Values
-
RULE_switchLabeledBlock
public static final int RULE_switchLabeledBlock
- See Also:
- Constant Field Values
-
RULE_switchLabeledThrow
public static final int RULE_switchLabeledThrow
- See Also:
- Constant Field Values
-
RULE_elseStat
public static final int RULE_elseStat
- See Also:
- Constant Field Values
-
RULE_catchClause
public static final int RULE_catchClause
- See Also:
- Constant Field Values
-
RULE_catchParameter
public static final int RULE_catchParameter
- See Also:
- Constant Field Values
-
RULE_catchType
public static final int RULE_catchType
- See Also:
- Constant Field Values
-
RULE_finallyBlock
public static final int RULE_finallyBlock
- See Also:
- Constant Field Values
-
RULE_resourceSpecification
public static final int RULE_resourceSpecification
- See Also:
- Constant Field Values
-
RULE_resources
public static final int RULE_resources
- See Also:
- Constant Field Values
-
RULE_resource
public static final int RULE_resource
- See Also:
- Constant Field Values
-
RULE_resourceDeclaration
public static final int RULE_resourceDeclaration
- See Also:
- Constant Field Values
-
RULE_variableAccess
public static final int RULE_variableAccess
- See Also:
- Constant Field Values
-
RULE_fieldAccessNoIdent
public static final int RULE_fieldAccessNoIdent
- See Also:
- Constant Field Values
-
RULE_switchBlockStatementGroup
public static final int RULE_switchBlockStatementGroup
- See Also:
- Constant Field Values
-
RULE_switchLabel
public static final int RULE_switchLabel
- See Also:
- Constant Field Values
-
RULE_caseConstants
public static final int RULE_caseConstants
- See Also:
- Constant Field Values
-
RULE_caseConstant
public static final int RULE_caseConstant
- See Also:
- Constant Field Values
-
RULE_forControl
public static final int RULE_forControl
- See Also:
- Constant Field Values
-
RULE_forInit
public static final int RULE_forInit
- See Also:
- Constant Field Values
-
RULE_enhancedForControl
public static final int RULE_enhancedForControl
- See Also:
- Constant Field Values
-
RULE_parExpression
public static final int RULE_parExpression
- See Also:
- Constant Field Values
-
RULE_expressionList
public static final int RULE_expressionList
- See Also:
- Constant Field Values
-
RULE_expression
public static final int RULE_expression
- See Also:
- Constant Field Values
-
RULE_expr
public static final int RULE_expr
- See Also:
- Constant Field Values
-
RULE_typeCastParameters
public static final int RULE_typeCastParameters
- See Also:
- Constant Field Values
-
RULE_lambdaExpression
public static final int RULE_lambdaExpression
- See Also:
- Constant Field Values
-
RULE_lambdaParameters
public static final int RULE_lambdaParameters
- See Also:
- Constant Field Values
-
RULE_multiLambdaParams
public static final int RULE_multiLambdaParams
- See Also:
- Constant Field Values
-
RULE_lambdaBody
public static final int RULE_lambdaBody
- See Also:
- Constant Field Values
-
RULE_primary
public static final int RULE_primary
- See Also:
- Constant Field Values
-
RULE_classType
public static final int RULE_classType
- See Also:
- Constant Field Values
-
RULE_creator
public static final int RULE_creator
- See Also:
- Constant Field Values
-
RULE_createdName
public static final int RULE_createdName
- See Also:
- Constant Field Values
-
RULE_createdNameExtended
public static final int RULE_createdNameExtended
- See Also:
- Constant Field Values
-
RULE_innerCreator
public static final int RULE_innerCreator
- See Also:
- Constant Field Values
-
RULE_arrayCreatorRest
public static final int RULE_arrayCreatorRest
- See Also:
- Constant Field Values
-
RULE_bracketsWithExp
public static final int RULE_bracketsWithExp
- See Also:
- Constant Field Values
-
RULE_classCreatorRest
public static final int RULE_classCreatorRest
- See Also:
- Constant Field Values
-
RULE_typeArgumentsOrDiamond
public static final int RULE_typeArgumentsOrDiamond
- See Also:
- Constant Field Values
-
RULE_nonWildcardTypeArgumentsOrDiamond
public static final int RULE_nonWildcardTypeArgumentsOrDiamond
- See Also:
- Constant Field Values
-
RULE_nonWildcardTypeArguments
public static final int RULE_nonWildcardTypeArguments
- See Also:
- Constant Field Values
-
RULE_typeArgumentsTypeList
public static final int RULE_typeArgumentsTypeList
- See Also:
- Constant Field Values
-
RULE_typeList
public static final int RULE_typeList
- See Also:
- Constant Field Values
-
RULE_typeType
public static final int RULE_typeType
- See Also:
- Constant Field Values
-
RULE_classOrInterfaceOrPrimitiveType
public static final int RULE_classOrInterfaceOrPrimitiveType
- See Also:
- Constant Field Values
-
RULE_arrayDeclarator
public static final int RULE_arrayDeclarator
- See Also:
- Constant Field Values
-
RULE_primitiveType
public static final int RULE_primitiveType
- See Also:
- Constant Field Values
-
RULE_typeArguments
public static final int RULE_typeArguments
- See Also:
- Constant Field Values
-
RULE_superSuffix
public static final int RULE_superSuffix
- See Also:
- Constant Field Values
-
RULE_arguments
public static final int RULE_arguments
- See Also:
- Constant Field Values
-
RULE_pattern
public static final int RULE_pattern
- See Also:
- Constant Field Values
-
RULE_guardedPattern
public static final int RULE_guardedPattern
- See Also:
- Constant Field Values
-
RULE_primaryPattern
public static final int RULE_primaryPattern
- See Also:
- Constant Field Values
-
RULE_typePattern
public static final int RULE_typePattern
- See Also:
- Constant Field Values
-
RULE_permittedSubclassesAndInterfaces
public static final int RULE_permittedSubclassesAndInterfaces
- See Also:
- Constant Field Values
-
RULE_id
public static final int RULE_id
- See Also:
- Constant Field Values
-
ruleNames
public static final java.lang.String[] ruleNames
-
_LITERAL_NAMES
private static final java.lang.String[] _LITERAL_NAMES
-
_SYMBOLIC_NAMES
private static final java.lang.String[] _SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
CLEAR_DFA_LIMIT
public static final int CLEAR_DFA_LIMIT
This is the number of files to parse before clearing the parser's DFA states. This number can have a significant impact on performance; we have found 500 files to be a good balance between parser speed and memory usage. This field must be public in order to be accessed and used forJavaLanguageParser(TokenStream, int)
generated constructor.- See Also:
- Constant Field Values
-
switchBlockDepth
private int switchBlockDepth
This value tracks the depth of a switch expression. Along with the IDENT to id rule at the end of the parser, this value helps us to know if the "yield" we are parsing is an IDENT, method call, class, field, etc. or if it is a java 13+ yield statement. Positive values indicate that we are within a (possibly nested) switch expression.
-
fileCounter
static int fileCounter
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Detail
-
JavaLanguageParser
public JavaLanguageParser(org.antlr.v4.runtime.TokenStream input, int clearDfaLimit)
We create a custom constructor so that we can clear the DFA states upon instantiation of JavaLanguageParser.- Parameters:
input
- the token stream to parseclearDfaLimit
- this is the number of files to parse before clearing the parser's DFA states. This number can have a significant impact on performance; more frequent clearing of DFA states can lead to slower parsing but lower memory usage. Conversely, not clearing the DFA states at all can lead to enormous memory usage, but may also have a negative effect on memory usage from higher garbage collector activity.
-
JavaLanguageParser
public JavaLanguageParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Detail
-
makeRuleNames
private static java.lang.String[] makeRuleNames()
-
makeLiteralNames
private static java.lang.String[] makeLiteralNames()
-
makeSymbolicNames
private static java.lang.String[] makeSymbolicNames()
-
getTokenNames
@Deprecated public java.lang.String[] getTokenNames()
Deprecated.- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
isYieldStatement
private boolean isYieldStatement()
Checks if next statement is a yield statement.- Returns:
- true if next statement is a yield statement.
-
compilationUnit
public final JavaLanguageParser.CompilationUnitContext compilationUnit() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
packageDeclaration
public final JavaLanguageParser.PackageDeclarationContext packageDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
importDeclaration
public final JavaLanguageParser.ImportDeclarationContext importDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeDeclaration
public final JavaLanguageParser.TypeDeclarationContext typeDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
types
public final JavaLanguageParser.TypesContext types(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
modifier
public final JavaLanguageParser.ModifierContext modifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variableModifier
public final JavaLanguageParser.VariableModifierContext variableModifier() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classDeclaration
public final JavaLanguageParser.ClassDeclarationContext classDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
recordDeclaration
public final JavaLanguageParser.RecordDeclarationContext recordDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
recordComponentsList
public final JavaLanguageParser.RecordComponentsListContext recordComponentsList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
recordComponents
public final JavaLanguageParser.RecordComponentsContext recordComponents() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
recordComponent
public final JavaLanguageParser.RecordComponentContext recordComponent() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
lastRecordComponent
public final JavaLanguageParser.LastRecordComponentContext lastRecordComponent() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
recordBody
public final JavaLanguageParser.RecordBodyContext recordBody() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
recordBodyDeclaration
public final JavaLanguageParser.RecordBodyDeclarationContext recordBodyDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
compactConstructorDeclaration
public final JavaLanguageParser.CompactConstructorDeclarationContext compactConstructorDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classExtends
public final JavaLanguageParser.ClassExtendsContext classExtends() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
implementsClause
public final JavaLanguageParser.ImplementsClauseContext implementsClause() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeParameters
public final JavaLanguageParser.TypeParametersContext typeParameters() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeParameter
public final JavaLanguageParser.TypeParameterContext typeParameter() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeUpperBounds
public final JavaLanguageParser.TypeUpperBoundsContext typeUpperBounds() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeBound
public final JavaLanguageParser.TypeBoundContext typeBound() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeBoundType
public final JavaLanguageParser.TypeBoundTypeContext typeBoundType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumDeclaration
public final JavaLanguageParser.EnumDeclarationContext enumDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumBody
public final JavaLanguageParser.EnumBodyContext enumBody() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumConstants
public final JavaLanguageParser.EnumConstantsContext enumConstants() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumConstant
public final JavaLanguageParser.EnumConstantContext enumConstant() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enumBodyDeclarations
public final JavaLanguageParser.EnumBodyDeclarationsContext enumBodyDeclarations() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
interfaceDeclaration
public final JavaLanguageParser.InterfaceDeclarationContext interfaceDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
interfaceExtends
public final JavaLanguageParser.InterfaceExtendsContext interfaceExtends() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classBody
public final JavaLanguageParser.ClassBodyContext classBody() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
interfaceBody
public final JavaLanguageParser.InterfaceBodyContext interfaceBody() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classBodyDeclaration
public final JavaLanguageParser.ClassBodyDeclarationContext classBodyDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
memberDeclaration
public final JavaLanguageParser.MemberDeclarationContext memberDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
methodDeclaration
public final JavaLanguageParser.MethodDeclarationContext methodDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
methodBody
public final JavaLanguageParser.MethodBodyContext methodBody() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
throwsList
public final JavaLanguageParser.ThrowsListContext throwsList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
constructorDeclaration
public final JavaLanguageParser.ConstructorDeclarationContext constructorDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldDeclaration
public final JavaLanguageParser.FieldDeclarationContext fieldDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
interfaceBodyDeclaration
public final JavaLanguageParser.InterfaceBodyDeclarationContext interfaceBodyDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
interfaceMemberDeclaration
public final JavaLanguageParser.InterfaceMemberDeclarationContext interfaceMemberDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
interfaceMethodDeclaration
public final JavaLanguageParser.InterfaceMethodDeclarationContext interfaceMethodDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variableDeclarators
public final JavaLanguageParser.VariableDeclaratorsContext variableDeclarators(java.util.List<JavaLanguageParser.ModifierContext> mods, JavaLanguageParser.TypeTypeContext type) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variableDeclarator
public final JavaLanguageParser.VariableDeclaratorContext variableDeclarator(java.util.List<JavaLanguageParser.ModifierContext> mods, JavaLanguageParser.TypeTypeContext type) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variableDeclaratorId
public final JavaLanguageParser.VariableDeclaratorIdContext variableDeclaratorId(java.util.List<JavaLanguageParser.VariableModifierContext> mods, org.antlr.v4.runtime.ParserRuleContext type) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variableInitializer
public final JavaLanguageParser.VariableInitializerContext variableInitializer() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
arrayInitializer
public final JavaLanguageParser.ArrayInitializerContext arrayInitializer() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classOrInterfaceType
public final JavaLanguageParser.ClassOrInterfaceTypeContext classOrInterfaceType(boolean createImaginaryNode) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classOrInterfaceTypeExtended
public final JavaLanguageParser.ClassOrInterfaceTypeExtendedContext classOrInterfaceTypeExtended() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeArgument
public final JavaLanguageParser.TypeArgumentContext typeArgument() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
qualifiedNameList
public final JavaLanguageParser.QualifiedNameListContext qualifiedNameList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
formalParameters
public final JavaLanguageParser.FormalParametersContext formalParameters() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
formalParameterList
public final JavaLanguageParser.FormalParameterListContext formalParameterList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
formalParameter
public final JavaLanguageParser.FormalParameterContext formalParameter() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
lastFormalParameter
public final JavaLanguageParser.LastFormalParameterContext lastFormalParameter() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
qualifiedName
public final JavaLanguageParser.QualifiedNameContext qualifiedName() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
qualifiedNameExtended
public final JavaLanguageParser.QualifiedNameExtendedContext qualifiedNameExtended() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
literal
public final JavaLanguageParser.LiteralContext literal() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
integerLiteral
public final JavaLanguageParser.IntegerLiteralContext integerLiteral() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
floatLiteral
public final JavaLanguageParser.FloatLiteralContext floatLiteral() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
textBlockLiteral
public final JavaLanguageParser.TextBlockLiteralContext textBlockLiteral() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotations
public final JavaLanguageParser.AnnotationsContext annotations(boolean createImaginaryNode) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotation
public final JavaLanguageParser.AnnotationContext annotation() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
elementValuePairs
public final JavaLanguageParser.ElementValuePairsContext elementValuePairs() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
elementValuePair
public final JavaLanguageParser.ElementValuePairContext elementValuePair() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
elementValue
public final JavaLanguageParser.ElementValueContext elementValue() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
elementValueArrayInitializer
public final JavaLanguageParser.ElementValueArrayInitializerContext elementValueArrayInitializer() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotationTypeDeclaration
public final JavaLanguageParser.AnnotationTypeDeclarationContext annotationTypeDeclaration(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotationTypeBody
public final JavaLanguageParser.AnnotationTypeBodyContext annotationTypeBody() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotationTypeElementDeclaration
public final JavaLanguageParser.AnnotationTypeElementDeclarationContext annotationTypeElementDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotationTypeElementRest
public final JavaLanguageParser.AnnotationTypeElementRestContext annotationTypeElementRest(java.util.List<JavaLanguageParser.ModifierContext> mods) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotationMethodRest
public final JavaLanguageParser.AnnotationMethodRestContext annotationMethodRest(java.util.List<JavaLanguageParser.ModifierContext> mods, JavaLanguageParser.TypeTypeContext type) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
annotationConstantRest
public final JavaLanguageParser.AnnotationConstantRestContext annotationConstantRest(java.util.List<JavaLanguageParser.ModifierContext> mods, JavaLanguageParser.TypeTypeContext type) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
defaultValue
public final JavaLanguageParser.DefaultValueContext defaultValue() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
constructorBlock
public final JavaLanguageParser.ConstructorBlockContext constructorBlock() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
explicitConstructorInvocation
public final JavaLanguageParser.ExplicitConstructorInvocationContext explicitConstructorInvocation() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
block
public final JavaLanguageParser.BlockContext block() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
blockStatement
public final JavaLanguageParser.BlockStatementContext blockStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
localVariableDeclaration
public final JavaLanguageParser.LocalVariableDeclarationContext localVariableDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
localTypeDeclaration
public final JavaLanguageParser.LocalTypeDeclarationContext localTypeDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
statement
public final JavaLanguageParser.StatementContext statement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
switchExpressionOrStatement
public final JavaLanguageParser.SwitchExpressionOrStatementContext switchExpressionOrStatement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
switchBlock
public final JavaLanguageParser.SwitchBlockContext switchBlock() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
switchLabeledRule
public final JavaLanguageParser.SwitchLabeledRuleContext switchLabeledRule() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
switchLabeledExpression
public final JavaLanguageParser.SwitchLabeledExpressionContext switchLabeledExpression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
switchLabeledBlock
public final JavaLanguageParser.SwitchLabeledBlockContext switchLabeledBlock() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
switchLabeledThrow
public final JavaLanguageParser.SwitchLabeledThrowContext switchLabeledThrow() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
elseStat
public final JavaLanguageParser.ElseStatContext elseStat() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
catchClause
public final JavaLanguageParser.CatchClauseContext catchClause() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
catchParameter
public final JavaLanguageParser.CatchParameterContext catchParameter() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
catchType
public final JavaLanguageParser.CatchTypeContext catchType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
finallyBlock
public final JavaLanguageParser.FinallyBlockContext finallyBlock() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
resourceSpecification
public final JavaLanguageParser.ResourceSpecificationContext resourceSpecification() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
resources
public final JavaLanguageParser.ResourcesContext resources() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
resource
public final JavaLanguageParser.ResourceContext resource() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
resourceDeclaration
public final JavaLanguageParser.ResourceDeclarationContext resourceDeclaration() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
variableAccess
public final JavaLanguageParser.VariableAccessContext variableAccess() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldAccessNoIdent
public final JavaLanguageParser.FieldAccessNoIdentContext fieldAccessNoIdent() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
switchBlockStatementGroup
public final JavaLanguageParser.SwitchBlockStatementGroupContext switchBlockStatementGroup() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
switchLabel
public final JavaLanguageParser.SwitchLabelContext switchLabel() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
caseConstants
public final JavaLanguageParser.CaseConstantsContext caseConstants() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
caseConstant
public final JavaLanguageParser.CaseConstantContext caseConstant() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
forControl
public final JavaLanguageParser.ForControlContext forControl() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
forInit
public final JavaLanguageParser.ForInitContext forInit() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
enhancedForControl
public final JavaLanguageParser.EnhancedForControlContext enhancedForControl() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
parExpression
public final JavaLanguageParser.ParExpressionContext parExpression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expressionList
public final JavaLanguageParser.ExpressionListContext expressionList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
public final JavaLanguageParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expr
public final JavaLanguageParser.ExprContext expr() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expr
private JavaLanguageParser.ExprContext expr(int _p) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeCastParameters
public final JavaLanguageParser.TypeCastParametersContext typeCastParameters() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
lambdaExpression
public final JavaLanguageParser.LambdaExpressionContext lambdaExpression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
lambdaParameters
public final JavaLanguageParser.LambdaParametersContext lambdaParameters() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
multiLambdaParams
public final JavaLanguageParser.MultiLambdaParamsContext multiLambdaParams() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
lambdaBody
public final JavaLanguageParser.LambdaBodyContext lambdaBody() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
primary
public final JavaLanguageParser.PrimaryContext primary() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classType
public final JavaLanguageParser.ClassTypeContext classType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
creator
public final JavaLanguageParser.CreatorContext creator() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
createdName
public final JavaLanguageParser.CreatedNameContext createdName() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
createdNameExtended
public final JavaLanguageParser.CreatedNameExtendedContext createdNameExtended() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
innerCreator
public final JavaLanguageParser.InnerCreatorContext innerCreator() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
arrayCreatorRest
public final JavaLanguageParser.ArrayCreatorRestContext arrayCreatorRest() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
bracketsWithExp
public final JavaLanguageParser.BracketsWithExpContext bracketsWithExp() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classCreatorRest
public final JavaLanguageParser.ClassCreatorRestContext classCreatorRest() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeArgumentsOrDiamond
public final JavaLanguageParser.TypeArgumentsOrDiamondContext typeArgumentsOrDiamond() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nonWildcardTypeArgumentsOrDiamond
public final JavaLanguageParser.NonWildcardTypeArgumentsOrDiamondContext nonWildcardTypeArgumentsOrDiamond() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
nonWildcardTypeArguments
public final JavaLanguageParser.NonWildcardTypeArgumentsContext nonWildcardTypeArguments() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeArgumentsTypeList
public final JavaLanguageParser.TypeArgumentsTypeListContext typeArgumentsTypeList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeList
public final JavaLanguageParser.TypeListContext typeList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeType
public final JavaLanguageParser.TypeTypeContext typeType(boolean createImaginaryNode) throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
classOrInterfaceOrPrimitiveType
public final JavaLanguageParser.ClassOrInterfaceOrPrimitiveTypeContext classOrInterfaceOrPrimitiveType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
arrayDeclarator
public final JavaLanguageParser.ArrayDeclaratorContext arrayDeclarator() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
primitiveType
public final JavaLanguageParser.PrimitiveTypeContext primitiveType() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typeArguments
public final JavaLanguageParser.TypeArgumentsContext typeArguments() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
superSuffix
public final JavaLanguageParser.SuperSuffixContext superSuffix() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
arguments
public final JavaLanguageParser.ArgumentsContext arguments() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
pattern
public final JavaLanguageParser.PatternContext pattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
guardedPattern
public final JavaLanguageParser.GuardedPatternContext guardedPattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
primaryPattern
public final JavaLanguageParser.PrimaryPatternContext primaryPattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
typePattern
public final JavaLanguageParser.TypePatternContext typePattern() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
permittedSubclassesAndInterfaces
public final JavaLanguageParser.PermittedSubclassesAndInterfacesContext permittedSubclassesAndInterfaces() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
id
public final JavaLanguageParser.IdContext id() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
- Overrides:
sempred
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
blockStatement_sempred
private boolean blockStatement_sempred(JavaLanguageParser.BlockStatementContext _localctx, int predIndex)
-
expr_sempred
private boolean expr_sempred(JavaLanguageParser.ExprContext _localctx, int predIndex)
-
-