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
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
ARRAY_MODE
static int
ARRAY_WS
static int
BASIC_STRING
static int
BIN_INT
static int
BOOLEAN
static String[]
channelNames
static int
COMMA
static int
COMMENT
static int
DEC_INT
static int
DOT
static int
DOUBLE_L_BRACKET
static int
DOUBLE_R_BRACKET
static int
EQUALS
static int
FLOAT
static int
HEX_INT
static int
INF
static int
INLINE_TABLE_MODE
static int
INLINE_TABLE_WS
static int
INVALID_VALUE
static int
L_BRACE
static int
L_BRACKET
static int
LITERAL_STRING
static int
LOCAL_DATE
static int
LOCAL_DATE_TIME
static int
LOCAL_TIME
static int
ML_BASIC_STRING
static int
ML_LITERAL_STRING
static String[]
modeNames
static int
NAN
static int
NL
static int
OCT_INT
static int
OFFSET_DATE_TIME
static int
R_BRACE
static int
R_BRACKET
static String[]
ruleNames
static int
SIMPLE_VALUE_MODE
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
UNQUOTED_KEY
static int
VALUE_WS
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WS
-
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.ATN
getATN()
String[]
getChannelNames()
String
getGrammarFileName()
String[]
getModeNames()
String[]
getRuleNames()
String
getSerializedATN()
String[]
getTokenNames()
Deprecated.org.antlr.v4.runtime.Vocabulary
getVocabulary()
boolean
sempred(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.UseVOCABULARY
instead.
-
_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:
getTokenNames
in classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public String[] getChannelNames()
- Overrides:
getChannelNames
in classorg.antlr.v4.runtime.Lexer
-
getModeNames
public String[] getModeNames()
- Overrides:
getModeNames
in classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in 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:
sempred
in classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-