parser

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FuncLexerT__0   = 1
	FuncLexerT__1   = 2
	FuncLexerT__2   = 3
	FuncLexerT__3   = 4
	FuncLexerT__4   = 5
	FuncLexerT__5   = 6
	FuncLexerT__6   = 7
	FuncLexerT__7   = 8
	FuncLexerNAME   = 9
	FuncLexerINT    = 10
	FuncLexerHEX    = 11
	FuncLexerSTRING = 12
	FuncLexerBOOL   = 13
	FuncLexerDOMAIN = 14
	FuncLexerWS     = 15
)

FuncLexer tokens.

View Source
const (
	FuncParserEOF    = antlr.TokenEOF
	FuncParserT__0   = 1
	FuncParserT__1   = 2
	FuncParserT__2   = 3
	FuncParserT__3   = 4
	FuncParserT__4   = 5
	FuncParserT__5   = 6
	FuncParserT__6   = 7
	FuncParserT__7   = 8
	FuncParserNAME   = 9
	FuncParserINT    = 10
	FuncParserHEX    = 11
	FuncParserSTRING = 12
	FuncParserBOOL   = 13
	FuncParserDOMAIN = 14
	FuncParserWS     = 15
)

FuncParser tokens.

View Source
const (
	FuncParserRULE_start     = 0
	FuncParserRULE_funcName  = 1
	FuncParserRULE_funcArgs  = 2
	FuncParserRULE_arg       = 3
	FuncParserRULE_intArg    = 4
	FuncParserRULE_hexArg    = 5
	FuncParserRULE_stringArg = 6
	FuncParserRULE_boolArg   = 7
	FuncParserRULE_domainArg = 8
	FuncParserRULE_arrayArg  = 9
)

FuncParser rules.

Variables

View Source
var FuncLexerLexerStaticData struct {
	ChannelNames           []string
	ModeNames              []string
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}
View Source
var FuncParserStaticData struct {
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}

Functions

func FuncLexerInit added in v2.8.0

func FuncLexerInit()

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

func FuncParserInit added in v2.8.0

func FuncParserInit()

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

func InitEmptyArgContext added in v2.8.10

func InitEmptyArgContext(p *ArgContext)

func InitEmptyArrayArgContext added in v2.8.10

func InitEmptyArrayArgContext(p *ArrayArgContext)

func InitEmptyBoolArgContext added in v2.8.10

func InitEmptyBoolArgContext(p *BoolArgContext)

func InitEmptyDomainArgContext added in v2.8.10

func InitEmptyDomainArgContext(p *DomainArgContext)

func InitEmptyFuncArgsContext added in v2.8.10

func InitEmptyFuncArgsContext(p *FuncArgsContext)

func InitEmptyFuncNameContext added in v2.8.10

func InitEmptyFuncNameContext(p *FuncNameContext)

func InitEmptyHexArgContext added in v2.8.10

func InitEmptyHexArgContext(p *HexArgContext)

func InitEmptyIntArgContext added in v2.8.10

func InitEmptyIntArgContext(p *IntArgContext)

func InitEmptyStartContext added in v2.8.10

func InitEmptyStartContext(p *StartContext)

func InitEmptyStringArgContext added in v2.8.10

func InitEmptyStringArgContext(p *StringArgContext)

Types

type ArgContext

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

func NewArgContext

func NewArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgContext

func NewEmptyArgContext

func NewEmptyArgContext() *ArgContext

func (*ArgContext) ArrayArg

func (s *ArgContext) ArrayArg() IArrayArgContext

func (*ArgContext) BoolArg

func (s *ArgContext) BoolArg() IBoolArgContext

func (*ArgContext) DomainArg

func (s *ArgContext) DomainArg() IDomainArgContext

func (*ArgContext) EnterRule

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

func (*ArgContext) ExitRule

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

func (*ArgContext) GetParser

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

func (*ArgContext) GetRuleContext

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

func (*ArgContext) HexArg

func (s *ArgContext) HexArg() IHexArgContext

func (*ArgContext) IntArg

func (s *ArgContext) IntArg() IIntArgContext

func (*ArgContext) IsArgContext

func (*ArgContext) IsArgContext()

func (*ArgContext) StringArg

func (s *ArgContext) StringArg() IStringArgContext

func (*ArgContext) ToStringTree

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

type ArrayArgContext

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

func NewArrayArgContext

func NewArrayArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayArgContext

func NewEmptyArrayArgContext

func NewEmptyArrayArgContext() *ArrayArgContext

func (*ArrayArgContext) EnterRule

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

func (*ArrayArgContext) ExitRule

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

func (*ArrayArgContext) FuncArgs

func (s *ArrayArgContext) FuncArgs() IFuncArgsContext

func (*ArrayArgContext) GetParser

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

func (*ArrayArgContext) GetRuleContext

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

func (*ArrayArgContext) IsArrayArgContext

func (*ArrayArgContext) IsArrayArgContext()

func (*ArrayArgContext) ToStringTree

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

type BaseFuncListener

type BaseFuncListener struct{}

BaseFuncListener is a complete listener for a parse tree produced by FuncParser.

func (*BaseFuncListener) EnterArg

func (s *BaseFuncListener) EnterArg(ctx *ArgContext)

EnterArg is called when production arg is entered.

func (*BaseFuncListener) EnterArrayArg

func (s *BaseFuncListener) EnterArrayArg(ctx *ArrayArgContext)

EnterArrayArg is called when production arrayArg is entered.

func (*BaseFuncListener) EnterBoolArg

func (s *BaseFuncListener) EnterBoolArg(ctx *BoolArgContext)

EnterBoolArg is called when production boolArg is entered.

func (*BaseFuncListener) EnterDomainArg

func (s *BaseFuncListener) EnterDomainArg(ctx *DomainArgContext)

EnterDomainArg is called when production domainArg is entered.

func (*BaseFuncListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseFuncListener) EnterFuncArgs

func (s *BaseFuncListener) EnterFuncArgs(ctx *FuncArgsContext)

EnterFuncArgs is called when production funcArgs is entered.

func (*BaseFuncListener) EnterFuncName

func (s *BaseFuncListener) EnterFuncName(ctx *FuncNameContext)

EnterFuncName is called when production funcName is entered.

func (*BaseFuncListener) EnterHexArg

func (s *BaseFuncListener) EnterHexArg(ctx *HexArgContext)

EnterHexArg is called when production hexArg is entered.

func (*BaseFuncListener) EnterIntArg

func (s *BaseFuncListener) EnterIntArg(ctx *IntArgContext)

EnterIntArg is called when production intArg is entered.

func (*BaseFuncListener) EnterStart

func (s *BaseFuncListener) EnterStart(ctx *StartContext)

EnterStart is called when production start is entered.

func (*BaseFuncListener) EnterStringArg

func (s *BaseFuncListener) EnterStringArg(ctx *StringArgContext)

EnterStringArg is called when production stringArg is entered.

func (*BaseFuncListener) ExitArg

func (s *BaseFuncListener) ExitArg(ctx *ArgContext)

ExitArg is called when production arg is exited.

func (*BaseFuncListener) ExitArrayArg

func (s *BaseFuncListener) ExitArrayArg(ctx *ArrayArgContext)

ExitArrayArg is called when production arrayArg is exited.

func (*BaseFuncListener) ExitBoolArg

func (s *BaseFuncListener) ExitBoolArg(ctx *BoolArgContext)

ExitBoolArg is called when production boolArg is exited.

func (*BaseFuncListener) ExitDomainArg

func (s *BaseFuncListener) ExitDomainArg(ctx *DomainArgContext)

ExitDomainArg is called when production domainArg is exited.

func (*BaseFuncListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseFuncListener) ExitFuncArgs

func (s *BaseFuncListener) ExitFuncArgs(ctx *FuncArgsContext)

ExitFuncArgs is called when production funcArgs is exited.

func (*BaseFuncListener) ExitFuncName

func (s *BaseFuncListener) ExitFuncName(ctx *FuncNameContext)

ExitFuncName is called when production funcName is exited.

func (*BaseFuncListener) ExitHexArg

func (s *BaseFuncListener) ExitHexArg(ctx *HexArgContext)

ExitHexArg is called when production hexArg is exited.

func (*BaseFuncListener) ExitIntArg

func (s *BaseFuncListener) ExitIntArg(ctx *IntArgContext)

ExitIntArg is called when production intArg is exited.

func (*BaseFuncListener) ExitStart

func (s *BaseFuncListener) ExitStart(ctx *StartContext)

ExitStart is called when production start is exited.

func (*BaseFuncListener) ExitStringArg

func (s *BaseFuncListener) ExitStringArg(ctx *StringArgContext)

ExitStringArg is called when production stringArg is exited.

func (*BaseFuncListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseFuncListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BoolArgContext

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

func NewBoolArgContext

func NewBoolArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoolArgContext

func NewEmptyBoolArgContext

func NewEmptyBoolArgContext() *BoolArgContext

func (*BoolArgContext) EnterRule

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

func (*BoolArgContext) ExitRule

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

func (*BoolArgContext) GetParser

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

func (*BoolArgContext) GetRuleContext

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

func (*BoolArgContext) IsBoolArgContext

func (*BoolArgContext) IsBoolArgContext()

func (*BoolArgContext) ToStringTree

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

type DomainArgContext

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

func NewDomainArgContext

func NewDomainArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DomainArgContext

func NewEmptyDomainArgContext

func NewEmptyDomainArgContext() *DomainArgContext

func (*DomainArgContext) DOMAIN

func (s *DomainArgContext) DOMAIN() antlr.TerminalNode

func (*DomainArgContext) EnterRule

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

func (*DomainArgContext) ExitRule

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

func (*DomainArgContext) GetParser

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

func (*DomainArgContext) GetRuleContext

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

func (*DomainArgContext) IsDomainArgContext

func (*DomainArgContext) IsDomainArgContext()

func (*DomainArgContext) ToStringTree

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

type FuncArgsContext

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

func NewEmptyFuncArgsContext

func NewEmptyFuncArgsContext() *FuncArgsContext

func NewFuncArgsContext

func NewFuncArgsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncArgsContext

func (*FuncArgsContext) AllArg

func (s *FuncArgsContext) AllArg() []IArgContext

func (*FuncArgsContext) Arg

func (s *FuncArgsContext) Arg(i int) IArgContext

func (*FuncArgsContext) EnterRule

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

func (*FuncArgsContext) ExitRule

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

func (*FuncArgsContext) GetParser

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

func (*FuncArgsContext) GetRuleContext

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

func (*FuncArgsContext) IsFuncArgsContext

func (*FuncArgsContext) IsFuncArgsContext()

func (*FuncArgsContext) ToStringTree

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

type FuncLexer

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

func NewFuncLexer

func NewFuncLexer(input antlr.CharStream) *FuncLexer

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

type FuncListener

type FuncListener interface {
	antlr.ParseTreeListener

	// EnterStart is called when entering the start production.
	EnterStart(c *StartContext)

	// EnterFuncName is called when entering the funcName production.
	EnterFuncName(c *FuncNameContext)

	// EnterFuncArgs is called when entering the funcArgs production.
	EnterFuncArgs(c *FuncArgsContext)

	// EnterArg is called when entering the arg production.
	EnterArg(c *ArgContext)

	// EnterIntArg is called when entering the intArg production.
	EnterIntArg(c *IntArgContext)

	// EnterHexArg is called when entering the hexArg production.
	EnterHexArg(c *HexArgContext)

	// EnterStringArg is called when entering the stringArg production.
	EnterStringArg(c *StringArgContext)

	// EnterBoolArg is called when entering the boolArg production.
	EnterBoolArg(c *BoolArgContext)

	// EnterDomainArg is called when entering the domainArg production.
	EnterDomainArg(c *DomainArgContext)

	// EnterArrayArg is called when entering the arrayArg production.
	EnterArrayArg(c *ArrayArgContext)

	// ExitStart is called when exiting the start production.
	ExitStart(c *StartContext)

	// ExitFuncName is called when exiting the funcName production.
	ExitFuncName(c *FuncNameContext)

	// ExitFuncArgs is called when exiting the funcArgs production.
	ExitFuncArgs(c *FuncArgsContext)

	// ExitArg is called when exiting the arg production.
	ExitArg(c *ArgContext)

	// ExitIntArg is called when exiting the intArg production.
	ExitIntArg(c *IntArgContext)

	// ExitHexArg is called when exiting the hexArg production.
	ExitHexArg(c *HexArgContext)

	// ExitStringArg is called when exiting the stringArg production.
	ExitStringArg(c *StringArgContext)

	// ExitBoolArg is called when exiting the boolArg production.
	ExitBoolArg(c *BoolArgContext)

	// ExitDomainArg is called when exiting the domainArg production.
	ExitDomainArg(c *DomainArgContext)

	// ExitArrayArg is called when exiting the arrayArg production.
	ExitArrayArg(c *ArrayArgContext)
}

FuncListener is a complete listener for a parse tree produced by FuncParser.

type FuncNameContext

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

func NewEmptyFuncNameContext

func NewEmptyFuncNameContext() *FuncNameContext

func NewFuncNameContext

func NewFuncNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncNameContext

func (*FuncNameContext) EnterRule

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

func (*FuncNameContext) ExitRule

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

func (*FuncNameContext) GetParser

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

func (*FuncNameContext) GetRuleContext

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

func (*FuncNameContext) IsFuncNameContext

func (*FuncNameContext) IsFuncNameContext()

func (*FuncNameContext) NAME

func (s *FuncNameContext) NAME() antlr.TerminalNode

func (*FuncNameContext) ToStringTree

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

type FuncParser

type FuncParser struct {
	*antlr.BaseParser
}

func NewFuncParser

func NewFuncParser(input antlr.TokenStream) *FuncParser

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

func (*FuncParser) Arg

func (p *FuncParser) Arg() (localctx IArgContext)

func (*FuncParser) ArrayArg

func (p *FuncParser) ArrayArg() (localctx IArrayArgContext)

func (*FuncParser) BoolArg

func (p *FuncParser) BoolArg() (localctx IBoolArgContext)

func (*FuncParser) DomainArg

func (p *FuncParser) DomainArg() (localctx IDomainArgContext)

func (*FuncParser) FuncArgs

func (p *FuncParser) FuncArgs() (localctx IFuncArgsContext)

func (*FuncParser) FuncName

func (p *FuncParser) FuncName() (localctx IFuncNameContext)

func (*FuncParser) HexArg

func (p *FuncParser) HexArg() (localctx IHexArgContext)

func (*FuncParser) IntArg

func (p *FuncParser) IntArg() (localctx IIntArgContext)

func (*FuncParser) Start_ added in v2.8.10

func (p *FuncParser) Start_() (localctx IStartContext)

func (*FuncParser) StringArg

func (p *FuncParser) StringArg() (localctx IStringArgContext)

type HexArgContext

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

func NewEmptyHexArgContext

func NewEmptyHexArgContext() *HexArgContext

func NewHexArgContext

func NewHexArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HexArgContext

func (*HexArgContext) EnterRule

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

func (*HexArgContext) ExitRule

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

func (*HexArgContext) GetParser

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

func (*HexArgContext) GetRuleContext

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

func (*HexArgContext) HEX

func (s *HexArgContext) HEX() antlr.TerminalNode

func (*HexArgContext) IsHexArgContext

func (*HexArgContext) IsHexArgContext()

func (*HexArgContext) ToStringTree

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

type IArgContext

type IArgContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IntArg() IIntArgContext
	HexArg() IHexArgContext
	StringArg() IStringArgContext
	BoolArg() IBoolArgContext
	DomainArg() IDomainArgContext
	ArrayArg() IArrayArgContext

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

IArgContext is an interface to support dynamic dispatch.

type IArrayArgContext

type IArrayArgContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FuncArgs() IFuncArgsContext

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

IArrayArgContext is an interface to support dynamic dispatch.

type IBoolArgContext

type IBoolArgContext interface {
	antlr.ParserRuleContext

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

IBoolArgContext is an interface to support dynamic dispatch.

type IDomainArgContext

type IDomainArgContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	DOMAIN() antlr.TerminalNode

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

IDomainArgContext is an interface to support dynamic dispatch.

type IFuncArgsContext

type IFuncArgsContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllArg() []IArgContext
	Arg(i int) IArgContext

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

IFuncArgsContext is an interface to support dynamic dispatch.

type IFuncNameContext

type IFuncNameContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	NAME() antlr.TerminalNode

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

IFuncNameContext is an interface to support dynamic dispatch.

type IHexArgContext

type IHexArgContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	HEX() antlr.TerminalNode

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

IHexArgContext is an interface to support dynamic dispatch.

type IIntArgContext

type IIntArgContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	INT() antlr.TerminalNode

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

IIntArgContext is an interface to support dynamic dispatch.

type IStartContext

type IStartContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FuncName() IFuncNameContext
	FuncArgs() IFuncArgsContext
	EOF() antlr.TerminalNode

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

IStartContext is an interface to support dynamic dispatch.

type IStringArgContext

type IStringArgContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	STRING() antlr.TerminalNode

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

IStringArgContext is an interface to support dynamic dispatch.

type IntArgContext

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

func NewEmptyIntArgContext

func NewEmptyIntArgContext() *IntArgContext

func NewIntArgContext

func NewIntArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntArgContext

func (*IntArgContext) EnterRule

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

func (*IntArgContext) ExitRule

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

func (*IntArgContext) GetParser

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

func (*IntArgContext) GetRuleContext

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

func (*IntArgContext) INT

func (s *IntArgContext) INT() antlr.TerminalNode

func (*IntArgContext) IsIntArgContext

func (*IntArgContext) IsIntArgContext()

func (*IntArgContext) ToStringTree

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

type StartContext

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

func NewEmptyStartContext

func NewEmptyStartContext() *StartContext

func NewStartContext

func NewStartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StartContext

func (*StartContext) EOF

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

func (*StartContext) EnterRule

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

func (*StartContext) ExitRule

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

func (*StartContext) FuncArgs

func (s *StartContext) FuncArgs() IFuncArgsContext

func (*StartContext) FuncName

func (s *StartContext) FuncName() IFuncNameContext

func (*StartContext) GetParser

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

func (*StartContext) GetRuleContext

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

func (*StartContext) IsStartContext

func (*StartContext) IsStartContext()

func (*StartContext) ToStringTree

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

type StringArgContext

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

func NewEmptyStringArgContext

func NewEmptyStringArgContext() *StringArgContext

func NewStringArgContext

func NewStringArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringArgContext

func (*StringArgContext) EnterRule

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

func (*StringArgContext) ExitRule

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

func (*StringArgContext) GetParser

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

func (*StringArgContext) GetRuleContext

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

func (*StringArgContext) IsStringArgContext

func (*StringArgContext) IsStringArgContext()

func (*StringArgContext) STRING

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

func (*StringArgContext) ToStringTree

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