parser

package
v0.0.0-...-70fd630 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BundLexerLSQ             = 1
	BundLexerRSQ             = 2
	BundLexerLRQ             = 3
	BundLexerRRQ             = 4
	BundLexerTHEEND          = 5
	BundLexerLAMBDA_HDR      = 6
	BundLexerMACRO_HDR       = 7
	BundLexerHASH            = 8
	BundLexerDOLL            = 9
	BundLexerTOKEN           = 10
	BundLexerDATA            = 11
	BundLexerQ               = 12
	BundLexerINTEGER         = 13
	BundLexerSTRING          = 14
	BundLexerRAW_STRING      = 15
	BundLexerDECIMAL_INTEGER = 16
	BundLexerBTOKEN          = 17
	BundLexerID              = 18
	BundLexerWS              = 19
	BundLexerUNICODE_WS      = 20
	BundLexerCOMMENT         = 21
	BundLexerTERMINATOR      = 22
)

BundLexer tokens.

View Source
const (
	BundParserEOF             = antlr.TokenEOF
	BundParserLSQ             = 1
	BundParserRSQ             = 2
	BundParserLRQ             = 3
	BundParserRRQ             = 4
	BundParserTHEEND          = 5
	BundParserLAMBDA_HDR      = 6
	BundParserMACRO_HDR       = 7
	BundParserHASH            = 8
	BundParserDOLL            = 9
	BundParserTOKEN           = 10
	BundParserDATA            = 11
	BundParserQ               = 12
	BundParserINTEGER         = 13
	BundParserSTRING          = 14
	BundParserRAW_STRING      = 15
	BundParserDECIMAL_INTEGER = 16
	BundParserBTOKEN          = 17
	BundParserID              = 18
	BundParserWS              = 19
	BundParserUNICODE_WS      = 20
	BundParserCOMMENT         = 21
	BundParserTERMINATOR      = 22
)

BundParser tokens.

View Source
const (
	BundParserRULE_root                 = 0
	BundParserRULE_expression           = 1
	BundParserRULE_declaration          = 2
	BundParserRULE_ns_declaration       = 3
	BundParserRULE_function_declaration = 4
	BundParserRULE_macro_declaration    = 5
	BundParserRULE_nsexpression         = 6
	BundParserRULE_fexpression          = 7
	BundParserRULE_value_               = 8
	BundParserRULE_q_                   = 9
	BundParserRULE_id_                  = 10
)

BundParser rules.

Variables

This section is empty.

Functions

func BundLexerInit

func BundLexerInit()

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

func BundParserInit

func BundParserInit()

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

Types

type BaseBundParserListener

type BaseBundParserListener struct{}

BaseBundParserListener is a complete listener for a parse tree produced by BundParser.

func (*BaseBundParserListener) EnterDeclaration

func (s *BaseBundParserListener) EnterDeclaration(ctx *DeclarationContext)

EnterDeclaration is called when production declaration is entered.

func (*BaseBundParserListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseBundParserListener) EnterExpression

func (s *BaseBundParserListener) EnterExpression(ctx *ExpressionContext)

EnterExpression is called when production expression is entered.

func (*BaseBundParserListener) EnterFexpression

func (s *BaseBundParserListener) EnterFexpression(ctx *FexpressionContext)

EnterFexpression is called when production fexpression is entered.

func (*BaseBundParserListener) EnterFunction_declaration

func (s *BaseBundParserListener) EnterFunction_declaration(ctx *Function_declarationContext)

EnterFunction_declaration is called when production function_declaration is entered.

func (*BaseBundParserListener) EnterId_

func (s *BaseBundParserListener) EnterId_(ctx *Id_Context)

EnterId_ is called when production id_ is entered.

func (*BaseBundParserListener) EnterMacro_declaration

func (s *BaseBundParserListener) EnterMacro_declaration(ctx *Macro_declarationContext)

EnterMacro_declaration is called when production macro_declaration is entered.

func (*BaseBundParserListener) EnterNs_declaration

func (s *BaseBundParserListener) EnterNs_declaration(ctx *Ns_declarationContext)

EnterNs_declaration is called when production ns_declaration is entered.

func (*BaseBundParserListener) EnterNsexpression

func (s *BaseBundParserListener) EnterNsexpression(ctx *NsexpressionContext)

EnterNsexpression is called when production nsexpression is entered.

func (*BaseBundParserListener) EnterQ_

func (s *BaseBundParserListener) EnterQ_(ctx *Q_Context)

EnterQ_ is called when production q_ is entered.

func (*BaseBundParserListener) EnterRoot

func (s *BaseBundParserListener) EnterRoot(ctx *RootContext)

EnterRoot is called when production root is entered.

func (*BaseBundParserListener) EnterValue_

func (s *BaseBundParserListener) EnterValue_(ctx *Value_Context)

EnterValue_ is called when production value_ is entered.

func (*BaseBundParserListener) ExitDeclaration

func (s *BaseBundParserListener) ExitDeclaration(ctx *DeclarationContext)

ExitDeclaration is called when production declaration is exited.

func (*BaseBundParserListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseBundParserListener) ExitExpression

func (s *BaseBundParserListener) ExitExpression(ctx *ExpressionContext)

ExitExpression is called when production expression is exited.

func (*BaseBundParserListener) ExitFexpression

func (s *BaseBundParserListener) ExitFexpression(ctx *FexpressionContext)

ExitFexpression is called when production fexpression is exited.

func (*BaseBundParserListener) ExitFunction_declaration

func (s *BaseBundParserListener) ExitFunction_declaration(ctx *Function_declarationContext)

ExitFunction_declaration is called when production function_declaration is exited.

func (*BaseBundParserListener) ExitId_

func (s *BaseBundParserListener) ExitId_(ctx *Id_Context)

ExitId_ is called when production id_ is exited.

func (*BaseBundParserListener) ExitMacro_declaration

func (s *BaseBundParserListener) ExitMacro_declaration(ctx *Macro_declarationContext)

ExitMacro_declaration is called when production macro_declaration is exited.

func (*BaseBundParserListener) ExitNs_declaration

func (s *BaseBundParserListener) ExitNs_declaration(ctx *Ns_declarationContext)

ExitNs_declaration is called when production ns_declaration is exited.

func (*BaseBundParserListener) ExitNsexpression

func (s *BaseBundParserListener) ExitNsexpression(ctx *NsexpressionContext)

ExitNsexpression is called when production nsexpression is exited.

func (*BaseBundParserListener) ExitQ_

func (s *BaseBundParserListener) ExitQ_(ctx *Q_Context)

ExitQ_ is called when production q_ is exited.

func (*BaseBundParserListener) ExitRoot

func (s *BaseBundParserListener) ExitRoot(ctx *RootContext)

ExitRoot is called when production root is exited.

func (*BaseBundParserListener) ExitValue_

func (s *BaseBundParserListener) ExitValue_(ctx *Value_Context)

ExitValue_ is called when production value_ is exited.

func (*BaseBundParserListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseBundParserListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BundLexer

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

func NewBundLexer

func NewBundLexer(input antlr.CharStream) *BundLexer

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

type BundParser

type BundParser struct {
	*antlr.BaseParser
}

func NewBundParser

func NewBundParser(input antlr.TokenStream) *BundParser

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

func (*BundParser) Declaration

func (p *BundParser) Declaration() (localctx IDeclarationContext)

func (*BundParser) Expression

func (p *BundParser) Expression() (localctx IExpressionContext)

func (*BundParser) Fexpression

func (p *BundParser) Fexpression() (localctx IFexpressionContext)

func (*BundParser) Function_declaration

func (p *BundParser) Function_declaration() (localctx IFunction_declarationContext)

func (*BundParser) Id_

func (p *BundParser) Id_() (localctx IId_Context)

func (*BundParser) Macro_declaration

func (p *BundParser) Macro_declaration() (localctx IMacro_declarationContext)

func (*BundParser) Ns_declaration

func (p *BundParser) Ns_declaration() (localctx INs_declarationContext)

func (*BundParser) Nsexpression

func (p *BundParser) Nsexpression() (localctx INsexpressionContext)

func (*BundParser) Q_

func (p *BundParser) Q_() (localctx IQ_Context)

func (*BundParser) Root

func (p *BundParser) Root() (localctx IRootContext)

func (*BundParser) Value_

func (p *BundParser) Value_() (localctx IValue_Context)

type BundParserListener

type BundParserListener interface {
	antlr.ParseTreeListener

	// EnterRoot is called when entering the root production.
	EnterRoot(c *RootContext)

	// EnterExpression is called when entering the expression production.
	EnterExpression(c *ExpressionContext)

	// EnterDeclaration is called when entering the declaration production.
	EnterDeclaration(c *DeclarationContext)

	// EnterNs_declaration is called when entering the ns_declaration production.
	EnterNs_declaration(c *Ns_declarationContext)

	// EnterFunction_declaration is called when entering the function_declaration production.
	EnterFunction_declaration(c *Function_declarationContext)

	// EnterMacro_declaration is called when entering the macro_declaration production.
	EnterMacro_declaration(c *Macro_declarationContext)

	// EnterNsexpression is called when entering the nsexpression production.
	EnterNsexpression(c *NsexpressionContext)

	// EnterFexpression is called when entering the fexpression production.
	EnterFexpression(c *FexpressionContext)

	// EnterValue_ is called when entering the value_ production.
	EnterValue_(c *Value_Context)

	// EnterQ_ is called when entering the q_ production.
	EnterQ_(c *Q_Context)

	// EnterId_ is called when entering the id_ production.
	EnterId_(c *Id_Context)

	// ExitRoot is called when exiting the root production.
	ExitRoot(c *RootContext)

	// ExitExpression is called when exiting the expression production.
	ExitExpression(c *ExpressionContext)

	// ExitDeclaration is called when exiting the declaration production.
	ExitDeclaration(c *DeclarationContext)

	// ExitNs_declaration is called when exiting the ns_declaration production.
	ExitNs_declaration(c *Ns_declarationContext)

	// ExitFunction_declaration is called when exiting the function_declaration production.
	ExitFunction_declaration(c *Function_declarationContext)

	// ExitMacro_declaration is called when exiting the macro_declaration production.
	ExitMacro_declaration(c *Macro_declarationContext)

	// ExitNsexpression is called when exiting the nsexpression production.
	ExitNsexpression(c *NsexpressionContext)

	// ExitFexpression is called when exiting the fexpression production.
	ExitFexpression(c *FexpressionContext)

	// ExitValue_ is called when exiting the value_ production.
	ExitValue_(c *Value_Context)

	// ExitQ_ is called when exiting the q_ production.
	ExitQ_(c *Q_Context)

	// ExitId_ is called when exiting the id_ production.
	ExitId_(c *Id_Context)
}

BundParserListener is a complete listener for a parse tree produced by BundParser.

type DeclarationContext

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

func NewDeclarationContext

func NewDeclarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclarationContext

func NewEmptyDeclarationContext

func NewEmptyDeclarationContext() *DeclarationContext

func (*DeclarationContext) EnterRule

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

func (*DeclarationContext) ExitRule

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

func (*DeclarationContext) Function_declaration

func (s *DeclarationContext) Function_declaration() IFunction_declarationContext

func (*DeclarationContext) GetParser

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

func (*DeclarationContext) GetRuleContext

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

func (*DeclarationContext) IsDeclarationContext

func (*DeclarationContext) IsDeclarationContext()

func (*DeclarationContext) Macro_declaration

func (s *DeclarationContext) Macro_declaration() IMacro_declarationContext

func (*DeclarationContext) Ns_declaration

func (s *DeclarationContext) Ns_declaration() INs_declarationContext

func (*DeclarationContext) ToStringTree

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

type ExpressionContext

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

func NewEmptyExpressionContext

func NewEmptyExpressionContext() *ExpressionContext

func NewExpressionContext

func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext

func (*ExpressionContext) AllExpression

func (s *ExpressionContext) AllExpression() []IExpressionContext

func (*ExpressionContext) EnterRule

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

func (*ExpressionContext) ExitRule

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

func (*ExpressionContext) Expression

func (s *ExpressionContext) Expression(i int) IExpressionContext

func (*ExpressionContext) GetArgs

func (s *ExpressionContext) GetArgs() []IExpressionContext

func (*ExpressionContext) GetParser

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

func (*ExpressionContext) GetQ

func (s *ExpressionContext) GetQ() IQ_Context

func (*ExpressionContext) GetRuleContext

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

func (*ExpressionContext) GetVal

func (s *ExpressionContext) GetVal() IValue_Context

func (*ExpressionContext) Get_expression

func (s *ExpressionContext) Get_expression() IExpressionContext

func (*ExpressionContext) IsExpressionContext

func (*ExpressionContext) IsExpressionContext()

func (*ExpressionContext) LRQ

func (*ExpressionContext) LSQ

func (*ExpressionContext) Q_

func (s *ExpressionContext) Q_() IQ_Context

func (*ExpressionContext) RRQ

func (*ExpressionContext) RSQ

func (*ExpressionContext) SetArgs

func (s *ExpressionContext) SetArgs(v []IExpressionContext)

func (*ExpressionContext) SetQ

func (s *ExpressionContext) SetQ(v IQ_Context)

func (*ExpressionContext) SetVal

func (s *ExpressionContext) SetVal(v IValue_Context)

func (*ExpressionContext) Set_expression

func (s *ExpressionContext) Set_expression(v IExpressionContext)

func (*ExpressionContext) ToStringTree

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

func (*ExpressionContext) Value_

func (s *ExpressionContext) Value_() IValue_Context

type FexpressionContext

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

func NewEmptyFexpressionContext

func NewEmptyFexpressionContext() *FexpressionContext

func NewFexpressionContext

func NewFexpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FexpressionContext

func (*FexpressionContext) EnterRule

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

func (*FexpressionContext) ExitRule

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

func (*FexpressionContext) Expression

func (s *FexpressionContext) Expression() IExpressionContext

func (*FexpressionContext) GetParser

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

func (*FexpressionContext) GetRuleContext

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

func (*FexpressionContext) IsFexpressionContext

func (*FexpressionContext) IsFexpressionContext()

func (*FexpressionContext) ToStringTree

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

type Function_declarationContext

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

func NewEmptyFunction_declarationContext

func NewEmptyFunction_declarationContext() *Function_declarationContext

func NewFunction_declarationContext

func NewFunction_declarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Function_declarationContext

func (*Function_declarationContext) AllFexpression

func (s *Function_declarationContext) AllFexpression() []IFexpressionContext

func (*Function_declarationContext) AllLAMBDA_HDR

func (s *Function_declarationContext) AllLAMBDA_HDR() []antlr.TerminalNode

func (*Function_declarationContext) EnterRule

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

func (*Function_declarationContext) ExitRule

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

func (*Function_declarationContext) Fexpression

func (*Function_declarationContext) GetArgs

func (*Function_declarationContext) GetName

func (*Function_declarationContext) GetParser

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

func (*Function_declarationContext) GetRuleContext

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

func (*Function_declarationContext) Get_fexpression

func (s *Function_declarationContext) Get_fexpression() IFexpressionContext

func (*Function_declarationContext) Id_

func (*Function_declarationContext) IsFunction_declarationContext

func (*Function_declarationContext) IsFunction_declarationContext()

func (*Function_declarationContext) LAMBDA_HDR

func (*Function_declarationContext) SetArgs

func (*Function_declarationContext) SetName

func (*Function_declarationContext) Set_fexpression

func (s *Function_declarationContext) Set_fexpression(v IFexpressionContext)

func (*Function_declarationContext) THEEND

func (*Function_declarationContext) ToStringTree

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

type IDeclarationContext

type IDeclarationContext interface {
	antlr.ParserRuleContext

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

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

IDeclarationContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

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

	// GetVal returns the val rule contexts.
	GetVal() IValue_Context

	// GetQ returns the q rule contexts.
	GetQ() IQ_Context

	// Get_expression returns the _expression rule contexts.
	Get_expression() IExpressionContext

	// SetVal sets the val rule contexts.
	SetVal(IValue_Context)

	// SetQ sets the q rule contexts.
	SetQ(IQ_Context)

	// Set_expression sets the _expression rule contexts.
	Set_expression(IExpressionContext)

	// GetArgs returns the args rule context list.
	GetArgs() []IExpressionContext

	// SetArgs sets the args rule context list.
	SetArgs([]IExpressionContext)

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

IExpressionContext is an interface to support dynamic dispatch.

type IFexpressionContext

type IFexpressionContext interface {
	antlr.ParserRuleContext

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

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

IFexpressionContext is an interface to support dynamic dispatch.

type IFunction_declarationContext

type IFunction_declarationContext interface {
	antlr.ParserRuleContext

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

	// GetName returns the name rule contexts.
	GetName() IId_Context

	// Get_fexpression returns the _fexpression rule contexts.
	Get_fexpression() IFexpressionContext

	// SetName sets the name rule contexts.
	SetName(IId_Context)

	// Set_fexpression sets the _fexpression rule contexts.
	Set_fexpression(IFexpressionContext)

	// GetArgs returns the args rule context list.
	GetArgs() []IFexpressionContext

	// SetArgs sets the args rule context list.
	SetArgs([]IFexpressionContext)

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

IFunction_declarationContext is an interface to support dynamic dispatch.

type IId_Context

type IId_Context interface {
	antlr.ParserRuleContext

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

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

IId_Context is an interface to support dynamic dispatch.

type IMacro_declarationContext

type IMacro_declarationContext interface {
	antlr.ParserRuleContext

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

	// GetName returns the name rule contexts.
	GetName() IId_Context

	// Get_fexpression returns the _fexpression rule contexts.
	Get_fexpression() IFexpressionContext

	// SetName sets the name rule contexts.
	SetName(IId_Context)

	// Set_fexpression sets the _fexpression rule contexts.
	Set_fexpression(IFexpressionContext)

	// GetArgs returns the args rule context list.
	GetArgs() []IFexpressionContext

	// SetArgs sets the args rule context list.
	SetArgs([]IFexpressionContext)

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

IMacro_declarationContext is an interface to support dynamic dispatch.

type INs_declarationContext

type INs_declarationContext interface {
	antlr.ParserRuleContext

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

	// GetName returns the name rule contexts.
	GetName() IId_Context

	// Get_nsexpression returns the _nsexpression rule contexts.
	Get_nsexpression() INsexpressionContext

	// SetName sets the name rule contexts.
	SetName(IId_Context)

	// Set_nsexpression sets the _nsexpression rule contexts.
	Set_nsexpression(INsexpressionContext)

	// GetArgs returns the args rule context list.
	GetArgs() []INsexpressionContext

	// SetArgs sets the args rule context list.
	SetArgs([]INsexpressionContext)

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

INs_declarationContext is an interface to support dynamic dispatch.

type INsexpressionContext

type INsexpressionContext interface {
	antlr.ParserRuleContext

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

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

INsexpressionContext is an interface to support dynamic dispatch.

type IQ_Context

type IQ_Context interface {
	antlr.ParserRuleContext

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

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

IQ_Context is an interface to support dynamic dispatch.

type IRootContext

type IRootContext interface {
	antlr.ParserRuleContext

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

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

IRootContext is an interface to support dynamic dispatch.

type IValue_Context

type IValue_Context interface {
	antlr.ParserRuleContext

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

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

IValue_Context is an interface to support dynamic dispatch.

type Id_Context

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

func NewEmptyId_Context

func NewEmptyId_Context() *Id_Context

func NewId_Context

func NewId_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Id_Context

func (*Id_Context) EnterRule

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

func (*Id_Context) ExitRule

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

func (*Id_Context) GetParser

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

func (*Id_Context) GetRuleContext

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

func (*Id_Context) IsId_Context

func (*Id_Context) IsId_Context()

func (*Id_Context) TOKEN

func (s *Id_Context) TOKEN() antlr.TerminalNode

func (*Id_Context) ToStringTree

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

type Macro_declarationContext

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

func NewEmptyMacro_declarationContext

func NewEmptyMacro_declarationContext() *Macro_declarationContext

func NewMacro_declarationContext

func NewMacro_declarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Macro_declarationContext

func (*Macro_declarationContext) AllFexpression

func (s *Macro_declarationContext) AllFexpression() []IFexpressionContext

func (*Macro_declarationContext) AllMACRO_HDR

func (s *Macro_declarationContext) AllMACRO_HDR() []antlr.TerminalNode

func (*Macro_declarationContext) EnterRule

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

func (*Macro_declarationContext) ExitRule

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

func (*Macro_declarationContext) Fexpression

func (*Macro_declarationContext) GetArgs

func (*Macro_declarationContext) GetName

func (*Macro_declarationContext) GetParser

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

func (*Macro_declarationContext) GetRuleContext

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

func (*Macro_declarationContext) Get_fexpression

func (s *Macro_declarationContext) Get_fexpression() IFexpressionContext

func (*Macro_declarationContext) Id_

func (*Macro_declarationContext) IsMacro_declarationContext

func (*Macro_declarationContext) IsMacro_declarationContext()

func (*Macro_declarationContext) MACRO_HDR

func (*Macro_declarationContext) SetArgs

func (*Macro_declarationContext) SetName

func (s *Macro_declarationContext) SetName(v IId_Context)

func (*Macro_declarationContext) Set_fexpression

func (s *Macro_declarationContext) Set_fexpression(v IFexpressionContext)

func (*Macro_declarationContext) THEEND

func (*Macro_declarationContext) ToStringTree

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

type Ns_declarationContext

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

func NewEmptyNs_declarationContext

func NewEmptyNs_declarationContext() *Ns_declarationContext

func NewNs_declarationContext

func NewNs_declarationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Ns_declarationContext

func (*Ns_declarationContext) AllNsexpression

func (s *Ns_declarationContext) AllNsexpression() []INsexpressionContext

func (*Ns_declarationContext) EnterRule

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

func (*Ns_declarationContext) ExitRule

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

func (*Ns_declarationContext) GetArgs

func (*Ns_declarationContext) GetName

func (s *Ns_declarationContext) GetName() IId_Context

func (*Ns_declarationContext) GetParser

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

func (*Ns_declarationContext) GetRuleContext

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

func (*Ns_declarationContext) Get_nsexpression

func (s *Ns_declarationContext) Get_nsexpression() INsexpressionContext

func (*Ns_declarationContext) Id_

func (*Ns_declarationContext) IsNs_declarationContext

func (*Ns_declarationContext) IsNs_declarationContext()

func (*Ns_declarationContext) LSQ

func (*Ns_declarationContext) Nsexpression

func (s *Ns_declarationContext) Nsexpression(i int) INsexpressionContext

func (*Ns_declarationContext) RSQ

func (*Ns_declarationContext) SetArgs

func (*Ns_declarationContext) SetName

func (s *Ns_declarationContext) SetName(v IId_Context)

func (*Ns_declarationContext) Set_nsexpression

func (s *Ns_declarationContext) Set_nsexpression(v INsexpressionContext)

func (*Ns_declarationContext) THEEND

func (*Ns_declarationContext) ToStringTree

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

type NsexpressionContext

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

func NewEmptyNsexpressionContext

func NewEmptyNsexpressionContext() *NsexpressionContext

func NewNsexpressionContext

func NewNsexpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NsexpressionContext

func (*NsexpressionContext) EnterRule

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

func (*NsexpressionContext) ExitRule

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

func (*NsexpressionContext) Expression

func (s *NsexpressionContext) Expression() IExpressionContext

func (*NsexpressionContext) Function_declaration

func (s *NsexpressionContext) Function_declaration() IFunction_declarationContext

func (*NsexpressionContext) GetParser

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

func (*NsexpressionContext) GetRuleContext

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

func (*NsexpressionContext) IsNsexpressionContext

func (*NsexpressionContext) IsNsexpressionContext()

func (*NsexpressionContext) Ns_declaration

func (s *NsexpressionContext) Ns_declaration() INs_declarationContext

func (*NsexpressionContext) ToStringTree

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

type Q_Context

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

func NewEmptyQ_Context

func NewEmptyQ_Context() *Q_Context

func NewQ_Context

func NewQ_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Q_Context

func (*Q_Context) EnterRule

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

func (*Q_Context) ExitRule

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

func (*Q_Context) GetParser

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

func (*Q_Context) GetRuleContext

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

func (*Q_Context) IsQ_Context

func (*Q_Context) IsQ_Context()

func (*Q_Context) Q

func (s *Q_Context) Q() antlr.TerminalNode

func (*Q_Context) ToStringTree

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

type RootContext

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

func NewEmptyRootContext

func NewEmptyRootContext() *RootContext

func NewRootContext

func NewRootContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RootContext

func (*RootContext) AllDeclaration

func (s *RootContext) AllDeclaration() []IDeclarationContext

func (*RootContext) AllExpression

func (s *RootContext) AllExpression() []IExpressionContext

func (*RootContext) Declaration

func (s *RootContext) Declaration(i int) IDeclarationContext

func (*RootContext) EOF

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

func (*RootContext) EnterRule

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

func (*RootContext) ExitRule

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

func (*RootContext) Expression

func (s *RootContext) Expression(i int) IExpressionContext

func (*RootContext) GetParser

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

func (*RootContext) GetRuleContext

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

func (*RootContext) IsRootContext

func (*RootContext) IsRootContext()

func (*RootContext) ToStringTree

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

type Value_Context

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

func NewEmptyValue_Context

func NewEmptyValue_Context() *Value_Context

func NewValue_Context

func NewValue_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Value_Context

func (*Value_Context) EnterRule

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

func (*Value_Context) ExitRule

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

func (*Value_Context) GetParser

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

func (*Value_Context) GetRuleContext

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

func (*Value_Context) IsValue_Context

func (*Value_Context) IsValue_Context()

func (*Value_Context) TOKEN

func (s *Value_Context) TOKEN() antlr.TerminalNode

func (*Value_Context) ToStringTree

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