public class BasicLexer extends Lexer
Modifier and Type | Field and Description |
---|---|
static ATN |
_ATN |
static String |
_serializedATN |
static int |
AND |
static int |
ASSIGN |
static int |
BLOCKCOMMENT |
static int |
BOOLTYPE |
static int |
BRACLOSE |
static int |
BRAOPEN |
static String[] |
channelNames |
static int |
CHAR |
static int |
CHARTYPE |
static int |
COMPOUND |
static int |
DECLARE |
static int |
DIVIDE |
static int |
EQ |
static int |
FALSE |
static int |
GT |
static int |
GTE |
static int |
IDENTIFIER |
static int |
IFCLOSE |
static int |
IFFALSE |
static int |
IFOPEN |
static int |
IFTRUE |
static int |
IN |
static int |
INTTYPE |
static int |
LEQ |
static int |
LINECOMMENT |
static int |
LISTDELIM |
static int |
LITERAL10 |
static int |
LT |
static int |
MINUS |
static String[] |
modeNames |
static int |
MODULO |
static int |
MULTIPLY |
static int |
NEQ |
static int |
NOT |
static int |
OR |
static int |
OUT |
static int |
PARCLOSE |
static int |
PAROPEN |
static int |
PLUS |
static String[] |
ruleNames |
static String[] |
tokenNames
Deprecated.
Use
VOCABULARY instead. |
static int |
TRUE |
static Vocabulary |
VOCABULARY |
static int |
WHILECLOSE |
static int |
WHILEOPEN |
static int |
WHILETRUE |
static int |
WHITESPACE |
_channel, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP
EOF
Constructor and Description |
---|
BasicLexer(CharStream input) |
Modifier and Type | Method and Description |
---|---|
ATN |
getATN() |
String[] |
getChannelNames() |
String |
getGrammarFileName() |
String[] |
getModeNames() |
String[] |
getRuleNames() |
String |
getSerializedATN() |
String[] |
getTokenNames()
Deprecated.
|
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
public static final int PAROPEN
public static final int PARCLOSE
public static final int BRAOPEN
public static final int BRACLOSE
public static final int IN
public static final int OUT
public static final int IFOPEN
public static final int IFTRUE
public static final int IFFALSE
public static final int IFCLOSE
public static final int WHILEOPEN
public static final int WHILETRUE
public static final int WHILECLOSE
public static final int PLUS
public static final int MINUS
public static final int NOT
public static final int MULTIPLY
public static final int DIVIDE
public static final int MODULO
public static final int LEQ
public static final int GTE
public static final int NEQ
public static final int EQ
public static final int LT
public static final int GT
public static final int AND
public static final int OR
public static final int DECLARE
public static final int INTTYPE
public static final int BOOLTYPE
public static final int CHARTYPE
public static final int ASSIGN
public static final int COMPOUND
public static final int LISTDELIM
public static final int CHAR
public static final int TRUE
public static final int FALSE
public static final int IDENTIFIER
public static final int LITERAL10
public static final int WHITESPACE
public static final int LINECOMMENT
public static final int BLOCKCOMMENT
public static String[] channelNames
public static String[] modeNames
public static final String[] ruleNames
public static final Vocabulary VOCABULARY
@Deprecated public static final String[] tokenNames
VOCABULARY
instead.public static final String _serializedATN
public static final ATN _ATN
public BasicLexer(CharStream input)
@Deprecated public String[] getTokenNames()
getTokenNames
in class Lexer
public Vocabulary getVocabulary()
getVocabulary
in class Recognizer<Integer,LexerATNSimulator>
public String getGrammarFileName()
getGrammarFileName
in class Recognizer<Integer,LexerATNSimulator>
public String[] getRuleNames()
getRuleNames
in class Recognizer<Integer,LexerATNSimulator>
public String getSerializedATN()
getSerializedATN
in class Recognizer<Integer,LexerATNSimulator>
public String[] getChannelNames()
getChannelNames
in class Lexer
public String[] getModeNames()
getModeNames
in class Lexer
public ATN getATN()
getATN
in class Recognizer<Integer,LexerATNSimulator>