Documentation ¶
Index ¶
- Constants
- func Render(in string) string
- type Array_Context
- func (s *Array_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Array_Context) Array_values() IArray_valuesContext
- func (s *Array_Context) Comment_or_nl() IComment_or_nlContext
- func (s *Array_Context) GetLbk() antlr.Token
- func (s *Array_Context) GetParser() antlr.Parser
- func (s *Array_Context) GetRbk() antlr.Token
- func (s *Array_Context) GetRuleContext() antlr.RuleContext
- func (*Array_Context) IsArray_Context()
- func (s *Array_Context) SetLbk(v antlr.Token)
- func (s *Array_Context) SetRbk(v antlr.Token)
- func (s *Array_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Array_tableContext
- func (s *Array_tableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Array_tableContext) GetLbk() antlr.Token
- func (s *Array_tableContext) GetParser() antlr.Parser
- func (s *Array_tableContext) GetRbk() antlr.Token
- func (s *Array_tableContext) GetRuleContext() antlr.RuleContext
- func (*Array_tableContext) IsArray_tableContext()
- func (s *Array_tableContext) Key() IKeyContext
- func (s *Array_tableContext) SetLbk(v antlr.Token)
- func (s *Array_tableContext) SetRbk(v antlr.Token)
- func (s *Array_tableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Array_valuesContext
- func (s *Array_valuesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Array_valuesContext) AllComment_or_nl() []IComment_or_nlContext
- func (s *Array_valuesContext) Array_values() IArray_valuesContext
- func (s *Array_valuesContext) Comment_or_nl(i int) IComment_or_nlContext
- func (s *Array_valuesContext) GetComma() antlr.Token
- func (s *Array_valuesContext) GetParser() antlr.Parser
- func (s *Array_valuesContext) GetRuleContext() antlr.RuleContext
- func (*Array_valuesContext) IsArray_valuesContext()
- func (s *Array_valuesContext) Nl_or_comment() INl_or_commentContext
- func (s *Array_valuesContext) SetComma(v antlr.Token)
- func (s *Array_valuesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Array_valuesContext) Value() IValueContext
- type Bool_Context
- func (s *Bool_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Bool_Context) BOOLEAN() antlr.TerminalNode
- func (s *Bool_Context) GetParser() antlr.Parser
- func (s *Bool_Context) GetRuleContext() antlr.RuleContext
- func (*Bool_Context) IsBool_Context()
- func (s *Bool_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CommentContext
- func (s *CommentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CommentContext) COMMENT() antlr.TerminalNode
- func (s *CommentContext) GetParser() antlr.Parser
- func (s *CommentContext) GetRuleContext() antlr.RuleContext
- func (*CommentContext) IsCommentContext()
- func (s *CommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Comment_or_nlContext
- func (s *Comment_or_nlContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Comment_or_nlContext) AllCOMMENT() []antlr.TerminalNode
- func (s *Comment_or_nlContext) AllNL() []antlr.TerminalNode
- func (s *Comment_or_nlContext) COMMENT(i int) antlr.TerminalNode
- func (s *Comment_or_nlContext) GetParser() antlr.Parser
- func (s *Comment_or_nlContext) GetRuleContext() antlr.RuleContext
- func (*Comment_or_nlContext) IsComment_or_nlContext()
- func (s *Comment_or_nlContext) NL(i int) antlr.TerminalNode
- func (s *Comment_or_nlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Date_timeContext
- func (s *Date_timeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Date_timeContext) GetParser() antlr.Parser
- func (s *Date_timeContext) GetRuleContext() antlr.RuleContext
- func (*Date_timeContext) IsDate_timeContext()
- func (s *Date_timeContext) LOCAL_DATE() antlr.TerminalNode
- func (s *Date_timeContext) LOCAL_DATE_TIME() antlr.TerminalNode
- func (s *Date_timeContext) LOCAL_TIME() antlr.TerminalNode
- func (s *Date_timeContext) OFFSET_DATE_TIME() antlr.TerminalNode
- func (s *Date_timeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DocumentContext
- func (s *DocumentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DocumentContext) AllExpression() []IExpressionContext
- func (s *DocumentContext) AllNL() []antlr.TerminalNode
- func (s *DocumentContext) EOF() antlr.TerminalNode
- func (s *DocumentContext) Expression(i int) IExpressionContext
- func (s *DocumentContext) GetParser() antlr.Parser
- func (s *DocumentContext) GetRuleContext() antlr.RuleContext
- func (*DocumentContext) IsDocumentContext()
- func (s *DocumentContext) NL(i int) antlr.TerminalNode
- func (s *DocumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Dotted_keyContext
- func (s *Dotted_keyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Dotted_keyContext) AllSimple_key() []ISimple_keyContext
- func (s *Dotted_keyContext) GetColon() antlr.Token
- func (s *Dotted_keyContext) GetParser() antlr.Parser
- func (s *Dotted_keyContext) GetRuleContext() antlr.RuleContext
- func (*Dotted_keyContext) IsDotted_keyContext()
- func (s *Dotted_keyContext) SetColon(v antlr.Token)
- func (s *Dotted_keyContext) Simple_key(i int) ISimple_keyContext
- func (s *Dotted_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionContext
- func (s *ExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpressionContext) Comment() ICommentContext
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) Key_value() IKey_valueContext
- func (s *ExpressionContext) Table() ITableContext
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Floating_pointContext
- func (s *Floating_pointContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Floating_pointContext) FLOAT() antlr.TerminalNode
- func (s *Floating_pointContext) GetParser() antlr.Parser
- func (s *Floating_pointContext) GetRuleContext() antlr.RuleContext
- func (s *Floating_pointContext) INF() antlr.TerminalNode
- func (*Floating_pointContext) IsFloating_pointContext()
- func (s *Floating_pointContext) NAN() antlr.TerminalNode
- func (s *Floating_pointContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IArray_Context
- type IArray_tableContext
- type IArray_valuesContext
- type IBool_Context
- type ICommentContext
- type IComment_or_nlContext
- type IDate_timeContext
- type IDocumentContext
- type IDotted_keyContext
- type IExpressionContext
- type IFloating_pointContext
- type IInline_tableContext
- type IInline_table_keyvalsContext
- type IInline_table_keyvals_non_emptyContext
- type IIntegerContext
- type IKeyContext
- type IKey_valueContext
- type INl_or_commentContext
- type IQuoted_keyContext
- type ISimple_keyContext
- type IStandard_tableContext
- type IStrContext
- type ITableContext
- type IUnquoted_keyContext
- type IValueContext
- type Inline_tableContext
- func (s *Inline_tableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Inline_tableContext) GetLbc() antlr.Token
- func (s *Inline_tableContext) GetParser() antlr.Parser
- func (s *Inline_tableContext) GetRbc() antlr.Token
- func (s *Inline_tableContext) GetRuleContext() antlr.RuleContext
- func (s *Inline_tableContext) Inline_table_keyvals() IInline_table_keyvalsContext
- func (*Inline_tableContext) IsInline_tableContext()
- func (s *Inline_tableContext) SetLbc(v antlr.Token)
- func (s *Inline_tableContext) SetRbc(v antlr.Token)
- func (s *Inline_tableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Inline_table_keyvalsContext
- func (s *Inline_table_keyvalsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Inline_table_keyvalsContext) GetParser() antlr.Parser
- func (s *Inline_table_keyvalsContext) GetRuleContext() antlr.RuleContext
- func (s *Inline_table_keyvalsContext) Inline_table_keyvals_non_empty() IInline_table_keyvals_non_emptyContext
- func (*Inline_table_keyvalsContext) IsInline_table_keyvalsContext()
- func (s *Inline_table_keyvalsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Inline_table_keyvals_non_emptyContext
- func (s *Inline_table_keyvals_non_emptyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Inline_table_keyvals_non_emptyContext) GetColon() antlr.Token
- func (s *Inline_table_keyvals_non_emptyContext) GetComma() antlr.Token
- func (s *Inline_table_keyvals_non_emptyContext) GetParser() antlr.Parser
- func (s *Inline_table_keyvals_non_emptyContext) GetRuleContext() antlr.RuleContext
- func (s *Inline_table_keyvals_non_emptyContext) Inline_table_keyvals_non_empty() IInline_table_keyvals_non_emptyContext
- func (*Inline_table_keyvals_non_emptyContext) IsInline_table_keyvals_non_emptyContext()
- func (s *Inline_table_keyvals_non_emptyContext) Key() IKeyContext
- func (s *Inline_table_keyvals_non_emptyContext) SetColon(v antlr.Token)
- func (s *Inline_table_keyvals_non_emptyContext) SetComma(v antlr.Token)
- func (s *Inline_table_keyvals_non_emptyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Inline_table_keyvals_non_emptyContext) Value() IValueContext
- type IntegerContext
- func (s *IntegerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IntegerContext) BIN_INT() antlr.TerminalNode
- func (s *IntegerContext) DEC_INT() antlr.TerminalNode
- func (s *IntegerContext) GetParser() antlr.Parser
- func (s *IntegerContext) GetRuleContext() antlr.RuleContext
- func (s *IntegerContext) HEX_INT() antlr.TerminalNode
- func (*IntegerContext) IsIntegerContext()
- func (s *IntegerContext) OCT_INT() antlr.TerminalNode
- func (s *IntegerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type KeyContext
- func (s *KeyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *KeyContext) Dotted_key() IDotted_keyContext
- func (s *KeyContext) GetParser() antlr.Parser
- func (s *KeyContext) GetRuleContext() antlr.RuleContext
- func (*KeyContext) IsKeyContext()
- func (s *KeyContext) Simple_key() ISimple_keyContext
- func (s *KeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Key_valueContext
- func (s *Key_valueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Key_valueContext) GetColon() antlr.Token
- func (s *Key_valueContext) GetParser() antlr.Parser
- func (s *Key_valueContext) GetRuleContext() antlr.RuleContext
- func (*Key_valueContext) IsKey_valueContext()
- func (s *Key_valueContext) Key() IKeyContext
- func (s *Key_valueContext) SetColon(v antlr.Token)
- func (s *Key_valueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Key_valueContext) Value() IValueContext
- type Nl_or_commentContext
- func (s *Nl_or_commentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Nl_or_commentContext) AllCOMMENT() []antlr.TerminalNode
- func (s *Nl_or_commentContext) AllNL() []antlr.TerminalNode
- func (s *Nl_or_commentContext) COMMENT(i int) antlr.TerminalNode
- func (s *Nl_or_commentContext) GetParser() antlr.Parser
- func (s *Nl_or_commentContext) GetRuleContext() antlr.RuleContext
- func (*Nl_or_commentContext) IsNl_or_commentContext()
- func (s *Nl_or_commentContext) NL(i int) antlr.TerminalNode
- func (s *Nl_or_commentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Quoted_keyContext
- func (s *Quoted_keyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Quoted_keyContext) BASIC_STRING() antlr.TerminalNode
- func (s *Quoted_keyContext) GetParser() antlr.Parser
- func (s *Quoted_keyContext) GetRuleContext() antlr.RuleContext
- func (*Quoted_keyContext) IsQuoted_keyContext()
- func (s *Quoted_keyContext) LITERAL_STRING() antlr.TerminalNode
- func (s *Quoted_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Simple_keyContext
- func (s *Simple_keyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Simple_keyContext) GetParser() antlr.Parser
- func (s *Simple_keyContext) GetRuleContext() antlr.RuleContext
- func (*Simple_keyContext) IsSimple_keyContext()
- func (s *Simple_keyContext) Quoted_key() IQuoted_keyContext
- func (s *Simple_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Simple_keyContext) Unquoted_key() IUnquoted_keyContext
- type Standard_tableContext
- func (s *Standard_tableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Standard_tableContext) GetLbk() antlr.Token
- func (s *Standard_tableContext) GetParser() antlr.Parser
- func (s *Standard_tableContext) GetRbk() antlr.Token
- func (s *Standard_tableContext) GetRuleContext() antlr.RuleContext
- func (*Standard_tableContext) IsStandard_tableContext()
- func (s *Standard_tableContext) Key() IKeyContext
- func (s *Standard_tableContext) SetLbk(v antlr.Token)
- func (s *Standard_tableContext) SetRbk(v antlr.Token)
- func (s *Standard_tableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StrContext
- func (s *StrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StrContext) BASIC_STRING() antlr.TerminalNode
- func (s *StrContext) GetParser() antlr.Parser
- func (s *StrContext) GetRuleContext() antlr.RuleContext
- func (*StrContext) IsStrContext()
- func (s *StrContext) LITERAL_STRING() antlr.TerminalNode
- func (s *StrContext) ML_BASIC_STRING() antlr.TerminalNode
- func (s *StrContext) ML_LITERAL_STRING() antlr.TerminalNode
- func (s *StrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TableContext
- func (s *TableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TableContext) Array_table() IArray_tableContext
- func (s *TableContext) GetParser() antlr.Parser
- func (s *TableContext) GetRuleContext() antlr.RuleContext
- func (*TableContext) IsTableContext()
- func (s *TableContext) Standard_table() IStandard_tableContext
- func (s *TableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TomlLexer
- type TomlParser
- func (p *TomlParser) Array_() (localctx IArray_Context)
- func (p *TomlParser) Array_table() (localctx IArray_tableContext)
- func (p *TomlParser) Array_values() (localctx IArray_valuesContext)
- func (p *TomlParser) Bool_() (localctx IBool_Context)
- func (p *TomlParser) Comment() (localctx ICommentContext)
- func (p *TomlParser) Comment_or_nl() (localctx IComment_or_nlContext)
- func (p *TomlParser) Date_time() (localctx IDate_timeContext)
- func (p *TomlParser) Document() (localctx IDocumentContext)
- func (p *TomlParser) Dotted_key() (localctx IDotted_keyContext)
- func (p *TomlParser) Expression() (localctx IExpressionContext)
- func (p *TomlParser) Floating_point() (localctx IFloating_pointContext)
- func (p *TomlParser) Inline_table() (localctx IInline_tableContext)
- func (p *TomlParser) Inline_table_keyvals() (localctx IInline_table_keyvalsContext)
- func (p *TomlParser) Inline_table_keyvals_non_empty() (localctx IInline_table_keyvals_non_emptyContext)
- func (p *TomlParser) Integer() (localctx IIntegerContext)
- func (p *TomlParser) Key() (localctx IKeyContext)
- func (p *TomlParser) Key_value() (localctx IKey_valueContext)
- func (p *TomlParser) Nl_or_comment() (localctx INl_or_commentContext)
- func (p *TomlParser) Quoted_key() (localctx IQuoted_keyContext)
- func (p *TomlParser) Simple_key() (localctx ISimple_keyContext)
- func (p *TomlParser) Standard_table() (localctx IStandard_tableContext)
- func (p *TomlParser) Str() (localctx IStrContext)
- func (p *TomlParser) Table() (localctx ITableContext)
- func (p *TomlParser) Unquoted_key() (localctx IUnquoted_keyContext)
- func (p *TomlParser) Value() (localctx IValueContext)
- type TomlVisitor
- type Unquoted_keyContext
- func (s *Unquoted_keyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Unquoted_keyContext) GetParser() antlr.Parser
- func (s *Unquoted_keyContext) GetRuleContext() antlr.RuleContext
- func (*Unquoted_keyContext) IsUnquoted_keyContext()
- func (s *Unquoted_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Unquoted_keyContext) UNQUOTED_KEY() antlr.TerminalNode
- type ValueContext
- func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ValueContext) Array_() IArray_Context
- func (s *ValueContext) Bool_() IBool_Context
- func (s *ValueContext) Date_time() IDate_timeContext
- func (s *ValueContext) Floating_point() IFloating_pointContext
- func (s *ValueContext) GetParser() antlr.Parser
- func (s *ValueContext) GetRuleContext() antlr.RuleContext
- func (s *ValueContext) Inline_table() IInline_tableContext
- func (s *ValueContext) Integer() IIntegerContext
- func (*ValueContext) IsValueContext()
- func (s *ValueContext) Str() IStrContext
- func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Visitor
- func (v *Visitor) VisitArray_(ctx *Array_Context) interface{}
- func (v *Visitor) VisitArray_table(ctx *Array_tableContext) interface{}
- func (v *Visitor) VisitArray_values(ctx *Array_valuesContext) interface{}
- func (v *Visitor) VisitBool_(ctx *Bool_Context) interface{}
- func (v *Visitor) VisitComment(ctx *CommentContext) interface{}
- func (v *Visitor) VisitComment_or_nl(ctx *Comment_or_nlContext) interface{}
- func (v *Visitor) VisitDate_time(ctx *Date_timeContext) interface{}
- func (v *Visitor) VisitDocument(ctx *DocumentContext) interface{}
- func (v *Visitor) VisitDotted_key(ctx *Dotted_keyContext) interface{}
- func (v *Visitor) VisitExpression(ctx *ExpressionContext) interface{}
- func (v *Visitor) VisitFloating_point(ctx *Floating_pointContext) interface{}
- func (v *Visitor) VisitInline_table(ctx *Inline_tableContext) interface{}
- func (v *Visitor) VisitInline_table_keyvals(ctx *Inline_table_keyvalsContext) interface{}
- func (v *Visitor) VisitInline_table_keyvals_non_empty(ctx *Inline_table_keyvals_non_emptyContext) interface{}
- func (v *Visitor) VisitInteger(ctx *IntegerContext) interface{}
- func (v *Visitor) VisitKey(ctx *KeyContext) interface{}
- func (v *Visitor) VisitKey_value(ctx *Key_valueContext) interface{}
- func (v *Visitor) VisitNl_or_comment(ctx *Nl_or_commentContext) interface{}
- func (v *Visitor) VisitQuoted_key(ctx *Quoted_keyContext) interface{}
- func (v *Visitor) VisitSimple_key(ctx *Simple_keyContext) interface{}
- func (v *Visitor) VisitStandard_table(ctx *Standard_tableContext) interface{}
- func (v *Visitor) VisitStr(ctx *StrContext) interface{}
- func (v *Visitor) VisitTable(ctx *TableContext) interface{}
- func (v *Visitor) VisitUnquoted_key(ctx *Unquoted_keyContext) interface{}
- func (v *Visitor) VisitValue(ctx *ValueContext) interface{}
Constants ¶
const ( TomlLexerT__0 = 1 TomlLexerT__1 = 2 TomlLexerT__2 = 3 TomlLexerT__3 = 4 TomlLexerT__4 = 5 TomlLexerT__5 = 6 TomlLexerT__6 = 7 TomlLexerWS = 8 TomlLexerNL = 9 TomlLexerCOMMENT = 10 TomlLexerBOOLEAN = 11 TomlLexerBASIC_STRING = 12 TomlLexerML_BASIC_STRING = 13 TomlLexerLITERAL_STRING = 14 TomlLexerML_LITERAL_STRING = 15 TomlLexerFLOAT = 16 TomlLexerINF = 17 TomlLexerNAN = 18 TomlLexerDEC_INT = 19 TomlLexerHEX_INT = 20 TomlLexerOCT_INT = 21 TomlLexerBIN_INT = 22 TomlLexerOFFSET_DATE_TIME = 23 TomlLexerLOCAL_DATE_TIME = 24 TomlLexerLOCAL_DATE = 25 TomlLexerLOCAL_TIME = 26 TomlLexerUNQUOTED_KEY = 27 )
TomlLexer tokens.
const ( TomlParserEOF = antlr.TokenEOF TomlParserT__0 = 1 TomlParserT__1 = 2 TomlParserT__2 = 3 TomlParserT__3 = 4 TomlParserT__4 = 5 TomlParserT__5 = 6 TomlParserT__6 = 7 TomlParserWS = 8 TomlParserNL = 9 TomlParserCOMMENT = 10 TomlParserBOOLEAN = 11 TomlParserBASIC_STRING = 12 TomlParserML_BASIC_STRING = 13 TomlParserLITERAL_STRING = 14 TomlParserML_LITERAL_STRING = 15 TomlParserFLOAT = 16 TomlParserINF = 17 TomlParserNAN = 18 TomlParserDEC_INT = 19 TomlParserHEX_INT = 20 TomlParserOCT_INT = 21 TomlParserBIN_INT = 22 TomlParserOFFSET_DATE_TIME = 23 TomlParserLOCAL_DATE_TIME = 24 TomlParserLOCAL_DATE = 25 TomlParserLOCAL_TIME = 26 TomlParserUNQUOTED_KEY = 27 )
TomlParser tokens.
const ( TomlParserRULE_document = 0 TomlParserRULE_expression = 1 TomlParserRULE_comment = 2 TomlParserRULE_key_value = 3 TomlParserRULE_key = 4 TomlParserRULE_simple_key = 5 TomlParserRULE_unquoted_key = 6 TomlParserRULE_quoted_key = 7 TomlParserRULE_dotted_key = 8 TomlParserRULE_value = 9 TomlParserRULE_str = 10 TomlParserRULE_integer = 11 TomlParserRULE_floating_point = 12 TomlParserRULE_bool_ = 13 TomlParserRULE_date_time = 14 TomlParserRULE_array_ = 15 TomlParserRULE_array_values = 16 TomlParserRULE_comment_or_nl = 17 TomlParserRULE_nl_or_comment = 18 TomlParserRULE_table = 19 TomlParserRULE_standard_table = 20 TomlParserRULE_inline_table = 21 TomlParserRULE_inline_table_keyvals = 22 TomlParserRULE_inline_table_keyvals_non_empty = 23 TomlParserRULE_array_table = 24 )
TomlParser rules.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Array_Context ¶
type Array_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArray_Context ¶
func NewArray_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Array_Context
func NewEmptyArray_Context ¶
func NewEmptyArray_Context() *Array_Context
func (*Array_Context) Accept ¶
func (s *Array_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Array_Context) Array_values ¶
func (s *Array_Context) Array_values() IArray_valuesContext
func (*Array_Context) Comment_or_nl ¶
func (s *Array_Context) Comment_or_nl() IComment_or_nlContext
func (*Array_Context) GetLbk ¶
func (s *Array_Context) GetLbk() antlr.Token
func (*Array_Context) GetParser ¶
func (s *Array_Context) GetParser() antlr.Parser
func (*Array_Context) GetRbk ¶
func (s *Array_Context) GetRbk() antlr.Token
func (*Array_Context) GetRuleContext ¶
func (s *Array_Context) GetRuleContext() antlr.RuleContext
func (*Array_Context) IsArray_Context ¶
func (*Array_Context) IsArray_Context()
func (*Array_Context) SetLbk ¶
func (s *Array_Context) SetLbk(v antlr.Token)
func (*Array_Context) SetRbk ¶
func (s *Array_Context) SetRbk(v antlr.Token)
func (*Array_Context) ToStringTree ¶
func (s *Array_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Array_tableContext ¶
type Array_tableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArray_tableContext ¶
func NewArray_tableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Array_tableContext
func NewEmptyArray_tableContext ¶
func NewEmptyArray_tableContext() *Array_tableContext
func (*Array_tableContext) Accept ¶
func (s *Array_tableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Array_tableContext) GetLbk ¶
func (s *Array_tableContext) GetLbk() antlr.Token
func (*Array_tableContext) GetParser ¶
func (s *Array_tableContext) GetParser() antlr.Parser
func (*Array_tableContext) GetRbk ¶
func (s *Array_tableContext) GetRbk() antlr.Token
func (*Array_tableContext) GetRuleContext ¶
func (s *Array_tableContext) GetRuleContext() antlr.RuleContext
func (*Array_tableContext) IsArray_tableContext ¶
func (*Array_tableContext) IsArray_tableContext()
func (*Array_tableContext) Key ¶
func (s *Array_tableContext) Key() IKeyContext
func (*Array_tableContext) SetLbk ¶
func (s *Array_tableContext) SetLbk(v antlr.Token)
func (*Array_tableContext) SetRbk ¶
func (s *Array_tableContext) SetRbk(v antlr.Token)
func (*Array_tableContext) ToStringTree ¶
func (s *Array_tableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Array_valuesContext ¶
type Array_valuesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArray_valuesContext ¶
func NewArray_valuesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Array_valuesContext
func NewEmptyArray_valuesContext ¶
func NewEmptyArray_valuesContext() *Array_valuesContext
func (*Array_valuesContext) Accept ¶
func (s *Array_valuesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Array_valuesContext) AllComment_or_nl ¶
func (s *Array_valuesContext) AllComment_or_nl() []IComment_or_nlContext
func (*Array_valuesContext) Array_values ¶
func (s *Array_valuesContext) Array_values() IArray_valuesContext
func (*Array_valuesContext) Comment_or_nl ¶
func (s *Array_valuesContext) Comment_or_nl(i int) IComment_or_nlContext
func (*Array_valuesContext) GetComma ¶
func (s *Array_valuesContext) GetComma() antlr.Token
func (*Array_valuesContext) GetParser ¶
func (s *Array_valuesContext) GetParser() antlr.Parser
func (*Array_valuesContext) GetRuleContext ¶
func (s *Array_valuesContext) GetRuleContext() antlr.RuleContext
func (*Array_valuesContext) IsArray_valuesContext ¶
func (*Array_valuesContext) IsArray_valuesContext()
func (*Array_valuesContext) Nl_or_comment ¶
func (s *Array_valuesContext) Nl_or_comment() INl_or_commentContext
func (*Array_valuesContext) SetComma ¶
func (s *Array_valuesContext) SetComma(v antlr.Token)
func (*Array_valuesContext) ToStringTree ¶
func (s *Array_valuesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Array_valuesContext) Value ¶
func (s *Array_valuesContext) Value() IValueContext
type Bool_Context ¶
type Bool_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBool_Context ¶
func NewBool_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Bool_Context
func NewEmptyBool_Context ¶
func NewEmptyBool_Context() *Bool_Context
func (*Bool_Context) Accept ¶
func (s *Bool_Context) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Bool_Context) BOOLEAN ¶
func (s *Bool_Context) BOOLEAN() antlr.TerminalNode
func (*Bool_Context) GetParser ¶
func (s *Bool_Context) GetParser() antlr.Parser
func (*Bool_Context) GetRuleContext ¶
func (s *Bool_Context) GetRuleContext() antlr.RuleContext
func (*Bool_Context) IsBool_Context ¶
func (*Bool_Context) IsBool_Context()
func (*Bool_Context) ToStringTree ¶
func (s *Bool_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CommentContext ¶
type CommentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommentContext ¶
func NewCommentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommentContext
func NewEmptyCommentContext ¶
func NewEmptyCommentContext() *CommentContext
func (*CommentContext) Accept ¶
func (s *CommentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CommentContext) COMMENT ¶
func (s *CommentContext) COMMENT() antlr.TerminalNode
func (*CommentContext) GetParser ¶
func (s *CommentContext) GetParser() antlr.Parser
func (*CommentContext) GetRuleContext ¶
func (s *CommentContext) GetRuleContext() antlr.RuleContext
func (*CommentContext) IsCommentContext ¶
func (*CommentContext) IsCommentContext()
func (*CommentContext) ToStringTree ¶
func (s *CommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Comment_or_nlContext ¶
type Comment_or_nlContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewComment_or_nlContext ¶
func NewComment_or_nlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Comment_or_nlContext
func NewEmptyComment_or_nlContext ¶
func NewEmptyComment_or_nlContext() *Comment_or_nlContext
func (*Comment_or_nlContext) Accept ¶
func (s *Comment_or_nlContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Comment_or_nlContext) AllCOMMENT ¶
func (s *Comment_or_nlContext) AllCOMMENT() []antlr.TerminalNode
func (*Comment_or_nlContext) AllNL ¶
func (s *Comment_or_nlContext) AllNL() []antlr.TerminalNode
func (*Comment_or_nlContext) COMMENT ¶
func (s *Comment_or_nlContext) COMMENT(i int) antlr.TerminalNode
func (*Comment_or_nlContext) GetParser ¶
func (s *Comment_or_nlContext) GetParser() antlr.Parser
func (*Comment_or_nlContext) GetRuleContext ¶
func (s *Comment_or_nlContext) GetRuleContext() antlr.RuleContext
func (*Comment_or_nlContext) IsComment_or_nlContext ¶
func (*Comment_or_nlContext) IsComment_or_nlContext()
func (*Comment_or_nlContext) NL ¶
func (s *Comment_or_nlContext) NL(i int) antlr.TerminalNode
func (*Comment_or_nlContext) ToStringTree ¶
func (s *Comment_or_nlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Date_timeContext ¶
type Date_timeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDate_timeContext ¶
func NewDate_timeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Date_timeContext
func NewEmptyDate_timeContext ¶
func NewEmptyDate_timeContext() *Date_timeContext
func (*Date_timeContext) Accept ¶
func (s *Date_timeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Date_timeContext) GetParser ¶
func (s *Date_timeContext) GetParser() antlr.Parser
func (*Date_timeContext) GetRuleContext ¶
func (s *Date_timeContext) GetRuleContext() antlr.RuleContext
func (*Date_timeContext) IsDate_timeContext ¶
func (*Date_timeContext) IsDate_timeContext()
func (*Date_timeContext) LOCAL_DATE ¶
func (s *Date_timeContext) LOCAL_DATE() antlr.TerminalNode
func (*Date_timeContext) LOCAL_DATE_TIME ¶
func (s *Date_timeContext) LOCAL_DATE_TIME() antlr.TerminalNode
func (*Date_timeContext) LOCAL_TIME ¶
func (s *Date_timeContext) LOCAL_TIME() antlr.TerminalNode
func (*Date_timeContext) OFFSET_DATE_TIME ¶
func (s *Date_timeContext) OFFSET_DATE_TIME() antlr.TerminalNode
func (*Date_timeContext) ToStringTree ¶
func (s *Date_timeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DocumentContext ¶
type DocumentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDocumentContext ¶
func NewDocumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DocumentContext
func NewEmptyDocumentContext ¶
func NewEmptyDocumentContext() *DocumentContext
func (*DocumentContext) Accept ¶
func (s *DocumentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DocumentContext) AllExpression ¶
func (s *DocumentContext) AllExpression() []IExpressionContext
func (*DocumentContext) AllNL ¶
func (s *DocumentContext) AllNL() []antlr.TerminalNode
func (*DocumentContext) EOF ¶
func (s *DocumentContext) EOF() antlr.TerminalNode
func (*DocumentContext) Expression ¶
func (s *DocumentContext) Expression(i int) IExpressionContext
func (*DocumentContext) GetParser ¶
func (s *DocumentContext) GetParser() antlr.Parser
func (*DocumentContext) GetRuleContext ¶
func (s *DocumentContext) GetRuleContext() antlr.RuleContext
func (*DocumentContext) IsDocumentContext ¶
func (*DocumentContext) IsDocumentContext()
func (*DocumentContext) NL ¶
func (s *DocumentContext) NL(i int) antlr.TerminalNode
func (*DocumentContext) ToStringTree ¶
func (s *DocumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Dotted_keyContext ¶
type Dotted_keyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDotted_keyContext ¶
func NewDotted_keyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Dotted_keyContext
func NewEmptyDotted_keyContext ¶
func NewEmptyDotted_keyContext() *Dotted_keyContext
func (*Dotted_keyContext) Accept ¶
func (s *Dotted_keyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Dotted_keyContext) AllSimple_key ¶
func (s *Dotted_keyContext) AllSimple_key() []ISimple_keyContext
func (*Dotted_keyContext) GetColon ¶
func (s *Dotted_keyContext) GetColon() antlr.Token
func (*Dotted_keyContext) GetParser ¶
func (s *Dotted_keyContext) GetParser() antlr.Parser
func (*Dotted_keyContext) GetRuleContext ¶
func (s *Dotted_keyContext) GetRuleContext() antlr.RuleContext
func (*Dotted_keyContext) IsDotted_keyContext ¶
func (*Dotted_keyContext) IsDotted_keyContext()
func (*Dotted_keyContext) SetColon ¶
func (s *Dotted_keyContext) SetColon(v antlr.Token)
func (*Dotted_keyContext) Simple_key ¶
func (s *Dotted_keyContext) Simple_key(i int) ISimple_keyContext
func (*Dotted_keyContext) ToStringTree ¶
func (s *Dotted_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExpressionContext ¶
type ExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionContext ¶
func NewEmptyExpressionContext() *ExpressionContext
func NewExpressionContext ¶
func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext
func (*ExpressionContext) Accept ¶
func (s *ExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExpressionContext) Comment ¶
func (s *ExpressionContext) Comment() ICommentContext
func (*ExpressionContext) GetParser ¶
func (s *ExpressionContext) GetParser() antlr.Parser
func (*ExpressionContext) GetRuleContext ¶
func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
func (*ExpressionContext) IsExpressionContext ¶
func (*ExpressionContext) IsExpressionContext()
func (*ExpressionContext) Key_value ¶
func (s *ExpressionContext) Key_value() IKey_valueContext
func (*ExpressionContext) Table ¶
func (s *ExpressionContext) Table() ITableContext
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Floating_pointContext ¶
type Floating_pointContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFloating_pointContext ¶
func NewEmptyFloating_pointContext() *Floating_pointContext
func NewFloating_pointContext ¶
func NewFloating_pointContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Floating_pointContext
func (*Floating_pointContext) Accept ¶
func (s *Floating_pointContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Floating_pointContext) FLOAT ¶
func (s *Floating_pointContext) FLOAT() antlr.TerminalNode
func (*Floating_pointContext) GetParser ¶
func (s *Floating_pointContext) GetParser() antlr.Parser
func (*Floating_pointContext) GetRuleContext ¶
func (s *Floating_pointContext) GetRuleContext() antlr.RuleContext
func (*Floating_pointContext) INF ¶
func (s *Floating_pointContext) INF() antlr.TerminalNode
func (*Floating_pointContext) IsFloating_pointContext ¶
func (*Floating_pointContext) IsFloating_pointContext()
func (*Floating_pointContext) NAN ¶
func (s *Floating_pointContext) NAN() antlr.TerminalNode
func (*Floating_pointContext) ToStringTree ¶
func (s *Floating_pointContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IArray_Context ¶
type IArray_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetLbk returns the lbk token. GetLbk() antlr.Token // GetRbk returns the rbk token. GetRbk() antlr.Token // SetLbk sets the lbk token. SetLbk(antlr.Token) // SetRbk sets the rbk token. SetRbk(antlr.Token) // IsArray_Context differentiates from other interfaces. IsArray_Context() }
IArray_Context is an interface to support dynamic dispatch.
type IArray_tableContext ¶
type IArray_tableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetLbk returns the lbk token. GetLbk() antlr.Token // GetRbk returns the rbk token. GetRbk() antlr.Token // SetLbk sets the lbk token. SetLbk(antlr.Token) // SetRbk sets the rbk token. SetRbk(antlr.Token) // IsArray_tableContext differentiates from other interfaces. IsArray_tableContext() }
IArray_tableContext is an interface to support dynamic dispatch.
type IArray_valuesContext ¶
type IArray_valuesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetComma returns the comma token. GetComma() antlr.Token // SetComma sets the comma token. SetComma(antlr.Token) // IsArray_valuesContext differentiates from other interfaces. IsArray_valuesContext() }
IArray_valuesContext is an interface to support dynamic dispatch.
type IBool_Context ¶
type IBool_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBool_Context differentiates from other interfaces. IsBool_Context() }
IBool_Context is an interface to support dynamic dispatch.
type ICommentContext ¶
type ICommentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCommentContext differentiates from other interfaces. IsCommentContext() }
ICommentContext is an interface to support dynamic dispatch.
type IComment_or_nlContext ¶
type IComment_or_nlContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsComment_or_nlContext differentiates from other interfaces. IsComment_or_nlContext() }
IComment_or_nlContext is an interface to support dynamic dispatch.
type IDate_timeContext ¶
type IDate_timeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDate_timeContext differentiates from other interfaces. IsDate_timeContext() }
IDate_timeContext is an interface to support dynamic dispatch.
type IDocumentContext ¶
type IDocumentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDocumentContext differentiates from other interfaces. IsDocumentContext() }
IDocumentContext is an interface to support dynamic dispatch.
type IDotted_keyContext ¶
type IDotted_keyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetColon returns the colon token. GetColon() antlr.Token // SetColon sets the colon token. SetColon(antlr.Token) // IsDotted_keyContext differentiates from other interfaces. IsDotted_keyContext() }
IDotted_keyContext is an interface to support dynamic dispatch.
type IExpressionContext ¶
type IExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpressionContext differentiates from other interfaces. IsExpressionContext() }
IExpressionContext is an interface to support dynamic dispatch.
type IFloating_pointContext ¶
type IFloating_pointContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFloating_pointContext differentiates from other interfaces. IsFloating_pointContext() }
IFloating_pointContext is an interface to support dynamic dispatch.
type IInline_tableContext ¶
type IInline_tableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetLbc returns the lbc token. GetLbc() antlr.Token // GetRbc returns the rbc token. GetRbc() antlr.Token // SetLbc sets the lbc token. SetLbc(antlr.Token) // SetRbc sets the rbc token. SetRbc(antlr.Token) // IsInline_tableContext differentiates from other interfaces. IsInline_tableContext() }
IInline_tableContext is an interface to support dynamic dispatch.
type IInline_table_keyvalsContext ¶
type IInline_table_keyvalsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsInline_table_keyvalsContext differentiates from other interfaces. IsInline_table_keyvalsContext() }
IInline_table_keyvalsContext is an interface to support dynamic dispatch.
type IInline_table_keyvals_non_emptyContext ¶
type IInline_table_keyvals_non_emptyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetColon returns the colon token. GetColon() antlr.Token // GetComma returns the comma token. GetComma() antlr.Token // SetColon sets the colon token. SetColon(antlr.Token) // SetComma sets the comma token. SetComma(antlr.Token) // IsInline_table_keyvals_non_emptyContext differentiates from other interfaces. IsInline_table_keyvals_non_emptyContext() }
IInline_table_keyvals_non_emptyContext is an interface to support dynamic dispatch.
type IIntegerContext ¶
type IIntegerContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIntegerContext differentiates from other interfaces. IsIntegerContext() }
IIntegerContext is an interface to support dynamic dispatch.
type IKeyContext ¶
type IKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsKeyContext differentiates from other interfaces. IsKeyContext() }
IKeyContext is an interface to support dynamic dispatch.
type IKey_valueContext ¶
type IKey_valueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetColon returns the colon token. GetColon() antlr.Token // SetColon sets the colon token. SetColon(antlr.Token) // IsKey_valueContext differentiates from other interfaces. IsKey_valueContext() }
IKey_valueContext is an interface to support dynamic dispatch.
type INl_or_commentContext ¶
type INl_or_commentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNl_or_commentContext differentiates from other interfaces. IsNl_or_commentContext() }
INl_or_commentContext is an interface to support dynamic dispatch.
type IQuoted_keyContext ¶
type IQuoted_keyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsQuoted_keyContext differentiates from other interfaces. IsQuoted_keyContext() }
IQuoted_keyContext is an interface to support dynamic dispatch.
type ISimple_keyContext ¶
type ISimple_keyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSimple_keyContext differentiates from other interfaces. IsSimple_keyContext() }
ISimple_keyContext is an interface to support dynamic dispatch.
type IStandard_tableContext ¶
type IStandard_tableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetLbk returns the lbk token. GetLbk() antlr.Token // GetRbk returns the rbk token. GetRbk() antlr.Token // SetLbk sets the lbk token. SetLbk(antlr.Token) // SetRbk sets the rbk token. SetRbk(antlr.Token) // IsStandard_tableContext differentiates from other interfaces. IsStandard_tableContext() }
IStandard_tableContext is an interface to support dynamic dispatch.
type IStrContext ¶
type IStrContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStrContext differentiates from other interfaces. IsStrContext() }
IStrContext is an interface to support dynamic dispatch.
type ITableContext ¶
type ITableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTableContext differentiates from other interfaces. IsTableContext() }
ITableContext is an interface to support dynamic dispatch.
type IUnquoted_keyContext ¶
type IUnquoted_keyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsUnquoted_keyContext differentiates from other interfaces. IsUnquoted_keyContext() }
IUnquoted_keyContext is an interface to support dynamic dispatch.
type IValueContext ¶
type IValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsValueContext differentiates from other interfaces. IsValueContext() }
IValueContext is an interface to support dynamic dispatch.
type Inline_tableContext ¶
type Inline_tableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInline_tableContext ¶
func NewEmptyInline_tableContext() *Inline_tableContext
func NewInline_tableContext ¶
func NewInline_tableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Inline_tableContext
func (*Inline_tableContext) Accept ¶
func (s *Inline_tableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Inline_tableContext) GetLbc ¶
func (s *Inline_tableContext) GetLbc() antlr.Token
func (*Inline_tableContext) GetParser ¶
func (s *Inline_tableContext) GetParser() antlr.Parser
func (*Inline_tableContext) GetRbc ¶
func (s *Inline_tableContext) GetRbc() antlr.Token
func (*Inline_tableContext) GetRuleContext ¶
func (s *Inline_tableContext) GetRuleContext() antlr.RuleContext
func (*Inline_tableContext) Inline_table_keyvals ¶
func (s *Inline_tableContext) Inline_table_keyvals() IInline_table_keyvalsContext
func (*Inline_tableContext) IsInline_tableContext ¶
func (*Inline_tableContext) IsInline_tableContext()
func (*Inline_tableContext) SetLbc ¶
func (s *Inline_tableContext) SetLbc(v antlr.Token)
func (*Inline_tableContext) SetRbc ¶
func (s *Inline_tableContext) SetRbc(v antlr.Token)
func (*Inline_tableContext) ToStringTree ¶
func (s *Inline_tableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Inline_table_keyvalsContext ¶
type Inline_table_keyvalsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInline_table_keyvalsContext ¶
func NewEmptyInline_table_keyvalsContext() *Inline_table_keyvalsContext
func NewInline_table_keyvalsContext ¶
func NewInline_table_keyvalsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Inline_table_keyvalsContext
func (*Inline_table_keyvalsContext) Accept ¶
func (s *Inline_table_keyvalsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Inline_table_keyvalsContext) GetParser ¶
func (s *Inline_table_keyvalsContext) GetParser() antlr.Parser
func (*Inline_table_keyvalsContext) GetRuleContext ¶
func (s *Inline_table_keyvalsContext) GetRuleContext() antlr.RuleContext
func (*Inline_table_keyvalsContext) Inline_table_keyvals_non_empty ¶
func (s *Inline_table_keyvalsContext) Inline_table_keyvals_non_empty() IInline_table_keyvals_non_emptyContext
func (*Inline_table_keyvalsContext) IsInline_table_keyvalsContext ¶
func (*Inline_table_keyvalsContext) IsInline_table_keyvalsContext()
func (*Inline_table_keyvalsContext) ToStringTree ¶
func (s *Inline_table_keyvalsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Inline_table_keyvals_non_emptyContext ¶
type Inline_table_keyvals_non_emptyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInline_table_keyvals_non_emptyContext ¶
func NewEmptyInline_table_keyvals_non_emptyContext() *Inline_table_keyvals_non_emptyContext
func NewInline_table_keyvals_non_emptyContext ¶
func NewInline_table_keyvals_non_emptyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Inline_table_keyvals_non_emptyContext
func (*Inline_table_keyvals_non_emptyContext) Accept ¶
func (s *Inline_table_keyvals_non_emptyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Inline_table_keyvals_non_emptyContext) GetColon ¶
func (s *Inline_table_keyvals_non_emptyContext) GetColon() antlr.Token
func (*Inline_table_keyvals_non_emptyContext) GetComma ¶
func (s *Inline_table_keyvals_non_emptyContext) GetComma() antlr.Token
func (*Inline_table_keyvals_non_emptyContext) GetParser ¶
func (s *Inline_table_keyvals_non_emptyContext) GetParser() antlr.Parser
func (*Inline_table_keyvals_non_emptyContext) GetRuleContext ¶
func (s *Inline_table_keyvals_non_emptyContext) GetRuleContext() antlr.RuleContext
func (*Inline_table_keyvals_non_emptyContext) Inline_table_keyvals_non_empty ¶
func (s *Inline_table_keyvals_non_emptyContext) Inline_table_keyvals_non_empty() IInline_table_keyvals_non_emptyContext
func (*Inline_table_keyvals_non_emptyContext) IsInline_table_keyvals_non_emptyContext ¶
func (*Inline_table_keyvals_non_emptyContext) IsInline_table_keyvals_non_emptyContext()
func (*Inline_table_keyvals_non_emptyContext) Key ¶
func (s *Inline_table_keyvals_non_emptyContext) Key() IKeyContext
func (*Inline_table_keyvals_non_emptyContext) SetColon ¶
func (s *Inline_table_keyvals_non_emptyContext) SetColon(v antlr.Token)
func (*Inline_table_keyvals_non_emptyContext) SetComma ¶
func (s *Inline_table_keyvals_non_emptyContext) SetComma(v antlr.Token)
func (*Inline_table_keyvals_non_emptyContext) ToStringTree ¶
func (s *Inline_table_keyvals_non_emptyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Inline_table_keyvals_non_emptyContext) Value ¶
func (s *Inline_table_keyvals_non_emptyContext) Value() IValueContext
type IntegerContext ¶
type IntegerContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIntegerContext ¶
func NewEmptyIntegerContext() *IntegerContext
func NewIntegerContext ¶
func NewIntegerContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntegerContext
func (*IntegerContext) Accept ¶
func (s *IntegerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IntegerContext) BIN_INT ¶
func (s *IntegerContext) BIN_INT() antlr.TerminalNode
func (*IntegerContext) DEC_INT ¶
func (s *IntegerContext) DEC_INT() antlr.TerminalNode
func (*IntegerContext) GetParser ¶
func (s *IntegerContext) GetParser() antlr.Parser
func (*IntegerContext) GetRuleContext ¶
func (s *IntegerContext) GetRuleContext() antlr.RuleContext
func (*IntegerContext) HEX_INT ¶
func (s *IntegerContext) HEX_INT() antlr.TerminalNode
func (*IntegerContext) IsIntegerContext ¶
func (*IntegerContext) IsIntegerContext()
func (*IntegerContext) OCT_INT ¶
func (s *IntegerContext) OCT_INT() antlr.TerminalNode
func (*IntegerContext) ToStringTree ¶
func (s *IntegerContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type KeyContext ¶
type KeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKeyContext ¶
func NewEmptyKeyContext() *KeyContext
func NewKeyContext ¶
func NewKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeyContext
func (*KeyContext) Accept ¶
func (s *KeyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*KeyContext) Dotted_key ¶
func (s *KeyContext) Dotted_key() IDotted_keyContext
func (*KeyContext) GetParser ¶
func (s *KeyContext) GetParser() antlr.Parser
func (*KeyContext) GetRuleContext ¶
func (s *KeyContext) GetRuleContext() antlr.RuleContext
func (*KeyContext) IsKeyContext ¶
func (*KeyContext) IsKeyContext()
func (*KeyContext) Simple_key ¶
func (s *KeyContext) Simple_key() ISimple_keyContext
func (*KeyContext) ToStringTree ¶
func (s *KeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Key_valueContext ¶
type Key_valueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKey_valueContext ¶
func NewEmptyKey_valueContext() *Key_valueContext
func NewKey_valueContext ¶
func NewKey_valueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Key_valueContext
func (*Key_valueContext) Accept ¶
func (s *Key_valueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Key_valueContext) GetColon ¶
func (s *Key_valueContext) GetColon() antlr.Token
func (*Key_valueContext) GetParser ¶
func (s *Key_valueContext) GetParser() antlr.Parser
func (*Key_valueContext) GetRuleContext ¶
func (s *Key_valueContext) GetRuleContext() antlr.RuleContext
func (*Key_valueContext) IsKey_valueContext ¶
func (*Key_valueContext) IsKey_valueContext()
func (*Key_valueContext) Key ¶
func (s *Key_valueContext) Key() IKeyContext
func (*Key_valueContext) SetColon ¶
func (s *Key_valueContext) SetColon(v antlr.Token)
func (*Key_valueContext) ToStringTree ¶
func (s *Key_valueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Key_valueContext) Value ¶
func (s *Key_valueContext) Value() IValueContext
type Nl_or_commentContext ¶
type Nl_or_commentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNl_or_commentContext ¶
func NewEmptyNl_or_commentContext() *Nl_or_commentContext
func NewNl_or_commentContext ¶
func NewNl_or_commentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Nl_or_commentContext
func (*Nl_or_commentContext) Accept ¶
func (s *Nl_or_commentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Nl_or_commentContext) AllCOMMENT ¶
func (s *Nl_or_commentContext) AllCOMMENT() []antlr.TerminalNode
func (*Nl_or_commentContext) AllNL ¶
func (s *Nl_or_commentContext) AllNL() []antlr.TerminalNode
func (*Nl_or_commentContext) COMMENT ¶
func (s *Nl_or_commentContext) COMMENT(i int) antlr.TerminalNode
func (*Nl_or_commentContext) GetParser ¶
func (s *Nl_or_commentContext) GetParser() antlr.Parser
func (*Nl_or_commentContext) GetRuleContext ¶
func (s *Nl_or_commentContext) GetRuleContext() antlr.RuleContext
func (*Nl_or_commentContext) IsNl_or_commentContext ¶
func (*Nl_or_commentContext) IsNl_or_commentContext()
func (*Nl_or_commentContext) NL ¶
func (s *Nl_or_commentContext) NL(i int) antlr.TerminalNode
func (*Nl_or_commentContext) ToStringTree ¶
func (s *Nl_or_commentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Quoted_keyContext ¶
type Quoted_keyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQuoted_keyContext ¶
func NewEmptyQuoted_keyContext() *Quoted_keyContext
func NewQuoted_keyContext ¶
func NewQuoted_keyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Quoted_keyContext
func (*Quoted_keyContext) Accept ¶
func (s *Quoted_keyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Quoted_keyContext) BASIC_STRING ¶
func (s *Quoted_keyContext) BASIC_STRING() antlr.TerminalNode
func (*Quoted_keyContext) GetParser ¶
func (s *Quoted_keyContext) GetParser() antlr.Parser
func (*Quoted_keyContext) GetRuleContext ¶
func (s *Quoted_keyContext) GetRuleContext() antlr.RuleContext
func (*Quoted_keyContext) IsQuoted_keyContext ¶
func (*Quoted_keyContext) IsQuoted_keyContext()
func (*Quoted_keyContext) LITERAL_STRING ¶
func (s *Quoted_keyContext) LITERAL_STRING() antlr.TerminalNode
func (*Quoted_keyContext) ToStringTree ¶
func (s *Quoted_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Simple_keyContext ¶
type Simple_keyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimple_keyContext ¶
func NewEmptySimple_keyContext() *Simple_keyContext
func NewSimple_keyContext ¶
func NewSimple_keyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Simple_keyContext
func (*Simple_keyContext) Accept ¶
func (s *Simple_keyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Simple_keyContext) GetParser ¶
func (s *Simple_keyContext) GetParser() antlr.Parser
func (*Simple_keyContext) GetRuleContext ¶
func (s *Simple_keyContext) GetRuleContext() antlr.RuleContext
func (*Simple_keyContext) IsSimple_keyContext ¶
func (*Simple_keyContext) IsSimple_keyContext()
func (*Simple_keyContext) Quoted_key ¶
func (s *Simple_keyContext) Quoted_key() IQuoted_keyContext
func (*Simple_keyContext) ToStringTree ¶
func (s *Simple_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Simple_keyContext) Unquoted_key ¶
func (s *Simple_keyContext) Unquoted_key() IUnquoted_keyContext
type Standard_tableContext ¶
type Standard_tableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStandard_tableContext ¶
func NewEmptyStandard_tableContext() *Standard_tableContext
func NewStandard_tableContext ¶
func NewStandard_tableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Standard_tableContext
func (*Standard_tableContext) Accept ¶
func (s *Standard_tableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Standard_tableContext) GetLbk ¶
func (s *Standard_tableContext) GetLbk() antlr.Token
func (*Standard_tableContext) GetParser ¶
func (s *Standard_tableContext) GetParser() antlr.Parser
func (*Standard_tableContext) GetRbk ¶
func (s *Standard_tableContext) GetRbk() antlr.Token
func (*Standard_tableContext) GetRuleContext ¶
func (s *Standard_tableContext) GetRuleContext() antlr.RuleContext
func (*Standard_tableContext) IsStandard_tableContext ¶
func (*Standard_tableContext) IsStandard_tableContext()
func (*Standard_tableContext) Key ¶
func (s *Standard_tableContext) Key() IKeyContext
func (*Standard_tableContext) SetLbk ¶
func (s *Standard_tableContext) SetLbk(v antlr.Token)
func (*Standard_tableContext) SetRbk ¶
func (s *Standard_tableContext) SetRbk(v antlr.Token)
func (*Standard_tableContext) ToStringTree ¶
func (s *Standard_tableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StrContext ¶
type StrContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStrContext ¶
func NewEmptyStrContext() *StrContext
func NewStrContext ¶
func NewStrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StrContext
func (*StrContext) Accept ¶
func (s *StrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StrContext) BASIC_STRING ¶
func (s *StrContext) BASIC_STRING() antlr.TerminalNode
func (*StrContext) GetParser ¶
func (s *StrContext) GetParser() antlr.Parser
func (*StrContext) GetRuleContext ¶
func (s *StrContext) GetRuleContext() antlr.RuleContext
func (*StrContext) IsStrContext ¶
func (*StrContext) IsStrContext()
func (*StrContext) LITERAL_STRING ¶
func (s *StrContext) LITERAL_STRING() antlr.TerminalNode
func (*StrContext) ML_BASIC_STRING ¶
func (s *StrContext) ML_BASIC_STRING() antlr.TerminalNode
func (*StrContext) ML_LITERAL_STRING ¶
func (s *StrContext) ML_LITERAL_STRING() antlr.TerminalNode
func (*StrContext) ToStringTree ¶
func (s *StrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TableContext ¶
type TableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTableContext ¶
func NewEmptyTableContext() *TableContext
func NewTableContext ¶
func NewTableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TableContext
func (*TableContext) Accept ¶
func (s *TableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TableContext) Array_table ¶
func (s *TableContext) Array_table() IArray_tableContext
func (*TableContext) GetParser ¶
func (s *TableContext) GetParser() antlr.Parser
func (*TableContext) GetRuleContext ¶
func (s *TableContext) GetRuleContext() antlr.RuleContext
func (*TableContext) IsTableContext ¶
func (*TableContext) IsTableContext()
func (*TableContext) Standard_table ¶
func (s *TableContext) Standard_table() IStandard_tableContext
func (*TableContext) ToStringTree ¶
func (s *TableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TomlLexer ¶
func NewTomlLexer ¶
func NewTomlLexer(input antlr.CharStream) *TomlLexer
NewTomlLexer produces a new lexer instance for the optional input antlr.CharStream.
The *TomlLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
type TomlParser ¶
type TomlParser struct {
*antlr.BaseParser
}
func NewTomlParser ¶
func NewTomlParser(input antlr.TokenStream) *TomlParser
NewTomlParser produces a new parser instance for the optional input antlr.TokenStream.
The *TomlParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
func (*TomlParser) Array_ ¶
func (p *TomlParser) Array_() (localctx IArray_Context)
func (*TomlParser) Array_table ¶
func (p *TomlParser) Array_table() (localctx IArray_tableContext)
func (*TomlParser) Array_values ¶
func (p *TomlParser) Array_values() (localctx IArray_valuesContext)
func (*TomlParser) Bool_ ¶
func (p *TomlParser) Bool_() (localctx IBool_Context)
func (*TomlParser) Comment ¶
func (p *TomlParser) Comment() (localctx ICommentContext)
func (*TomlParser) Comment_or_nl ¶
func (p *TomlParser) Comment_or_nl() (localctx IComment_or_nlContext)
func (*TomlParser) Date_time ¶
func (p *TomlParser) Date_time() (localctx IDate_timeContext)
func (*TomlParser) Document ¶
func (p *TomlParser) Document() (localctx IDocumentContext)
func (*TomlParser) Dotted_key ¶
func (p *TomlParser) Dotted_key() (localctx IDotted_keyContext)
func (*TomlParser) Expression ¶
func (p *TomlParser) Expression() (localctx IExpressionContext)
func (*TomlParser) Floating_point ¶
func (p *TomlParser) Floating_point() (localctx IFloating_pointContext)
func (*TomlParser) Inline_table ¶
func (p *TomlParser) Inline_table() (localctx IInline_tableContext)
func (*TomlParser) Inline_table_keyvals ¶
func (p *TomlParser) Inline_table_keyvals() (localctx IInline_table_keyvalsContext)
func (*TomlParser) Inline_table_keyvals_non_empty ¶
func (p *TomlParser) Inline_table_keyvals_non_empty() (localctx IInline_table_keyvals_non_emptyContext)
func (*TomlParser) Integer ¶
func (p *TomlParser) Integer() (localctx IIntegerContext)
func (*TomlParser) Key ¶
func (p *TomlParser) Key() (localctx IKeyContext)
func (*TomlParser) Key_value ¶
func (p *TomlParser) Key_value() (localctx IKey_valueContext)
func (*TomlParser) Nl_or_comment ¶
func (p *TomlParser) Nl_or_comment() (localctx INl_or_commentContext)
func (*TomlParser) Quoted_key ¶
func (p *TomlParser) Quoted_key() (localctx IQuoted_keyContext)
func (*TomlParser) Simple_key ¶
func (p *TomlParser) Simple_key() (localctx ISimple_keyContext)
func (*TomlParser) Standard_table ¶
func (p *TomlParser) Standard_table() (localctx IStandard_tableContext)
func (*TomlParser) Str ¶
func (p *TomlParser) Str() (localctx IStrContext)
func (*TomlParser) Table ¶
func (p *TomlParser) Table() (localctx ITableContext)
func (*TomlParser) Unquoted_key ¶
func (p *TomlParser) Unquoted_key() (localctx IUnquoted_keyContext)
func (*TomlParser) Value ¶
func (p *TomlParser) Value() (localctx IValueContext)
type TomlVisitor ¶
type TomlVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by TomlParser#document. VisitDocument(ctx *DocumentContext) interface{} // Visit a parse tree produced by TomlParser#expression. VisitExpression(ctx *ExpressionContext) interface{} // Visit a parse tree produced by TomlParser#comment. VisitComment(ctx *CommentContext) interface{} // Visit a parse tree produced by TomlParser#key_value. VisitKey_value(ctx *Key_valueContext) interface{} // Visit a parse tree produced by TomlParser#key. VisitKey(ctx *KeyContext) interface{} // Visit a parse tree produced by TomlParser#simple_key. VisitSimple_key(ctx *Simple_keyContext) interface{} // Visit a parse tree produced by TomlParser#unquoted_key. VisitUnquoted_key(ctx *Unquoted_keyContext) interface{} // Visit a parse tree produced by TomlParser#quoted_key. VisitQuoted_key(ctx *Quoted_keyContext) interface{} // Visit a parse tree produced by TomlParser#dotted_key. VisitDotted_key(ctx *Dotted_keyContext) interface{} // Visit a parse tree produced by TomlParser#value. VisitValue(ctx *ValueContext) interface{} // Visit a parse tree produced by TomlParser#str. VisitStr(ctx *StrContext) interface{} // Visit a parse tree produced by TomlParser#integer. VisitInteger(ctx *IntegerContext) interface{} // Visit a parse tree produced by TomlParser#floating_point. VisitFloating_point(ctx *Floating_pointContext) interface{} // Visit a parse tree produced by TomlParser#bool_. VisitBool_(ctx *Bool_Context) interface{} // Visit a parse tree produced by TomlParser#date_time. VisitDate_time(ctx *Date_timeContext) interface{} // Visit a parse tree produced by TomlParser#array_. VisitArray_(ctx *Array_Context) interface{} // Visit a parse tree produced by TomlParser#array_values. VisitArray_values(ctx *Array_valuesContext) interface{} // Visit a parse tree produced by TomlParser#comment_or_nl. VisitComment_or_nl(ctx *Comment_or_nlContext) interface{} // Visit a parse tree produced by TomlParser#nl_or_comment. VisitNl_or_comment(ctx *Nl_or_commentContext) interface{} // Visit a parse tree produced by TomlParser#table. VisitTable(ctx *TableContext) interface{} // Visit a parse tree produced by TomlParser#standard_table. VisitStandard_table(ctx *Standard_tableContext) interface{} // Visit a parse tree produced by TomlParser#inline_table. VisitInline_table(ctx *Inline_tableContext) interface{} // Visit a parse tree produced by TomlParser#inline_table_keyvals. VisitInline_table_keyvals(ctx *Inline_table_keyvalsContext) interface{} // Visit a parse tree produced by TomlParser#inline_table_keyvals_non_empty. VisitInline_table_keyvals_non_empty(ctx *Inline_table_keyvals_non_emptyContext) interface{} // Visit a parse tree produced by TomlParser#array_table. VisitArray_table(ctx *Array_tableContext) interface{} }
A complete Visitor for a parse tree produced by TomlParser.
type Unquoted_keyContext ¶
type Unquoted_keyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnquoted_keyContext ¶
func NewEmptyUnquoted_keyContext() *Unquoted_keyContext
func NewUnquoted_keyContext ¶
func NewUnquoted_keyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Unquoted_keyContext
func (*Unquoted_keyContext) Accept ¶
func (s *Unquoted_keyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Unquoted_keyContext) GetParser ¶
func (s *Unquoted_keyContext) GetParser() antlr.Parser
func (*Unquoted_keyContext) GetRuleContext ¶
func (s *Unquoted_keyContext) GetRuleContext() antlr.RuleContext
func (*Unquoted_keyContext) IsUnquoted_keyContext ¶
func (*Unquoted_keyContext) IsUnquoted_keyContext()
func (*Unquoted_keyContext) ToStringTree ¶
func (s *Unquoted_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Unquoted_keyContext) UNQUOTED_KEY ¶
func (s *Unquoted_keyContext) UNQUOTED_KEY() antlr.TerminalNode
type ValueContext ¶
type ValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyValueContext ¶
func NewEmptyValueContext() *ValueContext
func NewValueContext ¶
func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext
func (*ValueContext) Accept ¶
func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ValueContext) Array_ ¶
func (s *ValueContext) Array_() IArray_Context
func (*ValueContext) Bool_ ¶
func (s *ValueContext) Bool_() IBool_Context
func (*ValueContext) Date_time ¶
func (s *ValueContext) Date_time() IDate_timeContext
func (*ValueContext) Floating_point ¶
func (s *ValueContext) Floating_point() IFloating_pointContext
func (*ValueContext) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) Inline_table ¶
func (s *ValueContext) Inline_table() IInline_tableContext
func (*ValueContext) Integer ¶
func (s *ValueContext) Integer() IIntegerContext
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) Str ¶
func (s *ValueContext) Str() IStrContext
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Visitor ¶
type Visitor struct {
*antlr.BaseParseTreeVisitor
}
func (*Visitor) VisitArray_ ¶
func (v *Visitor) VisitArray_(ctx *Array_Context) interface{}
func (*Visitor) VisitArray_table ¶
func (v *Visitor) VisitArray_table(ctx *Array_tableContext) interface{}
func (*Visitor) VisitArray_values ¶
func (v *Visitor) VisitArray_values(ctx *Array_valuesContext) interface{}
func (*Visitor) VisitBool_ ¶
func (v *Visitor) VisitBool_(ctx *Bool_Context) interface{}
func (*Visitor) VisitComment ¶
func (v *Visitor) VisitComment(ctx *CommentContext) interface{}
func (*Visitor) VisitComment_or_nl ¶
func (v *Visitor) VisitComment_or_nl(ctx *Comment_or_nlContext) interface{}
func (*Visitor) VisitDate_time ¶
func (v *Visitor) VisitDate_time(ctx *Date_timeContext) interface{}
func (*Visitor) VisitDocument ¶
func (v *Visitor) VisitDocument(ctx *DocumentContext) interface{}
func (*Visitor) VisitDotted_key ¶
func (v *Visitor) VisitDotted_key(ctx *Dotted_keyContext) interface{}
func (*Visitor) VisitExpression ¶
func (v *Visitor) VisitExpression(ctx *ExpressionContext) interface{}
func (*Visitor) VisitFloating_point ¶
func (v *Visitor) VisitFloating_point(ctx *Floating_pointContext) interface{}
func (*Visitor) VisitInline_table ¶
func (v *Visitor) VisitInline_table(ctx *Inline_tableContext) interface{}
func (*Visitor) VisitInline_table_keyvals ¶
func (v *Visitor) VisitInline_table_keyvals(ctx *Inline_table_keyvalsContext) interface{}
func (*Visitor) VisitInline_table_keyvals_non_empty ¶
func (v *Visitor) VisitInline_table_keyvals_non_empty(ctx *Inline_table_keyvals_non_emptyContext) interface{}
func (*Visitor) VisitInteger ¶
func (v *Visitor) VisitInteger(ctx *IntegerContext) interface{}
func (*Visitor) VisitKey ¶
func (v *Visitor) VisitKey(ctx *KeyContext) interface{}
func (*Visitor) VisitKey_value ¶
func (v *Visitor) VisitKey_value(ctx *Key_valueContext) interface{}
func (*Visitor) VisitNl_or_comment ¶
func (v *Visitor) VisitNl_or_comment(ctx *Nl_or_commentContext) interface{}
func (*Visitor) VisitQuoted_key ¶
func (v *Visitor) VisitQuoted_key(ctx *Quoted_keyContext) interface{}
func (*Visitor) VisitSimple_key ¶
func (v *Visitor) VisitSimple_key(ctx *Simple_keyContext) interface{}
func (*Visitor) VisitStandard_table ¶
func (v *Visitor) VisitStandard_table(ctx *Standard_tableContext) interface{}
func (*Visitor) VisitStr ¶
func (v *Visitor) VisitStr(ctx *StrContext) interface{}
func (*Visitor) VisitTable ¶
func (v *Visitor) VisitTable(ctx *TableContext) interface{}
func (*Visitor) VisitUnquoted_key ¶
func (v *Visitor) VisitUnquoted_key(ctx *Unquoted_keyContext) interface{}
func (*Visitor) VisitValue ¶
func (v *Visitor) VisitValue(ctx *ValueContext) interface{}