Package net.vieiro.toml.antlr4
Class TOMLAntlrParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- net.vieiro.toml.antlr4.TOMLAntlrParser
-
public class TOMLAntlrParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
-
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_WS
static int
BASIC_STRING
static int
BIN_INT
static int
BOOLEAN
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_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 int
NAN
static int
NL
static int
OCT_INT
static int
OFFSET_DATE_TIME
static int
R_BRACE
static int
R_BRACKET
static int
RULE_array_
static int
RULE_array_table
static int
RULE_array_values
static int
RULE_bool_
static int
RULE_comment
static int
RULE_comment_or_nl
static int
RULE_date_time
static int
RULE_document
static int
RULE_dotted_key
static int
RULE_expression
static int
RULE_floating_point
static int
RULE_inline_table
static int
RULE_inline_value
static int
RULE_inner_array
static int
RULE_integer
static int
RULE_key
static int
RULE_key_value
static int
RULE_quoted_key
static int
RULE_simple_key
static int
RULE_standard_table
static int
RULE_string
static int
RULE_table
static int
RULE_unquoted_key
static int
RULE_value
static String[]
ruleNames
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
UNQUOTED_KEY
static int
VALUE_WS
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WS
-
Constructor Summary
Constructors Constructor Description TOMLAntlrParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, 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
-
RULE_document
public static final int RULE_document
- See Also:
- Constant Field Values
-
RULE_expression
public static final int RULE_expression
- See Also:
- Constant Field Values
-
RULE_comment
public static final int RULE_comment
- See Also:
- Constant Field Values
-
RULE_key_value
public static final int RULE_key_value
- See Also:
- Constant Field Values
-
RULE_key
public static final int RULE_key
- See Also:
- Constant Field Values
-
RULE_simple_key
public static final int RULE_simple_key
- See Also:
- Constant Field Values
-
RULE_unquoted_key
public static final int RULE_unquoted_key
- See Also:
- Constant Field Values
-
RULE_quoted_key
public static final int RULE_quoted_key
- See Also:
- Constant Field Values
-
RULE_dotted_key
public static final int RULE_dotted_key
- See Also:
- Constant Field Values
-
RULE_value
public static final int RULE_value
- See Also:
- Constant Field Values
-
RULE_string
public static final int RULE_string
- See Also:
- Constant Field Values
-
RULE_integer
public static final int RULE_integer
- See Also:
- Constant Field Values
-
RULE_floating_point
public static final int RULE_floating_point
- See Also:
- Constant Field Values
-
RULE_bool_
public static final int RULE_bool_
- See Also:
- Constant Field Values
-
RULE_date_time
public static final int RULE_date_time
- See Also:
- Constant Field Values
-
RULE_inline_table
public static final int RULE_inline_table
- See Also:
- Constant Field Values
-
RULE_inner_array
public static final int RULE_inner_array
- See Also:
- Constant Field Values
-
RULE_inline_value
public static final int RULE_inline_value
- See Also:
- Constant Field Values
-
RULE_array_
public static final int RULE_array_
- See Also:
- Constant Field Values
-
RULE_array_values
public static final int RULE_array_values
- See Also:
- Constant Field Values
-
RULE_comment_or_nl
public static final int RULE_comment_or_nl
- See Also:
- Constant Field Values
-
RULE_table
public static final int RULE_table
- See Also:
- Constant Field Values
-
RULE_standard_table
public static final int RULE_standard_table
- See Also:
- Constant Field Values
-
RULE_array_table
public static final int RULE_array_table
- See Also:
- Constant Field Values
-
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.- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
document
public final TOMLAntlrParser.DocumentContext document() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
public final TOMLAntlrParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
comment
public final TOMLAntlrParser.CommentContext comment() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
key_value
public final TOMLAntlrParser.Key_valueContext key_value() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
key
public final TOMLAntlrParser.KeyContext key() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
simple_key
public final TOMLAntlrParser.Simple_keyContext simple_key() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
unquoted_key
public final TOMLAntlrParser.Unquoted_keyContext unquoted_key() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
quoted_key
public final TOMLAntlrParser.Quoted_keyContext quoted_key() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
dotted_key
public final TOMLAntlrParser.Dotted_keyContext dotted_key() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
value
public final TOMLAntlrParser.ValueContext value() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
string
public final TOMLAntlrParser.StringContext string() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
integer
public final TOMLAntlrParser.IntegerContext integer() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
floating_point
public final TOMLAntlrParser.Floating_pointContext floating_point() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
bool_
public final TOMLAntlrParser.Bool_Context bool_() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
date_time
public final TOMLAntlrParser.Date_timeContext date_time() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
inline_table
public final TOMLAntlrParser.Inline_tableContext inline_table() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
inner_array
public final TOMLAntlrParser.Inner_arrayContext inner_array() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
inline_value
public final TOMLAntlrParser.Inline_valueContext inline_value() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
array_
public final TOMLAntlrParser.Array_Context array_() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
array_values
public final TOMLAntlrParser.Array_valuesContext array_values() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
comment_or_nl
public final TOMLAntlrParser.Comment_or_nlContext comment_or_nl() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
table
public final TOMLAntlrParser.TableContext table() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
standard_table
public final TOMLAntlrParser.Standard_tableContext standard_table() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
array_table
public final TOMLAntlrParser.Array_tableContext array_table() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
-