parser

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FSELexerT__0           = 1
	FSELexerT__1           = 2
	FSELexerT__2           = 3
	FSELexerT__3           = 4
	FSELexerT__4           = 5
	FSELexerT__5           = 6
	FSELexerT__6           = 7
	FSELexerT__7           = 8
	FSELexerT__8           = 9
	FSELexerT__9           = 10
	FSELexerT__10          = 11
	FSELexerT__11          = 12
	FSELexerT__12          = 13
	FSELexerT__13          = 14
	FSELexerT__14          = 15
	FSELexerT__15          = 16
	FSELexerT__16          = 17
	FSELexerT__17          = 18
	FSELexerT__18          = 19
	FSELexerT__19          = 20
	FSELexerT__20          = 21
	FSELexerT__21          = 22
	FSELexerT__22          = 23
	FSELexerT__23          = 24
	FSELexerCOMMENT        = 25
	FSELexerLINE_COMMENT   = 26
	FSELexerWS             = 27
	FSELexerNAME           = 28
	FSELexerVAR            = 29
	FSELexerTEXT           = 30
	FSELexerDURATION       = 31
	FSELexerDESCRIPTION    = 32
	FSELexerERRORCHARACTER = 33
)

FSELexer tokens.

View Source
const (
	FSEParserEOF            = antlr.TokenEOF
	FSEParserT__0           = 1
	FSEParserT__1           = 2
	FSEParserT__2           = 3
	FSEParserT__3           = 4
	FSEParserT__4           = 5
	FSEParserT__5           = 6
	FSEParserT__6           = 7
	FSEParserT__7           = 8
	FSEParserT__8           = 9
	FSEParserT__9           = 10
	FSEParserT__10          = 11
	FSEParserT__11          = 12
	FSEParserT__12          = 13
	FSEParserT__13          = 14
	FSEParserT__14          = 15
	FSEParserT__15          = 16
	FSEParserT__16          = 17
	FSEParserT__17          = 18
	FSEParserT__18          = 19
	FSEParserT__19          = 20
	FSEParserT__20          = 21
	FSEParserT__21          = 22
	FSEParserT__22          = 23
	FSEParserT__23          = 24
	FSEParserCOMMENT        = 25
	FSEParserLINE_COMMENT   = 26
	FSEParserWS             = 27
	FSEParserNAME           = 28
	FSEParserVAR            = 29
	FSEParserTEXT           = 30
	FSEParserDURATION       = 31
	FSEParserDESCRIPTION    = 32
	FSEParserERRORCHARACTER = 33
)

FSEParser tokens.

View Source
const (
	FSEParserRULE_main           = 0
	FSEParserRULE_header         = 1
	FSEParserRULE_named          = 2
	FSEParserRULE_state          = 3
	FSEParserRULE_initialize     = 4
	FSEParserRULE_after          = 5
	FSEParserRULE_event          = 6
	FSEParserRULE_inheritedevent = 7
	FSEParserRULE_finalevent     = 8
	FSEParserRULE_consequences   = 9
	FSEParserRULE_consequence    = 10
	FSEParserRULE_assign         = 11
	FSEParserRULE_funcall        = 12
	FSEParserRULE_call           = 13
	FSEParserRULE_param          = 14
	FSEParserRULE_ifgoto         = 15
	FSEParserRULE_terminate      = 16
)

FSEParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AfterContext

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

func NewAfterContext

func NewAfterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AfterContext

func NewEmptyAfterContext

func NewEmptyAfterContext() *AfterContext

func (*AfterContext) Consequences

func (s *AfterContext) Consequences() IConsequencesContext

func (*AfterContext) DURATION

func (s *AfterContext) DURATION() antlr.TerminalNode

func (*AfterContext) EnterRule

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

func (*AfterContext) ExitRule

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

func (*AfterContext) GetDuration

func (s *AfterContext) GetDuration() antlr.Token

func (*AfterContext) GetParser

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

func (*AfterContext) GetRuleContext

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

func (*AfterContext) IsAfterContext

func (*AfterContext) IsAfterContext()

func (*AfterContext) SetDuration

func (s *AfterContext) SetDuration(v antlr.Token)

func (*AfterContext) ToStringTree

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

type AssignContext

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

func NewAssignContext

func NewAssignContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignContext

func NewEmptyAssignContext

func NewEmptyAssignContext() *AssignContext

func (*AssignContext) Call

func (s *AssignContext) Call() ICallContext

func (*AssignContext) EnterRule

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

func (*AssignContext) ExitRule

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

func (*AssignContext) GetLvar

func (s *AssignContext) GetLvar() antlr.Token

func (*AssignContext) GetParser

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

func (*AssignContext) GetRuleContext

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

func (*AssignContext) IsAssignContext

func (*AssignContext) IsAssignContext()

func (*AssignContext) Param

func (s *AssignContext) Param() IParamContext

func (*AssignContext) SetLvar

func (s *AssignContext) SetLvar(v antlr.Token)

func (*AssignContext) ToStringTree

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

func (*AssignContext) VAR

func (s *AssignContext) VAR() antlr.TerminalNode

type BaseFSEListener

type BaseFSEListener struct{}

BaseFSEListener is a complete listener for a parse tree produced by FSEParser.

func (*BaseFSEListener) EnterAfter

func (s *BaseFSEListener) EnterAfter(ctx *AfterContext)

EnterAfter is called when production after is entered.

func (*BaseFSEListener) EnterAssign

func (s *BaseFSEListener) EnterAssign(ctx *AssignContext)

EnterAssign is called when production assign is entered.

func (*BaseFSEListener) EnterCall

func (s *BaseFSEListener) EnterCall(ctx *CallContext)

EnterCall is called when production call is entered.

func (*BaseFSEListener) EnterConsequence

func (s *BaseFSEListener) EnterConsequence(ctx *ConsequenceContext)

EnterConsequence is called when production consequence is entered.

func (*BaseFSEListener) EnterConsequences

func (s *BaseFSEListener) EnterConsequences(ctx *ConsequencesContext)

EnterConsequences is called when production consequences is entered.

func (*BaseFSEListener) EnterEvent

func (s *BaseFSEListener) EnterEvent(ctx *EventContext)

EnterEvent is called when production event is entered.

func (*BaseFSEListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseFSEListener) EnterFinalevent

func (s *BaseFSEListener) EnterFinalevent(ctx *FinaleventContext)

EnterFinalevent is called when production finalevent is entered.

func (*BaseFSEListener) EnterFuncall

func (s *BaseFSEListener) EnterFuncall(ctx *FuncallContext)

EnterFuncall is called when production funcall is entered.

func (*BaseFSEListener) EnterHeader

func (s *BaseFSEListener) EnterHeader(ctx *HeaderContext)

EnterHeader is called when production header is entered.

func (*BaseFSEListener) EnterIfgoto

func (s *BaseFSEListener) EnterIfgoto(ctx *IfgotoContext)

EnterIfgoto is called when production ifgoto is entered.

func (*BaseFSEListener) EnterInheritedevent

func (s *BaseFSEListener) EnterInheritedevent(ctx *InheritedeventContext)

EnterInheritedevent is called when production inheritedevent is entered.

func (*BaseFSEListener) EnterInitialize

func (s *BaseFSEListener) EnterInitialize(ctx *InitializeContext)

EnterInitialize is called when production initialize is entered.

func (*BaseFSEListener) EnterMain

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

EnterMain is called when production main is entered.

func (*BaseFSEListener) EnterNamed

func (s *BaseFSEListener) EnterNamed(ctx *NamedContext)

EnterNamed is called when production named is entered.

func (*BaseFSEListener) EnterParam

func (s *BaseFSEListener) EnterParam(ctx *ParamContext)

EnterParam is called when production param is entered.

func (*BaseFSEListener) EnterState

func (s *BaseFSEListener) EnterState(ctx *StateContext)

EnterState is called when production state is entered.

func (*BaseFSEListener) EnterTerminate

func (s *BaseFSEListener) EnterTerminate(ctx *TerminateContext)

EnterTerminate is called when production terminate is entered.

func (*BaseFSEListener) ExitAfter

func (s *BaseFSEListener) ExitAfter(ctx *AfterContext)

ExitAfter is called when production after is exited.

func (*BaseFSEListener) ExitAssign

func (s *BaseFSEListener) ExitAssign(ctx *AssignContext)

ExitAssign is called when production assign is exited.

func (*BaseFSEListener) ExitCall

func (s *BaseFSEListener) ExitCall(ctx *CallContext)

ExitCall is called when production call is exited.

func (*BaseFSEListener) ExitConsequence

func (s *BaseFSEListener) ExitConsequence(ctx *ConsequenceContext)

ExitConsequence is called when production consequence is exited.

func (*BaseFSEListener) ExitConsequences

func (s *BaseFSEListener) ExitConsequences(ctx *ConsequencesContext)

ExitConsequences is called when production consequences is exited.

func (*BaseFSEListener) ExitEvent

func (s *BaseFSEListener) ExitEvent(ctx *EventContext)

ExitEvent is called when production event is exited.

func (*BaseFSEListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseFSEListener) ExitFinalevent

func (s *BaseFSEListener) ExitFinalevent(ctx *FinaleventContext)

ExitFinalevent is called when production finalevent is exited.

func (*BaseFSEListener) ExitFuncall

func (s *BaseFSEListener) ExitFuncall(ctx *FuncallContext)

ExitFuncall is called when production funcall is exited.

func (*BaseFSEListener) ExitHeader

func (s *BaseFSEListener) ExitHeader(ctx *HeaderContext)

ExitHeader is called when production header is exited.

func (*BaseFSEListener) ExitIfgoto

func (s *BaseFSEListener) ExitIfgoto(ctx *IfgotoContext)

ExitIfgoto is called when production ifgoto is exited.

func (*BaseFSEListener) ExitInheritedevent

func (s *BaseFSEListener) ExitInheritedevent(ctx *InheritedeventContext)

ExitInheritedevent is called when production inheritedevent is exited.

func (*BaseFSEListener) ExitInitialize

func (s *BaseFSEListener) ExitInitialize(ctx *InitializeContext)

ExitInitialize is called when production initialize is exited.

func (*BaseFSEListener) ExitMain

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

ExitMain is called when production main is exited.

func (*BaseFSEListener) ExitNamed

func (s *BaseFSEListener) ExitNamed(ctx *NamedContext)

ExitNamed is called when production named is exited.

func (*BaseFSEListener) ExitParam

func (s *BaseFSEListener) ExitParam(ctx *ParamContext)

ExitParam is called when production param is exited.

func (*BaseFSEListener) ExitState

func (s *BaseFSEListener) ExitState(ctx *StateContext)

ExitState is called when production state is exited.

func (*BaseFSEListener) ExitTerminate

func (s *BaseFSEListener) ExitTerminate(ctx *TerminateContext)

ExitTerminate is called when production terminate is exited.

func (*BaseFSEListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseFSEListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type CallContext

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

func NewCallContext

func NewCallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CallContext

func NewEmptyCallContext

func NewEmptyCallContext() *CallContext

func (*CallContext) AllParam

func (s *CallContext) AllParam() []IParamContext

func (*CallContext) EnterRule

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

func (*CallContext) ExitRule

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

func (*CallContext) GetName

func (s *CallContext) GetName() antlr.Token

func (*CallContext) GetParser

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

func (*CallContext) GetRuleContext

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

func (*CallContext) IsCallContext

func (*CallContext) IsCallContext()

func (*CallContext) NAME

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

func (*CallContext) Param

func (s *CallContext) Param(i int) IParamContext

func (*CallContext) SetName

func (s *CallContext) SetName(v antlr.Token)

func (*CallContext) ToStringTree

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

type ConsequenceContext

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

func NewConsequenceContext

func NewConsequenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConsequenceContext

func NewEmptyConsequenceContext

func NewEmptyConsequenceContext() *ConsequenceContext

func (*ConsequenceContext) Assign

func (s *ConsequenceContext) Assign() IAssignContext

func (*ConsequenceContext) EnterRule

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

func (*ConsequenceContext) ExitRule

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

func (*ConsequenceContext) Funcall

func (s *ConsequenceContext) Funcall() IFuncallContext

func (*ConsequenceContext) GetParser

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

func (*ConsequenceContext) GetRuleContext

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

func (*ConsequenceContext) Ifgoto

func (s *ConsequenceContext) Ifgoto() IIfgotoContext

func (*ConsequenceContext) IsConsequenceContext

func (*ConsequenceContext) IsConsequenceContext()

func (*ConsequenceContext) Terminate

func (s *ConsequenceContext) Terminate() ITerminateContext

func (*ConsequenceContext) ToStringTree

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

type ConsequencesContext

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

func NewConsequencesContext

func NewConsequencesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConsequencesContext

func NewEmptyConsequencesContext

func NewEmptyConsequencesContext() *ConsequencesContext

func (*ConsequencesContext) AllConsequence

func (s *ConsequencesContext) AllConsequence() []IConsequenceContext

func (*ConsequencesContext) Consequence

func (s *ConsequencesContext) Consequence(i int) IConsequenceContext

func (*ConsequencesContext) EnterRule

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

func (*ConsequencesContext) ExitRule

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

func (*ConsequencesContext) GetCs

func (*ConsequencesContext) GetParser

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

func (*ConsequencesContext) GetRuleContext

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

func (*ConsequencesContext) IsConsequencesContext

func (*ConsequencesContext) IsConsequencesContext()

func (*ConsequencesContext) SetCs

func (*ConsequencesContext) ToStringTree

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

type EventContext

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

func NewEmptyEventContext

func NewEmptyEventContext() *EventContext

func NewEventContext

func NewEventContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EventContext

func (*EventContext) Consequences

func (s *EventContext) Consequences() IConsequencesContext

func (*EventContext) EnterRule

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

func (*EventContext) ExitRule

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

func (*EventContext) Finalevent

func (s *EventContext) Finalevent() IFinaleventContext

func (*EventContext) GetParser

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

func (*EventContext) GetRuleContext

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

func (*EventContext) Inheritedevent

func (s *EventContext) Inheritedevent() IInheritedeventContext

func (*EventContext) IsEventContext

func (*EventContext) IsEventContext()

func (*EventContext) ToStringTree

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

type FSELexer

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

func NewFSELexer

func NewFSELexer(input antlr.CharStream) *FSELexer

type FSEListener

type FSEListener interface {
	antlr.ParseTreeListener

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

	// EnterHeader is called when entering the header production.
	EnterHeader(c *HeaderContext)

	// EnterNamed is called when entering the named production.
	EnterNamed(c *NamedContext)

	// EnterState is called when entering the state production.
	EnterState(c *StateContext)

	// EnterInitialize is called when entering the initialize production.
	EnterInitialize(c *InitializeContext)

	// EnterAfter is called when entering the after production.
	EnterAfter(c *AfterContext)

	// EnterEvent is called when entering the event production.
	EnterEvent(c *EventContext)

	// EnterInheritedevent is called when entering the inheritedevent production.
	EnterInheritedevent(c *InheritedeventContext)

	// EnterFinalevent is called when entering the finalevent production.
	EnterFinalevent(c *FinaleventContext)

	// EnterConsequences is called when entering the consequences production.
	EnterConsequences(c *ConsequencesContext)

	// EnterConsequence is called when entering the consequence production.
	EnterConsequence(c *ConsequenceContext)

	// EnterAssign is called when entering the assign production.
	EnterAssign(c *AssignContext)

	// EnterFuncall is called when entering the funcall production.
	EnterFuncall(c *FuncallContext)

	// EnterCall is called when entering the call production.
	EnterCall(c *CallContext)

	// EnterParam is called when entering the param production.
	EnterParam(c *ParamContext)

	// EnterIfgoto is called when entering the ifgoto production.
	EnterIfgoto(c *IfgotoContext)

	// EnterTerminate is called when entering the terminate production.
	EnterTerminate(c *TerminateContext)

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

	// ExitHeader is called when exiting the header production.
	ExitHeader(c *HeaderContext)

	// ExitNamed is called when exiting the named production.
	ExitNamed(c *NamedContext)

	// ExitState is called when exiting the state production.
	ExitState(c *StateContext)

	// ExitInitialize is called when exiting the initialize production.
	ExitInitialize(c *InitializeContext)

	// ExitAfter is called when exiting the after production.
	ExitAfter(c *AfterContext)

	// ExitEvent is called when exiting the event production.
	ExitEvent(c *EventContext)

	// ExitInheritedevent is called when exiting the inheritedevent production.
	ExitInheritedevent(c *InheritedeventContext)

	// ExitFinalevent is called when exiting the finalevent production.
	ExitFinalevent(c *FinaleventContext)

	// ExitConsequences is called when exiting the consequences production.
	ExitConsequences(c *ConsequencesContext)

	// ExitConsequence is called when exiting the consequence production.
	ExitConsequence(c *ConsequenceContext)

	// ExitAssign is called when exiting the assign production.
	ExitAssign(c *AssignContext)

	// ExitFuncall is called when exiting the funcall production.
	ExitFuncall(c *FuncallContext)

	// ExitCall is called when exiting the call production.
	ExitCall(c *CallContext)

	// ExitParam is called when exiting the param production.
	ExitParam(c *ParamContext)

	// ExitIfgoto is called when exiting the ifgoto production.
	ExitIfgoto(c *IfgotoContext)

	// ExitTerminate is called when exiting the terminate production.
	ExitTerminate(c *TerminateContext)
}

FSEListener is a complete listener for a parse tree produced by FSEParser.

type FSEParser

type FSEParser struct {
	*antlr.BaseParser
}

func NewFSEParser

func NewFSEParser(input antlr.TokenStream) *FSEParser

func (*FSEParser) After

func (p *FSEParser) After() (localctx IAfterContext)

func (*FSEParser) Assign

func (p *FSEParser) Assign() (localctx IAssignContext)

func (*FSEParser) Call

func (p *FSEParser) Call() (localctx ICallContext)

func (*FSEParser) Consequence

func (p *FSEParser) Consequence() (localctx IConsequenceContext)

func (*FSEParser) Consequences

func (p *FSEParser) Consequences() (localctx IConsequencesContext)

func (*FSEParser) Event

func (p *FSEParser) Event() (localctx IEventContext)

func (*FSEParser) Finalevent

func (p *FSEParser) Finalevent() (localctx IFinaleventContext)

func (*FSEParser) Funcall

func (p *FSEParser) Funcall() (localctx IFuncallContext)

func (*FSEParser) Header

func (p *FSEParser) Header() (localctx IHeaderContext)

func (*FSEParser) Ifgoto

func (p *FSEParser) Ifgoto() (localctx IIfgotoContext)

func (*FSEParser) Inheritedevent

func (p *FSEParser) Inheritedevent() (localctx IInheritedeventContext)

func (*FSEParser) Initialize

func (p *FSEParser) Initialize() (localctx IInitializeContext)

func (*FSEParser) Main

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

func (*FSEParser) Named

func (p *FSEParser) Named() (localctx INamedContext)

func (*FSEParser) Param

func (p *FSEParser) Param() (localctx IParamContext)

func (*FSEParser) State

func (p *FSEParser) State() (localctx IStateContext)

func (*FSEParser) Terminate

func (p *FSEParser) Terminate() (localctx ITerminateContext)

type FinaleventContext

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

func NewEmptyFinaleventContext

func NewEmptyFinaleventContext() *FinaleventContext

func NewFinaleventContext

func NewFinaleventContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FinaleventContext

func (*FinaleventContext) EnterRule

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

func (*FinaleventContext) ExitRule

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

func (*FinaleventContext) GetParser

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

func (*FinaleventContext) GetRuleContext

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

func (*FinaleventContext) IsFinaleventContext

func (*FinaleventContext) IsFinaleventContext()

func (*FinaleventContext) Named

func (s *FinaleventContext) Named() INamedContext

func (*FinaleventContext) ToStringTree

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

type FuncallContext

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

func NewEmptyFuncallContext

func NewEmptyFuncallContext() *FuncallContext

func NewFuncallContext

func NewFuncallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncallContext

func (*FuncallContext) Call

func (s *FuncallContext) Call() ICallContext

func (*FuncallContext) EnterRule

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

func (*FuncallContext) ExitRule

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

func (*FuncallContext) GetParser

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

func (*FuncallContext) GetRuleContext

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

func (*FuncallContext) IsFuncallContext

func (*FuncallContext) IsFuncallContext()

func (*FuncallContext) ToStringTree

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

type HeaderContext

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

func NewEmptyHeaderContext

func NewEmptyHeaderContext() *HeaderContext

func NewHeaderContext

func NewHeaderContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HeaderContext

func (*HeaderContext) EnterRule

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

func (*HeaderContext) ExitRule

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

func (*HeaderContext) GetParser

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

func (*HeaderContext) GetRuleContext

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

func (*HeaderContext) GetVersion

func (s *HeaderContext) GetVersion() antlr.Token

func (*HeaderContext) IsHeaderContext

func (*HeaderContext) IsHeaderContext()

func (*HeaderContext) NAME

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

func (*HeaderContext) Named

func (s *HeaderContext) Named() INamedContext

func (*HeaderContext) SetVersion

func (s *HeaderContext) SetVersion(v antlr.Token)

func (*HeaderContext) ToStringTree

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

type IAfterContext

type IAfterContext interface {
	antlr.ParserRuleContext

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

	// GetDuration returns the duration token.
	GetDuration() antlr.Token

	// SetDuration sets the duration token.
	SetDuration(antlr.Token)

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

IAfterContext is an interface to support dynamic dispatch.

type IAssignContext

type IAssignContext interface {
	antlr.ParserRuleContext

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

	// GetLvar returns the lvar token.
	GetLvar() antlr.Token

	// SetLvar sets the lvar token.
	SetLvar(antlr.Token)

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

IAssignContext is an interface to support dynamic dispatch.

type ICallContext

type ICallContext interface {
	antlr.ParserRuleContext

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

	// GetName returns the name token.
	GetName() antlr.Token

	// SetName sets the name token.
	SetName(antlr.Token)

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

ICallContext is an interface to support dynamic dispatch.

type IConsequenceContext

type IConsequenceContext interface {
	antlr.ParserRuleContext

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

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

IConsequenceContext is an interface to support dynamic dispatch.

type IConsequencesContext

type IConsequencesContext interface {
	antlr.ParserRuleContext

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

	// GetCs returns the cs rule contexts.
	GetCs() IConsequenceContext

	// SetCs sets the cs rule contexts.
	SetCs(IConsequenceContext)

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

IConsequencesContext is an interface to support dynamic dispatch.

type IEventContext

type IEventContext interface {
	antlr.ParserRuleContext

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

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

IEventContext is an interface to support dynamic dispatch.

type IFinaleventContext

type IFinaleventContext interface {
	antlr.ParserRuleContext

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

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

IFinaleventContext is an interface to support dynamic dispatch.

type IFuncallContext

type IFuncallContext interface {
	antlr.ParserRuleContext

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

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

IFuncallContext is an interface to support dynamic dispatch.

type IHeaderContext

type IHeaderContext interface {
	antlr.ParserRuleContext

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

	// GetVersion returns the version token.
	GetVersion() antlr.Token

	// SetVersion sets the version token.
	SetVersion(antlr.Token)

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

IHeaderContext is an interface to support dynamic dispatch.

type IIfgotoContext

type IIfgotoContext interface {
	antlr.ParserRuleContext

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

	// GetLvar returns the lvar token.
	GetLvar() antlr.Token

	// GetComp returns the comp token.
	GetComp() antlr.Token

	// GetGototarget returns the gototarget token.
	GetGototarget() antlr.Token

	// SetLvar sets the lvar token.
	SetLvar(antlr.Token)

	// SetComp sets the comp token.
	SetComp(antlr.Token)

	// SetGototarget sets the gototarget token.
	SetGototarget(antlr.Token)

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

IIfgotoContext is an interface to support dynamic dispatch.

type IInheritedeventContext

type IInheritedeventContext interface {
	antlr.ParserRuleContext

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

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

IInheritedeventContext is an interface to support dynamic dispatch.

type IInitializeContext

type IInitializeContext interface {
	antlr.ParserRuleContext

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

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

IInitializeContext 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 INamedContext

type INamedContext interface {
	antlr.ParserRuleContext

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

	// GetName returns the name token.
	GetName() antlr.Token

	// GetOption returns the option token.
	GetOption() antlr.Token

	// GetDisplay returns the display token.
	GetDisplay() antlr.Token

	// GetLnames returns the lnames token.
	GetLnames() antlr.Token

	// GetRnames returns the rnames token.
	GetRnames() antlr.Token

	// GetDescription returns the description token.
	GetDescription() antlr.Token

	// SetName sets the name token.
	SetName(antlr.Token)

	// SetOption sets the option token.
	SetOption(antlr.Token)

	// SetDisplay sets the display token.
	SetDisplay(antlr.Token)

	// SetLnames sets the lnames token.
	SetLnames(antlr.Token)

	// SetRnames sets the rnames token.
	SetRnames(antlr.Token)

	// SetDescription sets the description token.
	SetDescription(antlr.Token)

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

INamedContext is an interface to support dynamic dispatch.

type IParamContext

type IParamContext interface {
	antlr.ParserRuleContext

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

	// GetRtext returns the rtext token.
	GetRtext() antlr.Token

	// GetRvar returns the rvar token.
	GetRvar() antlr.Token

	// SetRtext sets the rtext token.
	SetRtext(antlr.Token)

	// SetRvar sets the rvar token.
	SetRvar(antlr.Token)

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

IParamContext is an interface to support dynamic dispatch.

type IStateContext

type IStateContext interface {
	antlr.ParserRuleContext

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

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

IStateContext is an interface to support dynamic dispatch.

type ITerminateContext

type ITerminateContext interface {
	antlr.ParserRuleContext

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

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

ITerminateContext is an interface to support dynamic dispatch.

type IfgotoContext

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

func NewEmptyIfgotoContext

func NewEmptyIfgotoContext() *IfgotoContext

func NewIfgotoContext

func NewIfgotoContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfgotoContext

func (*IfgotoContext) AllVAR

func (s *IfgotoContext) AllVAR() []antlr.TerminalNode

func (*IfgotoContext) EnterRule

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

func (*IfgotoContext) ExitRule

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

func (*IfgotoContext) GetComp

func (s *IfgotoContext) GetComp() antlr.Token

func (*IfgotoContext) GetGototarget

func (s *IfgotoContext) GetGototarget() antlr.Token

func (*IfgotoContext) GetLvar

func (s *IfgotoContext) GetLvar() antlr.Token

func (*IfgotoContext) GetParser

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

func (*IfgotoContext) GetRuleContext

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

func (*IfgotoContext) IsIfgotoContext

func (*IfgotoContext) IsIfgotoContext()

func (*IfgotoContext) NAME

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

func (*IfgotoContext) Param

func (s *IfgotoContext) Param() IParamContext

func (*IfgotoContext) SetComp

func (s *IfgotoContext) SetComp(v antlr.Token)

func (*IfgotoContext) SetGototarget

func (s *IfgotoContext) SetGototarget(v antlr.Token)

func (*IfgotoContext) SetLvar

func (s *IfgotoContext) SetLvar(v antlr.Token)

func (*IfgotoContext) ToStringTree

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

func (*IfgotoContext) VAR

func (s *IfgotoContext) VAR(i int) antlr.TerminalNode

type InheritedeventContext

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

func NewEmptyInheritedeventContext

func NewEmptyInheritedeventContext() *InheritedeventContext

func NewInheritedeventContext

func NewInheritedeventContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InheritedeventContext

func (*InheritedeventContext) EnterRule

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

func (*InheritedeventContext) ExitRule

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

func (*InheritedeventContext) GetParser

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

func (*InheritedeventContext) GetRuleContext

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

func (*InheritedeventContext) IsInheritedeventContext

func (*InheritedeventContext) IsInheritedeventContext()

func (*InheritedeventContext) Named

func (*InheritedeventContext) ToStringTree

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

type InitializeContext

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

func NewEmptyInitializeContext

func NewEmptyInitializeContext() *InitializeContext

func NewInitializeContext

func NewInitializeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InitializeContext

func (*InitializeContext) Consequences

func (s *InitializeContext) Consequences() IConsequencesContext

func (*InitializeContext) EnterRule

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

func (*InitializeContext) ExitRule

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

func (*InitializeContext) GetParser

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

func (*InitializeContext) GetRuleContext

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

func (*InitializeContext) IsInitializeContext

func (*InitializeContext) IsInitializeContext()

func (*InitializeContext) ToStringTree

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

func (s *MainContext) AllState() []IStateContext

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

func (s *MainContext) Header() IHeaderContext

func (*MainContext) IsMainContext

func (*MainContext) IsMainContext()

func (*MainContext) State

func (s *MainContext) State(i int) IStateContext

func (*MainContext) ToStringTree

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

type NamedContext

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

func NewEmptyNamedContext

func NewEmptyNamedContext() *NamedContext

func NewNamedContext

func NewNamedContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NamedContext

func (*NamedContext) AllTEXT

func (s *NamedContext) AllTEXT() []antlr.TerminalNode

func (*NamedContext) DESCRIPTION

func (s *NamedContext) DESCRIPTION() antlr.TerminalNode

func (*NamedContext) EnterRule

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

func (*NamedContext) ExitRule

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

func (*NamedContext) GetDescription

func (s *NamedContext) GetDescription() antlr.Token

func (*NamedContext) GetDisplay

func (s *NamedContext) GetDisplay() antlr.Token

func (*NamedContext) GetLnames

func (s *NamedContext) GetLnames() antlr.Token

func (*NamedContext) GetName

func (s *NamedContext) GetName() antlr.Token

func (*NamedContext) GetOption

func (s *NamedContext) GetOption() antlr.Token

func (*NamedContext) GetParser

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

func (*NamedContext) GetRnames

func (s *NamedContext) GetRnames() antlr.Token

func (*NamedContext) GetRuleContext

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

func (*NamedContext) IsNamedContext

func (*NamedContext) IsNamedContext()

func (*NamedContext) NAME

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

func (*NamedContext) SetDescription

func (s *NamedContext) SetDescription(v antlr.Token)

func (*NamedContext) SetDisplay

func (s *NamedContext) SetDisplay(v antlr.Token)

func (*NamedContext) SetLnames

func (s *NamedContext) SetLnames(v antlr.Token)

func (*NamedContext) SetName

func (s *NamedContext) SetName(v antlr.Token)

func (*NamedContext) SetOption

func (s *NamedContext) SetOption(v antlr.Token)

func (*NamedContext) SetRnames

func (s *NamedContext) SetRnames(v antlr.Token)

func (*NamedContext) TEXT

func (s *NamedContext) TEXT(i int) antlr.TerminalNode

func (*NamedContext) ToStringTree

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

type ParamContext

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

func NewEmptyParamContext

func NewEmptyParamContext() *ParamContext

func NewParamContext

func NewParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamContext

func (*ParamContext) EnterRule

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

func (*ParamContext) ExitRule

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

func (*ParamContext) GetParser

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

func (*ParamContext) GetRtext

func (s *ParamContext) GetRtext() antlr.Token

func (*ParamContext) GetRuleContext

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

func (*ParamContext) GetRvar

func (s *ParamContext) GetRvar() antlr.Token

func (*ParamContext) IsParamContext

func (*ParamContext) IsParamContext()

func (*ParamContext) SetRtext

func (s *ParamContext) SetRtext(v antlr.Token)

func (*ParamContext) SetRvar

func (s *ParamContext) SetRvar(v antlr.Token)

func (*ParamContext) TEXT

func (s *ParamContext) TEXT() antlr.TerminalNode

func (*ParamContext) ToStringTree

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

func (*ParamContext) VAR

func (s *ParamContext) VAR() antlr.TerminalNode

type StateContext

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

func NewEmptyStateContext

func NewEmptyStateContext() *StateContext

func NewStateContext

func NewStateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StateContext

func (*StateContext) After

func (s *StateContext) After() IAfterContext

func (*StateContext) AllEvent

func (s *StateContext) AllEvent() []IEventContext

func (*StateContext) AllState

func (s *StateContext) AllState() []IStateContext

func (*StateContext) EnterRule

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

func (*StateContext) Event

func (s *StateContext) Event(i int) IEventContext

func (*StateContext) ExitRule

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

func (*StateContext) GetParser

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

func (*StateContext) GetRuleContext

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

func (*StateContext) Initialize

func (s *StateContext) Initialize() IInitializeContext

func (*StateContext) IsStateContext

func (*StateContext) IsStateContext()

func (*StateContext) Named

func (s *StateContext) Named() INamedContext

func (*StateContext) State

func (s *StateContext) State(i int) IStateContext

func (*StateContext) ToStringTree

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

type TerminateContext

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

func NewEmptyTerminateContext

func NewEmptyTerminateContext() *TerminateContext

func NewTerminateContext

func NewTerminateContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TerminateContext

func (*TerminateContext) EnterRule

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

func (*TerminateContext) ExitRule

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

func (*TerminateContext) GetParser

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

func (*TerminateContext) GetRuleContext

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

func (*TerminateContext) IsTerminateContext

func (*TerminateContext) IsTerminateContext()

func (*TerminateContext) ToStringTree

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