Documentation ¶
Index ¶
- Constants
- func ThreadComputationLexerInit()
- func ThreadComputationParserInit()
- type BaseThreadComputationListener
- func (s *BaseThreadComputationListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseThreadComputationListener) EnterExpressions(ctx *ExpressionsContext)
- func (s *BaseThreadComputationListener) EnterFun(ctx *FunContext)
- func (s *BaseThreadComputationListener) EnterFun_term(ctx *Fun_termContext)
- func (s *BaseThreadComputationListener) EnterNs(ctx *NsContext)
- func (s *BaseThreadComputationListener) EnterNs_term(ctx *Ns_termContext)
- func (s *BaseThreadComputationListener) EnterPos_term(ctx *Pos_termContext)
- func (s *BaseThreadComputationListener) EnterRoot_term(ctx *Root_termContext)
- func (s *BaseThreadComputationListener) EnterVal(ctx *ValContext)
- func (s *BaseThreadComputationListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseThreadComputationListener) ExitExpressions(ctx *ExpressionsContext)
- func (s *BaseThreadComputationListener) ExitFun(ctx *FunContext)
- func (s *BaseThreadComputationListener) ExitFun_term(ctx *Fun_termContext)
- func (s *BaseThreadComputationListener) ExitNs(ctx *NsContext)
- func (s *BaseThreadComputationListener) ExitNs_term(ctx *Ns_termContext)
- func (s *BaseThreadComputationListener) ExitPos_term(ctx *Pos_termContext)
- func (s *BaseThreadComputationListener) ExitRoot_term(ctx *Root_termContext)
- func (s *BaseThreadComputationListener) ExitVal(ctx *ValContext)
- func (s *BaseThreadComputationListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseThreadComputationListener) VisitTerminal(node antlr.TerminalNode)
- type ExpressionsContext
- func (s *ExpressionsContext) AllRoot_term() []IRoot_termContext
- func (s *ExpressionsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpressionsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpressionsContext) GetParser() antlr.Parser
- func (s *ExpressionsContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionsContext) IsExpressionsContext()
- func (s *ExpressionsContext) Root_term(i int) IRoot_termContext
- func (s *ExpressionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunContext
- func (s *FunContext) AllFun_term() []IFun_termContext
- func (s *FunContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunContext) FUNC_NAME() antlr.TerminalNode
- func (s *FunContext) Fun_term(i int) IFun_termContext
- func (s *FunContext) GetFname() antlr.Token
- func (s *FunContext) GetMod() antlr.Token
- func (s *FunContext) GetParam() []IFun_termContext
- func (s *FunContext) GetParser() antlr.Parser
- func (s *FunContext) GetRuleContext() antlr.RuleContext
- func (s *FunContext) Get_fun_term() IFun_termContext
- func (*FunContext) IsFunContext()
- func (s *FunContext) MOD() antlr.TerminalNode
- func (s *FunContext) SetFname(v antlr.Token)
- func (s *FunContext) SetMod(v antlr.Token)
- func (s *FunContext) SetParam(v []IFun_termContext)
- func (s *FunContext) Set_fun_term(v IFun_termContext)
- func (s *FunContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Fun_termContext
- func (s *Fun_termContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Fun_termContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Fun_termContext) Fun() IFunContext
- func (s *Fun_termContext) GetParser() antlr.Parser
- func (s *Fun_termContext) GetRuleContext() antlr.RuleContext
- func (*Fun_termContext) IsFun_termContext()
- func (s *Fun_termContext) Pos_term() IPos_termContext
- func (s *Fun_termContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Fun_termContext) Val() IValContext
- type IExpressionsContext
- type IFunContext
- type IFun_termContext
- type INsContext
- type INs_termContext
- type IPos_termContext
- type IRoot_termContext
- type IValContext
- type NsContext
- func (s *NsContext) AllNs_term() []INs_termContext
- func (s *NsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NsContext) FUNC_NAME() antlr.TerminalNode
- func (s *NsContext) GetNsname() antlr.Token
- func (s *NsContext) GetParam() []INs_termContext
- func (s *NsContext) GetParser() antlr.Parser
- func (s *NsContext) GetRuleContext() antlr.RuleContext
- func (s *NsContext) Get_ns_term() INs_termContext
- func (*NsContext) IsNsContext()
- func (s *NsContext) Ns_term(i int) INs_termContext
- func (s *NsContext) SetNsname(v antlr.Token)
- func (s *NsContext) SetParam(v []INs_termContext)
- func (s *NsContext) Set_ns_term(v INs_termContext)
- func (s *NsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Ns_termContext
- func (s *Ns_termContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Ns_termContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Ns_termContext) Fun() IFunContext
- func (s *Ns_termContext) GetParser() antlr.Parser
- func (s *Ns_termContext) GetRuleContext() antlr.RuleContext
- func (*Ns_termContext) IsNs_termContext()
- func (s *Ns_termContext) Ns() INsContext
- func (s *Ns_termContext) Pos_term() IPos_termContext
- func (s *Ns_termContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Ns_termContext) Val() IValContext
- type Pos_termContext
- func (s *Pos_termContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Pos_termContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Pos_termContext) FUNC_NAME() antlr.TerminalNode
- func (s *Pos_termContext) GetParser() antlr.Parser
- func (s *Pos_termContext) GetPname() antlr.Token
- func (s *Pos_termContext) GetRuleContext() antlr.RuleContext
- func (*Pos_termContext) IsPos_termContext()
- func (s *Pos_termContext) SetPname(v antlr.Token)
- func (s *Pos_termContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Root_termContext
- func (s *Root_termContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Root_termContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Root_termContext) Fun() IFunContext
- func (s *Root_termContext) GetParser() antlr.Parser
- func (s *Root_termContext) GetRuleContext() antlr.RuleContext
- func (*Root_termContext) IsRoot_termContext()
- func (s *Root_termContext) Ns() INsContext
- func (s *Root_termContext) Pos_term() IPos_termContext
- func (s *Root_termContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Root_termContext) Val() IValContext
- type ThreadComputationLexer
- type ThreadComputationListener
- type ThreadComputationParser
- func (p *ThreadComputationParser) Expressions() (localctx IExpressionsContext)
- func (p *ThreadComputationParser) Fun() (localctx IFunContext)
- func (p *ThreadComputationParser) Fun_term() (localctx IFun_termContext)
- func (p *ThreadComputationParser) Ns() (localctx INsContext)
- func (p *ThreadComputationParser) Ns_term() (localctx INs_termContext)
- func (p *ThreadComputationParser) Pos_term() (localctx IPos_termContext)
- func (p *ThreadComputationParser) Root_term() (localctx IRoot_termContext)
- func (p *ThreadComputationParser) Val() (localctx IValContext)
- type ValContext
- func (s *ValContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ValContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ValContext) FUNC_NAME() antlr.TerminalNode
- func (s *ValContext) Fun() IFunContext
- func (s *ValContext) GetFname() IFunContext
- func (s *ValContext) GetP() antlr.Token
- func (s *ValContext) GetParser() antlr.Parser
- func (s *ValContext) GetRuleContext() antlr.RuleContext
- func (*ValContext) IsValContext()
- func (s *ValContext) SetFname(v IFunContext)
- func (s *ValContext) SetP(v antlr.Token)
- func (s *ValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( ThreadComputationLexerT__0 = 1 ThreadComputationLexerT__1 = 2 ThreadComputationLexerT__2 = 3 ThreadComputationLexerT__3 = 4 ThreadComputationLexerT__4 = 5 ThreadComputationLexerT__5 = 6 ThreadComputationLexerT__6 = 7 ThreadComputationLexerFUNC_NAME = 8 ThreadComputationLexerOPS = 9 ThreadComputationLexerNAME = 10 ThreadComputationLexerINTEGER = 11 ThreadComputationLexerDECIMAL_INTEGER = 12 ThreadComputationLexerFLOAT_NUMBER = 13 ThreadComputationLexerSTRING = 14 ThreadComputationLexerOP = 15 ThreadComputationLexerMOD = 16 ThreadComputationLexerBLOCK_COMMENT = 17 ThreadComputationLexerWhiteSpace = 18 ThreadComputationLexerNewLine = 19 )
ThreadComputationLexer tokens.
const ( ThreadComputationParserEOF = antlr.TokenEOF ThreadComputationParserT__0 = 1 ThreadComputationParserT__1 = 2 ThreadComputationParserT__2 = 3 ThreadComputationParserT__3 = 4 ThreadComputationParserT__4 = 5 ThreadComputationParserT__5 = 6 ThreadComputationParserT__6 = 7 ThreadComputationParserFUNC_NAME = 8 ThreadComputationParserOPS = 9 ThreadComputationParserNAME = 10 ThreadComputationParserINTEGER = 11 ThreadComputationParserDECIMAL_INTEGER = 12 ThreadComputationParserFLOAT_NUMBER = 13 ThreadComputationParserSTRING = 14 ThreadComputationParserOP = 15 ThreadComputationParserMOD = 16 ThreadComputationParserBLOCK_COMMENT = 17 ThreadComputationParserWhiteSpace = 18 ThreadComputationParserNewLine = 19 )
ThreadComputationParser tokens.
const ( ThreadComputationParserRULE_expressions = 0 ThreadComputationParserRULE_root_term = 1 ThreadComputationParserRULE_ns = 2 ThreadComputationParserRULE_fun = 3 ThreadComputationParserRULE_val = 4 ThreadComputationParserRULE_ns_term = 5 ThreadComputationParserRULE_fun_term = 6 ThreadComputationParserRULE_pos_term = 7 )
ThreadComputationParser rules.
Variables ¶
This section is empty.
Functions ¶
func ThreadComputationLexerInit ¶
func ThreadComputationLexerInit()
ThreadComputationLexerInit initializes any static state used to implement ThreadComputationLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewThreadComputationLexer(). You can call this function if you wish to initialize the static state ahead of time.
func ThreadComputationParserInit ¶
func ThreadComputationParserInit()
ThreadComputationParserInit initializes any static state used to implement ThreadComputationParser. By default the static state used to implement the parser is lazily initialized during the first call to NewThreadComputationParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type BaseThreadComputationListener ¶
type BaseThreadComputationListener struct{}
BaseThreadComputationListener is a complete listener for a parse tree produced by ThreadComputationParser.
func (*BaseThreadComputationListener) EnterEveryRule ¶
func (s *BaseThreadComputationListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseThreadComputationListener) EnterExpressions ¶
func (s *BaseThreadComputationListener) EnterExpressions(ctx *ExpressionsContext)
EnterExpressions is called when production expressions is entered.
func (*BaseThreadComputationListener) EnterFun ¶
func (s *BaseThreadComputationListener) EnterFun(ctx *FunContext)
EnterFun is called when production fun is entered.
func (*BaseThreadComputationListener) EnterFun_term ¶
func (s *BaseThreadComputationListener) EnterFun_term(ctx *Fun_termContext)
EnterFun_term is called when production fun_term is entered.
func (*BaseThreadComputationListener) EnterNs ¶
func (s *BaseThreadComputationListener) EnterNs(ctx *NsContext)
EnterNs is called when production ns is entered.
func (*BaseThreadComputationListener) EnterNs_term ¶
func (s *BaseThreadComputationListener) EnterNs_term(ctx *Ns_termContext)
EnterNs_term is called when production ns_term is entered.
func (*BaseThreadComputationListener) EnterPos_term ¶
func (s *BaseThreadComputationListener) EnterPos_term(ctx *Pos_termContext)
EnterPos_term is called when production pos_term is entered.
func (*BaseThreadComputationListener) EnterRoot_term ¶
func (s *BaseThreadComputationListener) EnterRoot_term(ctx *Root_termContext)
EnterRoot_term is called when production root_term is entered.
func (*BaseThreadComputationListener) EnterVal ¶
func (s *BaseThreadComputationListener) EnterVal(ctx *ValContext)
EnterVal is called when production val is entered.
func (*BaseThreadComputationListener) ExitEveryRule ¶
func (s *BaseThreadComputationListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseThreadComputationListener) ExitExpressions ¶
func (s *BaseThreadComputationListener) ExitExpressions(ctx *ExpressionsContext)
ExitExpressions is called when production expressions is exited.
func (*BaseThreadComputationListener) ExitFun ¶
func (s *BaseThreadComputationListener) ExitFun(ctx *FunContext)
ExitFun is called when production fun is exited.
func (*BaseThreadComputationListener) ExitFun_term ¶
func (s *BaseThreadComputationListener) ExitFun_term(ctx *Fun_termContext)
ExitFun_term is called when production fun_term is exited.
func (*BaseThreadComputationListener) ExitNs ¶
func (s *BaseThreadComputationListener) ExitNs(ctx *NsContext)
ExitNs is called when production ns is exited.
func (*BaseThreadComputationListener) ExitNs_term ¶
func (s *BaseThreadComputationListener) ExitNs_term(ctx *Ns_termContext)
ExitNs_term is called when production ns_term is exited.
func (*BaseThreadComputationListener) ExitPos_term ¶
func (s *BaseThreadComputationListener) ExitPos_term(ctx *Pos_termContext)
ExitPos_term is called when production pos_term is exited.
func (*BaseThreadComputationListener) ExitRoot_term ¶
func (s *BaseThreadComputationListener) ExitRoot_term(ctx *Root_termContext)
ExitRoot_term is called when production root_term is exited.
func (*BaseThreadComputationListener) ExitVal ¶
func (s *BaseThreadComputationListener) ExitVal(ctx *ValContext)
ExitVal is called when production val is exited.
func (*BaseThreadComputationListener) VisitErrorNode ¶
func (s *BaseThreadComputationListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseThreadComputationListener) VisitTerminal ¶
func (s *BaseThreadComputationListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type ExpressionsContext ¶
type ExpressionsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionsContext ¶
func NewEmptyExpressionsContext() *ExpressionsContext
func NewExpressionsContext ¶
func NewExpressionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionsContext
func (*ExpressionsContext) AllRoot_term ¶
func (s *ExpressionsContext) AllRoot_term() []IRoot_termContext
func (*ExpressionsContext) EnterRule ¶
func (s *ExpressionsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExpressionsContext) ExitRule ¶
func (s *ExpressionsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExpressionsContext) GetParser ¶
func (s *ExpressionsContext) GetParser() antlr.Parser
func (*ExpressionsContext) GetRuleContext ¶
func (s *ExpressionsContext) GetRuleContext() antlr.RuleContext
func (*ExpressionsContext) IsExpressionsContext ¶
func (*ExpressionsContext) IsExpressionsContext()
func (*ExpressionsContext) Root_term ¶
func (s *ExpressionsContext) Root_term(i int) IRoot_termContext
func (*ExpressionsContext) ToStringTree ¶
func (s *ExpressionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FunContext ¶
type FunContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFunContext ¶
func NewEmptyFunContext() *FunContext
func NewFunContext ¶
func NewFunContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunContext
func (*FunContext) AllFun_term ¶
func (s *FunContext) AllFun_term() []IFun_termContext
func (*FunContext) EnterRule ¶
func (s *FunContext) EnterRule(listener antlr.ParseTreeListener)
func (*FunContext) ExitRule ¶
func (s *FunContext) ExitRule(listener antlr.ParseTreeListener)
func (*FunContext) FUNC_NAME ¶
func (s *FunContext) FUNC_NAME() antlr.TerminalNode
func (*FunContext) Fun_term ¶
func (s *FunContext) Fun_term(i int) IFun_termContext
func (*FunContext) GetFname ¶
func (s *FunContext) GetFname() antlr.Token
func (*FunContext) GetMod ¶
func (s *FunContext) GetMod() antlr.Token
func (*FunContext) GetParam ¶
func (s *FunContext) GetParam() []IFun_termContext
func (*FunContext) GetParser ¶
func (s *FunContext) GetParser() antlr.Parser
func (*FunContext) GetRuleContext ¶
func (s *FunContext) GetRuleContext() antlr.RuleContext
func (*FunContext) Get_fun_term ¶
func (s *FunContext) Get_fun_term() IFun_termContext
func (*FunContext) IsFunContext ¶
func (*FunContext) IsFunContext()
func (*FunContext) MOD ¶
func (s *FunContext) MOD() antlr.TerminalNode
func (*FunContext) SetFname ¶
func (s *FunContext) SetFname(v antlr.Token)
func (*FunContext) SetMod ¶
func (s *FunContext) SetMod(v antlr.Token)
func (*FunContext) SetParam ¶
func (s *FunContext) SetParam(v []IFun_termContext)
func (*FunContext) Set_fun_term ¶
func (s *FunContext) Set_fun_term(v IFun_termContext)
func (*FunContext) ToStringTree ¶
func (s *FunContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Fun_termContext ¶
type Fun_termContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFun_termContext ¶
func NewEmptyFun_termContext() *Fun_termContext
func NewFun_termContext ¶
func NewFun_termContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Fun_termContext
func (*Fun_termContext) EnterRule ¶
func (s *Fun_termContext) EnterRule(listener antlr.ParseTreeListener)
func (*Fun_termContext) ExitRule ¶
func (s *Fun_termContext) ExitRule(listener antlr.ParseTreeListener)
func (*Fun_termContext) Fun ¶
func (s *Fun_termContext) Fun() IFunContext
func (*Fun_termContext) GetParser ¶
func (s *Fun_termContext) GetParser() antlr.Parser
func (*Fun_termContext) GetRuleContext ¶
func (s *Fun_termContext) GetRuleContext() antlr.RuleContext
func (*Fun_termContext) IsFun_termContext ¶
func (*Fun_termContext) IsFun_termContext()
func (*Fun_termContext) Pos_term ¶
func (s *Fun_termContext) Pos_term() IPos_termContext
func (*Fun_termContext) ToStringTree ¶
func (s *Fun_termContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Fun_termContext) Val ¶
func (s *Fun_termContext) Val() IValContext
type IExpressionsContext ¶
type IExpressionsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpressionsContext differentiates from other interfaces. IsExpressionsContext() }
IExpressionsContext is an interface to support dynamic dispatch.
type IFunContext ¶
type IFunContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetMod returns the mod token. GetMod() antlr.Token // GetFname returns the fname token. GetFname() antlr.Token // SetMod sets the mod token. SetMod(antlr.Token) // SetFname sets the fname token. SetFname(antlr.Token) // Get_fun_term returns the _fun_term rule contexts. Get_fun_term() IFun_termContext // Set_fun_term sets the _fun_term rule contexts. Set_fun_term(IFun_termContext) // GetParam returns the param rule context list. GetParam() []IFun_termContext // SetParam sets the param rule context list. SetParam([]IFun_termContext) // IsFunContext differentiates from other interfaces. IsFunContext() }
IFunContext is an interface to support dynamic dispatch.
type IFun_termContext ¶
type IFun_termContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFun_termContext differentiates from other interfaces. IsFun_termContext() }
IFun_termContext is an interface to support dynamic dispatch.
type INsContext ¶
type INsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetNsname returns the nsname token. GetNsname() antlr.Token // SetNsname sets the nsname token. SetNsname(antlr.Token) // Get_ns_term returns the _ns_term rule contexts. Get_ns_term() INs_termContext // Set_ns_term sets the _ns_term rule contexts. Set_ns_term(INs_termContext) // GetParam returns the param rule context list. GetParam() []INs_termContext // SetParam sets the param rule context list. SetParam([]INs_termContext) // IsNsContext differentiates from other interfaces. IsNsContext() }
INsContext is an interface to support dynamic dispatch.
type INs_termContext ¶
type INs_termContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNs_termContext differentiates from other interfaces. IsNs_termContext() }
INs_termContext is an interface to support dynamic dispatch.
type IPos_termContext ¶
type IPos_termContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetPname returns the pname token. GetPname() antlr.Token // SetPname sets the pname token. SetPname(antlr.Token) // IsPos_termContext differentiates from other interfaces. IsPos_termContext() }
IPos_termContext is an interface to support dynamic dispatch.
type IRoot_termContext ¶
type IRoot_termContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRoot_termContext differentiates from other interfaces. IsRoot_termContext() }
IRoot_termContext is an interface to support dynamic dispatch.
type IValContext ¶
type IValContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetP returns the p token. GetP() antlr.Token // SetP sets the p token. SetP(antlr.Token) // GetFname returns the fname rule contexts. GetFname() IFunContext // SetFname sets the fname rule contexts. SetFname(IFunContext) // IsValContext differentiates from other interfaces. IsValContext() }
IValContext is an interface to support dynamic dispatch.
type NsContext ¶
type NsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNsContext ¶
func NewEmptyNsContext() *NsContext
func NewNsContext ¶
func (*NsContext) AllNs_term ¶
func (s *NsContext) AllNs_term() []INs_termContext
func (*NsContext) EnterRule ¶
func (s *NsContext) EnterRule(listener antlr.ParseTreeListener)
func (*NsContext) ExitRule ¶
func (s *NsContext) ExitRule(listener antlr.ParseTreeListener)
func (*NsContext) FUNC_NAME ¶
func (s *NsContext) FUNC_NAME() antlr.TerminalNode
func (*NsContext) GetParam ¶
func (s *NsContext) GetParam() []INs_termContext
func (*NsContext) GetRuleContext ¶
func (s *NsContext) GetRuleContext() antlr.RuleContext
func (*NsContext) Get_ns_term ¶
func (s *NsContext) Get_ns_term() INs_termContext
func (*NsContext) IsNsContext ¶
func (*NsContext) IsNsContext()
func (*NsContext) Ns_term ¶
func (s *NsContext) Ns_term(i int) INs_termContext
func (*NsContext) SetParam ¶
func (s *NsContext) SetParam(v []INs_termContext)
func (*NsContext) Set_ns_term ¶
func (s *NsContext) Set_ns_term(v INs_termContext)
func (*NsContext) ToStringTree ¶
func (s *NsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Ns_termContext ¶
type Ns_termContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNs_termContext ¶
func NewEmptyNs_termContext() *Ns_termContext
func NewNs_termContext ¶
func NewNs_termContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Ns_termContext
func (*Ns_termContext) EnterRule ¶
func (s *Ns_termContext) EnterRule(listener antlr.ParseTreeListener)
func (*Ns_termContext) ExitRule ¶
func (s *Ns_termContext) ExitRule(listener antlr.ParseTreeListener)
func (*Ns_termContext) Fun ¶
func (s *Ns_termContext) Fun() IFunContext
func (*Ns_termContext) GetParser ¶
func (s *Ns_termContext) GetParser() antlr.Parser
func (*Ns_termContext) GetRuleContext ¶
func (s *Ns_termContext) GetRuleContext() antlr.RuleContext
func (*Ns_termContext) IsNs_termContext ¶
func (*Ns_termContext) IsNs_termContext()
func (*Ns_termContext) Ns ¶
func (s *Ns_termContext) Ns() INsContext
func (*Ns_termContext) Pos_term ¶
func (s *Ns_termContext) Pos_term() IPos_termContext
func (*Ns_termContext) ToStringTree ¶
func (s *Ns_termContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Ns_termContext) Val ¶
func (s *Ns_termContext) Val() IValContext
type Pos_termContext ¶
type Pos_termContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPos_termContext ¶
func NewEmptyPos_termContext() *Pos_termContext
func NewPos_termContext ¶
func NewPos_termContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Pos_termContext
func (*Pos_termContext) EnterRule ¶
func (s *Pos_termContext) EnterRule(listener antlr.ParseTreeListener)
func (*Pos_termContext) ExitRule ¶
func (s *Pos_termContext) ExitRule(listener antlr.ParseTreeListener)
func (*Pos_termContext) FUNC_NAME ¶
func (s *Pos_termContext) FUNC_NAME() antlr.TerminalNode
func (*Pos_termContext) GetParser ¶
func (s *Pos_termContext) GetParser() antlr.Parser
func (*Pos_termContext) GetPname ¶
func (s *Pos_termContext) GetPname() antlr.Token
func (*Pos_termContext) GetRuleContext ¶
func (s *Pos_termContext) GetRuleContext() antlr.RuleContext
func (*Pos_termContext) IsPos_termContext ¶
func (*Pos_termContext) IsPos_termContext()
func (*Pos_termContext) SetPname ¶
func (s *Pos_termContext) SetPname(v antlr.Token)
func (*Pos_termContext) ToStringTree ¶
func (s *Pos_termContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Root_termContext ¶
type Root_termContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRoot_termContext ¶
func NewEmptyRoot_termContext() *Root_termContext
func NewRoot_termContext ¶
func NewRoot_termContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Root_termContext
func (*Root_termContext) EnterRule ¶
func (s *Root_termContext) EnterRule(listener antlr.ParseTreeListener)
func (*Root_termContext) ExitRule ¶
func (s *Root_termContext) ExitRule(listener antlr.ParseTreeListener)
func (*Root_termContext) Fun ¶
func (s *Root_termContext) Fun() IFunContext
func (*Root_termContext) GetParser ¶
func (s *Root_termContext) GetParser() antlr.Parser
func (*Root_termContext) GetRuleContext ¶
func (s *Root_termContext) GetRuleContext() antlr.RuleContext
func (*Root_termContext) IsRoot_termContext ¶
func (*Root_termContext) IsRoot_termContext()
func (*Root_termContext) Ns ¶
func (s *Root_termContext) Ns() INsContext
func (*Root_termContext) Pos_term ¶
func (s *Root_termContext) Pos_term() IPos_termContext
func (*Root_termContext) ToStringTree ¶
func (s *Root_termContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Root_termContext) Val ¶
func (s *Root_termContext) Val() IValContext
type ThreadComputationLexer ¶
func NewThreadComputationLexer ¶
func NewThreadComputationLexer(input antlr.CharStream) *ThreadComputationLexer
NewThreadComputationLexer produces a new lexer instance for the optional input antlr.CharStream.
type ThreadComputationListener ¶
type ThreadComputationListener interface { antlr.ParseTreeListener // EnterExpressions is called when entering the expressions production. EnterExpressions(c *ExpressionsContext) // EnterRoot_term is called when entering the root_term production. EnterRoot_term(c *Root_termContext) // EnterNs is called when entering the ns production. EnterNs(c *NsContext) // EnterFun is called when entering the fun production. EnterFun(c *FunContext) // EnterVal is called when entering the val production. EnterVal(c *ValContext) // EnterNs_term is called when entering the ns_term production. EnterNs_term(c *Ns_termContext) // EnterFun_term is called when entering the fun_term production. EnterFun_term(c *Fun_termContext) // EnterPos_term is called when entering the pos_term production. EnterPos_term(c *Pos_termContext) // ExitExpressions is called when exiting the expressions production. ExitExpressions(c *ExpressionsContext) // ExitRoot_term is called when exiting the root_term production. ExitRoot_term(c *Root_termContext) // ExitNs is called when exiting the ns production. ExitNs(c *NsContext) // ExitFun is called when exiting the fun production. ExitFun(c *FunContext) // ExitVal is called when exiting the val production. ExitVal(c *ValContext) // ExitNs_term is called when exiting the ns_term production. ExitNs_term(c *Ns_termContext) // ExitFun_term is called when exiting the fun_term production. ExitFun_term(c *Fun_termContext) // ExitPos_term is called when exiting the pos_term production. ExitPos_term(c *Pos_termContext) }
ThreadComputationListener is a complete listener for a parse tree produced by ThreadComputationParser.
type ThreadComputationParser ¶
type ThreadComputationParser struct {
*antlr.BaseParser
}
func NewThreadComputationParser ¶
func NewThreadComputationParser(input antlr.TokenStream) *ThreadComputationParser
NewThreadComputationParser produces a new parser instance for the optional input antlr.TokenStream.
func (*ThreadComputationParser) Expressions ¶
func (p *ThreadComputationParser) Expressions() (localctx IExpressionsContext)
func (*ThreadComputationParser) Fun ¶
func (p *ThreadComputationParser) Fun() (localctx IFunContext)
func (*ThreadComputationParser) Fun_term ¶
func (p *ThreadComputationParser) Fun_term() (localctx IFun_termContext)
func (*ThreadComputationParser) Ns ¶
func (p *ThreadComputationParser) Ns() (localctx INsContext)
func (*ThreadComputationParser) Ns_term ¶
func (p *ThreadComputationParser) Ns_term() (localctx INs_termContext)
func (*ThreadComputationParser) Pos_term ¶
func (p *ThreadComputationParser) Pos_term() (localctx IPos_termContext)
func (*ThreadComputationParser) Root_term ¶
func (p *ThreadComputationParser) Root_term() (localctx IRoot_termContext)
func (*ThreadComputationParser) Val ¶
func (p *ThreadComputationParser) Val() (localctx IValContext)
type ValContext ¶
type ValContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyValContext ¶
func NewEmptyValContext() *ValContext
func NewValContext ¶
func NewValContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValContext
func (*ValContext) EnterRule ¶
func (s *ValContext) EnterRule(listener antlr.ParseTreeListener)
func (*ValContext) ExitRule ¶
func (s *ValContext) ExitRule(listener antlr.ParseTreeListener)
func (*ValContext) FUNC_NAME ¶
func (s *ValContext) FUNC_NAME() antlr.TerminalNode
func (*ValContext) Fun ¶
func (s *ValContext) Fun() IFunContext
func (*ValContext) GetFname ¶
func (s *ValContext) GetFname() IFunContext
func (*ValContext) GetP ¶
func (s *ValContext) GetP() antlr.Token
func (*ValContext) GetParser ¶
func (s *ValContext) GetParser() antlr.Parser
func (*ValContext) GetRuleContext ¶
func (s *ValContext) GetRuleContext() antlr.RuleContext
func (*ValContext) IsValContext ¶
func (*ValContext) IsValContext()
func (*ValContext) SetFname ¶
func (s *ValContext) SetFname(v IFunContext)
func (*ValContext) SetP ¶
func (s *ValContext) SetP(v antlr.Token)
func (*ValContext) ToStringTree ¶
func (s *ValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string