public class ExpressionLexer
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 java.lang.String |
_serializedATN |
protected static org.antlr.v4.runtime.atn.PredictionContextCache |
_sharedContextCache |
static int |
AND_SC |
static int |
ASSIGN |
static int |
BREAK |
static int |
CASE |
static java.lang.String[] |
channelNames |
static int |
CLOSE_BRACKET |
static int |
CLOSE_PAREN |
static int |
COLON |
static int |
COMMA |
static int |
COMPLEMENT |
static int |
CONTINUE |
static int |
DECREMENT |
static int |
DEFAULT |
static int |
DIVIDE |
static int |
DIVIDE_ASSIGN |
static int |
DO |
static int |
ELSE |
static int |
EQUAL |
static int |
EXCLAMATION_MARK |
static int |
FOR |
static int |
GREATER_THAN |
static int |
GREATER_THAN_OR_EQUAL |
static int |
ID |
static int |
IF |
static int |
INCREMENT |
static int |
LEFT_SHIFT |
static int |
LESS_THAN |
static int |
LESS_THAN_OR_EQUAL |
static int |
MINUS |
static int |
MINUS_ASSIGN |
static java.lang.String[] |
modeNames |
static int |
MODULO |
static int |
MODULO_ASSIGN |
static int |
NEAR |
static int |
NOT_EQUAL |
static int |
NUMBER |
static int |
OPEN_BRACKET |
static int |
OPEN_PAREN |
static int |
OR_SC |
static int |
PLUS |
static int |
PLUS_ASSIGN |
static int |
POWER |
static int |
POWER_ASSIGN |
static int |
QUESTION_MARK |
static int |
RETURN |
static int |
RIGHT_SHIFT |
static java.lang.String[] |
ruleNames |
static int |
SEMI_COLON |
static int |
SWITCH |
static int |
TIMES |
static int |
TIMES_ASSIGN |
static java.lang.String[] |
tokenNames
Deprecated.
Use
VOCABULARY instead. |
static org.antlr.v4.runtime.Vocabulary |
VOCABULARY |
static int |
WHILE |
static int |
WS |
_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 |
---|
ExpressionLexer(org.antlr.v4.runtime.CharStream input) |
Modifier and Type | Method and Description |
---|---|
org.antlr.v4.runtime.atn.ATN |
getATN() |
java.lang.String[] |
getChannelNames() |
java.lang.String |
getGrammarFileName() |
java.lang.String[] |
getModeNames() |
java.lang.String[] |
getRuleNames() |
java.lang.String |
getSerializedATN() |
java.lang.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 PLUS
public static final int MINUS
public static final int TIMES
public static final int DIVIDE
public static final int MODULO
public static final int POWER
public static final int LEFT_SHIFT
public static final int RIGHT_SHIFT
public static final int ASSIGN
public static final int COMPLEMENT
public static final int PLUS_ASSIGN
public static final int MINUS_ASSIGN
public static final int TIMES_ASSIGN
public static final int DIVIDE_ASSIGN
public static final int MODULO_ASSIGN
public static final int POWER_ASSIGN
public static final int EQUAL
public static final int NOT_EQUAL
public static final int NEAR
public static final int LESS_THAN
public static final int LESS_THAN_OR_EQUAL
public static final int GREATER_THAN
public static final int GREATER_THAN_OR_EQUAL
public static final int AND_SC
public static final int OR_SC
public static final int INCREMENT
public static final int DECREMENT
public static final int COMMA
public static final int OPEN_PAREN
public static final int CLOSE_PAREN
public static final int OPEN_BRACKET
public static final int CLOSE_BRACKET
public static final int SEMI_COLON
public static final int QUESTION_MARK
public static final int COLON
public static final int EXCLAMATION_MARK
public static final int IF
public static final int ELSE
public static final int WHILE
public static final int DO
public static final int FOR
public static final int BREAK
public static final int CONTINUE
public static final int RETURN
public static final int SWITCH
public static final int CASE
public static final int DEFAULT
public static final int NUMBER
public static final int ID
public static final int WS
public static java.lang.String[] channelNames
public static java.lang.String[] modeNames
public static final java.lang.String[] ruleNames
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
@Deprecated public static final java.lang.String[] tokenNames
VOCABULARY
instead.public static final java.lang.String _serializedATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
@Deprecated public java.lang.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<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
public java.lang.String getGrammarFileName()
getGrammarFileName
in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
public java.lang.String[] getRuleNames()
getRuleNames
in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
public java.lang.String getSerializedATN()
getSerializedATN
in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
public java.lang.String[] getChannelNames()
getChannelNames
in class org.antlr.v4.runtime.Lexer
public java.lang.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<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>