parser

package
v0.0.0-...-04b5151 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IniLexerT__0               = 1
	IniLexerT__1               = 2
	IniLexerSectionHeader      = 3
	IniLexerSectionHeaderStart = 4
	IniLexerSectionHeaderEnd   = 5
	IniLexerBooleanLiteral     = 6
	IniLexerStringLiteral      = 7
	IniLexerIntegerLiteral     = 8
	IniLexerDecimalLiteral     = 9
	IniLexerIdentifier         = 10
	IniLexerCommentLine        = 11
	IniLexerMultiNewLine       = 12
	IniLexerNewLine            = 13
	IniLexerWS                 = 14
)

IniLexer tokens.

View Source
const (
	IniParserEOF                = antlr.TokenEOF
	IniParserT__0               = 1
	IniParserT__1               = 2
	IniParserSectionHeader      = 3
	IniParserSectionHeaderStart = 4
	IniParserSectionHeaderEnd   = 5
	IniParserBooleanLiteral     = 6
	IniParserStringLiteral      = 7
	IniParserIntegerLiteral     = 8
	IniParserDecimalLiteral     = 9
	IniParserIdentifier         = 10
	IniParserCommentLine        = 11
	IniParserMultiNewLine       = 12
	IniParserNewLine            = 13
	IniParserWS                 = 14
)

IniParser tokens.

View Source
const (
	IniParserRULE_main          = 0
	IniParserRULE_section       = 1
	IniParserRULE_sectionHeader = 2
	IniParserRULE_sectionBody   = 3
	IniParserRULE_valueLine     = 4
	IniParserRULE_variableName  = 5
	IniParserRULE_value         = 6
	IniParserRULE_listValue     = 7
	IniParserRULE_basicValue    = 8
	IniParserRULE_commentLine   = 9
	IniParserRULE_boolValue     = 10
	IniParserRULE_stringValue   = 11
	IniParserRULE_numberValue   = 12
	IniParserRULE_integerValue  = 13
	IniParserRULE_decimalValue  = 14
)

IniParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseIniListener

type BaseIniListener struct{}

BaseIniListener is a complete listener for a parse tree produced by IniParser.

func (*BaseIniListener) EnterBasicValue

func (s *BaseIniListener) EnterBasicValue(ctx *BasicValueContext)

EnterBasicValue is called when production basicValue is entered.

func (*BaseIniListener) EnterBoolValue

func (s *BaseIniListener) EnterBoolValue(ctx *BoolValueContext)

EnterBoolValue is called when production boolValue is entered.

func (*BaseIniListener) EnterCommentLine

func (s *BaseIniListener) EnterCommentLine(ctx *CommentLineContext)

EnterCommentLine is called when production commentLine is entered.

func (*BaseIniListener) EnterDecimalValue

func (s *BaseIniListener) EnterDecimalValue(ctx *DecimalValueContext)

EnterDecimalValue is called when production decimalValue is entered.

func (*BaseIniListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseIniListener) EnterIntegerValue

func (s *BaseIniListener) EnterIntegerValue(ctx *IntegerValueContext)

EnterIntegerValue is called when production integerValue is entered.

func (*BaseIniListener) EnterListValue

func (s *BaseIniListener) EnterListValue(ctx *ListValueContext)

EnterListValue is called when production listValue is entered.

func (*BaseIniListener) EnterMain

func (s *BaseIniListener) EnterMain(ctx *MainContext)

EnterMain is called when production main is entered.

func (*BaseIniListener) EnterNumberValue

func (s *BaseIniListener) EnterNumberValue(ctx *NumberValueContext)

EnterNumberValue is called when production numberValue is entered.

func (*BaseIniListener) EnterSection

func (s *BaseIniListener) EnterSection(ctx *SectionContext)

EnterSection is called when production section is entered.

func (*BaseIniListener) EnterSectionBody

func (s *BaseIniListener) EnterSectionBody(ctx *SectionBodyContext)

EnterSectionBody is called when production sectionBody is entered.

func (*BaseIniListener) EnterSectionHeader

func (s *BaseIniListener) EnterSectionHeader(ctx *SectionHeaderContext)

EnterSectionHeader is called when production sectionHeader is entered.

func (*BaseIniListener) EnterStringValue

func (s *BaseIniListener) EnterStringValue(ctx *StringValueContext)

EnterStringValue is called when production stringValue is entered.

func (*BaseIniListener) EnterValue

func (s *BaseIniListener) EnterValue(ctx *ValueContext)

EnterValue is called when production value is entered.

func (*BaseIniListener) EnterValueLine

func (s *BaseIniListener) EnterValueLine(ctx *ValueLineContext)

EnterValueLine is called when production valueLine is entered.

func (*BaseIniListener) EnterVariableName

func (s *BaseIniListener) EnterVariableName(ctx *VariableNameContext)

EnterVariableName is called when production variableName is entered.

func (*BaseIniListener) ExitBasicValue

func (s *BaseIniListener) ExitBasicValue(ctx *BasicValueContext)

ExitBasicValue is called when production basicValue is exited.

func (*BaseIniListener) ExitBoolValue

func (s *BaseIniListener) ExitBoolValue(ctx *BoolValueContext)

ExitBoolValue is called when production boolValue is exited.

func (*BaseIniListener) ExitCommentLine

func (s *BaseIniListener) ExitCommentLine(ctx *CommentLineContext)

ExitCommentLine is called when production commentLine is exited.

func (*BaseIniListener) ExitDecimalValue

func (s *BaseIniListener) ExitDecimalValue(ctx *DecimalValueContext)

ExitDecimalValue is called when production decimalValue is exited.

func (*BaseIniListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseIniListener) ExitIntegerValue

func (s *BaseIniListener) ExitIntegerValue(ctx *IntegerValueContext)

ExitIntegerValue is called when production integerValue is exited.

func (*BaseIniListener) ExitListValue

func (s *BaseIniListener) ExitListValue(ctx *ListValueContext)

ExitListValue is called when production listValue is exited.

func (*BaseIniListener) ExitMain

func (s *BaseIniListener) ExitMain(ctx *MainContext)

ExitMain is called when production main is exited.

func (*BaseIniListener) ExitNumberValue

func (s *BaseIniListener) ExitNumberValue(ctx *NumberValueContext)

ExitNumberValue is called when production numberValue is exited.

func (*BaseIniListener) ExitSection

func (s *BaseIniListener) ExitSection(ctx *SectionContext)

ExitSection is called when production section is exited.

func (*BaseIniListener) ExitSectionBody

func (s *BaseIniListener) ExitSectionBody(ctx *SectionBodyContext)

ExitSectionBody is called when production sectionBody is exited.

func (*BaseIniListener) ExitSectionHeader

func (s *BaseIniListener) ExitSectionHeader(ctx *SectionHeaderContext)

ExitSectionHeader is called when production sectionHeader is exited.

func (*BaseIniListener) ExitStringValue

func (s *BaseIniListener) ExitStringValue(ctx *StringValueContext)

ExitStringValue is called when production stringValue is exited.

func (*BaseIniListener) ExitValue

func (s *BaseIniListener) ExitValue(ctx *ValueContext)

ExitValue is called when production value is exited.

func (*BaseIniListener) ExitValueLine

func (s *BaseIniListener) ExitValueLine(ctx *ValueLineContext)

ExitValueLine is called when production valueLine is exited.

func (*BaseIniListener) ExitVariableName

func (s *BaseIniListener) ExitVariableName(ctx *VariableNameContext)

ExitVariableName is called when production variableName is exited.

func (*BaseIniListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseIniListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BasicValueContext

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

func NewBasicValueContext

func NewBasicValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BasicValueContext

func NewEmptyBasicValueContext

func NewEmptyBasicValueContext() *BasicValueContext

func (*BasicValueContext) BoolValue

func (s *BasicValueContext) BoolValue() IBoolValueContext

func (*BasicValueContext) EnterRule

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

func (*BasicValueContext) ExitRule

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

func (*BasicValueContext) GetParser

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

func (*BasicValueContext) GetRuleContext

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

func (*BasicValueContext) IsBasicValueContext

func (*BasicValueContext) IsBasicValueContext()

func (*BasicValueContext) NumberValue

func (s *BasicValueContext) NumberValue() INumberValueContext

func (*BasicValueContext) StringValue

func (s *BasicValueContext) StringValue() IStringValueContext

func (*BasicValueContext) ToStringTree

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

type BoolValueContext

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

func NewBoolValueContext

func NewBoolValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoolValueContext

func NewEmptyBoolValueContext

func NewEmptyBoolValueContext() *BoolValueContext

func (*BoolValueContext) BooleanLiteral

func (s *BoolValueContext) BooleanLiteral() antlr.TerminalNode

func (*BoolValueContext) EnterRule

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

func (*BoolValueContext) ExitRule

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

func (*BoolValueContext) GetParser

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

func (*BoolValueContext) GetRuleContext

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

func (*BoolValueContext) IsBoolValueContext

func (*BoolValueContext) IsBoolValueContext()

func (*BoolValueContext) ToStringTree

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

type CommentLineContext

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

func NewCommentLineContext

func NewCommentLineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommentLineContext

func NewEmptyCommentLineContext

func NewEmptyCommentLineContext() *CommentLineContext

func (*CommentLineContext) CommentLine

func (s *CommentLineContext) CommentLine() antlr.TerminalNode

func (*CommentLineContext) EnterRule

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

func (*CommentLineContext) ExitRule

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

func (*CommentLineContext) GetParser

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

func (*CommentLineContext) GetRuleContext

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

func (*CommentLineContext) IsCommentLineContext

func (*CommentLineContext) IsCommentLineContext()

func (*CommentLineContext) MultiNewLine

func (s *CommentLineContext) MultiNewLine() antlr.TerminalNode

func (*CommentLineContext) ToStringTree

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

type DecimalValueContext

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

func NewDecimalValueContext

func NewDecimalValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DecimalValueContext

func NewEmptyDecimalValueContext

func NewEmptyDecimalValueContext() *DecimalValueContext

func (*DecimalValueContext) DecimalLiteral

func (s *DecimalValueContext) DecimalLiteral() antlr.TerminalNode

func (*DecimalValueContext) EnterRule

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

func (*DecimalValueContext) ExitRule

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

func (*DecimalValueContext) GetParser

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

func (*DecimalValueContext) GetRuleContext

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

func (*DecimalValueContext) IsDecimalValueContext

func (*DecimalValueContext) IsDecimalValueContext()

func (*DecimalValueContext) ToStringTree

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

type IBasicValueContext

type IBasicValueContext interface {
	antlr.ParserRuleContext

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

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

IBasicValueContext is an interface to support dynamic dispatch.

type IBoolValueContext

type IBoolValueContext interface {
	antlr.ParserRuleContext

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

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

IBoolValueContext is an interface to support dynamic dispatch.

type ICommentLineContext

type ICommentLineContext interface {
	antlr.ParserRuleContext

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

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

ICommentLineContext is an interface to support dynamic dispatch.

type IDecimalValueContext

type IDecimalValueContext interface {
	antlr.ParserRuleContext

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

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

IDecimalValueContext is an interface to support dynamic dispatch.

type IIntegerValueContext

type IIntegerValueContext interface {
	antlr.ParserRuleContext

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

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

IIntegerValueContext is an interface to support dynamic dispatch.

type IListValueContext

type IListValueContext interface {
	antlr.ParserRuleContext

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

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

IListValueContext is an interface to support dynamic dispatch.

type IMainContext

type IMainContext interface {
	antlr.ParserRuleContext

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

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

IMainContext is an interface to support dynamic dispatch.

type INumberValueContext

type INumberValueContext interface {
	antlr.ParserRuleContext

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

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

INumberValueContext is an interface to support dynamic dispatch.

type ISectionBodyContext

type ISectionBodyContext interface {
	antlr.ParserRuleContext

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

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

ISectionBodyContext is an interface to support dynamic dispatch.

type ISectionContext

type ISectionContext interface {
	antlr.ParserRuleContext

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

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

ISectionContext is an interface to support dynamic dispatch.

type ISectionHeaderContext

type ISectionHeaderContext interface {
	antlr.ParserRuleContext

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

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

ISectionHeaderContext 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 IValueContext

type IValueContext interface {
	antlr.ParserRuleContext

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

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

IValueContext is an interface to support dynamic dispatch.

type IValueLineContext

type IValueLineContext interface {
	antlr.ParserRuleContext

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

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

IValueLineContext is an interface to support dynamic dispatch.

type IVariableNameContext

type IVariableNameContext interface {
	antlr.ParserRuleContext

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

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

IVariableNameContext is an interface to support dynamic dispatch.

type IniLexer

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

func NewIniLexer

func NewIniLexer(input antlr.CharStream) *IniLexer

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

The *IniLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

type IniListener

type IniListener interface {
	antlr.ParseTreeListener

	// EnterMain is called when entering the main production.
	EnterMain(c *MainContext)

	// EnterSection is called when entering the section production.
	EnterSection(c *SectionContext)

	// EnterSectionHeader is called when entering the sectionHeader production.
	EnterSectionHeader(c *SectionHeaderContext)

	// EnterSectionBody is called when entering the sectionBody production.
	EnterSectionBody(c *SectionBodyContext)

	// EnterValueLine is called when entering the valueLine production.
	EnterValueLine(c *ValueLineContext)

	// EnterVariableName is called when entering the variableName production.
	EnterVariableName(c *VariableNameContext)

	// EnterValue is called when entering the value production.
	EnterValue(c *ValueContext)

	// EnterListValue is called when entering the listValue production.
	EnterListValue(c *ListValueContext)

	// EnterBasicValue is called when entering the basicValue production.
	EnterBasicValue(c *BasicValueContext)

	// EnterCommentLine is called when entering the commentLine production.
	EnterCommentLine(c *CommentLineContext)

	// EnterBoolValue is called when entering the boolValue production.
	EnterBoolValue(c *BoolValueContext)

	// EnterStringValue is called when entering the stringValue production.
	EnterStringValue(c *StringValueContext)

	// EnterNumberValue is called when entering the numberValue production.
	EnterNumberValue(c *NumberValueContext)

	// EnterIntegerValue is called when entering the integerValue production.
	EnterIntegerValue(c *IntegerValueContext)

	// EnterDecimalValue is called when entering the decimalValue production.
	EnterDecimalValue(c *DecimalValueContext)

	// ExitMain is called when exiting the main production.
	ExitMain(c *MainContext)

	// ExitSection is called when exiting the section production.
	ExitSection(c *SectionContext)

	// ExitSectionHeader is called when exiting the sectionHeader production.
	ExitSectionHeader(c *SectionHeaderContext)

	// ExitSectionBody is called when exiting the sectionBody production.
	ExitSectionBody(c *SectionBodyContext)

	// ExitValueLine is called when exiting the valueLine production.
	ExitValueLine(c *ValueLineContext)

	// ExitVariableName is called when exiting the variableName production.
	ExitVariableName(c *VariableNameContext)

	// ExitValue is called when exiting the value production.
	ExitValue(c *ValueContext)

	// ExitListValue is called when exiting the listValue production.
	ExitListValue(c *ListValueContext)

	// ExitBasicValue is called when exiting the basicValue production.
	ExitBasicValue(c *BasicValueContext)

	// ExitCommentLine is called when exiting the commentLine production.
	ExitCommentLine(c *CommentLineContext)

	// ExitBoolValue is called when exiting the boolValue production.
	ExitBoolValue(c *BoolValueContext)

	// ExitStringValue is called when exiting the stringValue production.
	ExitStringValue(c *StringValueContext)

	// ExitNumberValue is called when exiting the numberValue production.
	ExitNumberValue(c *NumberValueContext)

	// ExitIntegerValue is called when exiting the integerValue production.
	ExitIntegerValue(c *IntegerValueContext)

	// ExitDecimalValue is called when exiting the decimalValue production.
	ExitDecimalValue(c *DecimalValueContext)
}

IniListener is a complete listener for a parse tree produced by IniParser.

type IniParser

type IniParser struct {
	*antlr.BaseParser
}

func NewIniParser

func NewIniParser(input antlr.TokenStream) *IniParser

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

The *IniParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

func (*IniParser) BasicValue

func (p *IniParser) BasicValue() (localctx IBasicValueContext)

func (*IniParser) BoolValue

func (p *IniParser) BoolValue() (localctx IBoolValueContext)

func (*IniParser) CommentLine

func (p *IniParser) CommentLine() (localctx ICommentLineContext)

func (*IniParser) DecimalValue

func (p *IniParser) DecimalValue() (localctx IDecimalValueContext)

func (*IniParser) IntegerValue

func (p *IniParser) IntegerValue() (localctx IIntegerValueContext)

func (*IniParser) ListValue

func (p *IniParser) ListValue() (localctx IListValueContext)

func (*IniParser) Main

func (p *IniParser) Main() (localctx IMainContext)

func (*IniParser) NumberValue

func (p *IniParser) NumberValue() (localctx INumberValueContext)

func (*IniParser) Section

func (p *IniParser) Section() (localctx ISectionContext)

func (*IniParser) SectionBody

func (p *IniParser) SectionBody() (localctx ISectionBodyContext)

func (*IniParser) SectionHeader

func (p *IniParser) SectionHeader() (localctx ISectionHeaderContext)

func (*IniParser) StringValue

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

func (*IniParser) Value

func (p *IniParser) Value() (localctx IValueContext)

func (*IniParser) ValueLine

func (p *IniParser) ValueLine() (localctx IValueLineContext)

func (*IniParser) VariableName

func (p *IniParser) VariableName() (localctx IVariableNameContext)

type IntegerValueContext

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

func NewEmptyIntegerValueContext

func NewEmptyIntegerValueContext() *IntegerValueContext

func NewIntegerValueContext

func NewIntegerValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntegerValueContext

func (*IntegerValueContext) EnterRule

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

func (*IntegerValueContext) ExitRule

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

func (*IntegerValueContext) GetParser

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

func (*IntegerValueContext) GetRuleContext

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

func (*IntegerValueContext) IntegerLiteral

func (s *IntegerValueContext) IntegerLiteral() antlr.TerminalNode

func (*IntegerValueContext) IsIntegerValueContext

func (*IntegerValueContext) IsIntegerValueContext()

func (*IntegerValueContext) ToStringTree

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

type ListValueContext

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

func NewEmptyListValueContext

func NewEmptyListValueContext() *ListValueContext

func NewListValueContext

func NewListValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListValueContext

func (*ListValueContext) AllBasicValue

func (s *ListValueContext) AllBasicValue() []IBasicValueContext

func (*ListValueContext) BasicValue

func (s *ListValueContext) BasicValue(i int) IBasicValueContext

func (*ListValueContext) EnterRule

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

func (*ListValueContext) ExitRule

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

func (*ListValueContext) GetParser

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

func (*ListValueContext) GetRuleContext

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

func (*ListValueContext) IsListValueContext

func (*ListValueContext) IsListValueContext()

func (*ListValueContext) ToStringTree

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

type MainContext

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

func NewEmptyMainContext

func NewEmptyMainContext() *MainContext

func NewMainContext

func NewMainContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MainContext

func (*MainContext) AllMultiNewLine

func (s *MainContext) AllMultiNewLine() []antlr.TerminalNode

func (*MainContext) AllSection

func (s *MainContext) AllSection() []ISectionContext

func (*MainContext) EOF

func (s *MainContext) EOF() antlr.TerminalNode

func (*MainContext) EnterRule

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

func (*MainContext) ExitRule

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

func (*MainContext) GetParser

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

func (*MainContext) GetRuleContext

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

func (*MainContext) IsMainContext

func (*MainContext) IsMainContext()

func (*MainContext) MultiNewLine

func (s *MainContext) MultiNewLine(i int) antlr.TerminalNode

func (*MainContext) Section

func (s *MainContext) Section(i int) ISectionContext

func (*MainContext) ToStringTree

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

type NumberValueContext

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

func NewEmptyNumberValueContext

func NewEmptyNumberValueContext() *NumberValueContext

func NewNumberValueContext

func NewNumberValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberValueContext

func (*NumberValueContext) DecimalValue

func (s *NumberValueContext) DecimalValue() IDecimalValueContext

func (*NumberValueContext) EnterRule

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

func (*NumberValueContext) ExitRule

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

func (*NumberValueContext) GetParser

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

func (*NumberValueContext) GetRuleContext

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

func (*NumberValueContext) IntegerValue

func (s *NumberValueContext) IntegerValue() IIntegerValueContext

func (*NumberValueContext) IsNumberValueContext

func (*NumberValueContext) IsNumberValueContext()

func (*NumberValueContext) ToStringTree

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

type SectionBodyContext

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

func NewEmptySectionBodyContext

func NewEmptySectionBodyContext() *SectionBodyContext

func NewSectionBodyContext

func NewSectionBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SectionBodyContext

func (*SectionBodyContext) AllCommentLine

func (s *SectionBodyContext) AllCommentLine() []ICommentLineContext

func (*SectionBodyContext) AllValueLine

func (s *SectionBodyContext) AllValueLine() []IValueLineContext

func (*SectionBodyContext) CommentLine

func (s *SectionBodyContext) CommentLine(i int) ICommentLineContext

func (*SectionBodyContext) EnterRule

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

func (*SectionBodyContext) ExitRule

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

func (*SectionBodyContext) GetParser

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

func (*SectionBodyContext) GetRuleContext

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

func (*SectionBodyContext) IsSectionBodyContext

func (*SectionBodyContext) IsSectionBodyContext()

func (*SectionBodyContext) ToStringTree

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

func (*SectionBodyContext) ValueLine

func (s *SectionBodyContext) ValueLine(i int) IValueLineContext

type SectionContext

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

func NewEmptySectionContext

func NewEmptySectionContext() *SectionContext

func NewSectionContext

func NewSectionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SectionContext

func (*SectionContext) EnterRule

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

func (*SectionContext) ExitRule

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

func (*SectionContext) GetParser

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

func (*SectionContext) GetRuleContext

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

func (*SectionContext) IsSectionContext

func (*SectionContext) IsSectionContext()

func (*SectionContext) SectionBody

func (s *SectionContext) SectionBody() ISectionBodyContext

func (*SectionContext) SectionHeader

func (s *SectionContext) SectionHeader() ISectionHeaderContext

func (*SectionContext) ToStringTree

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

type SectionHeaderContext

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

func NewEmptySectionHeaderContext

func NewEmptySectionHeaderContext() *SectionHeaderContext

func NewSectionHeaderContext

func NewSectionHeaderContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SectionHeaderContext

func (*SectionHeaderContext) EnterRule

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

func (*SectionHeaderContext) ExitRule

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

func (*SectionHeaderContext) GetParser

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

func (*SectionHeaderContext) GetRuleContext

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

func (*SectionHeaderContext) IsSectionHeaderContext

func (*SectionHeaderContext) IsSectionHeaderContext()

func (*SectionHeaderContext) SectionHeader

func (s *SectionHeaderContext) SectionHeader() antlr.TerminalNode

func (*SectionHeaderContext) ToStringTree

func (s *SectionHeaderContext) 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) 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) StringLiteral

func (s *StringValueContext) StringLiteral() antlr.TerminalNode

func (*StringValueContext) ToStringTree

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

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

func (s *ValueContext) BasicValue() IBasicValueContext

func (*ValueContext) EnterRule

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

func (*ValueContext) ExitRule

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

func (*ValueContext) GetParser

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

func (*ValueContext) GetRuleContext

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

func (*ValueContext) IsValueContext

func (*ValueContext) IsValueContext()

func (*ValueContext) ListValue

func (s *ValueContext) ListValue() IListValueContext

func (*ValueContext) ToStringTree

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

type ValueLineContext

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

func NewEmptyValueLineContext

func NewEmptyValueLineContext() *ValueLineContext

func NewValueLineContext

func NewValueLineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueLineContext

func (*ValueLineContext) EnterRule

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

func (*ValueLineContext) ExitRule

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

func (*ValueLineContext) GetParser

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

func (*ValueLineContext) GetRuleContext

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

func (*ValueLineContext) IsValueLineContext

func (*ValueLineContext) IsValueLineContext()

func (*ValueLineContext) MultiNewLine

func (s *ValueLineContext) MultiNewLine() antlr.TerminalNode

func (*ValueLineContext) ToStringTree

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

func (*ValueLineContext) Value

func (s *ValueLineContext) Value() IValueContext

func (*ValueLineContext) VariableName

func (s *ValueLineContext) VariableName() IVariableNameContext

type VariableNameContext

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

func NewEmptyVariableNameContext

func NewEmptyVariableNameContext() *VariableNameContext

func NewVariableNameContext

func NewVariableNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableNameContext

func (*VariableNameContext) EnterRule

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

func (*VariableNameContext) ExitRule

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

func (*VariableNameContext) GetParser

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

func (*VariableNameContext) GetRuleContext

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

func (*VariableNameContext) Identifier

func (s *VariableNameContext) Identifier() antlr.TerminalNode

func (*VariableNameContext) IsVariableNameContext

func (*VariableNameContext) IsVariableNameContext()

func (*VariableNameContext) ToStringTree

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

Jump to

Keyboard shortcuts

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