public class JavaLexer
extends org.antlr.v4.runtime.Lexer
Modifier and Type | Field and Description |
---|---|
static org.antlr.v4.runtime.atn.ATN |
_ATN |
protected static org.antlr.v4.runtime.dfa.DFA[] |
_decisionToDFA |
static String |
_serializedATN |
protected static org.antlr.v4.runtime.atn.PredictionContextCache |
_sharedContextCache |
static int |
ABSTRACT |
static int |
ADD |
static int |
ADD_ASSIGN |
static int |
AND |
static int |
AND_ASSIGN |
static int |
ARROW |
static int |
ASSERT |
static int |
ASSIGN |
static int |
AT |
static int |
BANG |
static int |
BINARY_LITERAL |
static int |
BITAND |
static int |
BITOR |
static int |
BOOL_LITERAL |
static int |
BOOLEAN |
static int |
BREAK |
static int |
BYTE |
static int |
CARET |
static int |
CASE |
static int |
CATCH |
static String[] |
channelNames |
static int |
CHAR |
static int |
CHAR_LITERAL |
static int |
CLASS |
static int |
COLON |
static int |
COLONCOLON |
static int |
COMMA |
static int |
COMMENT |
static int |
CONST |
static int |
CONTINUE |
static int |
DEC |
static int |
DECIMAL_LITERAL |
static int |
DEFAULT |
static int |
DIV |
static int |
DIV_ASSIGN |
static int |
DO |
static int |
DOT |
static int |
DOUBLE |
static int |
ELLIPSIS |
static int |
ELSE |
static int |
ENUM |
static int |
EQUAL |
static int |
EXTENDS |
static int |
FINAL |
static int |
FINALLY |
static int |
FLOAT |
static int |
FLOAT_LITERAL |
static int |
FOR |
static int |
GE |
static int |
GOTO |
static int |
GT |
static int |
HEX_FLOAT_LITERAL |
static int |
HEX_LITERAL |
static int |
IDENTIFIER |
static int |
IF |
static int |
IMPLEMENTS |
static int |
IMPORT |
static int |
INC |
static int |
INSTANCEOF |
static int |
INT |
static int |
INTERFACE |
static int |
LBRACE |
static int |
LBRACK |
static int |
LE |
static int |
LINE_COMMENT |
static int |
LONG |
static int |
LPAREN |
static int |
LSHIFT_ASSIGN |
static int |
LT |
static int |
MOD |
static int |
MOD_ASSIGN |
static String[] |
modeNames |
static int |
MUL |
static int |
MUL_ASSIGN |
static int |
NATIVE |
static int |
NEW |
static int |
NOTEQUAL |
static int |
NULL_LITERAL |
static int |
OCT_LITERAL |
static int |
OR |
static int |
OR_ASSIGN |
static int |
PACKAGE |
static int |
PRIVATE |
static int |
PROTECTED |
static int |
PUBLIC |
static int |
QUESTION |
static int |
RBRACE |
static int |
RBRACK |
static int |
RETURN |
static int |
RPAREN |
static int |
RSHIFT_ASSIGN |
static String[] |
ruleNames |
static int |
SEMI |
static int |
SHORT |
static int |
STATIC |
static int |
STRICTFP |
static int |
STRING_LITERAL |
static int |
SUB |
static int |
SUB_ASSIGN |
static int |
SUPER |
static int |
SWITCH |
static int |
SYNCHRONIZED |
static int |
THIS |
static int |
THROW |
static int |
THROWS |
static int |
TILDE |
static String[] |
tokenNames
Deprecated.
Use
VOCABULARY instead. |
static int |
TRANSIENT |
static int |
TRY |
static int |
URSHIFT_ASSIGN |
static org.antlr.v4.runtime.Vocabulary |
VOCABULARY |
static int |
VOID |
static int |
VOLATILE |
static int |
WHILE |
static int |
WS |
static int |
XOR_ASSIGN |
_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 and Description |
---|
JavaLexer(org.antlr.v4.runtime.CharStream input) |
Modifier and Type | Method and Description |
---|---|
org.antlr.v4.runtime.atn.ATN |
getATN() |
String[] |
getChannelNames() |
String |
getGrammarFileName() |
String[] |
getModeNames() |
String[] |
getRuleNames() |
String |
getSerializedATN() |
String[] |
getTokenNames()
Deprecated.
|
org.antlr.v4.runtime.Vocabulary |
getVocabulary() |
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
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
public static final int ABSTRACT
public static final int ASSERT
public static final int BOOLEAN
public static final int BREAK
public static final int BYTE
public static final int CASE
public static final int CATCH
public static final int CHAR
public static final int CLASS
public static final int CONST
public static final int CONTINUE
public static final int DEFAULT
public static final int DO
public static final int DOUBLE
public static final int ELSE
public static final int ENUM
public static final int EXTENDS
public static final int FINAL
public static final int FINALLY
public static final int FLOAT
public static final int FOR
public static final int IF
public static final int GOTO
public static final int IMPLEMENTS
public static final int IMPORT
public static final int INSTANCEOF
public static final int INT
public static final int INTERFACE
public static final int LONG
public static final int NATIVE
public static final int NEW
public static final int PACKAGE
public static final int PRIVATE
public static final int PROTECTED
public static final int PUBLIC
public static final int RETURN
public static final int SHORT
public static final int STATIC
public static final int STRICTFP
public static final int SUPER
public static final int SWITCH
public static final int SYNCHRONIZED
public static final int THIS
public static final int THROW
public static final int THROWS
public static final int TRANSIENT
public static final int TRY
public static final int VOID
public static final int VOLATILE
public static final int WHILE
public static final int DECIMAL_LITERAL
public static final int HEX_LITERAL
public static final int OCT_LITERAL
public static final int BINARY_LITERAL
public static final int FLOAT_LITERAL
public static final int HEX_FLOAT_LITERAL
public static final int BOOL_LITERAL
public static final int CHAR_LITERAL
public static final int STRING_LITERAL
public static final int NULL_LITERAL
public static final int LPAREN
public static final int RPAREN
public static final int LBRACE
public static final int RBRACE
public static final int LBRACK
public static final int RBRACK
public static final int SEMI
public static final int COMMA
public static final int DOT
public static final int ASSIGN
public static final int GT
public static final int LT
public static final int BANG
public static final int TILDE
public static final int QUESTION
public static final int COLON
public static final int EQUAL
public static final int LE
public static final int GE
public static final int NOTEQUAL
public static final int AND
public static final int OR
public static final int INC
public static final int DEC
public static final int ADD
public static final int SUB
public static final int MUL
public static final int DIV
public static final int BITAND
public static final int BITOR
public static final int CARET
public static final int MOD
public static final int ADD_ASSIGN
public static final int SUB_ASSIGN
public static final int MUL_ASSIGN
public static final int DIV_ASSIGN
public static final int AND_ASSIGN
public static final int OR_ASSIGN
public static final int XOR_ASSIGN
public static final int MOD_ASSIGN
public static final int LSHIFT_ASSIGN
public static final int RSHIFT_ASSIGN
public static final int URSHIFT_ASSIGN
public static final int ARROW
public static final int COLONCOLON
public static final int AT
public static final int ELLIPSIS
public static final int WS
public static final int COMMENT
public static final int LINE_COMMENT
public static final int IDENTIFIER
public static String[] channelNames
public static String[] modeNames
public static final String[] ruleNames
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
@Deprecated public static final String[] tokenNames
VOCABULARY
instead.public static final String _serializedATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
@Deprecated public String[] getTokenNames()
getTokenNames
in class org.antlr.v4.runtime.Lexer
public org.antlr.v4.runtime.Vocabulary getVocabulary()
getVocabulary
in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
public String getGrammarFileName()
getGrammarFileName
in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
public String[] getRuleNames()
getRuleNames
in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
public String getSerializedATN()
getSerializedATN
in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
public String[] getChannelNames()
getChannelNames
in class org.antlr.v4.runtime.Lexer
public String[] getModeNames()
getModeNames
in class org.antlr.v4.runtime.Lexer
public org.antlr.v4.runtime.atn.ATN getATN()
getATN
in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.