Package one.gfw.antlr4.java
Class JavaLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- one.gfw.antlr4.java.JavaLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class JavaLexer extends org.antlr.v4.runtime.Lexer
-
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAstatic String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCachestatic intABSTRACTstatic intADDstatic intADD_ASSIGNstatic intANDstatic intAND_ASSIGNstatic intARROWstatic intASSERTstatic intASSIGNstatic intATstatic intBANGstatic intBINARY_LITERALstatic intBITANDstatic intBITORstatic intBOOL_LITERALstatic intBOOLEANstatic intBREAKstatic intBYTEstatic intCARETstatic intCASEstatic intCATCHstatic String[]channelNamesstatic intCHARstatic intCHAR_LITERALstatic intCLASSstatic intCOLONstatic intCOLONCOLONstatic intCOMMAstatic intCOMMENTstatic intCONSTstatic intCONTINUEstatic intDECstatic intDECIMAL_LITERALstatic intDEFAULTstatic intDIVstatic intDIV_ASSIGNstatic intDOstatic intDOTstatic intDOUBLEstatic intELLIPSISstatic intELSEstatic intENUMstatic intEQUALstatic intEXPORTSstatic intEXTENDSstatic intFINALstatic intFINALLYstatic intFLOATstatic intFLOAT_LITERALstatic intFORstatic intGEstatic intGOTOstatic intGTstatic intHEX_FLOAT_LITERALstatic intHEX_LITERALstatic intIDENTIFIERstatic intIFstatic intIMPLEMENTSstatic intIMPORTstatic intINCstatic intINSTANCEOFstatic intINTstatic intINTERFACEstatic intLBRACEstatic intLBRACKstatic intLEstatic intLINE_COMMENTstatic intLONGstatic intLPARENstatic intLSHIFT_ASSIGNstatic intLTstatic intMODstatic intMOD_ASSIGNstatic String[]modeNamesstatic intMODULEstatic intMULstatic intMUL_ASSIGNstatic intNATIVEstatic intNEWstatic intNON_SEALEDstatic intNOTEQUALstatic intNULL_LITERALstatic intOCT_LITERALstatic intOPENstatic intOPENSstatic intORstatic intOR_ASSIGNstatic intPACKAGEstatic intPERMITSstatic intPRIVATEstatic intPROTECTEDstatic intPROVIDESstatic intPUBLICstatic intQUESTIONstatic intRBRACEstatic intRBRACKstatic intRECORDstatic intREQUIRESstatic intRETURNstatic intRPARENstatic intRSHIFT_ASSIGNstatic String[]ruleNamesstatic intSEALEDstatic intSEMIstatic intSHORTstatic intSTATICstatic intSTRICTFPstatic intSTRING_LITERALstatic intSUBstatic intSUB_ASSIGNstatic intSUPERstatic intSWITCHstatic intSYNCHRONIZEDstatic intTEXT_BLOCKstatic intTHISstatic intTHROWstatic intTHROWSstatic intTILDEstatic intTOstatic String[]tokenNamesDeprecated.static intTRANSIENTstatic intTRANSITIVEstatic intTRYstatic intURSHIFT_ASSIGNstatic intUSESstatic intVARstatic org.antlr.v4.runtime.VocabularyVOCABULARYstatic intVOIDstatic intVOLATILEstatic intWHILEstatic intWITHstatic intWSstatic intXOR_ASSIGNstatic intYIELD-
Fields inherited from class org.antlr.v4.runtime.Lexer
_channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP
-
-
Constructor Summary
Constructors Constructor Description JavaLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.antlr.v4.runtime.atn.ATNgetATN()String[]getChannelNames()StringgetGrammarFileName()String[]getModeNames()String[]getRuleNames()StringgetSerializedATN()String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()-
Methods inherited from class org.antlr.v4.runtime.Lexer
emit, emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skip
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, 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
-
ABSTRACT
public static final int ABSTRACT
- See Also:
- Constant Field Values
-
ASSERT
public static final int ASSERT
- See Also:
- Constant Field Values
-
BOOLEAN
public static final int BOOLEAN
- See Also:
- Constant Field Values
-
BREAK
public static final int BREAK
- See Also:
- Constant Field Values
-
BYTE
public static final int BYTE
- See Also:
- Constant Field Values
-
CASE
public static final int CASE
- See Also:
- Constant Field Values
-
CATCH
public static final int CATCH
- See Also:
- Constant Field Values
-
CHAR
public static final int CHAR
- See Also:
- Constant Field Values
-
CLASS
public static final int CLASS
- See Also:
- Constant Field Values
-
CONST
public static final int CONST
- See Also:
- Constant Field Values
-
CONTINUE
public static final int CONTINUE
- See Also:
- Constant Field Values
-
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
-
DO
public static final int DO
- See Also:
- Constant Field Values
-
DOUBLE
public static final int DOUBLE
- See Also:
- Constant Field Values
-
ELSE
public static final int ELSE
- See Also:
- Constant Field Values
-
ENUM
public static final int ENUM
- See Also:
- Constant Field Values
-
EXTENDS
public static final int EXTENDS
- See Also:
- Constant Field Values
-
FINAL
public static final int FINAL
- See Also:
- Constant Field Values
-
FINALLY
public static final int FINALLY
- See Also:
- Constant Field Values
-
FLOAT
public static final int FLOAT
- See Also:
- Constant Field Values
-
FOR
public static final int FOR
- See Also:
- Constant Field Values
-
IF
public static final int IF
- See Also:
- Constant Field Values
-
GOTO
public static final int GOTO
- See Also:
- Constant Field Values
-
IMPLEMENTS
public static final int IMPLEMENTS
- See Also:
- Constant Field Values
-
IMPORT
public static final int IMPORT
- See Also:
- Constant Field Values
-
INSTANCEOF
public static final int INSTANCEOF
- See Also:
- Constant Field Values
-
INT
public static final int INT
- See Also:
- Constant Field Values
-
INTERFACE
public static final int INTERFACE
- See Also:
- Constant Field Values
-
LONG
public static final int LONG
- See Also:
- Constant Field Values
-
NATIVE
public static final int NATIVE
- See Also:
- Constant Field Values
-
NEW
public static final int NEW
- See Also:
- Constant Field Values
-
PACKAGE
public static final int PACKAGE
- See Also:
- Constant Field Values
-
PRIVATE
public static final int PRIVATE
- See Also:
- Constant Field Values
-
PROTECTED
public static final int PROTECTED
- See Also:
- Constant Field Values
-
PUBLIC
public static final int PUBLIC
- See Also:
- Constant Field Values
-
RETURN
public static final int RETURN
- See Also:
- Constant Field Values
-
SHORT
public static final int SHORT
- See Also:
- Constant Field Values
-
STATIC
public static final int STATIC
- See Also:
- Constant Field Values
-
STRICTFP
public static final int STRICTFP
- See Also:
- Constant Field Values
-
SUPER
public static final int SUPER
- See Also:
- Constant Field Values
-
SWITCH
public static final int SWITCH
- See Also:
- Constant Field Values
-
SYNCHRONIZED
public static final int SYNCHRONIZED
- See Also:
- Constant Field Values
-
THIS
public static final int THIS
- See Also:
- Constant Field Values
-
THROW
public static final int THROW
- See Also:
- Constant Field Values
-
THROWS
public static final int THROWS
- See Also:
- Constant Field Values
-
TRANSIENT
public static final int TRANSIENT
- See Also:
- Constant Field Values
-
TRY
public static final int TRY
- See Also:
- Constant Field Values
-
VOID
public static final int VOID
- See Also:
- Constant Field Values
-
VOLATILE
public static final int VOLATILE
- See Also:
- Constant Field Values
-
WHILE
public static final int WHILE
- See Also:
- Constant Field Values
-
MODULE
public static final int MODULE
- See Also:
- Constant Field Values
-
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
-
REQUIRES
public static final int REQUIRES
- See Also:
- Constant Field Values
-
EXPORTS
public static final int EXPORTS
- See Also:
- Constant Field Values
-
OPENS
public static final int OPENS
- See Also:
- Constant Field Values
-
TO
public static final int TO
- See Also:
- Constant Field Values
-
USES
public static final int USES
- See Also:
- Constant Field Values
-
PROVIDES
public static final int PROVIDES
- See Also:
- Constant Field Values
-
WITH
public static final int WITH
- See Also:
- Constant Field Values
-
TRANSITIVE
public static final int TRANSITIVE
- See Also:
- Constant Field Values
-
VAR
public static final int VAR
- See Also:
- Constant Field Values
-
YIELD
public static final int YIELD
- See Also:
- Constant Field Values
-
RECORD
public static final int RECORD
- See Also:
- Constant Field Values
-
SEALED
public static final int SEALED
- See Also:
- Constant Field Values
-
PERMITS
public static final int PERMITS
- See Also:
- Constant Field Values
-
NON_SEALED
public static final int NON_SEALED
- See Also:
- Constant Field Values
-
DECIMAL_LITERAL
public static final int DECIMAL_LITERAL
- See Also:
- Constant Field Values
-
HEX_LITERAL
public static final int HEX_LITERAL
- See Also:
- Constant Field Values
-
OCT_LITERAL
public static final int OCT_LITERAL
- See Also:
- Constant Field Values
-
BINARY_LITERAL
public static final int BINARY_LITERAL
- See Also:
- Constant Field Values
-
FLOAT_LITERAL
public static final int FLOAT_LITERAL
- See Also:
- Constant Field Values
-
HEX_FLOAT_LITERAL
public static final int HEX_FLOAT_LITERAL
- See Also:
- Constant Field Values
-
BOOL_LITERAL
public static final int BOOL_LITERAL
- 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
-
TEXT_BLOCK
public static final int TEXT_BLOCK
- See Also:
- Constant Field Values
-
NULL_LITERAL
public static final int NULL_LITERAL
- 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
-
LBRACE
public static final int LBRACE
- See Also:
- Constant Field Values
-
RBRACE
public static final int RBRACE
- 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
-
SEMI
public static final int SEMI
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
ASSIGN
public static final int ASSIGN
- See Also:
- Constant Field Values
-
GT
public static final int GT
- See Also:
- Constant Field Values
-
LT
public static final int LT
- See Also:
- Constant Field Values
-
BANG
public static final int BANG
- See Also:
- Constant Field Values
-
TILDE
public static final int TILDE
- See Also:
- Constant Field Values
-
QUESTION
public static final int QUESTION
- See Also:
- Constant Field Values
-
COLON
public static final int COLON
- See Also:
- Constant Field Values
-
EQUAL
public static final int EQUAL
- 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
-
NOTEQUAL
public static final int NOTEQUAL
- See Also:
- Constant Field Values
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
OR
public static final int OR
- 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
-
ADD
public static final int ADD
- See Also:
- Constant Field Values
-
SUB
public static final int SUB
- See Also:
- Constant Field Values
-
MUL
public static final int MUL
- See Also:
- Constant Field Values
-
DIV
public static final int DIV
- See Also:
- Constant Field Values
-
BITAND
public static final int BITAND
- See Also:
- Constant Field Values
-
BITOR
public static final int BITOR
- See Also:
- Constant Field Values
-
CARET
public static final int CARET
- See Also:
- Constant Field Values
-
MOD
public static final int MOD
- See Also:
- Constant Field Values
-
ADD_ASSIGN
public static final int ADD_ASSIGN
- See Also:
- Constant Field Values
-
SUB_ASSIGN
public static final int SUB_ASSIGN
- See Also:
- Constant Field Values
-
MUL_ASSIGN
public static final int MUL_ASSIGN
- See Also:
- Constant Field Values
-
DIV_ASSIGN
public static final int DIV_ASSIGN
- See Also:
- Constant Field Values
-
AND_ASSIGN
public static final int AND_ASSIGN
- See Also:
- Constant Field Values
-
OR_ASSIGN
public static final int OR_ASSIGN
- See Also:
- Constant Field Values
-
XOR_ASSIGN
public static final int XOR_ASSIGN
- See Also:
- Constant Field Values
-
MOD_ASSIGN
public static final int MOD_ASSIGN
- See Also:
- Constant Field Values
-
LSHIFT_ASSIGN
public static final int LSHIFT_ASSIGN
- See Also:
- Constant Field Values
-
RSHIFT_ASSIGN
public static final int RSHIFT_ASSIGN
- See Also:
- Constant Field Values
-
URSHIFT_ASSIGN
public static final int URSHIFT_ASSIGN
- See Also:
- Constant Field Values
-
ARROW
public static final int ARROW
- See Also:
- Constant Field Values
-
COLONCOLON
public static final int COLONCOLON
- 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
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final int IDENTIFIER
- See Also:
- Constant Field Values
-
channelNames
public static String[] channelNames
-
modeNames
public static String[] modeNames
-
ruleNames
public static final String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.
-
_serializedATN
public static final String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public String[] getTokenNames()
Deprecated.- Overrides:
getTokenNamesin classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public String[] getModeNames()
- Overrides:
getModeNamesin classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-