Class GroovyLikeLexer
java.lang.Object
org.antlr.v4.runtime.Recognizer<Integer,LexerATNSimulator>
org.antlr.v4.runtime.Lexer
org.antlr.v4.test.runtime.java.api.GroovyLikeLexer
- All Implemented Interfaces:
TokenSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ATNprivate static final String[]static final Stringprivate static final String[]static String[]static final intstatic final intstatic final intstatic String[]static final intstatic final String[]static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final String[]Deprecated.static final Vocabularystatic final intFields 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, SKIPFields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]For debugging and other purposes, might want the grammar name.String[]String[]If this recognizer was generated, it will have a serialized ATN representation of the grammar.String[]Deprecated.Get the vocabulary used by the recognizer.private static String[]private static String[]private static String[]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, validateInputStreamMethods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getATN, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
Field Details
-
T__0
public static final int T__0- See Also:
-
T__1
public static final int T__1- See Also:
-
T__2
public static final int T__2- See Also:
-
T__3
public static final int T__3- See Also:
-
T__4
public static final int T__4- See Also:
-
T__5
public static final int T__5- See Also:
-
T__6
public static final int T__6- See Also:
-
T__7
public static final int T__7- See Also:
-
T__8
public static final int T__8- See Also:
-
T__9
public static final int T__9- See Also:
-
T__10
public static final int T__10- See Also:
-
T__11
public static final int T__11- See Also:
-
T__12
public static final int T__12- See Also:
-
T__13
public static final int T__13- See Also:
-
T__14
public static final int T__14- See Also:
-
T__15
public static final int T__15- See Also:
-
T__16
public static final int T__16- See Also:
-
T__17
public static final int T__17- See Also:
-
T__18
public static final int T__18- See Also:
-
T__19
public static final int T__19- See Also:
-
T__20
public static final int T__20- See Also:
-
T__21
public static final int T__21- See Also:
-
T__22
public static final int T__22- See Also:
-
T__23
public static final int T__23- See Also:
-
IntegerLiteral
public static final int IntegerLiteral- See Also:
-
StringLiteral
public static final int StringLiteral- See Also:
-
Identifier
public static final int Identifier- See Also:
-
NL
public static final int NL- See Also:
-
SEMI
public static final int SEMI- See Also:
-
WS
public static final int WS- See Also:
-
LINE_COMMENT
public static final int LINE_COMMENT- See Also:
-
channelNames
-
modeNames
-
ruleNames
-
_LITERAL_NAMES
-
_SYMBOLIC_NAMES
-
VOCABULARY
-
tokenNames
Deprecated.UseVOCABULARYinstead. -
_serializedATN
- See Also:
-
_ATN
-
-
Constructor Details
-
GroovyLikeLexer
-
-
Method Details
-
makeRuleNames
-
makeLiteralNames
-
makeSymbolicNames
-
getTokenNames
Deprecated.Description copied from class:LexerUsed to print out token names like ID during debugging and error reporting. The generated parsers implement a method that overrides this to point to their String[] tokenNames.- Overrides:
getTokenNamesin classLexer
-
getVocabulary
Description copied from class:RecognizerGet the vocabulary used by the recognizer.- Overrides:
getVocabularyin classRecognizer<Integer,LexerATNSimulator> - Returns:
- A
Vocabularyinstance providing information about the vocabulary used by the grammar.
-
getGrammarFileName
Description copied from class:RecognizerFor debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.- Specified by:
getGrammarFileNamein classRecognizer<Integer,LexerATNSimulator>
-
getRuleNames
- Specified by:
getRuleNamesin classRecognizer<Integer,LexerATNSimulator>
-
getSerializedATN
Description copied from class:RecognizerIf this recognizer was generated, it will have a serialized ATN representation of the grammar.For interpreters, we don't know their serialized ATN despite having created the interpreter from it.
- Overrides:
getSerializedATNin classRecognizer<Integer,LexerATNSimulator>
-
getChannelNames
- Overrides:
getChannelNamesin classLexer
-
getModeNames
- Overrides:
getModeNamesin classLexer
-
VOCABULARYinstead.