Documentation ¶
Index ¶
- Constants
- func TomlLexerInit()
- func TomlParserInit()
- type ArrayContext
- func (s *ArrayContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ArrayContext) ArrayValues() IArrayValuesContext
- func (s *ArrayContext) CommentOrNl() ICommentOrNlContext
- func (s *ArrayContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayContext) GetParser() antlr.Parser
- func (s *ArrayContext) GetRuleContext() antlr.RuleContext
- func (*ArrayContext) IsArrayContext()
- func (s *ArrayContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrayTableContext
- func (s *ArrayTableContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ArrayTableContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayTableContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayTableContext) GetParser() antlr.Parser
- func (s *ArrayTableContext) GetRuleContext() antlr.RuleContext
- func (*ArrayTableContext) IsArrayTableContext()
- func (s *ArrayTableContext) Key() IKeyContext
- func (s *ArrayTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArrayValuesContext
- func (s *ArrayValuesContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ArrayValuesContext) AllCommentOrNl() []ICommentOrNlContext
- func (s *ArrayValuesContext) ArrayValues() IArrayValuesContext
- func (s *ArrayValuesContext) CommentOrNl(i int) ICommentOrNlContext
- func (s *ArrayValuesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayValuesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayValuesContext) GetParser() antlr.Parser
- func (s *ArrayValuesContext) GetRuleContext() antlr.RuleContext
- func (*ArrayValuesContext) IsArrayValuesContext()
- func (s *ArrayValuesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ArrayValuesContext) Value() IValueContext
- type BaseTomlListener
- func (s *BaseTomlListener) EnterArray(ctx *ArrayContext)
- func (s *BaseTomlListener) EnterArrayTable(ctx *ArrayTableContext)
- func (s *BaseTomlListener) EnterArrayValues(ctx *ArrayValuesContext)
- func (s *BaseTomlListener) EnterBoolean(ctx *BooleanContext)
- func (s *BaseTomlListener) EnterComment(ctx *CommentContext)
- func (s *BaseTomlListener) EnterCommentOrNl(ctx *CommentOrNlContext)
- func (s *BaseTomlListener) EnterDateTime(ctx *DateTimeContext)
- func (s *BaseTomlListener) EnterDocument(ctx *DocumentContext)
- func (s *BaseTomlListener) EnterDottedKey(ctx *DottedKeyContext)
- func (s *BaseTomlListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseTomlListener) EnterExpression(ctx *ExpressionContext)
- func (s *BaseTomlListener) EnterFloatingPoint(ctx *FloatingPointContext)
- func (s *BaseTomlListener) EnterInlineTable(ctx *InlineTableContext)
- func (s *BaseTomlListener) EnterInlineTableKeyvals(ctx *InlineTableKeyvalsContext)
- func (s *BaseTomlListener) EnterInlineTableKeyvalsNonEmpty(ctx *InlineTableKeyvalsNonEmptyContext)
- func (s *BaseTomlListener) EnterInteger(ctx *IntegerContext)
- func (s *BaseTomlListener) EnterKey(ctx *KeyContext)
- func (s *BaseTomlListener) EnterKeyValue(ctx *KeyValueContext)
- func (s *BaseTomlListener) EnterQuotedKey(ctx *QuotedKeyContext)
- func (s *BaseTomlListener) EnterSimpleKey(ctx *SimpleKeyContext)
- func (s *BaseTomlListener) EnterStandardTable(ctx *StandardTableContext)
- func (s *BaseTomlListener) EnterStringValue(ctx *StringValueContext)
- func (s *BaseTomlListener) EnterTable(ctx *TableContext)
- func (s *BaseTomlListener) EnterUnquotedKey(ctx *UnquotedKeyContext)
- func (s *BaseTomlListener) EnterValue(ctx *ValueContext)
- func (s *BaseTomlListener) ExitArray(ctx *ArrayContext)
- func (s *BaseTomlListener) ExitArrayTable(ctx *ArrayTableContext)
- func (s *BaseTomlListener) ExitArrayValues(ctx *ArrayValuesContext)
- func (s *BaseTomlListener) ExitBoolean(ctx *BooleanContext)
- func (s *BaseTomlListener) ExitComment(ctx *CommentContext)
- func (s *BaseTomlListener) ExitCommentOrNl(ctx *CommentOrNlContext)
- func (s *BaseTomlListener) ExitDateTime(ctx *DateTimeContext)
- func (s *BaseTomlListener) ExitDocument(ctx *DocumentContext)
- func (s *BaseTomlListener) ExitDottedKey(ctx *DottedKeyContext)
- func (s *BaseTomlListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseTomlListener) ExitExpression(ctx *ExpressionContext)
- func (s *BaseTomlListener) ExitFloatingPoint(ctx *FloatingPointContext)
- func (s *BaseTomlListener) ExitInlineTable(ctx *InlineTableContext)
- func (s *BaseTomlListener) ExitInlineTableKeyvals(ctx *InlineTableKeyvalsContext)
- func (s *BaseTomlListener) ExitInlineTableKeyvalsNonEmpty(ctx *InlineTableKeyvalsNonEmptyContext)
- func (s *BaseTomlListener) ExitInteger(ctx *IntegerContext)
- func (s *BaseTomlListener) ExitKey(ctx *KeyContext)
- func (s *BaseTomlListener) ExitKeyValue(ctx *KeyValueContext)
- func (s *BaseTomlListener) ExitQuotedKey(ctx *QuotedKeyContext)
- func (s *BaseTomlListener) ExitSimpleKey(ctx *SimpleKeyContext)
- func (s *BaseTomlListener) ExitStandardTable(ctx *StandardTableContext)
- func (s *BaseTomlListener) ExitStringValue(ctx *StringValueContext)
- func (s *BaseTomlListener) ExitTable(ctx *TableContext)
- func (s *BaseTomlListener) ExitUnquotedKey(ctx *UnquotedKeyContext)
- func (s *BaseTomlListener) ExitValue(ctx *ValueContext)
- func (s *BaseTomlListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseTomlListener) VisitTerminal(node antlr.TerminalNode)
- type BaseTomlVisitor
- func (v *BaseTomlVisitor) VisitArray(ctx *ArrayContext) any
- func (v *BaseTomlVisitor) VisitArrayTable(ctx *ArrayTableContext) any
- func (v *BaseTomlVisitor) VisitArrayValues(ctx *ArrayValuesContext) any
- func (v *BaseTomlVisitor) VisitBoolean(ctx *BooleanContext) any
- func (v *BaseTomlVisitor) VisitComment(ctx *CommentContext) any
- func (v *BaseTomlVisitor) VisitCommentOrNl(ctx *CommentOrNlContext) any
- func (v *BaseTomlVisitor) VisitDateTime(ctx *DateTimeContext) any
- func (v *BaseTomlVisitor) VisitDocument(ctx *DocumentContext) any
- func (v *BaseTomlVisitor) VisitDottedKey(ctx *DottedKeyContext) any
- func (v *BaseTomlVisitor) VisitExpression(ctx *ExpressionContext) any
- func (v *BaseTomlVisitor) VisitFloatingPoint(ctx *FloatingPointContext) any
- func (v *BaseTomlVisitor) VisitInlineTable(ctx *InlineTableContext) any
- func (v *BaseTomlVisitor) VisitInlineTableKeyvals(ctx *InlineTableKeyvalsContext) any
- func (v *BaseTomlVisitor) VisitInlineTableKeyvalsNonEmpty(ctx *InlineTableKeyvalsNonEmptyContext) any
- func (v *BaseTomlVisitor) VisitInteger(ctx *IntegerContext) any
- func (v *BaseTomlVisitor) VisitKey(ctx *KeyContext) any
- func (v *BaseTomlVisitor) VisitKeyValue(ctx *KeyValueContext) any
- func (v *BaseTomlVisitor) VisitQuotedKey(ctx *QuotedKeyContext) any
- func (v *BaseTomlVisitor) VisitSimpleKey(ctx *SimpleKeyContext) any
- func (v *BaseTomlVisitor) VisitStandardTable(ctx *StandardTableContext) any
- func (v *BaseTomlVisitor) VisitStringValue(ctx *StringValueContext) any
- func (v *BaseTomlVisitor) VisitTable(ctx *TableContext) any
- func (v *BaseTomlVisitor) VisitUnquotedKey(ctx *UnquotedKeyContext) any
- func (v *BaseTomlVisitor) VisitValue(ctx *ValueContext) any
- type BooleanContext
- func (s *BooleanContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *BooleanContext) BOOLEAN() antlr.TerminalNode
- func (s *BooleanContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BooleanContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BooleanContext) GetParser() antlr.Parser
- func (s *BooleanContext) GetRuleContext() antlr.RuleContext
- func (*BooleanContext) IsBooleanContext()
- func (s *BooleanContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CommentContext
- func (s *CommentContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *CommentContext) COMMENT() antlr.TerminalNode
- func (s *CommentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CommentContext) ExitRule(listener antlr.ParseTreeListener)
- 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 CommentOrNlContext
- func (s *CommentOrNlContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *CommentOrNlContext) AllCOMMENT() []antlr.TerminalNode
- func (s *CommentOrNlContext) AllNL() []antlr.TerminalNode
- func (s *CommentOrNlContext) COMMENT(i int) antlr.TerminalNode
- func (s *CommentOrNlContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CommentOrNlContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CommentOrNlContext) GetParser() antlr.Parser
- func (s *CommentOrNlContext) GetRuleContext() antlr.RuleContext
- func (*CommentOrNlContext) IsCommentOrNlContext()
- func (s *CommentOrNlContext) NL(i int) antlr.TerminalNode
- func (s *CommentOrNlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DateTimeContext
- func (s *DateTimeContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *DateTimeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DateTimeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DateTimeContext) GetParser() antlr.Parser
- func (s *DateTimeContext) GetRuleContext() antlr.RuleContext
- func (*DateTimeContext) IsDateTimeContext()
- func (s *DateTimeContext) LOCAL_DATE() antlr.TerminalNode
- func (s *DateTimeContext) LOCAL_DATE_TIME() antlr.TerminalNode
- func (s *DateTimeContext) LOCAL_TIME() antlr.TerminalNode
- func (s *DateTimeContext) OFFSET_DATE_TIME() antlr.TerminalNode
- func (s *DateTimeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DocumentContext
- func (s *DocumentContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *DocumentContext) AllExpression() []IExpressionContext
- func (s *DocumentContext) AllNL() []antlr.TerminalNode
- func (s *DocumentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DocumentContext) ExitRule(listener antlr.ParseTreeListener)
- 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 DottedKeyContext
- func (s *DottedKeyContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *DottedKeyContext) AllSimpleKey() []ISimpleKeyContext
- func (s *DottedKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DottedKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DottedKeyContext) GetParser() antlr.Parser
- func (s *DottedKeyContext) GetRuleContext() antlr.RuleContext
- func (*DottedKeyContext) IsDottedKeyContext()
- func (s *DottedKeyContext) SimpleKey(i int) ISimpleKeyContext
- func (s *DottedKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionContext
- func (s *ExpressionContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ExpressionContext) Comment() ICommentContext
- func (s *ExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) KeyValue() IKeyValueContext
- func (s *ExpressionContext) Table() ITableContext
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FloatingPointContext
- func (s *FloatingPointContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *FloatingPointContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FloatingPointContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FloatingPointContext) FLOAT() antlr.TerminalNode
- func (s *FloatingPointContext) GetParser() antlr.Parser
- func (s *FloatingPointContext) GetRuleContext() antlr.RuleContext
- func (s *FloatingPointContext) INF() antlr.TerminalNode
- func (*FloatingPointContext) IsFloatingPointContext()
- func (s *FloatingPointContext) NAN() antlr.TerminalNode
- func (s *FloatingPointContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IArrayContext
- type IArrayTableContext
- type IArrayValuesContext
- type IBooleanContext
- type ICommentContext
- type ICommentOrNlContext
- type IDateTimeContext
- type IDocumentContext
- type IDottedKeyContext
- type IExpressionContext
- type IFloatingPointContext
- type IInlineTableContext
- type IInlineTableKeyvalsContext
- type IInlineTableKeyvalsNonEmptyContext
- type IIntegerContext
- type IKeyContext
- type IKeyValueContext
- type IQuotedKeyContext
- type ISimpleKeyContext
- type IStandardTableContext
- type IStringValueContext
- type ITableContext
- type IUnquotedKeyContext
- type IValueContext
- type InlineTableContext
- func (s *InlineTableContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *InlineTableContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InlineTableContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InlineTableContext) GetParser() antlr.Parser
- func (s *InlineTableContext) GetRuleContext() antlr.RuleContext
- func (s *InlineTableContext) InlineTableKeyvals() IInlineTableKeyvalsContext
- func (*InlineTableContext) IsInlineTableContext()
- func (s *InlineTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type InlineTableKeyvalsContext
- func (s *InlineTableKeyvalsContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *InlineTableKeyvalsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InlineTableKeyvalsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InlineTableKeyvalsContext) GetParser() antlr.Parser
- func (s *InlineTableKeyvalsContext) GetRuleContext() antlr.RuleContext
- func (s *InlineTableKeyvalsContext) InlineTableKeyvalsNonEmpty() IInlineTableKeyvalsNonEmptyContext
- func (*InlineTableKeyvalsContext) IsInlineTableKeyvalsContext()
- func (s *InlineTableKeyvalsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type InlineTableKeyvalsNonEmptyContext
- func (s *InlineTableKeyvalsNonEmptyContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *InlineTableKeyvalsNonEmptyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InlineTableKeyvalsNonEmptyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InlineTableKeyvalsNonEmptyContext) GetParser() antlr.Parser
- func (s *InlineTableKeyvalsNonEmptyContext) GetRuleContext() antlr.RuleContext
- func (s *InlineTableKeyvalsNonEmptyContext) InlineTableKeyvalsNonEmpty() IInlineTableKeyvalsNonEmptyContext
- func (*InlineTableKeyvalsNonEmptyContext) IsInlineTableKeyvalsNonEmptyContext()
- func (s *InlineTableKeyvalsNonEmptyContext) Key() IKeyContext
- func (s *InlineTableKeyvalsNonEmptyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *InlineTableKeyvalsNonEmptyContext) Value() IValueContext
- type IntegerContext
- func (s *IntegerContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *IntegerContext) BIN_INT() antlr.TerminalNode
- func (s *IntegerContext) DEC_INT() antlr.TerminalNode
- func (s *IntegerContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IntegerContext) ExitRule(listener antlr.ParseTreeListener)
- 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) any
- func (s *KeyContext) DottedKey() IDottedKeyContext
- func (s *KeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *KeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *KeyContext) GetParser() antlr.Parser
- func (s *KeyContext) GetRuleContext() antlr.RuleContext
- func (*KeyContext) IsKeyContext()
- func (s *KeyContext) SimpleKey() ISimpleKeyContext
- func (s *KeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type KeyValueContext
- func (s *KeyValueContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *KeyValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *KeyValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *KeyValueContext) GetParser() antlr.Parser
- func (s *KeyValueContext) GetRuleContext() antlr.RuleContext
- func (*KeyValueContext) IsKeyValueContext()
- func (s *KeyValueContext) Key() IKeyContext
- func (s *KeyValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *KeyValueContext) Value() IValueContext
- type QuotedKeyContext
- func (s *QuotedKeyContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *QuotedKeyContext) BASIC_STRING() antlr.TerminalNode
- func (s *QuotedKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *QuotedKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *QuotedKeyContext) GetParser() antlr.Parser
- func (s *QuotedKeyContext) GetRuleContext() antlr.RuleContext
- func (*QuotedKeyContext) IsQuotedKeyContext()
- func (s *QuotedKeyContext) LITERAL_STRING() antlr.TerminalNode
- func (s *QuotedKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SimpleKeyContext
- func (s *SimpleKeyContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *SimpleKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SimpleKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SimpleKeyContext) GetParser() antlr.Parser
- func (s *SimpleKeyContext) GetRuleContext() antlr.RuleContext
- func (*SimpleKeyContext) IsSimpleKeyContext()
- func (s *SimpleKeyContext) QuotedKey() IQuotedKeyContext
- func (s *SimpleKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SimpleKeyContext) UnquotedKey() IUnquotedKeyContext
- type StandardTableContext
- func (s *StandardTableContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *StandardTableContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StandardTableContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StandardTableContext) GetParser() antlr.Parser
- func (s *StandardTableContext) GetRuleContext() antlr.RuleContext
- func (*StandardTableContext) IsStandardTableContext()
- func (s *StandardTableContext) Key() IKeyContext
- func (s *StandardTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringValueContext
- func (s *StringValueContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *StringValueContext) BASIC_STRING() antlr.TerminalNode
- func (s *StringValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StringValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StringValueContext) GetParser() antlr.Parser
- func (s *StringValueContext) GetRuleContext() antlr.RuleContext
- func (*StringValueContext) IsStringValueContext()
- func (s *StringValueContext) LITERAL_STRING() antlr.TerminalNode
- func (s *StringValueContext) ML_BASIC_STRING() antlr.TerminalNode
- func (s *StringValueContext) ML_LITERAL_STRING() antlr.TerminalNode
- func (s *StringValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TableContext
- func (s *TableContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *TableContext) ArrayTable() IArrayTableContext
- func (s *TableContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TableContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TableContext) GetParser() antlr.Parser
- func (s *TableContext) GetRuleContext() antlr.RuleContext
- func (*TableContext) IsTableContext()
- func (s *TableContext) StandardTable() IStandardTableContext
- func (s *TableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TomlLexer
- type TomlListener
- type TomlParser
- func (p *TomlParser) Array() (localctx IArrayContext)
- func (p *TomlParser) ArrayTable() (localctx IArrayTableContext)
- func (p *TomlParser) ArrayValues() (localctx IArrayValuesContext)
- func (p *TomlParser) Boolean() (localctx IBooleanContext)
- func (p *TomlParser) Comment() (localctx ICommentContext)
- func (p *TomlParser) CommentOrNl() (localctx ICommentOrNlContext)
- func (p *TomlParser) DateTime() (localctx IDateTimeContext)
- func (p *TomlParser) Document() (localctx IDocumentContext)
- func (p *TomlParser) DottedKey() (localctx IDottedKeyContext)
- func (p *TomlParser) Expression() (localctx IExpressionContext)
- func (p *TomlParser) FloatingPoint() (localctx IFloatingPointContext)
- func (p *TomlParser) InlineTable() (localctx IInlineTableContext)
- func (p *TomlParser) InlineTableKeyvals() (localctx IInlineTableKeyvalsContext)
- func (p *TomlParser) InlineTableKeyvalsNonEmpty() (localctx IInlineTableKeyvalsNonEmptyContext)
- func (p *TomlParser) Integer() (localctx IIntegerContext)
- func (p *TomlParser) Key() (localctx IKeyContext)
- func (p *TomlParser) KeyValue() (localctx IKeyValueContext)
- func (p *TomlParser) QuotedKey() (localctx IQuotedKeyContext)
- func (p *TomlParser) SimpleKey() (localctx ISimpleKeyContext)
- func (p *TomlParser) StandardTable() (localctx IStandardTableContext)
- func (p *TomlParser) StringValue() (localctx IStringValueContext)
- func (p *TomlParser) Table() (localctx ITableContext)
- func (p *TomlParser) UnquotedKey() (localctx IUnquotedKeyContext)
- func (p *TomlParser) Value() (localctx IValueContext)
- type TomlVisitor
- type UnquotedKeyContext
- func (s *UnquotedKeyContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *UnquotedKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UnquotedKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UnquotedKeyContext) GetParser() antlr.Parser
- func (s *UnquotedKeyContext) GetRuleContext() antlr.RuleContext
- func (*UnquotedKeyContext) IsUnquotedKeyContext()
- func (s *UnquotedKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *UnquotedKeyContext) UNQUOTED_KEY() antlr.TerminalNode
- type ValueContext
- func (s *ValueContext) Accept(visitor antlr.ParseTreeVisitor) any
- func (s *ValueContext) Array() IArrayContext
- func (s *ValueContext) Boolean() IBooleanContext
- func (s *ValueContext) DateTime() IDateTimeContext
- func (s *ValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ValueContext) FloatingPoint() IFloatingPointContext
- func (s *ValueContext) GetParser() antlr.Parser
- func (s *ValueContext) GetRuleContext() antlr.RuleContext
- func (s *ValueContext) InlineTable() IInlineTableContext
- func (s *ValueContext) Integer() IIntegerContext
- func (*ValueContext) IsValueContext()
- func (s *ValueContext) StringValue() IStringValueContext
- func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( TomlLexerT__0 = 1 TomlLexerT__1 = 2 TomlLexerT__2 = 3 TomlLexerT__3 = 4 TomlLexerT__4 = 5 TomlLexerT__5 = 6 TomlLexerT__6 = 7 TomlLexerT__7 = 8 TomlLexerT__8 = 9 TomlLexerWS = 10 TomlLexerNL = 11 TomlLexerCOMMENT = 12 TomlLexerBOOLEAN = 13 TomlLexerBASIC_STRING = 14 TomlLexerML_BASIC_STRING = 15 TomlLexerLITERAL_STRING = 16 TomlLexerML_LITERAL_STRING = 17 TomlLexerFLOAT = 18 TomlLexerINF = 19 TomlLexerNAN = 20 TomlLexerDEC_INT = 21 TomlLexerHEX_INT = 22 TomlLexerOCT_INT = 23 TomlLexerBIN_INT = 24 TomlLexerOFFSET_DATE_TIME = 25 TomlLexerLOCAL_DATE_TIME = 26 TomlLexerLOCAL_DATE = 27 TomlLexerLOCAL_TIME = 28 TomlLexerUNQUOTED_KEY = 29 )
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 TomlParserT__7 = 8 TomlParserT__8 = 9 TomlParserWS = 10 TomlParserNL = 11 TomlParserCOMMENT = 12 TomlParserBOOLEAN = 13 TomlParserBASIC_STRING = 14 TomlParserML_BASIC_STRING = 15 TomlParserLITERAL_STRING = 16 TomlParserML_LITERAL_STRING = 17 TomlParserFLOAT = 18 TomlParserINF = 19 TomlParserNAN = 20 TomlParserDEC_INT = 21 TomlParserHEX_INT = 22 TomlParserOCT_INT = 23 TomlParserBIN_INT = 24 TomlParserOFFSET_DATE_TIME = 25 TomlParserLOCAL_DATE_TIME = 26 TomlParserLOCAL_DATE = 27 TomlParserLOCAL_TIME = 28 TomlParserUNQUOTED_KEY = 29 )
TomlParser tokens.
const ( TomlParserRULE_document = 0 TomlParserRULE_expression = 1 TomlParserRULE_comment = 2 TomlParserRULE_keyValue = 3 TomlParserRULE_key = 4 TomlParserRULE_simpleKey = 5 TomlParserRULE_unquotedKey = 6 TomlParserRULE_quotedKey = 7 TomlParserRULE_dottedKey = 8 TomlParserRULE_value = 9 TomlParserRULE_stringValue = 10 TomlParserRULE_integer = 11 TomlParserRULE_floatingPoint = 12 TomlParserRULE_boolean = 13 TomlParserRULE_dateTime = 14 TomlParserRULE_array = 15 TomlParserRULE_arrayValues = 16 TomlParserRULE_commentOrNl = 17 TomlParserRULE_table = 18 TomlParserRULE_standardTable = 19 TomlParserRULE_inlineTable = 20 TomlParserRULE_inlineTableKeyvals = 21 TomlParserRULE_inlineTableKeyvalsNonEmpty = 22 TomlParserRULE_arrayTable = 23 )
TomlParser rules.
Variables ¶
This section is empty.
Functions ¶
func TomlLexerInit ¶
func TomlLexerInit()
TomlLexerInit initializes any static state used to implement TomlLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewTomlLexer(). You can call this function if you wish to initialize the static state ahead of time.
func TomlParserInit ¶
func TomlParserInit()
TomlParserInit initializes any static state used to implement TomlParser. By default the static state used to implement the parser is lazily initialized during the first call to NewTomlParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type ArrayContext ¶
type ArrayContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayContext ¶
func NewArrayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayContext
func NewEmptyArrayContext ¶
func NewEmptyArrayContext() *ArrayContext
func (*ArrayContext) Accept ¶
func (s *ArrayContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ArrayContext) ArrayValues ¶
func (s *ArrayContext) ArrayValues() IArrayValuesContext
func (*ArrayContext) CommentOrNl ¶
func (s *ArrayContext) CommentOrNl() ICommentOrNlContext
func (*ArrayContext) EnterRule ¶
func (s *ArrayContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayContext) ExitRule ¶
func (s *ArrayContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayContext) GetParser ¶
func (s *ArrayContext) GetParser() antlr.Parser
func (*ArrayContext) GetRuleContext ¶
func (s *ArrayContext) GetRuleContext() antlr.RuleContext
func (*ArrayContext) IsArrayContext ¶
func (*ArrayContext) IsArrayContext()
func (*ArrayContext) ToStringTree ¶
func (s *ArrayContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrayTableContext ¶
type ArrayTableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayTableContext ¶
func NewArrayTableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayTableContext
func NewEmptyArrayTableContext ¶
func NewEmptyArrayTableContext() *ArrayTableContext
func (*ArrayTableContext) Accept ¶
func (s *ArrayTableContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ArrayTableContext) EnterRule ¶
func (s *ArrayTableContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayTableContext) ExitRule ¶
func (s *ArrayTableContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayTableContext) GetParser ¶
func (s *ArrayTableContext) GetParser() antlr.Parser
func (*ArrayTableContext) GetRuleContext ¶
func (s *ArrayTableContext) GetRuleContext() antlr.RuleContext
func (*ArrayTableContext) IsArrayTableContext ¶
func (*ArrayTableContext) IsArrayTableContext()
func (*ArrayTableContext) Key ¶
func (s *ArrayTableContext) Key() IKeyContext
func (*ArrayTableContext) ToStringTree ¶
func (s *ArrayTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArrayValuesContext ¶
type ArrayValuesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArrayValuesContext ¶
func NewArrayValuesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayValuesContext
func NewEmptyArrayValuesContext ¶
func NewEmptyArrayValuesContext() *ArrayValuesContext
func (*ArrayValuesContext) Accept ¶
func (s *ArrayValuesContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*ArrayValuesContext) AllCommentOrNl ¶
func (s *ArrayValuesContext) AllCommentOrNl() []ICommentOrNlContext
func (*ArrayValuesContext) ArrayValues ¶
func (s *ArrayValuesContext) ArrayValues() IArrayValuesContext
func (*ArrayValuesContext) CommentOrNl ¶
func (s *ArrayValuesContext) CommentOrNl(i int) ICommentOrNlContext
func (*ArrayValuesContext) EnterRule ¶
func (s *ArrayValuesContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayValuesContext) ExitRule ¶
func (s *ArrayValuesContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayValuesContext) GetParser ¶
func (s *ArrayValuesContext) GetParser() antlr.Parser
func (*ArrayValuesContext) GetRuleContext ¶
func (s *ArrayValuesContext) GetRuleContext() antlr.RuleContext
func (*ArrayValuesContext) IsArrayValuesContext ¶
func (*ArrayValuesContext) IsArrayValuesContext()
func (*ArrayValuesContext) ToStringTree ¶
func (s *ArrayValuesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ArrayValuesContext) Value ¶
func (s *ArrayValuesContext) Value() IValueContext
type BaseTomlListener ¶
type BaseTomlListener struct{}
BaseTomlListener is a complete listener for a parse tree produced by TomlParser.
func (*BaseTomlListener) EnterArray ¶
func (s *BaseTomlListener) EnterArray(ctx *ArrayContext)
EnterArray is called when production array is entered.
func (*BaseTomlListener) EnterArrayTable ¶
func (s *BaseTomlListener) EnterArrayTable(ctx *ArrayTableContext)
EnterArrayTable is called when production arrayTable is entered.
func (*BaseTomlListener) EnterArrayValues ¶
func (s *BaseTomlListener) EnterArrayValues(ctx *ArrayValuesContext)
EnterArrayValues is called when production arrayValues is entered.
func (*BaseTomlListener) EnterBoolean ¶
func (s *BaseTomlListener) EnterBoolean(ctx *BooleanContext)
EnterBoolean is called when production boolean is entered.
func (*BaseTomlListener) EnterComment ¶
func (s *BaseTomlListener) EnterComment(ctx *CommentContext)
EnterComment is called when production comment is entered.
func (*BaseTomlListener) EnterCommentOrNl ¶
func (s *BaseTomlListener) EnterCommentOrNl(ctx *CommentOrNlContext)
EnterCommentOrNl is called when production commentOrNl is entered.
func (*BaseTomlListener) EnterDateTime ¶
func (s *BaseTomlListener) EnterDateTime(ctx *DateTimeContext)
EnterDateTime is called when production dateTime is entered.
func (*BaseTomlListener) EnterDocument ¶
func (s *BaseTomlListener) EnterDocument(ctx *DocumentContext)
EnterDocument is called when production document is entered.
func (*BaseTomlListener) EnterDottedKey ¶
func (s *BaseTomlListener) EnterDottedKey(ctx *DottedKeyContext)
EnterDottedKey is called when production dottedKey is entered.
func (*BaseTomlListener) EnterEveryRule ¶
func (s *BaseTomlListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseTomlListener) EnterExpression ¶
func (s *BaseTomlListener) EnterExpression(ctx *ExpressionContext)
EnterExpression is called when production expression is entered.
func (*BaseTomlListener) EnterFloatingPoint ¶
func (s *BaseTomlListener) EnterFloatingPoint(ctx *FloatingPointContext)
EnterFloatingPoint is called when production floatingPoint is entered.
func (*BaseTomlListener) EnterInlineTable ¶
func (s *BaseTomlListener) EnterInlineTable(ctx *InlineTableContext)
EnterInlineTable is called when production inlineTable is entered.
func (*BaseTomlListener) EnterInlineTableKeyvals ¶
func (s *BaseTomlListener) EnterInlineTableKeyvals(ctx *InlineTableKeyvalsContext)
EnterInlineTableKeyvals is called when production inlineTableKeyvals is entered.
func (*BaseTomlListener) EnterInlineTableKeyvalsNonEmpty ¶
func (s *BaseTomlListener) EnterInlineTableKeyvalsNonEmpty(ctx *InlineTableKeyvalsNonEmptyContext)
EnterInlineTableKeyvalsNonEmpty is called when production inlineTableKeyvalsNonEmpty is entered.
func (*BaseTomlListener) EnterInteger ¶
func (s *BaseTomlListener) EnterInteger(ctx *IntegerContext)
EnterInteger is called when production integer is entered.
func (*BaseTomlListener) EnterKey ¶
func (s *BaseTomlListener) EnterKey(ctx *KeyContext)
EnterKey is called when production key is entered.
func (*BaseTomlListener) EnterKeyValue ¶
func (s *BaseTomlListener) EnterKeyValue(ctx *KeyValueContext)
EnterKeyValue is called when production keyValue is entered.
func (*BaseTomlListener) EnterQuotedKey ¶
func (s *BaseTomlListener) EnterQuotedKey(ctx *QuotedKeyContext)
EnterQuotedKey is called when production quotedKey is entered.
func (*BaseTomlListener) EnterSimpleKey ¶
func (s *BaseTomlListener) EnterSimpleKey(ctx *SimpleKeyContext)
EnterSimpleKey is called when production simpleKey is entered.
func (*BaseTomlListener) EnterStandardTable ¶
func (s *BaseTomlListener) EnterStandardTable(ctx *StandardTableContext)
EnterStandardTable is called when production standardTable is entered.
func (*BaseTomlListener) EnterStringValue ¶
func (s *BaseTomlListener) EnterStringValue(ctx *StringValueContext)
EnterStringValue is called when production stringValue is entered.
func (*BaseTomlListener) EnterTable ¶
func (s *BaseTomlListener) EnterTable(ctx *TableContext)
EnterTable is called when production table is entered.
func (*BaseTomlListener) EnterUnquotedKey ¶
func (s *BaseTomlListener) EnterUnquotedKey(ctx *UnquotedKeyContext)
EnterUnquotedKey is called when production unquotedKey is entered.
func (*BaseTomlListener) EnterValue ¶
func (s *BaseTomlListener) EnterValue(ctx *ValueContext)
EnterValue is called when production value is entered.
func (*BaseTomlListener) ExitArray ¶
func (s *BaseTomlListener) ExitArray(ctx *ArrayContext)
ExitArray is called when production array is exited.
func (*BaseTomlListener) ExitArrayTable ¶
func (s *BaseTomlListener) ExitArrayTable(ctx *ArrayTableContext)
ExitArrayTable is called when production arrayTable is exited.
func (*BaseTomlListener) ExitArrayValues ¶
func (s *BaseTomlListener) ExitArrayValues(ctx *ArrayValuesContext)
ExitArrayValues is called when production arrayValues is exited.
func (*BaseTomlListener) ExitBoolean ¶
func (s *BaseTomlListener) ExitBoolean(ctx *BooleanContext)
ExitBoolean is called when production boolean is exited.
func (*BaseTomlListener) ExitComment ¶
func (s *BaseTomlListener) ExitComment(ctx *CommentContext)
ExitComment is called when production comment is exited.
func (*BaseTomlListener) ExitCommentOrNl ¶
func (s *BaseTomlListener) ExitCommentOrNl(ctx *CommentOrNlContext)
ExitCommentOrNl is called when production commentOrNl is exited.
func (*BaseTomlListener) ExitDateTime ¶
func (s *BaseTomlListener) ExitDateTime(ctx *DateTimeContext)
ExitDateTime is called when production dateTime is exited.
func (*BaseTomlListener) ExitDocument ¶
func (s *BaseTomlListener) ExitDocument(ctx *DocumentContext)
ExitDocument is called when production document is exited.
func (*BaseTomlListener) ExitDottedKey ¶
func (s *BaseTomlListener) ExitDottedKey(ctx *DottedKeyContext)
ExitDottedKey is called when production dottedKey is exited.
func (*BaseTomlListener) ExitEveryRule ¶
func (s *BaseTomlListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseTomlListener) ExitExpression ¶
func (s *BaseTomlListener) ExitExpression(ctx *ExpressionContext)
ExitExpression is called when production expression is exited.
func (*BaseTomlListener) ExitFloatingPoint ¶
func (s *BaseTomlListener) ExitFloatingPoint(ctx *FloatingPointContext)
ExitFloatingPoint is called when production floatingPoint is exited.
func (*BaseTomlListener) ExitInlineTable ¶
func (s *BaseTomlListener) ExitInlineTable(ctx *InlineTableContext)
ExitInlineTable is called when production inlineTable is exited.
func (*BaseTomlListener) ExitInlineTableKeyvals ¶
func (s *BaseTomlListener) ExitInlineTableKeyvals(ctx *InlineTableKeyvalsContext)
ExitInlineTableKeyvals is called when production inlineTableKeyvals is exited.
func (*BaseTomlListener) ExitInlineTableKeyvalsNonEmpty ¶
func (s *BaseTomlListener) ExitInlineTableKeyvalsNonEmpty(ctx *InlineTableKeyvalsNonEmptyContext)
ExitInlineTableKeyvalsNonEmpty is called when production inlineTableKeyvalsNonEmpty is exited.
func (*BaseTomlListener) ExitInteger ¶
func (s *BaseTomlListener) ExitInteger(ctx *IntegerContext)
ExitInteger is called when production integer is exited.
func (*BaseTomlListener) ExitKey ¶
func (s *BaseTomlListener) ExitKey(ctx *KeyContext)
ExitKey is called when production key is exited.
func (*BaseTomlListener) ExitKeyValue ¶
func (s *BaseTomlListener) ExitKeyValue(ctx *KeyValueContext)
ExitKeyValue is called when production keyValue is exited.
func (*BaseTomlListener) ExitQuotedKey ¶
func (s *BaseTomlListener) ExitQuotedKey(ctx *QuotedKeyContext)
ExitQuotedKey is called when production quotedKey is exited.
func (*BaseTomlListener) ExitSimpleKey ¶
func (s *BaseTomlListener) ExitSimpleKey(ctx *SimpleKeyContext)
ExitSimpleKey is called when production simpleKey is exited.
func (*BaseTomlListener) ExitStandardTable ¶
func (s *BaseTomlListener) ExitStandardTable(ctx *StandardTableContext)
ExitStandardTable is called when production standardTable is exited.
func (*BaseTomlListener) ExitStringValue ¶
func (s *BaseTomlListener) ExitStringValue(ctx *StringValueContext)
ExitStringValue is called when production stringValue is exited.
func (*BaseTomlListener) ExitTable ¶
func (s *BaseTomlListener) ExitTable(ctx *TableContext)
ExitTable is called when production table is exited.
func (*BaseTomlListener) ExitUnquotedKey ¶
func (s *BaseTomlListener) ExitUnquotedKey(ctx *UnquotedKeyContext)
ExitUnquotedKey is called when production unquotedKey is exited.
func (*BaseTomlListener) ExitValue ¶
func (s *BaseTomlListener) ExitValue(ctx *ValueContext)
ExitValue is called when production value is exited.
func (*BaseTomlListener) VisitErrorNode ¶
func (s *BaseTomlListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseTomlListener) VisitTerminal ¶
func (s *BaseTomlListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseTomlVisitor ¶
type BaseTomlVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseTomlVisitor) VisitArray ¶
func (v *BaseTomlVisitor) VisitArray(ctx *ArrayContext) any
func (*BaseTomlVisitor) VisitArrayTable ¶
func (v *BaseTomlVisitor) VisitArrayTable(ctx *ArrayTableContext) any
func (*BaseTomlVisitor) VisitArrayValues ¶
func (v *BaseTomlVisitor) VisitArrayValues(ctx *ArrayValuesContext) any
func (*BaseTomlVisitor) VisitBoolean ¶
func (v *BaseTomlVisitor) VisitBoolean(ctx *BooleanContext) any
func (*BaseTomlVisitor) VisitComment ¶
func (v *BaseTomlVisitor) VisitComment(ctx *CommentContext) any
func (*BaseTomlVisitor) VisitCommentOrNl ¶
func (v *BaseTomlVisitor) VisitCommentOrNl(ctx *CommentOrNlContext) any
func (*BaseTomlVisitor) VisitDateTime ¶
func (v *BaseTomlVisitor) VisitDateTime(ctx *DateTimeContext) any
func (*BaseTomlVisitor) VisitDocument ¶
func (v *BaseTomlVisitor) VisitDocument(ctx *DocumentContext) any
func (*BaseTomlVisitor) VisitDottedKey ¶
func (v *BaseTomlVisitor) VisitDottedKey(ctx *DottedKeyContext) any
func (*BaseTomlVisitor) VisitExpression ¶
func (v *BaseTomlVisitor) VisitExpression(ctx *ExpressionContext) any
func (*BaseTomlVisitor) VisitFloatingPoint ¶
func (v *BaseTomlVisitor) VisitFloatingPoint(ctx *FloatingPointContext) any
func (*BaseTomlVisitor) VisitInlineTable ¶
func (v *BaseTomlVisitor) VisitInlineTable(ctx *InlineTableContext) any
func (*BaseTomlVisitor) VisitInlineTableKeyvals ¶
func (v *BaseTomlVisitor) VisitInlineTableKeyvals(ctx *InlineTableKeyvalsContext) any
func (*BaseTomlVisitor) VisitInlineTableKeyvalsNonEmpty ¶
func (v *BaseTomlVisitor) VisitInlineTableKeyvalsNonEmpty(ctx *InlineTableKeyvalsNonEmptyContext) any
func (*BaseTomlVisitor) VisitInteger ¶
func (v *BaseTomlVisitor) VisitInteger(ctx *IntegerContext) any
func (*BaseTomlVisitor) VisitKey ¶
func (v *BaseTomlVisitor) VisitKey(ctx *KeyContext) any
func (*BaseTomlVisitor) VisitKeyValue ¶
func (v *BaseTomlVisitor) VisitKeyValue(ctx *KeyValueContext) any
func (*BaseTomlVisitor) VisitQuotedKey ¶
func (v *BaseTomlVisitor) VisitQuotedKey(ctx *QuotedKeyContext) any
func (*BaseTomlVisitor) VisitSimpleKey ¶
func (v *BaseTomlVisitor) VisitSimpleKey(ctx *SimpleKeyContext) any
func (*BaseTomlVisitor) VisitStandardTable ¶
func (v *BaseTomlVisitor) VisitStandardTable(ctx *StandardTableContext) any
func (*BaseTomlVisitor) VisitStringValue ¶
func (v *BaseTomlVisitor) VisitStringValue(ctx *StringValueContext) any
func (*BaseTomlVisitor) VisitTable ¶
func (v *BaseTomlVisitor) VisitTable(ctx *TableContext) any
func (*BaseTomlVisitor) VisitUnquotedKey ¶
func (v *BaseTomlVisitor) VisitUnquotedKey(ctx *UnquotedKeyContext) any
func (*BaseTomlVisitor) VisitValue ¶
func (v *BaseTomlVisitor) VisitValue(ctx *ValueContext) any
type BooleanContext ¶
type BooleanContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBooleanContext ¶
func NewBooleanContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanContext
func NewEmptyBooleanContext ¶
func NewEmptyBooleanContext() *BooleanContext
func (*BooleanContext) Accept ¶
func (s *BooleanContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*BooleanContext) BOOLEAN ¶
func (s *BooleanContext) BOOLEAN() antlr.TerminalNode
func (*BooleanContext) EnterRule ¶
func (s *BooleanContext) EnterRule(listener antlr.ParseTreeListener)
func (*BooleanContext) ExitRule ¶
func (s *BooleanContext) ExitRule(listener antlr.ParseTreeListener)
func (*BooleanContext) GetParser ¶
func (s *BooleanContext) GetParser() antlr.Parser
func (*BooleanContext) GetRuleContext ¶
func (s *BooleanContext) GetRuleContext() antlr.RuleContext
func (*BooleanContext) IsBooleanContext ¶
func (*BooleanContext) IsBooleanContext()
func (*BooleanContext) ToStringTree ¶
func (s *BooleanContext) 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) any
func (*CommentContext) COMMENT ¶
func (s *CommentContext) COMMENT() antlr.TerminalNode
func (*CommentContext) EnterRule ¶
func (s *CommentContext) EnterRule(listener antlr.ParseTreeListener)
func (*CommentContext) ExitRule ¶
func (s *CommentContext) ExitRule(listener antlr.ParseTreeListener)
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 CommentOrNlContext ¶
type CommentOrNlContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommentOrNlContext ¶
func NewCommentOrNlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommentOrNlContext
func NewEmptyCommentOrNlContext ¶
func NewEmptyCommentOrNlContext() *CommentOrNlContext
func (*CommentOrNlContext) Accept ¶
func (s *CommentOrNlContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*CommentOrNlContext) AllCOMMENT ¶
func (s *CommentOrNlContext) AllCOMMENT() []antlr.TerminalNode
func (*CommentOrNlContext) AllNL ¶
func (s *CommentOrNlContext) AllNL() []antlr.TerminalNode
func (*CommentOrNlContext) COMMENT ¶
func (s *CommentOrNlContext) COMMENT(i int) antlr.TerminalNode
func (*CommentOrNlContext) EnterRule ¶
func (s *CommentOrNlContext) EnterRule(listener antlr.ParseTreeListener)
func (*CommentOrNlContext) ExitRule ¶
func (s *CommentOrNlContext) ExitRule(listener antlr.ParseTreeListener)
func (*CommentOrNlContext) GetParser ¶
func (s *CommentOrNlContext) GetParser() antlr.Parser
func (*CommentOrNlContext) GetRuleContext ¶
func (s *CommentOrNlContext) GetRuleContext() antlr.RuleContext
func (*CommentOrNlContext) IsCommentOrNlContext ¶
func (*CommentOrNlContext) IsCommentOrNlContext()
func (*CommentOrNlContext) NL ¶
func (s *CommentOrNlContext) NL(i int) antlr.TerminalNode
func (*CommentOrNlContext) ToStringTree ¶
func (s *CommentOrNlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DateTimeContext ¶
type DateTimeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDateTimeContext ¶
func NewDateTimeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DateTimeContext
func NewEmptyDateTimeContext ¶
func NewEmptyDateTimeContext() *DateTimeContext
func (*DateTimeContext) Accept ¶
func (s *DateTimeContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*DateTimeContext) EnterRule ¶
func (s *DateTimeContext) EnterRule(listener antlr.ParseTreeListener)
func (*DateTimeContext) ExitRule ¶
func (s *DateTimeContext) ExitRule(listener antlr.ParseTreeListener)
func (*DateTimeContext) GetParser ¶
func (s *DateTimeContext) GetParser() antlr.Parser
func (*DateTimeContext) GetRuleContext ¶
func (s *DateTimeContext) GetRuleContext() antlr.RuleContext
func (*DateTimeContext) IsDateTimeContext ¶
func (*DateTimeContext) IsDateTimeContext()
func (*DateTimeContext) LOCAL_DATE ¶
func (s *DateTimeContext) LOCAL_DATE() antlr.TerminalNode
func (*DateTimeContext) LOCAL_DATE_TIME ¶
func (s *DateTimeContext) LOCAL_DATE_TIME() antlr.TerminalNode
func (*DateTimeContext) LOCAL_TIME ¶
func (s *DateTimeContext) LOCAL_TIME() antlr.TerminalNode
func (*DateTimeContext) OFFSET_DATE_TIME ¶
func (s *DateTimeContext) OFFSET_DATE_TIME() antlr.TerminalNode
func (*DateTimeContext) ToStringTree ¶
func (s *DateTimeContext) 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) any
func (*DocumentContext) AllExpression ¶
func (s *DocumentContext) AllExpression() []IExpressionContext
func (*DocumentContext) AllNL ¶
func (s *DocumentContext) AllNL() []antlr.TerminalNode
func (*DocumentContext) EnterRule ¶
func (s *DocumentContext) EnterRule(listener antlr.ParseTreeListener)
func (*DocumentContext) ExitRule ¶
func (s *DocumentContext) ExitRule(listener antlr.ParseTreeListener)
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 DottedKeyContext ¶
type DottedKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDottedKeyContext ¶
func NewDottedKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DottedKeyContext
func NewEmptyDottedKeyContext ¶
func NewEmptyDottedKeyContext() *DottedKeyContext
func (*DottedKeyContext) Accept ¶
func (s *DottedKeyContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*DottedKeyContext) AllSimpleKey ¶
func (s *DottedKeyContext) AllSimpleKey() []ISimpleKeyContext
func (*DottedKeyContext) EnterRule ¶
func (s *DottedKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*DottedKeyContext) ExitRule ¶
func (s *DottedKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*DottedKeyContext) GetParser ¶
func (s *DottedKeyContext) GetParser() antlr.Parser
func (*DottedKeyContext) GetRuleContext ¶
func (s *DottedKeyContext) GetRuleContext() antlr.RuleContext
func (*DottedKeyContext) IsDottedKeyContext ¶
func (*DottedKeyContext) IsDottedKeyContext()
func (*DottedKeyContext) SimpleKey ¶
func (s *DottedKeyContext) SimpleKey(i int) ISimpleKeyContext
func (*DottedKeyContext) ToStringTree ¶
func (s *DottedKeyContext) 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) any
func (*ExpressionContext) Comment ¶
func (s *ExpressionContext) Comment() ICommentContext
func (*ExpressionContext) EnterRule ¶
func (s *ExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExpressionContext) ExitRule ¶
func (s *ExpressionContext) ExitRule(listener antlr.ParseTreeListener)
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) KeyValue ¶
func (s *ExpressionContext) KeyValue() IKeyValueContext
func (*ExpressionContext) Table ¶
func (s *ExpressionContext) Table() ITableContext
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FloatingPointContext ¶
type FloatingPointContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFloatingPointContext ¶
func NewEmptyFloatingPointContext() *FloatingPointContext
func NewFloatingPointContext ¶
func NewFloatingPointContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FloatingPointContext
func (*FloatingPointContext) Accept ¶
func (s *FloatingPointContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*FloatingPointContext) EnterRule ¶
func (s *FloatingPointContext) EnterRule(listener antlr.ParseTreeListener)
func (*FloatingPointContext) ExitRule ¶
func (s *FloatingPointContext) ExitRule(listener antlr.ParseTreeListener)
func (*FloatingPointContext) FLOAT ¶
func (s *FloatingPointContext) FLOAT() antlr.TerminalNode
func (*FloatingPointContext) GetParser ¶
func (s *FloatingPointContext) GetParser() antlr.Parser
func (*FloatingPointContext) GetRuleContext ¶
func (s *FloatingPointContext) GetRuleContext() antlr.RuleContext
func (*FloatingPointContext) INF ¶
func (s *FloatingPointContext) INF() antlr.TerminalNode
func (*FloatingPointContext) IsFloatingPointContext ¶
func (*FloatingPointContext) IsFloatingPointContext()
func (*FloatingPointContext) NAN ¶
func (s *FloatingPointContext) NAN() antlr.TerminalNode
func (*FloatingPointContext) ToStringTree ¶
func (s *FloatingPointContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IArrayContext ¶
type IArrayContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures CommentOrNl() ICommentOrNlContext ArrayValues() IArrayValuesContext // IsArrayContext differentiates from other interfaces. IsArrayContext() }
IArrayContext is an interface to support dynamic dispatch.
type IArrayTableContext ¶
type IArrayTableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Key() IKeyContext // IsArrayTableContext differentiates from other interfaces. IsArrayTableContext() }
IArrayTableContext is an interface to support dynamic dispatch.
type IArrayValuesContext ¶
type IArrayValuesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllCommentOrNl() []ICommentOrNlContext CommentOrNl(i int) ICommentOrNlContext Value() IValueContext ArrayValues() IArrayValuesContext // IsArrayValuesContext differentiates from other interfaces. IsArrayValuesContext() }
IArrayValuesContext is an interface to support dynamic dispatch.
type IBooleanContext ¶
type IBooleanContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BOOLEAN() antlr.TerminalNode // IsBooleanContext differentiates from other interfaces. IsBooleanContext() }
IBooleanContext is an interface to support dynamic dispatch.
type ICommentContext ¶
type ICommentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures COMMENT() antlr.TerminalNode // IsCommentContext differentiates from other interfaces. IsCommentContext() }
ICommentContext is an interface to support dynamic dispatch.
type ICommentOrNlContext ¶
type ICommentOrNlContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllNL() []antlr.TerminalNode NL(i int) antlr.TerminalNode AllCOMMENT() []antlr.TerminalNode COMMENT(i int) antlr.TerminalNode // IsCommentOrNlContext differentiates from other interfaces. IsCommentOrNlContext() }
ICommentOrNlContext is an interface to support dynamic dispatch.
type IDateTimeContext ¶
type IDateTimeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures OFFSET_DATE_TIME() antlr.TerminalNode LOCAL_DATE_TIME() antlr.TerminalNode LOCAL_DATE() antlr.TerminalNode LOCAL_TIME() antlr.TerminalNode // IsDateTimeContext differentiates from other interfaces. IsDateTimeContext() }
IDateTimeContext is an interface to support dynamic dispatch.
type IDocumentContext ¶
type IDocumentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllExpression() []IExpressionContext Expression(i int) IExpressionContext AllNL() []antlr.TerminalNode NL(i int) antlr.TerminalNode // IsDocumentContext differentiates from other interfaces. IsDocumentContext() }
IDocumentContext is an interface to support dynamic dispatch.
type IDottedKeyContext ¶
type IDottedKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllSimpleKey() []ISimpleKeyContext SimpleKey(i int) ISimpleKeyContext // IsDottedKeyContext differentiates from other interfaces. IsDottedKeyContext() }
IDottedKeyContext is an interface to support dynamic dispatch.
type IExpressionContext ¶
type IExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures KeyValue() IKeyValueContext Comment() ICommentContext Table() ITableContext // IsExpressionContext differentiates from other interfaces. IsExpressionContext() }
IExpressionContext is an interface to support dynamic dispatch.
type IFloatingPointContext ¶
type IFloatingPointContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures FLOAT() antlr.TerminalNode INF() antlr.TerminalNode NAN() antlr.TerminalNode // IsFloatingPointContext differentiates from other interfaces. IsFloatingPointContext() }
IFloatingPointContext is an interface to support dynamic dispatch.
type IInlineTableContext ¶
type IInlineTableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures InlineTableKeyvals() IInlineTableKeyvalsContext // IsInlineTableContext differentiates from other interfaces. IsInlineTableContext() }
IInlineTableContext is an interface to support dynamic dispatch.
type IInlineTableKeyvalsContext ¶
type IInlineTableKeyvalsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures InlineTableKeyvalsNonEmpty() IInlineTableKeyvalsNonEmptyContext // IsInlineTableKeyvalsContext differentiates from other interfaces. IsInlineTableKeyvalsContext() }
IInlineTableKeyvalsContext is an interface to support dynamic dispatch.
type IInlineTableKeyvalsNonEmptyContext ¶
type IInlineTableKeyvalsNonEmptyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Key() IKeyContext Value() IValueContext InlineTableKeyvalsNonEmpty() IInlineTableKeyvalsNonEmptyContext // IsInlineTableKeyvalsNonEmptyContext differentiates from other interfaces. IsInlineTableKeyvalsNonEmptyContext() }
IInlineTableKeyvalsNonEmptyContext is an interface to support dynamic dispatch.
type IIntegerContext ¶
type IIntegerContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures DEC_INT() antlr.TerminalNode HEX_INT() antlr.TerminalNode OCT_INT() antlr.TerminalNode BIN_INT() antlr.TerminalNode // 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 // Getter signatures SimpleKey() ISimpleKeyContext DottedKey() IDottedKeyContext // IsKeyContext differentiates from other interfaces. IsKeyContext() }
IKeyContext is an interface to support dynamic dispatch.
type IKeyValueContext ¶
type IKeyValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Key() IKeyContext Value() IValueContext // IsKeyValueContext differentiates from other interfaces. IsKeyValueContext() }
IKeyValueContext is an interface to support dynamic dispatch.
type IQuotedKeyContext ¶
type IQuotedKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BASIC_STRING() antlr.TerminalNode LITERAL_STRING() antlr.TerminalNode // IsQuotedKeyContext differentiates from other interfaces. IsQuotedKeyContext() }
IQuotedKeyContext is an interface to support dynamic dispatch.
type ISimpleKeyContext ¶
type ISimpleKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures QuotedKey() IQuotedKeyContext UnquotedKey() IUnquotedKeyContext // IsSimpleKeyContext differentiates from other interfaces. IsSimpleKeyContext() }
ISimpleKeyContext is an interface to support dynamic dispatch.
type IStandardTableContext ¶
type IStandardTableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Key() IKeyContext // IsStandardTableContext differentiates from other interfaces. IsStandardTableContext() }
IStandardTableContext is an interface to support dynamic dispatch.
type IStringValueContext ¶
type IStringValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BASIC_STRING() antlr.TerminalNode ML_BASIC_STRING() antlr.TerminalNode LITERAL_STRING() antlr.TerminalNode ML_LITERAL_STRING() antlr.TerminalNode // IsStringValueContext differentiates from other interfaces. IsStringValueContext() }
IStringValueContext is an interface to support dynamic dispatch.
type ITableContext ¶
type ITableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures StandardTable() IStandardTableContext ArrayTable() IArrayTableContext // IsTableContext differentiates from other interfaces. IsTableContext() }
ITableContext is an interface to support dynamic dispatch.
type IUnquotedKeyContext ¶
type IUnquotedKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures UNQUOTED_KEY() antlr.TerminalNode // IsUnquotedKeyContext differentiates from other interfaces. IsUnquotedKeyContext() }
IUnquotedKeyContext is an interface to support dynamic dispatch.
type IValueContext ¶
type IValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures StringValue() IStringValueContext Integer() IIntegerContext FloatingPoint() IFloatingPointContext Boolean() IBooleanContext DateTime() IDateTimeContext Array() IArrayContext InlineTable() IInlineTableContext // IsValueContext differentiates from other interfaces. IsValueContext() }
IValueContext is an interface to support dynamic dispatch.
type InlineTableContext ¶
type InlineTableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInlineTableContext ¶
func NewEmptyInlineTableContext() *InlineTableContext
func NewInlineTableContext ¶
func NewInlineTableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InlineTableContext
func (*InlineTableContext) Accept ¶
func (s *InlineTableContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*InlineTableContext) EnterRule ¶
func (s *InlineTableContext) EnterRule(listener antlr.ParseTreeListener)
func (*InlineTableContext) ExitRule ¶
func (s *InlineTableContext) ExitRule(listener antlr.ParseTreeListener)
func (*InlineTableContext) GetParser ¶
func (s *InlineTableContext) GetParser() antlr.Parser
func (*InlineTableContext) GetRuleContext ¶
func (s *InlineTableContext) GetRuleContext() antlr.RuleContext
func (*InlineTableContext) InlineTableKeyvals ¶
func (s *InlineTableContext) InlineTableKeyvals() IInlineTableKeyvalsContext
func (*InlineTableContext) IsInlineTableContext ¶
func (*InlineTableContext) IsInlineTableContext()
func (*InlineTableContext) ToStringTree ¶
func (s *InlineTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type InlineTableKeyvalsContext ¶
type InlineTableKeyvalsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInlineTableKeyvalsContext ¶
func NewEmptyInlineTableKeyvalsContext() *InlineTableKeyvalsContext
func NewInlineTableKeyvalsContext ¶
func NewInlineTableKeyvalsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InlineTableKeyvalsContext
func (*InlineTableKeyvalsContext) Accept ¶
func (s *InlineTableKeyvalsContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*InlineTableKeyvalsContext) EnterRule ¶
func (s *InlineTableKeyvalsContext) EnterRule(listener antlr.ParseTreeListener)
func (*InlineTableKeyvalsContext) ExitRule ¶
func (s *InlineTableKeyvalsContext) ExitRule(listener antlr.ParseTreeListener)
func (*InlineTableKeyvalsContext) GetParser ¶
func (s *InlineTableKeyvalsContext) GetParser() antlr.Parser
func (*InlineTableKeyvalsContext) GetRuleContext ¶
func (s *InlineTableKeyvalsContext) GetRuleContext() antlr.RuleContext
func (*InlineTableKeyvalsContext) InlineTableKeyvalsNonEmpty ¶
func (s *InlineTableKeyvalsContext) InlineTableKeyvalsNonEmpty() IInlineTableKeyvalsNonEmptyContext
func (*InlineTableKeyvalsContext) IsInlineTableKeyvalsContext ¶
func (*InlineTableKeyvalsContext) IsInlineTableKeyvalsContext()
func (*InlineTableKeyvalsContext) ToStringTree ¶
func (s *InlineTableKeyvalsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type InlineTableKeyvalsNonEmptyContext ¶
type InlineTableKeyvalsNonEmptyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInlineTableKeyvalsNonEmptyContext ¶
func NewEmptyInlineTableKeyvalsNonEmptyContext() *InlineTableKeyvalsNonEmptyContext
func NewInlineTableKeyvalsNonEmptyContext ¶
func NewInlineTableKeyvalsNonEmptyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InlineTableKeyvalsNonEmptyContext
func (*InlineTableKeyvalsNonEmptyContext) Accept ¶
func (s *InlineTableKeyvalsNonEmptyContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*InlineTableKeyvalsNonEmptyContext) EnterRule ¶
func (s *InlineTableKeyvalsNonEmptyContext) EnterRule(listener antlr.ParseTreeListener)
func (*InlineTableKeyvalsNonEmptyContext) ExitRule ¶
func (s *InlineTableKeyvalsNonEmptyContext) ExitRule(listener antlr.ParseTreeListener)
func (*InlineTableKeyvalsNonEmptyContext) GetParser ¶
func (s *InlineTableKeyvalsNonEmptyContext) GetParser() antlr.Parser
func (*InlineTableKeyvalsNonEmptyContext) GetRuleContext ¶
func (s *InlineTableKeyvalsNonEmptyContext) GetRuleContext() antlr.RuleContext
func (*InlineTableKeyvalsNonEmptyContext) InlineTableKeyvalsNonEmpty ¶
func (s *InlineTableKeyvalsNonEmptyContext) InlineTableKeyvalsNonEmpty() IInlineTableKeyvalsNonEmptyContext
func (*InlineTableKeyvalsNonEmptyContext) IsInlineTableKeyvalsNonEmptyContext ¶
func (*InlineTableKeyvalsNonEmptyContext) IsInlineTableKeyvalsNonEmptyContext()
func (*InlineTableKeyvalsNonEmptyContext) Key ¶
func (s *InlineTableKeyvalsNonEmptyContext) Key() IKeyContext
func (*InlineTableKeyvalsNonEmptyContext) ToStringTree ¶
func (s *InlineTableKeyvalsNonEmptyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*InlineTableKeyvalsNonEmptyContext) Value ¶
func (s *InlineTableKeyvalsNonEmptyContext) 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) any
func (*IntegerContext) BIN_INT ¶
func (s *IntegerContext) BIN_INT() antlr.TerminalNode
func (*IntegerContext) DEC_INT ¶
func (s *IntegerContext) DEC_INT() antlr.TerminalNode
func (*IntegerContext) EnterRule ¶
func (s *IntegerContext) EnterRule(listener antlr.ParseTreeListener)
func (*IntegerContext) ExitRule ¶
func (s *IntegerContext) ExitRule(listener antlr.ParseTreeListener)
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) any
func (*KeyContext) DottedKey ¶
func (s *KeyContext) DottedKey() IDottedKeyContext
func (*KeyContext) EnterRule ¶
func (s *KeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*KeyContext) ExitRule ¶
func (s *KeyContext) ExitRule(listener antlr.ParseTreeListener)
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) SimpleKey ¶
func (s *KeyContext) SimpleKey() ISimpleKeyContext
func (*KeyContext) ToStringTree ¶
func (s *KeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type KeyValueContext ¶
type KeyValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKeyValueContext ¶
func NewEmptyKeyValueContext() *KeyValueContext
func NewKeyValueContext ¶
func NewKeyValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeyValueContext
func (*KeyValueContext) Accept ¶
func (s *KeyValueContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*KeyValueContext) EnterRule ¶
func (s *KeyValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*KeyValueContext) ExitRule ¶
func (s *KeyValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*KeyValueContext) GetParser ¶
func (s *KeyValueContext) GetParser() antlr.Parser
func (*KeyValueContext) GetRuleContext ¶
func (s *KeyValueContext) GetRuleContext() antlr.RuleContext
func (*KeyValueContext) IsKeyValueContext ¶
func (*KeyValueContext) IsKeyValueContext()
func (*KeyValueContext) Key ¶
func (s *KeyValueContext) Key() IKeyContext
func (*KeyValueContext) ToStringTree ¶
func (s *KeyValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*KeyValueContext) Value ¶
func (s *KeyValueContext) Value() IValueContext
type QuotedKeyContext ¶
type QuotedKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQuotedKeyContext ¶
func NewEmptyQuotedKeyContext() *QuotedKeyContext
func NewQuotedKeyContext ¶
func NewQuotedKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuotedKeyContext
func (*QuotedKeyContext) Accept ¶
func (s *QuotedKeyContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*QuotedKeyContext) BASIC_STRING ¶
func (s *QuotedKeyContext) BASIC_STRING() antlr.TerminalNode
func (*QuotedKeyContext) EnterRule ¶
func (s *QuotedKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*QuotedKeyContext) ExitRule ¶
func (s *QuotedKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*QuotedKeyContext) GetParser ¶
func (s *QuotedKeyContext) GetParser() antlr.Parser
func (*QuotedKeyContext) GetRuleContext ¶
func (s *QuotedKeyContext) GetRuleContext() antlr.RuleContext
func (*QuotedKeyContext) IsQuotedKeyContext ¶
func (*QuotedKeyContext) IsQuotedKeyContext()
func (*QuotedKeyContext) LITERAL_STRING ¶
func (s *QuotedKeyContext) LITERAL_STRING() antlr.TerminalNode
func (*QuotedKeyContext) ToStringTree ¶
func (s *QuotedKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SimpleKeyContext ¶
type SimpleKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimpleKeyContext ¶
func NewEmptySimpleKeyContext() *SimpleKeyContext
func NewSimpleKeyContext ¶
func NewSimpleKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleKeyContext
func (*SimpleKeyContext) Accept ¶
func (s *SimpleKeyContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*SimpleKeyContext) EnterRule ¶
func (s *SimpleKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*SimpleKeyContext) ExitRule ¶
func (s *SimpleKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*SimpleKeyContext) GetParser ¶
func (s *SimpleKeyContext) GetParser() antlr.Parser
func (*SimpleKeyContext) GetRuleContext ¶
func (s *SimpleKeyContext) GetRuleContext() antlr.RuleContext
func (*SimpleKeyContext) IsSimpleKeyContext ¶
func (*SimpleKeyContext) IsSimpleKeyContext()
func (*SimpleKeyContext) QuotedKey ¶
func (s *SimpleKeyContext) QuotedKey() IQuotedKeyContext
func (*SimpleKeyContext) ToStringTree ¶
func (s *SimpleKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SimpleKeyContext) UnquotedKey ¶
func (s *SimpleKeyContext) UnquotedKey() IUnquotedKeyContext
type StandardTableContext ¶
type StandardTableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStandardTableContext ¶
func NewEmptyStandardTableContext() *StandardTableContext
func NewStandardTableContext ¶
func NewStandardTableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StandardTableContext
func (*StandardTableContext) Accept ¶
func (s *StandardTableContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*StandardTableContext) EnterRule ¶
func (s *StandardTableContext) EnterRule(listener antlr.ParseTreeListener)
func (*StandardTableContext) ExitRule ¶
func (s *StandardTableContext) ExitRule(listener antlr.ParseTreeListener)
func (*StandardTableContext) GetParser ¶
func (s *StandardTableContext) GetParser() antlr.Parser
func (*StandardTableContext) GetRuleContext ¶
func (s *StandardTableContext) GetRuleContext() antlr.RuleContext
func (*StandardTableContext) IsStandardTableContext ¶
func (*StandardTableContext) IsStandardTableContext()
func (*StandardTableContext) Key ¶
func (s *StandardTableContext) Key() IKeyContext
func (*StandardTableContext) ToStringTree ¶
func (s *StandardTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StringValueContext ¶
type StringValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStringValueContext ¶
func NewEmptyStringValueContext() *StringValueContext
func NewStringValueContext ¶
func NewStringValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringValueContext
func (*StringValueContext) Accept ¶
func (s *StringValueContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*StringValueContext) BASIC_STRING ¶
func (s *StringValueContext) BASIC_STRING() antlr.TerminalNode
func (*StringValueContext) EnterRule ¶
func (s *StringValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*StringValueContext) ExitRule ¶
func (s *StringValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*StringValueContext) GetParser ¶
func (s *StringValueContext) GetParser() antlr.Parser
func (*StringValueContext) GetRuleContext ¶
func (s *StringValueContext) GetRuleContext() antlr.RuleContext
func (*StringValueContext) IsStringValueContext ¶
func (*StringValueContext) IsStringValueContext()
func (*StringValueContext) LITERAL_STRING ¶
func (s *StringValueContext) LITERAL_STRING() antlr.TerminalNode
func (*StringValueContext) ML_BASIC_STRING ¶
func (s *StringValueContext) ML_BASIC_STRING() antlr.TerminalNode
func (*StringValueContext) ML_LITERAL_STRING ¶
func (s *StringValueContext) ML_LITERAL_STRING() antlr.TerminalNode
func (*StringValueContext) ToStringTree ¶
func (s *StringValueContext) 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) any
func (*TableContext) ArrayTable ¶
func (s *TableContext) ArrayTable() IArrayTableContext
func (*TableContext) EnterRule ¶
func (s *TableContext) EnterRule(listener antlr.ParseTreeListener)
func (*TableContext) ExitRule ¶
func (s *TableContext) ExitRule(listener antlr.ParseTreeListener)
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) StandardTable ¶
func (s *TableContext) StandardTable() IStandardTableContext
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.
type TomlListener ¶
type TomlListener interface { antlr.ParseTreeListener // EnterDocument is called when entering the document production. EnterDocument(c *DocumentContext) // EnterExpression is called when entering the expression production. EnterExpression(c *ExpressionContext) // EnterComment is called when entering the comment production. EnterComment(c *CommentContext) // EnterKeyValue is called when entering the keyValue production. EnterKeyValue(c *KeyValueContext) // EnterKey is called when entering the key production. EnterKey(c *KeyContext) // EnterSimpleKey is called when entering the simpleKey production. EnterSimpleKey(c *SimpleKeyContext) // EnterUnquotedKey is called when entering the unquotedKey production. EnterUnquotedKey(c *UnquotedKeyContext) // EnterQuotedKey is called when entering the quotedKey production. EnterQuotedKey(c *QuotedKeyContext) // EnterDottedKey is called when entering the dottedKey production. EnterDottedKey(c *DottedKeyContext) // EnterValue is called when entering the value production. EnterValue(c *ValueContext) // EnterStringValue is called when entering the stringValue production. EnterStringValue(c *StringValueContext) // EnterInteger is called when entering the integer production. EnterInteger(c *IntegerContext) // EnterFloatingPoint is called when entering the floatingPoint production. EnterFloatingPoint(c *FloatingPointContext) // EnterBoolean is called when entering the boolean production. EnterBoolean(c *BooleanContext) // EnterDateTime is called when entering the dateTime production. EnterDateTime(c *DateTimeContext) // EnterArray is called when entering the array production. EnterArray(c *ArrayContext) // EnterArrayValues is called when entering the arrayValues production. EnterArrayValues(c *ArrayValuesContext) // EnterCommentOrNl is called when entering the commentOrNl production. EnterCommentOrNl(c *CommentOrNlContext) // EnterTable is called when entering the table production. EnterTable(c *TableContext) // EnterStandardTable is called when entering the standardTable production. EnterStandardTable(c *StandardTableContext) // EnterInlineTable is called when entering the inlineTable production. EnterInlineTable(c *InlineTableContext) // EnterInlineTableKeyvals is called when entering the inlineTableKeyvals production. EnterInlineTableKeyvals(c *InlineTableKeyvalsContext) // EnterInlineTableKeyvalsNonEmpty is called when entering the inlineTableKeyvalsNonEmpty production. EnterInlineTableKeyvalsNonEmpty(c *InlineTableKeyvalsNonEmptyContext) // EnterArrayTable is called when entering the arrayTable production. EnterArrayTable(c *ArrayTableContext) // ExitDocument is called when exiting the document production. ExitDocument(c *DocumentContext) // ExitExpression is called when exiting the expression production. ExitExpression(c *ExpressionContext) // ExitComment is called when exiting the comment production. ExitComment(c *CommentContext) // ExitKeyValue is called when exiting the keyValue production. ExitKeyValue(c *KeyValueContext) // ExitKey is called when exiting the key production. ExitKey(c *KeyContext) // ExitSimpleKey is called when exiting the simpleKey production. ExitSimpleKey(c *SimpleKeyContext) // ExitUnquotedKey is called when exiting the unquotedKey production. ExitUnquotedKey(c *UnquotedKeyContext) // ExitQuotedKey is called when exiting the quotedKey production. ExitQuotedKey(c *QuotedKeyContext) // ExitDottedKey is called when exiting the dottedKey production. ExitDottedKey(c *DottedKeyContext) // ExitValue is called when exiting the value production. ExitValue(c *ValueContext) // ExitStringValue is called when exiting the stringValue production. ExitStringValue(c *StringValueContext) // ExitInteger is called when exiting the integer production. ExitInteger(c *IntegerContext) // ExitFloatingPoint is called when exiting the floatingPoint production. ExitFloatingPoint(c *FloatingPointContext) // ExitBoolean is called when exiting the boolean production. ExitBoolean(c *BooleanContext) // ExitDateTime is called when exiting the dateTime production. ExitDateTime(c *DateTimeContext) // ExitArray is called when exiting the array production. ExitArray(c *ArrayContext) // ExitArrayValues is called when exiting the arrayValues production. ExitArrayValues(c *ArrayValuesContext) // ExitCommentOrNl is called when exiting the commentOrNl production. ExitCommentOrNl(c *CommentOrNlContext) // ExitTable is called when exiting the table production. ExitTable(c *TableContext) // ExitStandardTable is called when exiting the standardTable production. ExitStandardTable(c *StandardTableContext) // ExitInlineTable is called when exiting the inlineTable production. ExitInlineTable(c *InlineTableContext) // ExitInlineTableKeyvals is called when exiting the inlineTableKeyvals production. ExitInlineTableKeyvals(c *InlineTableKeyvalsContext) // ExitInlineTableKeyvalsNonEmpty is called when exiting the inlineTableKeyvalsNonEmpty production. ExitInlineTableKeyvalsNonEmpty(c *InlineTableKeyvalsNonEmptyContext) // ExitArrayTable is called when exiting the arrayTable production. ExitArrayTable(c *ArrayTableContext) }
TomlListener is a complete listener for a parse tree produced by TomlParser.
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.
func (*TomlParser) Array ¶
func (p *TomlParser) Array() (localctx IArrayContext)
func (*TomlParser) ArrayTable ¶
func (p *TomlParser) ArrayTable() (localctx IArrayTableContext)
func (*TomlParser) ArrayValues ¶
func (p *TomlParser) ArrayValues() (localctx IArrayValuesContext)
func (*TomlParser) Boolean ¶
func (p *TomlParser) Boolean() (localctx IBooleanContext)
func (*TomlParser) Comment ¶
func (p *TomlParser) Comment() (localctx ICommentContext)
func (*TomlParser) CommentOrNl ¶
func (p *TomlParser) CommentOrNl() (localctx ICommentOrNlContext)
func (*TomlParser) DateTime ¶
func (p *TomlParser) DateTime() (localctx IDateTimeContext)
func (*TomlParser) Document ¶
func (p *TomlParser) Document() (localctx IDocumentContext)
func (*TomlParser) DottedKey ¶
func (p *TomlParser) DottedKey() (localctx IDottedKeyContext)
func (*TomlParser) Expression ¶
func (p *TomlParser) Expression() (localctx IExpressionContext)
func (*TomlParser) FloatingPoint ¶
func (p *TomlParser) FloatingPoint() (localctx IFloatingPointContext)
func (*TomlParser) InlineTable ¶
func (p *TomlParser) InlineTable() (localctx IInlineTableContext)
func (*TomlParser) InlineTableKeyvals ¶
func (p *TomlParser) InlineTableKeyvals() (localctx IInlineTableKeyvalsContext)
func (*TomlParser) InlineTableKeyvalsNonEmpty ¶
func (p *TomlParser) InlineTableKeyvalsNonEmpty() (localctx IInlineTableKeyvalsNonEmptyContext)
func (*TomlParser) Integer ¶
func (p *TomlParser) Integer() (localctx IIntegerContext)
func (*TomlParser) Key ¶
func (p *TomlParser) Key() (localctx IKeyContext)
func (*TomlParser) KeyValue ¶
func (p *TomlParser) KeyValue() (localctx IKeyValueContext)
func (*TomlParser) QuotedKey ¶
func (p *TomlParser) QuotedKey() (localctx IQuotedKeyContext)
func (*TomlParser) SimpleKey ¶
func (p *TomlParser) SimpleKey() (localctx ISimpleKeyContext)
func (*TomlParser) StandardTable ¶
func (p *TomlParser) StandardTable() (localctx IStandardTableContext)
func (*TomlParser) StringValue ¶
func (p *TomlParser) StringValue() (localctx IStringValueContext)
func (*TomlParser) Table ¶
func (p *TomlParser) Table() (localctx ITableContext)
func (*TomlParser) UnquotedKey ¶
func (p *TomlParser) UnquotedKey() (localctx IUnquotedKeyContext)
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) any // Visit a parse tree produced by TomlParser#expression. VisitExpression(ctx *ExpressionContext) any // Visit a parse tree produced by TomlParser#comment. VisitComment(ctx *CommentContext) any // Visit a parse tree produced by TomlParser#keyValue. VisitKeyValue(ctx *KeyValueContext) any // Visit a parse tree produced by TomlParser#key. VisitKey(ctx *KeyContext) any // Visit a parse tree produced by TomlParser#simpleKey. VisitSimpleKey(ctx *SimpleKeyContext) any // Visit a parse tree produced by TomlParser#unquotedKey. VisitUnquotedKey(ctx *UnquotedKeyContext) any // Visit a parse tree produced by TomlParser#quotedKey. VisitQuotedKey(ctx *QuotedKeyContext) any // Visit a parse tree produced by TomlParser#dottedKey. VisitDottedKey(ctx *DottedKeyContext) any // Visit a parse tree produced by TomlParser#value. VisitValue(ctx *ValueContext) any // Visit a parse tree produced by TomlParser#stringValue. VisitStringValue(ctx *StringValueContext) any // Visit a parse tree produced by TomlParser#integer. VisitInteger(ctx *IntegerContext) any // Visit a parse tree produced by TomlParser#floatingPoint. VisitFloatingPoint(ctx *FloatingPointContext) any // Visit a parse tree produced by TomlParser#boolean. VisitBoolean(ctx *BooleanContext) any // Visit a parse tree produced by TomlParser#dateTime. VisitDateTime(ctx *DateTimeContext) any // Visit a parse tree produced by TomlParser#array. VisitArray(ctx *ArrayContext) any // Visit a parse tree produced by TomlParser#arrayValues. VisitArrayValues(ctx *ArrayValuesContext) any // Visit a parse tree produced by TomlParser#commentOrNl. VisitCommentOrNl(ctx *CommentOrNlContext) any // Visit a parse tree produced by TomlParser#table. VisitTable(ctx *TableContext) any // Visit a parse tree produced by TomlParser#standardTable. VisitStandardTable(ctx *StandardTableContext) any // Visit a parse tree produced by TomlParser#inlineTable. VisitInlineTable(ctx *InlineTableContext) any // Visit a parse tree produced by TomlParser#inlineTableKeyvals. VisitInlineTableKeyvals(ctx *InlineTableKeyvalsContext) any // Visit a parse tree produced by TomlParser#inlineTableKeyvalsNonEmpty. VisitInlineTableKeyvalsNonEmpty(ctx *InlineTableKeyvalsNonEmptyContext) any // Visit a parse tree produced by TomlParser#arrayTable. VisitArrayTable(ctx *ArrayTableContext) any }
A complete Visitor for a parse tree produced by TomlParser.
type UnquotedKeyContext ¶
type UnquotedKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnquotedKeyContext ¶
func NewEmptyUnquotedKeyContext() *UnquotedKeyContext
func NewUnquotedKeyContext ¶
func NewUnquotedKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnquotedKeyContext
func (*UnquotedKeyContext) Accept ¶
func (s *UnquotedKeyContext) Accept(visitor antlr.ParseTreeVisitor) any
func (*UnquotedKeyContext) EnterRule ¶
func (s *UnquotedKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*UnquotedKeyContext) ExitRule ¶
func (s *UnquotedKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*UnquotedKeyContext) GetParser ¶
func (s *UnquotedKeyContext) GetParser() antlr.Parser
func (*UnquotedKeyContext) GetRuleContext ¶
func (s *UnquotedKeyContext) GetRuleContext() antlr.RuleContext
func (*UnquotedKeyContext) IsUnquotedKeyContext ¶
func (*UnquotedKeyContext) IsUnquotedKeyContext()
func (*UnquotedKeyContext) ToStringTree ¶
func (s *UnquotedKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*UnquotedKeyContext) UNQUOTED_KEY ¶
func (s *UnquotedKeyContext) 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) any
func (*ValueContext) Array ¶
func (s *ValueContext) Array() IArrayContext
func (*ValueContext) Boolean ¶
func (s *ValueContext) Boolean() IBooleanContext
func (*ValueContext) DateTime ¶
func (s *ValueContext) DateTime() IDateTimeContext
func (*ValueContext) EnterRule ¶
func (s *ValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*ValueContext) ExitRule ¶
func (s *ValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*ValueContext) FloatingPoint ¶
func (s *ValueContext) FloatingPoint() IFloatingPointContext
func (*ValueContext) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) InlineTable ¶
func (s *ValueContext) InlineTable() IInlineTableContext
func (*ValueContext) Integer ¶
func (s *ValueContext) Integer() IIntegerContext
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) StringValue ¶
func (s *ValueContext) StringValue() IStringValueContext
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string