Class Java8Lexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- org.nuiton.eugene.plugin.parser.java.Java8Lexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class Java8Lexer extends org.antlr.v4.runtime.Lexer
-
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNstatic String_serializedATNstatic intABSTRACTstatic intADDstatic intADD_ASSIGNstatic intANDstatic intAND_ASSIGNstatic intARROWstatic intASSERTstatic intASSIGNstatic intATstatic intBANGstatic intBITANDstatic intBITORstatic intBOOLEANstatic intBooleanLiteralstatic intBREAKstatic intBYTEstatic intCARETstatic intCASEstatic intCATCHstatic intCHARstatic intCharacterLiteralstatic intCLASSstatic intCOLONstatic intCOLONCOLONstatic intCOMMAstatic intCOMMENTstatic intCONSTstatic intCONTINUEstatic intDECstatic intDEFAULTstatic intDIVstatic intDIV_ASSIGNstatic intDOstatic intDOTstatic intDOUBLEstatic intELLIPSISstatic intELSEstatic intENUMstatic intEQUALstatic intEXTENDSstatic intFINALstatic intFINALLYstatic intFLOATstatic intFloatingPointLiteralstatic intFORstatic intGEstatic intGOTOstatic intGTstatic intIdentifierstatic intIFstatic intIMPLEMENTSstatic intIMPORTstatic intINCstatic intINSTANCEOFstatic intINTstatic intIntegerLiteralstatic intINTERFACEstatic intLBRACEstatic intLBRACKstatic intLEstatic intLINE_COMMENTstatic intLONGstatic intLPARENstatic intLSHIFT_ASSIGNstatic intLTstatic intMODstatic intMOD_ASSIGNstatic String[]modeNamesstatic intMULstatic intMUL_ASSIGNstatic intNATIVEstatic intNEWstatic intNOTEQUALstatic intNullLiteralstatic intORstatic intOR_ASSIGNstatic intPACKAGEstatic intPRIVATEstatic intPROTECTEDstatic intPUBLICstatic intQUESTIONstatic intRBRACEstatic intRBRACKstatic intRETURNstatic intRPARENstatic intRSHIFT_ASSIGNstatic String[]ruleNamesstatic intSEMIstatic intSHORTstatic intSTATICstatic intSTRICTFPstatic intStringLiteralstatic intSUBstatic intSUB_ASSIGNstatic intSUPERstatic intSWITCHstatic intSYNCHRONIZEDstatic intTHISstatic intTHROWstatic intTHROWSstatic intTILDEstatic String[]tokenNamesDeprecated.UseVOCABULARYinstead.static intTRANSIENTstatic intTRYstatic intURSHIFT_ASSIGNstatic org.antlr.v4.runtime.VocabularyVOCABULARYstatic intVOIDstatic intVOLATILEstatic intWHILEstatic intWSstatic intXOR_ASSIGN-
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 Java8Lexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetGrammarFileName()String[]getModeNames()String[]getRuleNames()StringgetSerializedATN()String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()booleansempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)-
Methods inherited from class org.antlr.v4.runtime.Lexer
emit, emit, emitEOF, getAllTokens, getChannel, getChannelNames, 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, validateInputStream
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getATN, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
-
-
-
Field Detail
-
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
-
IntegerLiteral
public static final int IntegerLiteral
- See Also:
- Constant Field Values
-
FloatingPointLiteral
public static final int FloatingPointLiteral
- See Also:
- Constant Field Values
-
BooleanLiteral
public static final int BooleanLiteral
- See Also:
- Constant Field Values
-
CharacterLiteral
public static final int CharacterLiteral
- See Also:
- Constant Field Values
-
StringLiteral
public static final int StringLiteral
- See Also:
- Constant Field Values
-
NullLiteral
public static final int NullLiteral
- 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
-
ARROW
public static final int ARROW
- See Also:
- Constant Field Values
-
COLONCOLON
public static final int COLONCOLON
- 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
-
Identifier
public static final int Identifier
- 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
-
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.UseVOCABULARYinstead.
-
_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
@NotNull 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>
-
getModeNames
public String[] getModeNames()
- Overrides:
getModeNamesin classorg.antlr.v4.runtime.Lexer
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)- Overrides:
sempredin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-