Class JSON5Lexer
java.lang.Object
org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
org.antlr.v4.runtime.Lexer
org.openrewrite.json.internal.grammar.JSON5Lexer
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class JSON5Lexer
extends org.antlr.v4.runtime.Lexer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.antlr.v4.runtime.atn.ATNprotected static final org.antlr.v4.runtime.dfa.DFA[]static final Stringprotected static final org.antlr.v4.runtime.atn.PredictionContextCachestatic String[]static final intstatic final intstatic String[]static final intstatic final intstatic final intstatic final String[]static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final String[]Deprecated.static final intstatic final org.antlr.v4.runtime.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
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, skipMethods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
Field Details
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA -
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:
-
SINGLE_LINE_COMMENT
public static final int SINGLE_LINE_COMMENT- See Also:
-
MULTI_LINE_COMMENT
public static final int MULTI_LINE_COMMENT- See Also:
-
LITERAL
public static final int LITERAL- See Also:
-
STRING
public static final int STRING- See Also:
-
NUMBER
public static final int NUMBER- See Also:
-
NUMERIC_LITERAL
public static final int NUMERIC_LITERAL- See Also:
-
SYMBOL
public static final int SYMBOL- See Also:
-
IDENTIFIER
public static final int IDENTIFIER- See Also:
-
WS
public static final int WS- See Also:
-
UTF_8_BOM
public static final int UTF_8_BOM- See Also:
-
channelNames
-
modeNames
-
ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARYinstead. -
_serializedATN
- See Also:
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
JSON5Lexer
public JSON5Lexer(org.antlr.v4.runtime.CharStream input)
-
-
Method Details
-
getTokenNames
Deprecated.- Overrides:
getTokenNamesin classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
- Overrides:
getModeNamesin classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
VOCABULARYinstead.