parser

package
v0.0.0-...-27647ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HoconLexerT__0         = 1
	HoconLexerT__1         = 2
	HoconLexerT__2         = 3
	HoconLexerT__3         = 4
	HoconLexerT__4         = 5
	HoconLexerT__5         = 6
	HoconLexerT__6         = 7
	HoconLexerCOMMENT      = 8
	HoconLexerNUMBER       = 9
	HoconLexerSTRING       = 10
	HoconLexerPATH_ELEMENT = 11
	HoconLexerREFERENCE    = 12
	HoconLexerKV           = 13
	HoconLexerWS           = 14
)

HoconLexer tokens.

View Source
const (
	HoconParserEOF          = antlr.TokenEOF
	HoconParserT__0         = 1
	HoconParserT__1         = 2
	HoconParserT__2         = 3
	HoconParserT__3         = 4
	HoconParserT__4         = 5
	HoconParserT__5         = 6
	HoconParserT__6         = 7
	HoconParserCOMMENT      = 8
	HoconParserNUMBER       = 9
	HoconParserSTRING       = 10
	HoconParserPATH_ELEMENT = 11
	HoconParserREFERENCE    = 12
	HoconParserKV           = 13
	HoconParserWS           = 14
)

HoconParser tokens.

View Source
const (
	HoconParserRULE_hocon          = 0
	HoconParserRULE_prop           = 1
	HoconParserRULE_obj            = 2
	HoconParserRULE_objectBegin    = 3
	HoconParserRULE_objectEnd      = 4
	HoconParserRULE_objectData     = 5
	HoconParserRULE_arrayData      = 6
	HoconParserRULE_stringData     = 7
	HoconParserRULE_referenceData  = 8
	HoconParserRULE_numberData     = 9
	HoconParserRULE_key            = 10
	HoconParserRULE_path           = 11
	HoconParserRULE_arrayBegin     = 12
	HoconParserRULE_arrayEnd       = 13
	HoconParserRULE_array          = 14
	HoconParserRULE_arrayValue     = 15
	HoconParserRULE_arrayString    = 16
	HoconParserRULE_arrayReference = 17
	HoconParserRULE_arrayNumber    = 18
	HoconParserRULE_arrayObj       = 19
	HoconParserRULE_arrayArray     = 20
	HoconParserRULE_stringValue    = 21
	HoconParserRULE_rawstring      = 22
)

HoconParser rules.

Variables

This section is empty.

Functions

func HoconLexerInit

func HoconLexerInit()

HoconLexerInit initializes any static state used to implement HoconLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewHoconLexer(). You can call this function if you wish to initialize the static state ahead of time.

func HoconParserInit

func HoconParserInit()

HoconParserInit initializes any static state used to implement HoconParser. By default the static state used to implement the parser is lazily initialized during the first call to NewHoconParser(). You can call this function if you wish to initialize the static state ahead of time.

Types

type ArrayArrayContext

type ArrayArrayContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayArrayContext

func NewArrayArrayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayArrayContext

func NewEmptyArrayArrayContext

func NewEmptyArrayArrayContext() *ArrayArrayContext

func (*ArrayArrayContext) Accept

func (s *ArrayArrayContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayArrayContext) Array

func (s *ArrayArrayContext) Array() IArrayContext

func (*ArrayArrayContext) EnterRule

func (s *ArrayArrayContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayArrayContext) ExitRule

func (s *ArrayArrayContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayArrayContext) GetParser

func (s *ArrayArrayContext) GetParser() antlr.Parser

func (*ArrayArrayContext) GetRuleContext

func (s *ArrayArrayContext) GetRuleContext() antlr.RuleContext

func (*ArrayArrayContext) IsArrayArrayContext

func (*ArrayArrayContext) IsArrayArrayContext()

func (*ArrayArrayContext) ToStringTree

func (s *ArrayArrayContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ArrayBeginContext

type ArrayBeginContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayBeginContext

func NewArrayBeginContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayBeginContext

func NewEmptyArrayBeginContext

func NewEmptyArrayBeginContext() *ArrayBeginContext

func (*ArrayBeginContext) Accept

func (s *ArrayBeginContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayBeginContext) EnterRule

func (s *ArrayBeginContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayBeginContext) ExitRule

func (s *ArrayBeginContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayBeginContext) GetParser

func (s *ArrayBeginContext) GetParser() antlr.Parser

func (*ArrayBeginContext) GetRuleContext

func (s *ArrayBeginContext) GetRuleContext() antlr.RuleContext

func (*ArrayBeginContext) IsArrayBeginContext

func (*ArrayBeginContext) IsArrayBeginContext()

func (*ArrayBeginContext) ToStringTree

func (s *ArrayBeginContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

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) AllArrayValue

func (s *ArrayContext) AllArrayValue() []IArrayValueContext

func (*ArrayContext) ArrayBegin

func (s *ArrayContext) ArrayBegin() IArrayBeginContext

func (*ArrayContext) ArrayEnd

func (s *ArrayContext) ArrayEnd() IArrayEndContext

func (*ArrayContext) ArrayValue

func (s *ArrayContext) ArrayValue(i int) IArrayValueContext

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 ArrayDataContext

type ArrayDataContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayDataContext

func NewArrayDataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayDataContext

func NewEmptyArrayDataContext

func NewEmptyArrayDataContext() *ArrayDataContext

func (*ArrayDataContext) Accept

func (s *ArrayDataContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayDataContext) Array

func (s *ArrayDataContext) Array() IArrayContext

func (*ArrayDataContext) EnterRule

func (s *ArrayDataContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayDataContext) ExitRule

func (s *ArrayDataContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayDataContext) GetParser

func (s *ArrayDataContext) GetParser() antlr.Parser

func (*ArrayDataContext) GetRuleContext

func (s *ArrayDataContext) GetRuleContext() antlr.RuleContext

func (*ArrayDataContext) IsArrayDataContext

func (*ArrayDataContext) IsArrayDataContext()

func (*ArrayDataContext) KV

func (*ArrayDataContext) Key

func (s *ArrayDataContext) Key() IKeyContext

func (*ArrayDataContext) ToStringTree

func (s *ArrayDataContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ArrayEndContext

type ArrayEndContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayEndContext

func NewArrayEndContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayEndContext

func NewEmptyArrayEndContext

func NewEmptyArrayEndContext() *ArrayEndContext

func (*ArrayEndContext) Accept

func (s *ArrayEndContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayEndContext) EnterRule

func (s *ArrayEndContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayEndContext) ExitRule

func (s *ArrayEndContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayEndContext) GetParser

func (s *ArrayEndContext) GetParser() antlr.Parser

func (*ArrayEndContext) GetRuleContext

func (s *ArrayEndContext) GetRuleContext() antlr.RuleContext

func (*ArrayEndContext) IsArrayEndContext

func (*ArrayEndContext) IsArrayEndContext()

func (*ArrayEndContext) ToStringTree

func (s *ArrayEndContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ArrayNumberContext

type ArrayNumberContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayNumberContext

func NewArrayNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayNumberContext

func NewEmptyArrayNumberContext

func NewEmptyArrayNumberContext() *ArrayNumberContext

func (*ArrayNumberContext) Accept

func (s *ArrayNumberContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayNumberContext) EnterRule

func (s *ArrayNumberContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayNumberContext) ExitRule

func (s *ArrayNumberContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayNumberContext) GetParser

func (s *ArrayNumberContext) GetParser() antlr.Parser

func (*ArrayNumberContext) GetRuleContext

func (s *ArrayNumberContext) GetRuleContext() antlr.RuleContext

func (*ArrayNumberContext) IsArrayNumberContext

func (*ArrayNumberContext) IsArrayNumberContext()

func (*ArrayNumberContext) NUMBER

func (*ArrayNumberContext) ToStringTree

func (s *ArrayNumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ArrayObjContext

type ArrayObjContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayObjContext

func NewArrayObjContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayObjContext

func NewEmptyArrayObjContext

func NewEmptyArrayObjContext() *ArrayObjContext

func (*ArrayObjContext) Accept

func (s *ArrayObjContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayObjContext) EnterRule

func (s *ArrayObjContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayObjContext) ExitRule

func (s *ArrayObjContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayObjContext) GetParser

func (s *ArrayObjContext) GetParser() antlr.Parser

func (*ArrayObjContext) GetRuleContext

func (s *ArrayObjContext) GetRuleContext() antlr.RuleContext

func (*ArrayObjContext) IsArrayObjContext

func (*ArrayObjContext) IsArrayObjContext()

func (*ArrayObjContext) Obj

func (s *ArrayObjContext) Obj() IObjContext

func (*ArrayObjContext) ToStringTree

func (s *ArrayObjContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ArrayReferenceContext

type ArrayReferenceContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayReferenceContext

func NewArrayReferenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayReferenceContext

func NewEmptyArrayReferenceContext

func NewEmptyArrayReferenceContext() *ArrayReferenceContext

func (*ArrayReferenceContext) Accept

func (s *ArrayReferenceContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayReferenceContext) EnterRule

func (s *ArrayReferenceContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayReferenceContext) ExitRule

func (s *ArrayReferenceContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayReferenceContext) GetParser

func (s *ArrayReferenceContext) GetParser() antlr.Parser

func (*ArrayReferenceContext) GetRuleContext

func (s *ArrayReferenceContext) GetRuleContext() antlr.RuleContext

func (*ArrayReferenceContext) IsArrayReferenceContext

func (*ArrayReferenceContext) IsArrayReferenceContext()

func (*ArrayReferenceContext) REFERENCE

func (s *ArrayReferenceContext) REFERENCE() antlr.TerminalNode

func (*ArrayReferenceContext) ToStringTree

func (s *ArrayReferenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ArrayStringContext

type ArrayStringContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayStringContext

func NewArrayStringContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayStringContext

func NewEmptyArrayStringContext

func NewEmptyArrayStringContext() *ArrayStringContext

func (*ArrayStringContext) Accept

func (s *ArrayStringContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayStringContext) EnterRule

func (s *ArrayStringContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayStringContext) ExitRule

func (s *ArrayStringContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayStringContext) GetParser

func (s *ArrayStringContext) GetParser() antlr.Parser

func (*ArrayStringContext) GetRuleContext

func (s *ArrayStringContext) GetRuleContext() antlr.RuleContext

func (*ArrayStringContext) IsArrayStringContext

func (*ArrayStringContext) IsArrayStringContext()

func (*ArrayStringContext) StringValue

func (s *ArrayStringContext) StringValue() IStringValueContext

func (*ArrayStringContext) ToStringTree

func (s *ArrayStringContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ArrayValueContext

type ArrayValueContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArrayValueContext

func NewArrayValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayValueContext

func NewEmptyArrayValueContext

func NewEmptyArrayValueContext() *ArrayValueContext

func (*ArrayValueContext) Accept

func (s *ArrayValueContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ArrayValueContext) ArrayArray

func (s *ArrayValueContext) ArrayArray() IArrayArrayContext

func (*ArrayValueContext) ArrayNumber

func (s *ArrayValueContext) ArrayNumber() IArrayNumberContext

func (*ArrayValueContext) ArrayObj

func (s *ArrayValueContext) ArrayObj() IArrayObjContext

func (*ArrayValueContext) ArrayReference

func (s *ArrayValueContext) ArrayReference() IArrayReferenceContext

func (*ArrayValueContext) ArrayString

func (s *ArrayValueContext) ArrayString() IArrayStringContext

func (*ArrayValueContext) EnterRule

func (s *ArrayValueContext) EnterRule(listener antlr.ParseTreeListener)

func (*ArrayValueContext) ExitRule

func (s *ArrayValueContext) ExitRule(listener antlr.ParseTreeListener)

func (*ArrayValueContext) GetParser

func (s *ArrayValueContext) GetParser() antlr.Parser

func (*ArrayValueContext) GetRuleContext

func (s *ArrayValueContext) GetRuleContext() antlr.RuleContext

func (*ArrayValueContext) IsArrayValueContext

func (*ArrayValueContext) IsArrayValueContext()

func (*ArrayValueContext) ToStringTree

func (s *ArrayValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BaseHoconListener

type BaseHoconListener struct{}

BaseHoconListener is a complete listener for a parse tree produced by HoconParser.

func (*BaseHoconListener) EnterArray

func (s *BaseHoconListener) EnterArray(ctx *ArrayContext)

EnterArray is called when production array is entered.

func (*BaseHoconListener) EnterArrayArray

func (s *BaseHoconListener) EnterArrayArray(ctx *ArrayArrayContext)

EnterArrayArray is called when production arrayArray is entered.

func (*BaseHoconListener) EnterArrayBegin

func (s *BaseHoconListener) EnterArrayBegin(ctx *ArrayBeginContext)

EnterArrayBegin is called when production arrayBegin is entered.

func (*BaseHoconListener) EnterArrayData

func (s *BaseHoconListener) EnterArrayData(ctx *ArrayDataContext)

EnterArrayData is called when production arrayData is entered.

func (*BaseHoconListener) EnterArrayEnd

func (s *BaseHoconListener) EnterArrayEnd(ctx *ArrayEndContext)

EnterArrayEnd is called when production arrayEnd is entered.

func (*BaseHoconListener) EnterArrayNumber

func (s *BaseHoconListener) EnterArrayNumber(ctx *ArrayNumberContext)

EnterArrayNumber is called when production arrayNumber is entered.

func (*BaseHoconListener) EnterArrayObj

func (s *BaseHoconListener) EnterArrayObj(ctx *ArrayObjContext)

EnterArrayObj is called when production arrayObj is entered.

func (*BaseHoconListener) EnterArrayReference

func (s *BaseHoconListener) EnterArrayReference(ctx *ArrayReferenceContext)

EnterArrayReference is called when production arrayReference is entered.

func (*BaseHoconListener) EnterArrayString

func (s *BaseHoconListener) EnterArrayString(ctx *ArrayStringContext)

EnterArrayString is called when production arrayString is entered.

func (*BaseHoconListener) EnterArrayValue

func (s *BaseHoconListener) EnterArrayValue(ctx *ArrayValueContext)

EnterArrayValue is called when production arrayValue is entered.

func (*BaseHoconListener) EnterEveryRule

func (s *BaseHoconListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseHoconListener) EnterHocon

func (s *BaseHoconListener) EnterHocon(ctx *HoconContext)

EnterHocon is called when production hocon is entered.

func (*BaseHoconListener) EnterKey

func (s *BaseHoconListener) EnterKey(ctx *KeyContext)

EnterKey is called when production key is entered.

func (*BaseHoconListener) EnterNumberData

func (s *BaseHoconListener) EnterNumberData(ctx *NumberDataContext)

EnterNumberData is called when production numberData is entered.

func (*BaseHoconListener) EnterObj

func (s *BaseHoconListener) EnterObj(ctx *ObjContext)

EnterObj is called when production obj is entered.

func (*BaseHoconListener) EnterObjectBegin

func (s *BaseHoconListener) EnterObjectBegin(ctx *ObjectBeginContext)

EnterObjectBegin is called when production objectBegin is entered.

func (*BaseHoconListener) EnterObjectData

func (s *BaseHoconListener) EnterObjectData(ctx *ObjectDataContext)

EnterObjectData is called when production objectData is entered.

func (*BaseHoconListener) EnterObjectEnd

func (s *BaseHoconListener) EnterObjectEnd(ctx *ObjectEndContext)

EnterObjectEnd is called when production objectEnd is entered.

func (*BaseHoconListener) EnterPath

func (s *BaseHoconListener) EnterPath(ctx *PathContext)

EnterPath is called when production path is entered.

func (*BaseHoconListener) EnterProp

func (s *BaseHoconListener) EnterProp(ctx *PropContext)

EnterProp is called when production prop is entered.

func (*BaseHoconListener) EnterRawstring

func (s *BaseHoconListener) EnterRawstring(ctx *RawstringContext)

EnterRawstring is called when production rawstring is entered.

func (*BaseHoconListener) EnterReferenceData

func (s *BaseHoconListener) EnterReferenceData(ctx *ReferenceDataContext)

EnterReferenceData is called when production referenceData is entered.

func (*BaseHoconListener) EnterStringData

func (s *BaseHoconListener) EnterStringData(ctx *StringDataContext)

EnterStringData is called when production stringData is entered.

func (*BaseHoconListener) EnterV_rawstring

func (s *BaseHoconListener) EnterV_rawstring(ctx *V_rawstringContext)

EnterV_rawstring is called when production v_rawstring is entered.

func (*BaseHoconListener) EnterV_reference

func (s *BaseHoconListener) EnterV_reference(ctx *V_referenceContext)

EnterV_reference is called when production v_reference is entered.

func (*BaseHoconListener) EnterV_string

func (s *BaseHoconListener) EnterV_string(ctx *V_stringContext)

EnterV_string is called when production v_string is entered.

func (*BaseHoconListener) ExitArray

func (s *BaseHoconListener) ExitArray(ctx *ArrayContext)

ExitArray is called when production array is exited.

func (*BaseHoconListener) ExitArrayArray

func (s *BaseHoconListener) ExitArrayArray(ctx *ArrayArrayContext)

ExitArrayArray is called when production arrayArray is exited.

func (*BaseHoconListener) ExitArrayBegin

func (s *BaseHoconListener) ExitArrayBegin(ctx *ArrayBeginContext)

ExitArrayBegin is called when production arrayBegin is exited.

func (*BaseHoconListener) ExitArrayData

func (s *BaseHoconListener) ExitArrayData(ctx *ArrayDataContext)

ExitArrayData is called when production arrayData is exited.

func (*BaseHoconListener) ExitArrayEnd

func (s *BaseHoconListener) ExitArrayEnd(ctx *ArrayEndContext)

ExitArrayEnd is called when production arrayEnd is exited.

func (*BaseHoconListener) ExitArrayNumber

func (s *BaseHoconListener) ExitArrayNumber(ctx *ArrayNumberContext)

ExitArrayNumber is called when production arrayNumber is exited.

func (*BaseHoconListener) ExitArrayObj

func (s *BaseHoconListener) ExitArrayObj(ctx *ArrayObjContext)

ExitArrayObj is called when production arrayObj is exited.

func (*BaseHoconListener) ExitArrayReference

func (s *BaseHoconListener) ExitArrayReference(ctx *ArrayReferenceContext)

ExitArrayReference is called when production arrayReference is exited.

func (*BaseHoconListener) ExitArrayString

func (s *BaseHoconListener) ExitArrayString(ctx *ArrayStringContext)

ExitArrayString is called when production arrayString is exited.

func (*BaseHoconListener) ExitArrayValue

func (s *BaseHoconListener) ExitArrayValue(ctx *ArrayValueContext)

ExitArrayValue is called when production arrayValue is exited.

func (*BaseHoconListener) ExitEveryRule

func (s *BaseHoconListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseHoconListener) ExitHocon

func (s *BaseHoconListener) ExitHocon(ctx *HoconContext)

ExitHocon is called when production hocon is exited.

func (*BaseHoconListener) ExitKey

func (s *BaseHoconListener) ExitKey(ctx *KeyContext)

ExitKey is called when production key is exited.

func (*BaseHoconListener) ExitNumberData

func (s *BaseHoconListener) ExitNumberData(ctx *NumberDataContext)

ExitNumberData is called when production numberData is exited.

func (*BaseHoconListener) ExitObj

func (s *BaseHoconListener) ExitObj(ctx *ObjContext)

ExitObj is called when production obj is exited.

func (*BaseHoconListener) ExitObjectBegin

func (s *BaseHoconListener) ExitObjectBegin(ctx *ObjectBeginContext)

ExitObjectBegin is called when production objectBegin is exited.

func (*BaseHoconListener) ExitObjectData

func (s *BaseHoconListener) ExitObjectData(ctx *ObjectDataContext)

ExitObjectData is called when production objectData is exited.

func (*BaseHoconListener) ExitObjectEnd

func (s *BaseHoconListener) ExitObjectEnd(ctx *ObjectEndContext)

ExitObjectEnd is called when production objectEnd is exited.

func (*BaseHoconListener) ExitPath

func (s *BaseHoconListener) ExitPath(ctx *PathContext)

ExitPath is called when production path is exited.

func (*BaseHoconListener) ExitProp

func (s *BaseHoconListener) ExitProp(ctx *PropContext)

ExitProp is called when production prop is exited.

func (*BaseHoconListener) ExitRawstring

func (s *BaseHoconListener) ExitRawstring(ctx *RawstringContext)

ExitRawstring is called when production rawstring is exited.

func (*BaseHoconListener) ExitReferenceData

func (s *BaseHoconListener) ExitReferenceData(ctx *ReferenceDataContext)

ExitReferenceData is called when production referenceData is exited.

func (*BaseHoconListener) ExitStringData

func (s *BaseHoconListener) ExitStringData(ctx *StringDataContext)

ExitStringData is called when production stringData is exited.

func (*BaseHoconListener) ExitV_rawstring

func (s *BaseHoconListener) ExitV_rawstring(ctx *V_rawstringContext)

ExitV_rawstring is called when production v_rawstring is exited.

func (*BaseHoconListener) ExitV_reference

func (s *BaseHoconListener) ExitV_reference(ctx *V_referenceContext)

ExitV_reference is called when production v_reference is exited.

func (*BaseHoconListener) ExitV_string

func (s *BaseHoconListener) ExitV_string(ctx *V_stringContext)

ExitV_string is called when production v_string is exited.

func (*BaseHoconListener) VisitErrorNode

func (s *BaseHoconListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseHoconListener) VisitTerminal

func (s *BaseHoconListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BaseHoconVisitor

type BaseHoconVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseHoconVisitor) VisitArray

func (v *BaseHoconVisitor) VisitArray(ctx *ArrayContext) any

func (*BaseHoconVisitor) VisitArrayArray

func (v *BaseHoconVisitor) VisitArrayArray(ctx *ArrayArrayContext) any

func (*BaseHoconVisitor) VisitArrayBegin

func (v *BaseHoconVisitor) VisitArrayBegin(ctx *ArrayBeginContext) any

func (*BaseHoconVisitor) VisitArrayData

func (v *BaseHoconVisitor) VisitArrayData(ctx *ArrayDataContext) any

func (*BaseHoconVisitor) VisitArrayEnd

func (v *BaseHoconVisitor) VisitArrayEnd(ctx *ArrayEndContext) any

func (*BaseHoconVisitor) VisitArrayNumber

func (v *BaseHoconVisitor) VisitArrayNumber(ctx *ArrayNumberContext) any

func (*BaseHoconVisitor) VisitArrayObj

func (v *BaseHoconVisitor) VisitArrayObj(ctx *ArrayObjContext) any

func (*BaseHoconVisitor) VisitArrayReference

func (v *BaseHoconVisitor) VisitArrayReference(ctx *ArrayReferenceContext) any

func (*BaseHoconVisitor) VisitArrayString

func (v *BaseHoconVisitor) VisitArrayString(ctx *ArrayStringContext) any

func (*BaseHoconVisitor) VisitArrayValue

func (v *BaseHoconVisitor) VisitArrayValue(ctx *ArrayValueContext) any

func (*BaseHoconVisitor) VisitHocon

func (v *BaseHoconVisitor) VisitHocon(ctx *HoconContext) any

func (*BaseHoconVisitor) VisitKey

func (v *BaseHoconVisitor) VisitKey(ctx *KeyContext) any

func (*BaseHoconVisitor) VisitNumberData

func (v *BaseHoconVisitor) VisitNumberData(ctx *NumberDataContext) any

func (*BaseHoconVisitor) VisitObj

func (v *BaseHoconVisitor) VisitObj(ctx *ObjContext) any

func (*BaseHoconVisitor) VisitObjectBegin

func (v *BaseHoconVisitor) VisitObjectBegin(ctx *ObjectBeginContext) any

func (*BaseHoconVisitor) VisitObjectData

func (v *BaseHoconVisitor) VisitObjectData(ctx *ObjectDataContext) any

func (*BaseHoconVisitor) VisitObjectEnd

func (v *BaseHoconVisitor) VisitObjectEnd(ctx *ObjectEndContext) any

func (*BaseHoconVisitor) VisitPath

func (v *BaseHoconVisitor) VisitPath(ctx *PathContext) any

func (*BaseHoconVisitor) VisitProp

func (v *BaseHoconVisitor) VisitProp(ctx *PropContext) any

func (*BaseHoconVisitor) VisitRawstring

func (v *BaseHoconVisitor) VisitRawstring(ctx *RawstringContext) any

func (*BaseHoconVisitor) VisitReferenceData

func (v *BaseHoconVisitor) VisitReferenceData(ctx *ReferenceDataContext) any

func (*BaseHoconVisitor) VisitStringData

func (v *BaseHoconVisitor) VisitStringData(ctx *StringDataContext) any

func (*BaseHoconVisitor) VisitV_rawstring

func (v *BaseHoconVisitor) VisitV_rawstring(ctx *V_rawstringContext) any

func (*BaseHoconVisitor) VisitV_reference

func (v *BaseHoconVisitor) VisitV_reference(ctx *V_referenceContext) any

func (*BaseHoconVisitor) VisitV_string

func (v *BaseHoconVisitor) VisitV_string(ctx *V_stringContext) any

type HoconContext

type HoconContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyHoconContext

func NewEmptyHoconContext() *HoconContext

func NewHoconContext

func NewHoconContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HoconContext

func (*HoconContext) Accept

func (s *HoconContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*HoconContext) AllArray

func (s *HoconContext) AllArray() []IArrayContext

func (*HoconContext) AllObj

func (s *HoconContext) AllObj() []IObjContext

func (*HoconContext) AllProp

func (s *HoconContext) AllProp() []IPropContext

func (*HoconContext) Array

func (s *HoconContext) Array(i int) IArrayContext

func (*HoconContext) EnterRule

func (s *HoconContext) EnterRule(listener antlr.ParseTreeListener)

func (*HoconContext) ExitRule

func (s *HoconContext) ExitRule(listener antlr.ParseTreeListener)

func (*HoconContext) GetParser

func (s *HoconContext) GetParser() antlr.Parser

func (*HoconContext) GetRuleContext

func (s *HoconContext) GetRuleContext() antlr.RuleContext

func (*HoconContext) IsHoconContext

func (*HoconContext) IsHoconContext()

func (*HoconContext) Obj

func (s *HoconContext) Obj(i int) IObjContext

func (*HoconContext) Prop

func (s *HoconContext) Prop(i int) IPropContext

func (*HoconContext) ToStringTree

func (s *HoconContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type HoconLexer

type HoconLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewHoconLexer

func NewHoconLexer(input antlr.CharStream) *HoconLexer

NewHoconLexer produces a new lexer instance for the optional input antlr.CharStream.

type HoconListener

type HoconListener interface {
	antlr.ParseTreeListener

	// EnterHocon is called when entering the hocon production.
	EnterHocon(c *HoconContext)

	// EnterProp is called when entering the prop production.
	EnterProp(c *PropContext)

	// EnterObj is called when entering the obj production.
	EnterObj(c *ObjContext)

	// EnterObjectBegin is called when entering the objectBegin production.
	EnterObjectBegin(c *ObjectBeginContext)

	// EnterObjectEnd is called when entering the objectEnd production.
	EnterObjectEnd(c *ObjectEndContext)

	// EnterObjectData is called when entering the objectData production.
	EnterObjectData(c *ObjectDataContext)

	// EnterArrayData is called when entering the arrayData production.
	EnterArrayData(c *ArrayDataContext)

	// EnterStringData is called when entering the stringData production.
	EnterStringData(c *StringDataContext)

	// EnterReferenceData is called when entering the referenceData production.
	EnterReferenceData(c *ReferenceDataContext)

	// EnterNumberData is called when entering the numberData production.
	EnterNumberData(c *NumberDataContext)

	// EnterKey is called when entering the key production.
	EnterKey(c *KeyContext)

	// EnterPath is called when entering the path production.
	EnterPath(c *PathContext)

	// EnterArrayBegin is called when entering the arrayBegin production.
	EnterArrayBegin(c *ArrayBeginContext)

	// EnterArrayEnd is called when entering the arrayEnd production.
	EnterArrayEnd(c *ArrayEndContext)

	// EnterArray is called when entering the array production.
	EnterArray(c *ArrayContext)

	// EnterArrayValue is called when entering the arrayValue production.
	EnterArrayValue(c *ArrayValueContext)

	// EnterArrayString is called when entering the arrayString production.
	EnterArrayString(c *ArrayStringContext)

	// EnterArrayReference is called when entering the arrayReference production.
	EnterArrayReference(c *ArrayReferenceContext)

	// EnterArrayNumber is called when entering the arrayNumber production.
	EnterArrayNumber(c *ArrayNumberContext)

	// EnterArrayObj is called when entering the arrayObj production.
	EnterArrayObj(c *ArrayObjContext)

	// EnterArrayArray is called when entering the arrayArray production.
	EnterArrayArray(c *ArrayArrayContext)

	// EnterV_string is called when entering the v_string production.
	EnterV_string(c *V_stringContext)

	// EnterV_rawstring is called when entering the v_rawstring production.
	EnterV_rawstring(c *V_rawstringContext)

	// EnterV_reference is called when entering the v_reference production.
	EnterV_reference(c *V_referenceContext)

	// EnterRawstring is called when entering the rawstring production.
	EnterRawstring(c *RawstringContext)

	// ExitHocon is called when exiting the hocon production.
	ExitHocon(c *HoconContext)

	// ExitProp is called when exiting the prop production.
	ExitProp(c *PropContext)

	// ExitObj is called when exiting the obj production.
	ExitObj(c *ObjContext)

	// ExitObjectBegin is called when exiting the objectBegin production.
	ExitObjectBegin(c *ObjectBeginContext)

	// ExitObjectEnd is called when exiting the objectEnd production.
	ExitObjectEnd(c *ObjectEndContext)

	// ExitObjectData is called when exiting the objectData production.
	ExitObjectData(c *ObjectDataContext)

	// ExitArrayData is called when exiting the arrayData production.
	ExitArrayData(c *ArrayDataContext)

	// ExitStringData is called when exiting the stringData production.
	ExitStringData(c *StringDataContext)

	// ExitReferenceData is called when exiting the referenceData production.
	ExitReferenceData(c *ReferenceDataContext)

	// ExitNumberData is called when exiting the numberData production.
	ExitNumberData(c *NumberDataContext)

	// ExitKey is called when exiting the key production.
	ExitKey(c *KeyContext)

	// ExitPath is called when exiting the path production.
	ExitPath(c *PathContext)

	// ExitArrayBegin is called when exiting the arrayBegin production.
	ExitArrayBegin(c *ArrayBeginContext)

	// ExitArrayEnd is called when exiting the arrayEnd production.
	ExitArrayEnd(c *ArrayEndContext)

	// ExitArray is called when exiting the array production.
	ExitArray(c *ArrayContext)

	// ExitArrayValue is called when exiting the arrayValue production.
	ExitArrayValue(c *ArrayValueContext)

	// ExitArrayString is called when exiting the arrayString production.
	ExitArrayString(c *ArrayStringContext)

	// ExitArrayReference is called when exiting the arrayReference production.
	ExitArrayReference(c *ArrayReferenceContext)

	// ExitArrayNumber is called when exiting the arrayNumber production.
	ExitArrayNumber(c *ArrayNumberContext)

	// ExitArrayObj is called when exiting the arrayObj production.
	ExitArrayObj(c *ArrayObjContext)

	// ExitArrayArray is called when exiting the arrayArray production.
	ExitArrayArray(c *ArrayArrayContext)

	// ExitV_string is called when exiting the v_string production.
	ExitV_string(c *V_stringContext)

	// ExitV_rawstring is called when exiting the v_rawstring production.
	ExitV_rawstring(c *V_rawstringContext)

	// ExitV_reference is called when exiting the v_reference production.
	ExitV_reference(c *V_referenceContext)

	// ExitRawstring is called when exiting the rawstring production.
	ExitRawstring(c *RawstringContext)
}

HoconListener is a complete listener for a parse tree produced by HoconParser.

type HoconParser

type HoconParser struct {
	*antlr.BaseParser
}

func NewHoconParser

func NewHoconParser(input antlr.TokenStream) *HoconParser

NewHoconParser produces a new parser instance for the optional input antlr.TokenStream.

func (*HoconParser) Array

func (p *HoconParser) Array() (localctx IArrayContext)

func (*HoconParser) ArrayArray

func (p *HoconParser) ArrayArray() (localctx IArrayArrayContext)

func (*HoconParser) ArrayBegin

func (p *HoconParser) ArrayBegin() (localctx IArrayBeginContext)

func (*HoconParser) ArrayData

func (p *HoconParser) ArrayData() (localctx IArrayDataContext)

func (*HoconParser) ArrayEnd

func (p *HoconParser) ArrayEnd() (localctx IArrayEndContext)

func (*HoconParser) ArrayNumber

func (p *HoconParser) ArrayNumber() (localctx IArrayNumberContext)

func (*HoconParser) ArrayObj

func (p *HoconParser) ArrayObj() (localctx IArrayObjContext)

func (*HoconParser) ArrayReference

func (p *HoconParser) ArrayReference() (localctx IArrayReferenceContext)

func (*HoconParser) ArrayString

func (p *HoconParser) ArrayString() (localctx IArrayStringContext)

func (*HoconParser) ArrayValue

func (p *HoconParser) ArrayValue() (localctx IArrayValueContext)

func (*HoconParser) Hocon

func (p *HoconParser) Hocon() (localctx IHoconContext)

func (*HoconParser) Key

func (p *HoconParser) Key() (localctx IKeyContext)

func (*HoconParser) NumberData

func (p *HoconParser) NumberData() (localctx INumberDataContext)

func (*HoconParser) Obj

func (p *HoconParser) Obj() (localctx IObjContext)

func (*HoconParser) ObjectBegin

func (p *HoconParser) ObjectBegin() (localctx IObjectBeginContext)

func (*HoconParser) ObjectData

func (p *HoconParser) ObjectData() (localctx IObjectDataContext)

func (*HoconParser) ObjectEnd

func (p *HoconParser) ObjectEnd() (localctx IObjectEndContext)

func (*HoconParser) Path

func (p *HoconParser) Path() (localctx IPathContext)

func (*HoconParser) Prop

func (p *HoconParser) Prop() (localctx IPropContext)

func (*HoconParser) Rawstring

func (p *HoconParser) Rawstring() (localctx IRawstringContext)

func (*HoconParser) ReferenceData

func (p *HoconParser) ReferenceData() (localctx IReferenceDataContext)

func (*HoconParser) StringData

func (p *HoconParser) StringData() (localctx IStringDataContext)

func (*HoconParser) StringValue

func (p *HoconParser) StringValue() (localctx IStringValueContext)

type HoconVisitor

type HoconVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by HoconParser#hocon.
	VisitHocon(ctx *HoconContext) any

	// Visit a parse tree produced by HoconParser#prop.
	VisitProp(ctx *PropContext) any

	// Visit a parse tree produced by HoconParser#obj.
	VisitObj(ctx *ObjContext) any

	// Visit a parse tree produced by HoconParser#objectBegin.
	VisitObjectBegin(ctx *ObjectBeginContext) any

	// Visit a parse tree produced by HoconParser#objectEnd.
	VisitObjectEnd(ctx *ObjectEndContext) any

	// Visit a parse tree produced by HoconParser#objectData.
	VisitObjectData(ctx *ObjectDataContext) any

	// Visit a parse tree produced by HoconParser#arrayData.
	VisitArrayData(ctx *ArrayDataContext) any

	// Visit a parse tree produced by HoconParser#stringData.
	VisitStringData(ctx *StringDataContext) any

	// Visit a parse tree produced by HoconParser#referenceData.
	VisitReferenceData(ctx *ReferenceDataContext) any

	// Visit a parse tree produced by HoconParser#numberData.
	VisitNumberData(ctx *NumberDataContext) any

	// Visit a parse tree produced by HoconParser#key.
	VisitKey(ctx *KeyContext) any

	// Visit a parse tree produced by HoconParser#path.
	VisitPath(ctx *PathContext) any

	// Visit a parse tree produced by HoconParser#arrayBegin.
	VisitArrayBegin(ctx *ArrayBeginContext) any

	// Visit a parse tree produced by HoconParser#arrayEnd.
	VisitArrayEnd(ctx *ArrayEndContext) any

	// Visit a parse tree produced by HoconParser#array.
	VisitArray(ctx *ArrayContext) any

	// Visit a parse tree produced by HoconParser#arrayValue.
	VisitArrayValue(ctx *ArrayValueContext) any

	// Visit a parse tree produced by HoconParser#arrayString.
	VisitArrayString(ctx *ArrayStringContext) any

	// Visit a parse tree produced by HoconParser#arrayReference.
	VisitArrayReference(ctx *ArrayReferenceContext) any

	// Visit a parse tree produced by HoconParser#arrayNumber.
	VisitArrayNumber(ctx *ArrayNumberContext) any

	// Visit a parse tree produced by HoconParser#arrayObj.
	VisitArrayObj(ctx *ArrayObjContext) any

	// Visit a parse tree produced by HoconParser#arrayArray.
	VisitArrayArray(ctx *ArrayArrayContext) any

	// Visit a parse tree produced by HoconParser#v_string.
	VisitV_string(ctx *V_stringContext) any

	// Visit a parse tree produced by HoconParser#v_rawstring.
	VisitV_rawstring(ctx *V_rawstringContext) any

	// Visit a parse tree produced by HoconParser#v_reference.
	VisitV_reference(ctx *V_referenceContext) any

	// Visit a parse tree produced by HoconParser#rawstring.
	VisitRawstring(ctx *RawstringContext) any
}

A complete Visitor for a parse tree produced by HoconParser.

type IArrayArrayContext

type IArrayArrayContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Array() IArrayContext

	// IsArrayArrayContext differentiates from other interfaces.
	IsArrayArrayContext()
}

IArrayArrayContext is an interface to support dynamic dispatch.

type IArrayBeginContext

type IArrayBeginContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsArrayBeginContext differentiates from other interfaces.
	IsArrayBeginContext()
}

IArrayBeginContext is an interface to support dynamic dispatch.

type IArrayContext

type IArrayContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	ArrayBegin() IArrayBeginContext
	AllArrayValue() []IArrayValueContext
	ArrayValue(i int) IArrayValueContext
	ArrayEnd() IArrayEndContext

	// IsArrayContext differentiates from other interfaces.
	IsArrayContext()
}

IArrayContext is an interface to support dynamic dispatch.

type IArrayDataContext

type IArrayDataContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Key() IKeyContext
	KV() antlr.TerminalNode
	Array() IArrayContext

	// IsArrayDataContext differentiates from other interfaces.
	IsArrayDataContext()
}

IArrayDataContext is an interface to support dynamic dispatch.

type IArrayEndContext

type IArrayEndContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsArrayEndContext differentiates from other interfaces.
	IsArrayEndContext()
}

IArrayEndContext is an interface to support dynamic dispatch.

type IArrayNumberContext

type IArrayNumberContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	NUMBER() antlr.TerminalNode

	// IsArrayNumberContext differentiates from other interfaces.
	IsArrayNumberContext()
}

IArrayNumberContext is an interface to support dynamic dispatch.

type IArrayObjContext

type IArrayObjContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Obj() IObjContext

	// IsArrayObjContext differentiates from other interfaces.
	IsArrayObjContext()
}

IArrayObjContext is an interface to support dynamic dispatch.

type IArrayReferenceContext

type IArrayReferenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	REFERENCE() antlr.TerminalNode

	// IsArrayReferenceContext differentiates from other interfaces.
	IsArrayReferenceContext()
}

IArrayReferenceContext is an interface to support dynamic dispatch.

type IArrayStringContext

type IArrayStringContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	StringValue() IStringValueContext

	// IsArrayStringContext differentiates from other interfaces.
	IsArrayStringContext()
}

IArrayStringContext is an interface to support dynamic dispatch.

type IArrayValueContext

type IArrayValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	ArrayString() IArrayStringContext
	ArrayReference() IArrayReferenceContext
	ArrayNumber() IArrayNumberContext
	ArrayObj() IArrayObjContext
	ArrayArray() IArrayArrayContext

	// IsArrayValueContext differentiates from other interfaces.
	IsArrayValueContext()
}

IArrayValueContext is an interface to support dynamic dispatch.

type IHoconContext

type IHoconContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllObj() []IObjContext
	Obj(i int) IObjContext
	AllArray() []IArrayContext
	Array(i int) IArrayContext
	AllProp() []IPropContext
	Prop(i int) IPropContext

	// IsHoconContext differentiates from other interfaces.
	IsHoconContext()
}

IHoconContext is an interface to support dynamic dispatch.

type IKeyContext

type IKeyContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Path() IPathContext
	STRING() antlr.TerminalNode

	// IsKeyContext differentiates from other interfaces.
	IsKeyContext()
}

IKeyContext is an interface to support dynamic dispatch.

type INumberDataContext

type INumberDataContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Key() IKeyContext
	KV() antlr.TerminalNode
	NUMBER() antlr.TerminalNode

	// IsNumberDataContext differentiates from other interfaces.
	IsNumberDataContext()
}

INumberDataContext is an interface to support dynamic dispatch.

type IObjContext

type IObjContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	ObjectBegin() IObjectBeginContext
	AllProp() []IPropContext
	Prop(i int) IPropContext
	ObjectEnd() IObjectEndContext

	// IsObjContext differentiates from other interfaces.
	IsObjContext()
}

IObjContext is an interface to support dynamic dispatch.

type IObjectBeginContext

type IObjectBeginContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsObjectBeginContext differentiates from other interfaces.
	IsObjectBeginContext()
}

IObjectBeginContext is an interface to support dynamic dispatch.

type IObjectDataContext

type IObjectDataContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Key() IKeyContext
	Obj() IObjContext
	KV() antlr.TerminalNode

	// IsObjectDataContext differentiates from other interfaces.
	IsObjectDataContext()
}

IObjectDataContext is an interface to support dynamic dispatch.

type IObjectEndContext

type IObjectEndContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsObjectEndContext differentiates from other interfaces.
	IsObjectEndContext()
}

IObjectEndContext is an interface to support dynamic dispatch.

type IPathContext

type IPathContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllPATH_ELEMENT() []antlr.TerminalNode
	PATH_ELEMENT(i int) antlr.TerminalNode

	// IsPathContext differentiates from other interfaces.
	IsPathContext()
}

IPathContext is an interface to support dynamic dispatch.

type IPropContext

type IPropContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	ObjectData() IObjectDataContext
	ArrayData() IArrayDataContext
	StringData() IStringDataContext
	ReferenceData() IReferenceDataContext
	NumberData() INumberDataContext

	// IsPropContext differentiates from other interfaces.
	IsPropContext()
}

IPropContext is an interface to support dynamic dispatch.

type IRawstringContext

type IRawstringContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllPATH_ELEMENT() []antlr.TerminalNode
	PATH_ELEMENT(i int) antlr.TerminalNode

	// IsRawstringContext differentiates from other interfaces.
	IsRawstringContext()
}

IRawstringContext is an interface to support dynamic dispatch.

type IReferenceDataContext

type IReferenceDataContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Key() IKeyContext
	KV() antlr.TerminalNode
	REFERENCE() antlr.TerminalNode

	// IsReferenceDataContext differentiates from other interfaces.
	IsReferenceDataContext()
}

IReferenceDataContext is an interface to support dynamic dispatch.

type IStringDataContext

type IStringDataContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Key() IKeyContext
	KV() antlr.TerminalNode
	StringValue() IStringValueContext

	// IsStringDataContext differentiates from other interfaces.
	IsStringDataContext()
}

IStringDataContext is an interface to support dynamic dispatch.

type IStringValueContext

type IStringValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsStringValueContext differentiates from other interfaces.
	IsStringValueContext()
}

IStringValueContext is an interface to support dynamic dispatch.

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) 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) Path

func (s *KeyContext) Path() IPathContext

func (*KeyContext) STRING

func (s *KeyContext) STRING() antlr.TerminalNode

func (*KeyContext) ToStringTree

func (s *KeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NumberDataContext

type NumberDataContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNumberDataContext

func NewEmptyNumberDataContext() *NumberDataContext

func NewNumberDataContext

func NewNumberDataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberDataContext

func (*NumberDataContext) Accept

func (s *NumberDataContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*NumberDataContext) EnterRule

func (s *NumberDataContext) EnterRule(listener antlr.ParseTreeListener)

func (*NumberDataContext) ExitRule

func (s *NumberDataContext) ExitRule(listener antlr.ParseTreeListener)

func (*NumberDataContext) GetParser

func (s *NumberDataContext) GetParser() antlr.Parser

func (*NumberDataContext) GetRuleContext

func (s *NumberDataContext) GetRuleContext() antlr.RuleContext

func (*NumberDataContext) IsNumberDataContext

func (*NumberDataContext) IsNumberDataContext()

func (*NumberDataContext) KV

func (*NumberDataContext) Key

func (s *NumberDataContext) Key() IKeyContext

func (*NumberDataContext) NUMBER

func (s *NumberDataContext) NUMBER() antlr.TerminalNode

func (*NumberDataContext) ToStringTree

func (s *NumberDataContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjContext

type ObjContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjContext

func NewEmptyObjContext() *ObjContext

func NewObjContext

func NewObjContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjContext

func (*ObjContext) Accept

func (s *ObjContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ObjContext) AllProp

func (s *ObjContext) AllProp() []IPropContext

func (*ObjContext) EnterRule

func (s *ObjContext) EnterRule(listener antlr.ParseTreeListener)

func (*ObjContext) ExitRule

func (s *ObjContext) ExitRule(listener antlr.ParseTreeListener)

func (*ObjContext) GetParser

func (s *ObjContext) GetParser() antlr.Parser

func (*ObjContext) GetRuleContext

func (s *ObjContext) GetRuleContext() antlr.RuleContext

func (*ObjContext) IsObjContext

func (*ObjContext) IsObjContext()

func (*ObjContext) ObjectBegin

func (s *ObjContext) ObjectBegin() IObjectBeginContext

func (*ObjContext) ObjectEnd

func (s *ObjContext) ObjectEnd() IObjectEndContext

func (*ObjContext) Prop

func (s *ObjContext) Prop(i int) IPropContext

func (*ObjContext) ToStringTree

func (s *ObjContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjectBeginContext

type ObjectBeginContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjectBeginContext

func NewEmptyObjectBeginContext() *ObjectBeginContext

func NewObjectBeginContext

func NewObjectBeginContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectBeginContext

func (*ObjectBeginContext) Accept

func (s *ObjectBeginContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ObjectBeginContext) EnterRule

func (s *ObjectBeginContext) EnterRule(listener antlr.ParseTreeListener)

func (*ObjectBeginContext) ExitRule

func (s *ObjectBeginContext) ExitRule(listener antlr.ParseTreeListener)

func (*ObjectBeginContext) GetParser

func (s *ObjectBeginContext) GetParser() antlr.Parser

func (*ObjectBeginContext) GetRuleContext

func (s *ObjectBeginContext) GetRuleContext() antlr.RuleContext

func (*ObjectBeginContext) IsObjectBeginContext

func (*ObjectBeginContext) IsObjectBeginContext()

func (*ObjectBeginContext) ToStringTree

func (s *ObjectBeginContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjectDataContext

type ObjectDataContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjectDataContext

func NewEmptyObjectDataContext() *ObjectDataContext

func NewObjectDataContext

func NewObjectDataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectDataContext

func (*ObjectDataContext) Accept

func (s *ObjectDataContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ObjectDataContext) EnterRule

func (s *ObjectDataContext) EnterRule(listener antlr.ParseTreeListener)

func (*ObjectDataContext) ExitRule

func (s *ObjectDataContext) ExitRule(listener antlr.ParseTreeListener)

func (*ObjectDataContext) GetParser

func (s *ObjectDataContext) GetParser() antlr.Parser

func (*ObjectDataContext) GetRuleContext

func (s *ObjectDataContext) GetRuleContext() antlr.RuleContext

func (*ObjectDataContext) IsObjectDataContext

func (*ObjectDataContext) IsObjectDataContext()

func (*ObjectDataContext) KV

func (*ObjectDataContext) Key

func (s *ObjectDataContext) Key() IKeyContext

func (*ObjectDataContext) Obj

func (s *ObjectDataContext) Obj() IObjContext

func (*ObjectDataContext) ToStringTree

func (s *ObjectDataContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjectEndContext

type ObjectEndContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjectEndContext

func NewEmptyObjectEndContext() *ObjectEndContext

func NewObjectEndContext

func NewObjectEndContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectEndContext

func (*ObjectEndContext) Accept

func (s *ObjectEndContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ObjectEndContext) EnterRule

func (s *ObjectEndContext) EnterRule(listener antlr.ParseTreeListener)

func (*ObjectEndContext) ExitRule

func (s *ObjectEndContext) ExitRule(listener antlr.ParseTreeListener)

func (*ObjectEndContext) GetParser

func (s *ObjectEndContext) GetParser() antlr.Parser

func (*ObjectEndContext) GetRuleContext

func (s *ObjectEndContext) GetRuleContext() antlr.RuleContext

func (*ObjectEndContext) IsObjectEndContext

func (*ObjectEndContext) IsObjectEndContext()

func (*ObjectEndContext) ToStringTree

func (s *ObjectEndContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PathContext

type PathContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPathContext

func NewEmptyPathContext() *PathContext

func NewPathContext

func NewPathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PathContext

func (*PathContext) Accept

func (s *PathContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*PathContext) AllPATH_ELEMENT

func (s *PathContext) AllPATH_ELEMENT() []antlr.TerminalNode

func (*PathContext) EnterRule

func (s *PathContext) EnterRule(listener antlr.ParseTreeListener)

func (*PathContext) ExitRule

func (s *PathContext) ExitRule(listener antlr.ParseTreeListener)

func (*PathContext) GetParser

func (s *PathContext) GetParser() antlr.Parser

func (*PathContext) GetRuleContext

func (s *PathContext) GetRuleContext() antlr.RuleContext

func (*PathContext) IsPathContext

func (*PathContext) IsPathContext()

func (*PathContext) PATH_ELEMENT

func (s *PathContext) PATH_ELEMENT(i int) antlr.TerminalNode

func (*PathContext) ToStringTree

func (s *PathContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PropContext

type PropContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPropContext

func NewEmptyPropContext() *PropContext

func NewPropContext

func NewPropContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropContext

func (*PropContext) Accept

func (s *PropContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*PropContext) ArrayData

func (s *PropContext) ArrayData() IArrayDataContext

func (*PropContext) EnterRule

func (s *PropContext) EnterRule(listener antlr.ParseTreeListener)

func (*PropContext) ExitRule

func (s *PropContext) ExitRule(listener antlr.ParseTreeListener)

func (*PropContext) GetParser

func (s *PropContext) GetParser() antlr.Parser

func (*PropContext) GetRuleContext

func (s *PropContext) GetRuleContext() antlr.RuleContext

func (*PropContext) IsPropContext

func (*PropContext) IsPropContext()

func (*PropContext) NumberData

func (s *PropContext) NumberData() INumberDataContext

func (*PropContext) ObjectData

func (s *PropContext) ObjectData() IObjectDataContext

func (*PropContext) ReferenceData

func (s *PropContext) ReferenceData() IReferenceDataContext

func (*PropContext) StringData

func (s *PropContext) StringData() IStringDataContext

func (*PropContext) ToStringTree

func (s *PropContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type RawstringContext

type RawstringContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyRawstringContext

func NewEmptyRawstringContext() *RawstringContext

func NewRawstringContext

func NewRawstringContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RawstringContext

func (*RawstringContext) Accept

func (s *RawstringContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*RawstringContext) AllPATH_ELEMENT

func (s *RawstringContext) AllPATH_ELEMENT() []antlr.TerminalNode

func (*RawstringContext) EnterRule

func (s *RawstringContext) EnterRule(listener antlr.ParseTreeListener)

func (*RawstringContext) ExitRule

func (s *RawstringContext) ExitRule(listener antlr.ParseTreeListener)

func (*RawstringContext) GetParser

func (s *RawstringContext) GetParser() antlr.Parser

func (*RawstringContext) GetRuleContext

func (s *RawstringContext) GetRuleContext() antlr.RuleContext

func (*RawstringContext) IsRawstringContext

func (*RawstringContext) IsRawstringContext()

func (*RawstringContext) PATH_ELEMENT

func (s *RawstringContext) PATH_ELEMENT(i int) antlr.TerminalNode

func (*RawstringContext) ToStringTree

func (s *RawstringContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ReferenceDataContext

type ReferenceDataContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyReferenceDataContext

func NewEmptyReferenceDataContext() *ReferenceDataContext

func NewReferenceDataContext

func NewReferenceDataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReferenceDataContext

func (*ReferenceDataContext) Accept

func (s *ReferenceDataContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*ReferenceDataContext) EnterRule

func (s *ReferenceDataContext) EnterRule(listener antlr.ParseTreeListener)

func (*ReferenceDataContext) ExitRule

func (s *ReferenceDataContext) ExitRule(listener antlr.ParseTreeListener)

func (*ReferenceDataContext) GetParser

func (s *ReferenceDataContext) GetParser() antlr.Parser

func (*ReferenceDataContext) GetRuleContext

func (s *ReferenceDataContext) GetRuleContext() antlr.RuleContext

func (*ReferenceDataContext) IsReferenceDataContext

func (*ReferenceDataContext) IsReferenceDataContext()

func (*ReferenceDataContext) KV

func (*ReferenceDataContext) Key

func (*ReferenceDataContext) REFERENCE

func (s *ReferenceDataContext) REFERENCE() antlr.TerminalNode

func (*ReferenceDataContext) ToStringTree

func (s *ReferenceDataContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StringDataContext

type StringDataContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStringDataContext

func NewEmptyStringDataContext() *StringDataContext

func NewStringDataContext

func NewStringDataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringDataContext

func (*StringDataContext) Accept

func (s *StringDataContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*StringDataContext) EnterRule

func (s *StringDataContext) EnterRule(listener antlr.ParseTreeListener)

func (*StringDataContext) ExitRule

func (s *StringDataContext) ExitRule(listener antlr.ParseTreeListener)

func (*StringDataContext) GetParser

func (s *StringDataContext) GetParser() antlr.Parser

func (*StringDataContext) GetRuleContext

func (s *StringDataContext) GetRuleContext() antlr.RuleContext

func (*StringDataContext) IsStringDataContext

func (*StringDataContext) IsStringDataContext()

func (*StringDataContext) KV

func (*StringDataContext) Key

func (s *StringDataContext) Key() IKeyContext

func (*StringDataContext) StringValue

func (s *StringDataContext) StringValue() IStringValueContext

func (*StringDataContext) ToStringTree

func (s *StringDataContext) 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) CopyFrom

func (s *StringValueContext) CopyFrom(ctx *StringValueContext)

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) ToStringTree

func (s *StringValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type V_rawstringContext

type V_rawstringContext struct {
	*StringValueContext
}

func NewV_rawstringContext

func NewV_rawstringContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *V_rawstringContext

func (*V_rawstringContext) Accept

func (s *V_rawstringContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*V_rawstringContext) AllStringValue

func (s *V_rawstringContext) AllStringValue() []IStringValueContext

func (*V_rawstringContext) EnterRule

func (s *V_rawstringContext) EnterRule(listener antlr.ParseTreeListener)

func (*V_rawstringContext) ExitRule

func (s *V_rawstringContext) ExitRule(listener antlr.ParseTreeListener)

func (*V_rawstringContext) GetRuleContext

func (s *V_rawstringContext) GetRuleContext() antlr.RuleContext

func (*V_rawstringContext) Rawstring

func (s *V_rawstringContext) Rawstring() IRawstringContext

func (*V_rawstringContext) StringValue

func (s *V_rawstringContext) StringValue(i int) IStringValueContext

type V_referenceContext

type V_referenceContext struct {
	*StringValueContext
}

func NewV_referenceContext

func NewV_referenceContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *V_referenceContext

func (*V_referenceContext) Accept

func (s *V_referenceContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*V_referenceContext) AllStringValue

func (s *V_referenceContext) AllStringValue() []IStringValueContext

func (*V_referenceContext) EnterRule

func (s *V_referenceContext) EnterRule(listener antlr.ParseTreeListener)

func (*V_referenceContext) ExitRule

func (s *V_referenceContext) ExitRule(listener antlr.ParseTreeListener)

func (*V_referenceContext) GetRuleContext

func (s *V_referenceContext) GetRuleContext() antlr.RuleContext

func (*V_referenceContext) REFERENCE

func (s *V_referenceContext) REFERENCE() antlr.TerminalNode

func (*V_referenceContext) StringValue

func (s *V_referenceContext) StringValue(i int) IStringValueContext

type V_stringContext

type V_stringContext struct {
	*StringValueContext
}

func NewV_stringContext

func NewV_stringContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *V_stringContext

func (*V_stringContext) Accept

func (s *V_stringContext) Accept(visitor antlr.ParseTreeVisitor) any

func (*V_stringContext) AllStringValue

func (s *V_stringContext) AllStringValue() []IStringValueContext

func (*V_stringContext) EnterRule

func (s *V_stringContext) EnterRule(listener antlr.ParseTreeListener)

func (*V_stringContext) ExitRule

func (s *V_stringContext) ExitRule(listener antlr.ParseTreeListener)

func (*V_stringContext) GetRuleContext

func (s *V_stringContext) GetRuleContext() antlr.RuleContext

func (*V_stringContext) STRING

func (s *V_stringContext) STRING() antlr.TerminalNode

func (*V_stringContext) StringValue

func (s *V_stringContext) StringValue(i int) IStringValueContext

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL