Package net.vieiro.toml.antlr4
Class TOMLAntlrLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- net.vieiro.toml.antlr4.TOMLAntlrLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class TOMLAntlrLexer extends org.antlr.v4.runtime.Lexer
-
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAstatic String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCachestatic intARRAY_MODEstatic intARRAY_WSstatic intBASIC_STRINGstatic intBIN_INTstatic intBOOLEANstatic String[]channelNamesstatic intCOMMAstatic intCOMMENTstatic intDEC_INTstatic intDOTstatic intDOUBLE_L_BRACKETstatic intDOUBLE_R_BRACKETstatic intEQUALSstatic intFLOATstatic intHEX_INTstatic intINFstatic intINLINE_TABLE_MODEstatic intINLINE_TABLE_WSstatic intINVALID_VALUEstatic intL_BRACEstatic intL_BRACKETstatic intLITERAL_STRINGstatic intLOCAL_DATEstatic intLOCAL_DATE_TIMEstatic intLOCAL_TIMEstatic intML_BASIC_STRINGstatic intML_LITERAL_STRINGstatic String[]modeNamesstatic intNANstatic intNLstatic intOCT_INTstatic intOFFSET_DATE_TIMEstatic intR_BRACEstatic intR_BRACKETstatic String[]ruleNamesstatic intSIMPLE_VALUE_MODEstatic String[]tokenNamesDeprecated.UseVOCABULARYinstead.static intUNQUOTED_KEYstatic intVALUE_WSstatic org.antlr.v4.runtime.VocabularyVOCABULARYstatic intWS-
Fields 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, SKIP
-
-
Constructor Summary
Constructors Constructor Description TOMLAntlrLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.antlr.v4.runtime.atn.ATNgetATN()String[]getChannelNames()StringgetGrammarFileName()String[]getModeNames()String[]getRuleNames()StringgetSerializedATN()String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()booleansempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)-
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
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
INVALID_VALUE
public static final int INVALID_VALUE
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
NL
public static final int NL
- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
L_BRACKET
public static final int L_BRACKET
- See Also:
- Constant Field Values
-
DOUBLE_L_BRACKET
public static final int DOUBLE_L_BRACKET
- See Also:
- Constant Field Values
-
R_BRACKET
public static final int R_BRACKET
- See Also:
- Constant Field Values
-
DOUBLE_R_BRACKET
public static final int DOUBLE_R_BRACKET
- See Also:
- Constant Field Values
-
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
BASIC_STRING
public static final int BASIC_STRING
- See Also:
- Constant Field Values
-
LITERAL_STRING
public static final int LITERAL_STRING
- See Also:
- Constant Field Values
-
UNQUOTED_KEY
public static final int UNQUOTED_KEY
- See Also:
- Constant Field Values
-
VALUE_WS
public static final int VALUE_WS
- See Also:
- Constant Field Values
-
L_BRACE
public static final int L_BRACE
- See Also:
- Constant Field Values
-
BOOLEAN
public static final int BOOLEAN
- See Also:
- Constant Field Values
-
ML_BASIC_STRING
public static final int ML_BASIC_STRING
- See Also:
- Constant Field Values
-
ML_LITERAL_STRING
public static final int ML_LITERAL_STRING
- See Also:
- Constant Field Values
-
FLOAT
public static final int FLOAT
- See Also:
- Constant Field Values
-
INF
public static final int INF
- See Also:
- Constant Field Values
-
NAN
public static final int NAN
- See Also:
- Constant Field Values
-
DEC_INT
public static final int DEC_INT
- See Also:
- Constant Field Values
-
HEX_INT
public static final int HEX_INT
- See Also:
- Constant Field Values
-
OCT_INT
public static final int OCT_INT
- See Also:
- Constant Field Values
-
BIN_INT
public static final int BIN_INT
- See Also:
- Constant Field Values
-
OFFSET_DATE_TIME
public static final int OFFSET_DATE_TIME
- See Also:
- Constant Field Values
-
LOCAL_DATE_TIME
public static final int LOCAL_DATE_TIME
- See Also:
- Constant Field Values
-
LOCAL_DATE
public static final int LOCAL_DATE
- See Also:
- Constant Field Values
-
LOCAL_TIME
public static final int LOCAL_TIME
- See Also:
- Constant Field Values
-
INLINE_TABLE_WS
public static final int INLINE_TABLE_WS
- See Also:
- Constant Field Values
-
R_BRACE
public static final int R_BRACE
- See Also:
- Constant Field Values
-
ARRAY_WS
public static final int ARRAY_WS
- See Also:
- Constant Field Values
-
SIMPLE_VALUE_MODE
public static final int SIMPLE_VALUE_MODE
- See Also:
- Constant Field Values
-
INLINE_TABLE_MODE
public static final int INLINE_TABLE_MODE
- See Also:
- Constant Field Values
-
ARRAY_MODE
public static final int ARRAY_MODE
- See Also:
- Constant Field Values
-
channelNames
public static String[] channelNames
-
modeNames
public static String[] modeNames
-
ruleNames
public static final String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.UseVOCABULARYinstead.
-
_serializedATN
public static final String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public String[] 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
public String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public String[] 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>
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)- Overrides:
sempredin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-