Documentation ¶
Index ¶
- Constants
- type BaseDiceListener
- func (s *BaseDiceListener) EnterCount(ctx *CountContext)
- func (s *BaseDiceListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseDiceListener) EnterExtensions(ctx *ExtensionsContext)
- func (s *BaseDiceListener) EnterFormula(ctx *FormulaContext)
- func (s *BaseDiceListener) EnterFunccall(ctx *FunccallContext)
- func (s *BaseDiceListener) EnterFuncname(ctx *FuncnameContext)
- func (s *BaseDiceListener) EnterModifier(ctx *ModifierContext)
- func (s *BaseDiceListener) EnterParameter(ctx *ParameterContext)
- func (s *BaseDiceListener) EnterParameters(ctx *ParametersContext)
- func (s *BaseDiceListener) EnterSides(ctx *SidesContext)
- func (s *BaseDiceListener) ExitCount(ctx *CountContext)
- func (s *BaseDiceListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseDiceListener) ExitExtensions(ctx *ExtensionsContext)
- func (s *BaseDiceListener) ExitFormula(ctx *FormulaContext)
- func (s *BaseDiceListener) ExitFunccall(ctx *FunccallContext)
- func (s *BaseDiceListener) ExitFuncname(ctx *FuncnameContext)
- func (s *BaseDiceListener) ExitModifier(ctx *ModifierContext)
- func (s *BaseDiceListener) ExitParameter(ctx *ParameterContext)
- func (s *BaseDiceListener) ExitParameters(ctx *ParametersContext)
- func (s *BaseDiceListener) ExitSides(ctx *SidesContext)
- func (s *BaseDiceListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseDiceListener) VisitTerminal(node antlr.TerminalNode)
- type BaseDiceVisitor
- func (v *BaseDiceVisitor) VisitCount(ctx *CountContext) interface{}
- func (v *BaseDiceVisitor) VisitExtensions(ctx *ExtensionsContext) interface{}
- func (v *BaseDiceVisitor) VisitFormula(ctx *FormulaContext) interface{}
- func (v *BaseDiceVisitor) VisitFunccall(ctx *FunccallContext) interface{}
- func (v *BaseDiceVisitor) VisitFuncname(ctx *FuncnameContext) interface{}
- func (v *BaseDiceVisitor) VisitModifier(ctx *ModifierContext) interface{}
- func (v *BaseDiceVisitor) VisitParameter(ctx *ParameterContext) interface{}
- func (v *BaseDiceVisitor) VisitParameters(ctx *ParametersContext) interface{}
- func (v *BaseDiceVisitor) VisitSides(ctx *SidesContext) interface{}
- type CountContext
- func (s *CountContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CountContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CountContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CountContext) GetParser() antlr.Parser
- func (s *CountContext) GetRuleContext() antlr.RuleContext
- func (s *CountContext) Integer() antlr.TerminalNode
- func (*CountContext) IsCountContext()
- func (s *CountContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DiceLexer
- type DiceListener
- type DiceParser
- func (p *DiceParser) Count() (localctx ICountContext)
- func (p *DiceParser) Extensions() (localctx IExtensionsContext)
- func (p *DiceParser) Formula() (localctx IFormulaContext)
- func (p *DiceParser) Funccall() (localctx IFunccallContext)
- func (p *DiceParser) Funcname() (localctx IFuncnameContext)
- func (p *DiceParser) Modifier() (localctx IModifierContext)
- func (p *DiceParser) Parameter() (localctx IParameterContext)
- func (p *DiceParser) Parameters() (localctx IParametersContext)
- func (p *DiceParser) Sides() (localctx ISidesContext)
- type DiceVisitor
- type ExtensionsContext
- func (s *ExtensionsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExtensionsContext) AllFunccall() []IFunccallContext
- func (s *ExtensionsContext) AllSPACE() []antlr.TerminalNode
- func (s *ExtensionsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExtensionsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExtensionsContext) Funccall(i int) IFunccallContext
- func (s *ExtensionsContext) GetParser() antlr.Parser
- func (s *ExtensionsContext) GetRuleContext() antlr.RuleContext
- func (*ExtensionsContext) IsExtensionsContext()
- func (s *ExtensionsContext) SPACE(i int) antlr.TerminalNode
- func (s *ExtensionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FormulaContext
- func (s *FormulaContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FormulaContext) Count() ICountContext
- func (s *FormulaContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FormulaContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FormulaContext) Extensions() IExtensionsContext
- func (s *FormulaContext) GetParser() antlr.Parser
- func (s *FormulaContext) GetRuleContext() antlr.RuleContext
- func (*FormulaContext) IsFormulaContext()
- func (s *FormulaContext) Modifier() IModifierContext
- func (s *FormulaContext) Sides() ISidesContext
- func (s *FormulaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunccallContext
- func (s *FunccallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunccallContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunccallContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunccallContext) Funcname() IFuncnameContext
- func (s *FunccallContext) GetParser() antlr.Parser
- func (s *FunccallContext) GetRuleContext() antlr.RuleContext
- func (*FunccallContext) IsFunccallContext()
- func (s *FunccallContext) LPAREN() antlr.TerminalNode
- func (s *FunccallContext) Parameters() IParametersContext
- func (s *FunccallContext) RPAREN() antlr.TerminalNode
- func (s *FunccallContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FuncnameContext
- func (s *FuncnameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FuncnameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FuncnameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FuncnameContext) GetParser() antlr.Parser
- func (s *FuncnameContext) GetRuleContext() antlr.RuleContext
- func (s *FuncnameContext) Id() antlr.TerminalNode
- func (*FuncnameContext) IsFuncnameContext()
- func (s *FuncnameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ICountContext
- type IExtensionsContext
- type IFormulaContext
- type IFunccallContext
- type IFuncnameContext
- type IModifierContext
- type IParameterContext
- type IParametersContext
- type ISidesContext
- type ModifierContext
- func (s *ModifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ModifierContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ModifierContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ModifierContext) GetParser() antlr.Parser
- func (s *ModifierContext) GetRuleContext() antlr.RuleContext
- func (s *ModifierContext) Integer() antlr.TerminalNode
- func (*ModifierContext) IsModifierContext()
- func (s *ModifierContext) SIGN() antlr.TerminalNode
- func (s *ModifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ParameterContext
- func (s *ParameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParameterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParameterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParameterContext) GetParser() antlr.Parser
- func (s *ParameterContext) GetRuleContext() antlr.RuleContext
- func (s *ParameterContext) Integer() antlr.TerminalNode
- func (*ParameterContext) IsParameterContext()
- func (s *ParameterContext) StringLiteral() antlr.TerminalNode
- func (s *ParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ParametersContext
- func (s *ParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParametersContext) AllCOMMA() []antlr.TerminalNode
- func (s *ParametersContext) AllParameter() []IParameterContext
- func (s *ParametersContext) COMMA(i int) antlr.TerminalNode
- func (s *ParametersContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParametersContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParametersContext) GetParser() antlr.Parser
- func (s *ParametersContext) GetRuleContext() antlr.RuleContext
- func (*ParametersContext) IsParametersContext()
- func (s *ParametersContext) Parameter(i int) IParameterContext
- func (s *ParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SidesContext
- func (s *SidesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SidesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SidesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SidesContext) GetParser() antlr.Parser
- func (s *SidesContext) GetRuleContext() antlr.RuleContext
- func (s *SidesContext) Id() antlr.TerminalNode
- func (*SidesContext) IsSidesContext()
- func (s *SidesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( DiceLexerD = 1 DiceLexerSIGN = 2 DiceLexerLPAREN = 3 DiceLexerRPAREN = 4 DiceLexerCOMMA = 5 DiceLexerSPACE = 6 DiceLexerWS = 7 DiceLexerInteger = 8 DiceLexerId = 9 DiceLexerStringLiteral = 10 )
DiceLexer tokens.
const ( DiceParserEOF = antlr.TokenEOF DiceParserD = 1 DiceParserSIGN = 2 DiceParserLPAREN = 3 DiceParserRPAREN = 4 DiceParserCOMMA = 5 DiceParserSPACE = 6 DiceParserWS = 7 DiceParserInteger = 8 DiceParserId = 9 DiceParserStringLiteral = 10 )
DiceParser tokens.
const ( DiceParserRULE_formula = 0 DiceParserRULE_extensions = 1 DiceParserRULE_count = 2 DiceParserRULE_sides = 3 DiceParserRULE_modifier = 4 DiceParserRULE_parameter = 5 DiceParserRULE_parameters = 6 DiceParserRULE_funcname = 7 DiceParserRULE_funccall = 8 )
DiceParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseDiceListener ¶
type BaseDiceListener struct{}
BaseDiceListener is a complete listener for a parse tree produced by DiceParser.
func (*BaseDiceListener) EnterCount ¶
func (s *BaseDiceListener) EnterCount(ctx *CountContext)
EnterCount is called when production count is entered.
func (*BaseDiceListener) EnterEveryRule ¶
func (s *BaseDiceListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseDiceListener) EnterExtensions ¶
func (s *BaseDiceListener) EnterExtensions(ctx *ExtensionsContext)
EnterExtensions is called when production extensions is entered.
func (*BaseDiceListener) EnterFormula ¶
func (s *BaseDiceListener) EnterFormula(ctx *FormulaContext)
EnterFormula is called when production formula is entered.
func (*BaseDiceListener) EnterFunccall ¶
func (s *BaseDiceListener) EnterFunccall(ctx *FunccallContext)
EnterFunccall is called when production funccall is entered.
func (*BaseDiceListener) EnterFuncname ¶
func (s *BaseDiceListener) EnterFuncname(ctx *FuncnameContext)
EnterFuncname is called when production funcname is entered.
func (*BaseDiceListener) EnterModifier ¶
func (s *BaseDiceListener) EnterModifier(ctx *ModifierContext)
EnterModifier is called when production modifier is entered.
func (*BaseDiceListener) EnterParameter ¶
func (s *BaseDiceListener) EnterParameter(ctx *ParameterContext)
EnterParameter is called when production parameter is entered.
func (*BaseDiceListener) EnterParameters ¶
func (s *BaseDiceListener) EnterParameters(ctx *ParametersContext)
EnterParameters is called when production parameters is entered.
func (*BaseDiceListener) EnterSides ¶
func (s *BaseDiceListener) EnterSides(ctx *SidesContext)
EnterSides is called when production sides is entered.
func (*BaseDiceListener) ExitCount ¶
func (s *BaseDiceListener) ExitCount(ctx *CountContext)
ExitCount is called when production count is exited.
func (*BaseDiceListener) ExitEveryRule ¶
func (s *BaseDiceListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseDiceListener) ExitExtensions ¶
func (s *BaseDiceListener) ExitExtensions(ctx *ExtensionsContext)
ExitExtensions is called when production extensions is exited.
func (*BaseDiceListener) ExitFormula ¶
func (s *BaseDiceListener) ExitFormula(ctx *FormulaContext)
ExitFormula is called when production formula is exited.
func (*BaseDiceListener) ExitFunccall ¶
func (s *BaseDiceListener) ExitFunccall(ctx *FunccallContext)
ExitFunccall is called when production funccall is exited.
func (*BaseDiceListener) ExitFuncname ¶
func (s *BaseDiceListener) ExitFuncname(ctx *FuncnameContext)
ExitFuncname is called when production funcname is exited.
func (*BaseDiceListener) ExitModifier ¶
func (s *BaseDiceListener) ExitModifier(ctx *ModifierContext)
ExitModifier is called when production modifier is exited.
func (*BaseDiceListener) ExitParameter ¶
func (s *BaseDiceListener) ExitParameter(ctx *ParameterContext)
ExitParameter is called when production parameter is exited.
func (*BaseDiceListener) ExitParameters ¶
func (s *BaseDiceListener) ExitParameters(ctx *ParametersContext)
ExitParameters is called when production parameters is exited.
func (*BaseDiceListener) ExitSides ¶
func (s *BaseDiceListener) ExitSides(ctx *SidesContext)
ExitSides is called when production sides is exited.
func (*BaseDiceListener) VisitErrorNode ¶
func (s *BaseDiceListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseDiceListener) VisitTerminal ¶
func (s *BaseDiceListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseDiceVisitor ¶
type BaseDiceVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseDiceVisitor) VisitCount ¶
func (v *BaseDiceVisitor) VisitCount(ctx *CountContext) interface{}
func (*BaseDiceVisitor) VisitExtensions ¶
func (v *BaseDiceVisitor) VisitExtensions(ctx *ExtensionsContext) interface{}
func (*BaseDiceVisitor) VisitFormula ¶
func (v *BaseDiceVisitor) VisitFormula(ctx *FormulaContext) interface{}
func (*BaseDiceVisitor) VisitFunccall ¶
func (v *BaseDiceVisitor) VisitFunccall(ctx *FunccallContext) interface{}
func (*BaseDiceVisitor) VisitFuncname ¶
func (v *BaseDiceVisitor) VisitFuncname(ctx *FuncnameContext) interface{}
func (*BaseDiceVisitor) VisitModifier ¶
func (v *BaseDiceVisitor) VisitModifier(ctx *ModifierContext) interface{}
func (*BaseDiceVisitor) VisitParameter ¶
func (v *BaseDiceVisitor) VisitParameter(ctx *ParameterContext) interface{}
func (*BaseDiceVisitor) VisitParameters ¶
func (v *BaseDiceVisitor) VisitParameters(ctx *ParametersContext) interface{}
func (*BaseDiceVisitor) VisitSides ¶
func (v *BaseDiceVisitor) VisitSides(ctx *SidesContext) interface{}
type CountContext ¶
type CountContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCountContext ¶
func NewCountContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CountContext
func NewEmptyCountContext ¶
func NewEmptyCountContext() *CountContext
func (*CountContext) Accept ¶
func (s *CountContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CountContext) EnterRule ¶
func (s *CountContext) EnterRule(listener antlr.ParseTreeListener)
func (*CountContext) ExitRule ¶
func (s *CountContext) ExitRule(listener antlr.ParseTreeListener)
func (*CountContext) GetParser ¶
func (s *CountContext) GetParser() antlr.Parser
func (*CountContext) GetRuleContext ¶
func (s *CountContext) GetRuleContext() antlr.RuleContext
func (*CountContext) Integer ¶
func (s *CountContext) Integer() antlr.TerminalNode
func (*CountContext) IsCountContext ¶
func (*CountContext) IsCountContext()
func (*CountContext) ToStringTree ¶
func (s *CountContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DiceLexer ¶
func NewDiceLexer ¶
func NewDiceLexer(input antlr.CharStream) *DiceLexer
type DiceListener ¶
type DiceListener interface { antlr.ParseTreeListener // EnterFormula is called when entering the formula production. EnterFormula(c *FormulaContext) // EnterExtensions is called when entering the extensions production. EnterExtensions(c *ExtensionsContext) // EnterCount is called when entering the count production. EnterCount(c *CountContext) // EnterSides is called when entering the sides production. EnterSides(c *SidesContext) // EnterModifier is called when entering the modifier production. EnterModifier(c *ModifierContext) // EnterParameter is called when entering the parameter production. EnterParameter(c *ParameterContext) // EnterParameters is called when entering the parameters production. EnterParameters(c *ParametersContext) // EnterFuncname is called when entering the funcname production. EnterFuncname(c *FuncnameContext) // EnterFunccall is called when entering the funccall production. EnterFunccall(c *FunccallContext) // ExitFormula is called when exiting the formula production. ExitFormula(c *FormulaContext) // ExitExtensions is called when exiting the extensions production. ExitExtensions(c *ExtensionsContext) // ExitCount is called when exiting the count production. ExitCount(c *CountContext) // ExitSides is called when exiting the sides production. ExitSides(c *SidesContext) // ExitModifier is called when exiting the modifier production. ExitModifier(c *ModifierContext) // ExitParameter is called when exiting the parameter production. ExitParameter(c *ParameterContext) // ExitParameters is called when exiting the parameters production. ExitParameters(c *ParametersContext) // ExitFuncname is called when exiting the funcname production. ExitFuncname(c *FuncnameContext) // ExitFunccall is called when exiting the funccall production. ExitFunccall(c *FunccallContext) }
DiceListener is a complete listener for a parse tree produced by DiceParser.
type DiceParser ¶
type DiceParser struct {
*antlr.BaseParser
}
func NewDiceParser ¶
func NewDiceParser(input antlr.TokenStream) *DiceParser
func (*DiceParser) Count ¶
func (p *DiceParser) Count() (localctx ICountContext)
func (*DiceParser) Extensions ¶
func (p *DiceParser) Extensions() (localctx IExtensionsContext)
func (*DiceParser) Formula ¶
func (p *DiceParser) Formula() (localctx IFormulaContext)
func (*DiceParser) Funccall ¶
func (p *DiceParser) Funccall() (localctx IFunccallContext)
func (*DiceParser) Funcname ¶
func (p *DiceParser) Funcname() (localctx IFuncnameContext)
func (*DiceParser) Modifier ¶
func (p *DiceParser) Modifier() (localctx IModifierContext)
func (*DiceParser) Parameter ¶
func (p *DiceParser) Parameter() (localctx IParameterContext)
func (*DiceParser) Parameters ¶
func (p *DiceParser) Parameters() (localctx IParametersContext)
func (*DiceParser) Sides ¶
func (p *DiceParser) Sides() (localctx ISidesContext)
type DiceVisitor ¶
type DiceVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by DiceParser#formula. VisitFormula(ctx *FormulaContext) interface{} // Visit a parse tree produced by DiceParser#extensions. VisitExtensions(ctx *ExtensionsContext) interface{} // Visit a parse tree produced by DiceParser#count. VisitCount(ctx *CountContext) interface{} // Visit a parse tree produced by DiceParser#sides. VisitSides(ctx *SidesContext) interface{} // Visit a parse tree produced by DiceParser#modifier. VisitModifier(ctx *ModifierContext) interface{} // Visit a parse tree produced by DiceParser#parameter. VisitParameter(ctx *ParameterContext) interface{} // Visit a parse tree produced by DiceParser#parameters. VisitParameters(ctx *ParametersContext) interface{} // Visit a parse tree produced by DiceParser#funcname. VisitFuncname(ctx *FuncnameContext) interface{} // Visit a parse tree produced by DiceParser#funccall. VisitFunccall(ctx *FunccallContext) interface{} }
A complete Visitor for a parse tree produced by DiceParser.
type ExtensionsContext ¶
type ExtensionsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExtensionsContext ¶
func NewEmptyExtensionsContext() *ExtensionsContext
func NewExtensionsContext ¶
func NewExtensionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtensionsContext
func (*ExtensionsContext) Accept ¶
func (s *ExtensionsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExtensionsContext) AllFunccall ¶
func (s *ExtensionsContext) AllFunccall() []IFunccallContext
func (*ExtensionsContext) AllSPACE ¶
func (s *ExtensionsContext) AllSPACE() []antlr.TerminalNode
func (*ExtensionsContext) EnterRule ¶
func (s *ExtensionsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExtensionsContext) ExitRule ¶
func (s *ExtensionsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExtensionsContext) Funccall ¶
func (s *ExtensionsContext) Funccall(i int) IFunccallContext
func (*ExtensionsContext) GetParser ¶
func (s *ExtensionsContext) GetParser() antlr.Parser
func (*ExtensionsContext) GetRuleContext ¶
func (s *ExtensionsContext) GetRuleContext() antlr.RuleContext
func (*ExtensionsContext) IsExtensionsContext ¶
func (*ExtensionsContext) IsExtensionsContext()
func (*ExtensionsContext) SPACE ¶
func (s *ExtensionsContext) SPACE(i int) antlr.TerminalNode
func (*ExtensionsContext) ToStringTree ¶
func (s *ExtensionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FormulaContext ¶
type FormulaContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFormulaContext ¶
func NewEmptyFormulaContext() *FormulaContext
func NewFormulaContext ¶
func NewFormulaContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormulaContext
func (*FormulaContext) Accept ¶
func (s *FormulaContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FormulaContext) Count ¶
func (s *FormulaContext) Count() ICountContext
func (*FormulaContext) EnterRule ¶
func (s *FormulaContext) EnterRule(listener antlr.ParseTreeListener)
func (*FormulaContext) ExitRule ¶
func (s *FormulaContext) ExitRule(listener antlr.ParseTreeListener)
func (*FormulaContext) Extensions ¶
func (s *FormulaContext) Extensions() IExtensionsContext
func (*FormulaContext) GetParser ¶
func (s *FormulaContext) GetParser() antlr.Parser
func (*FormulaContext) GetRuleContext ¶
func (s *FormulaContext) GetRuleContext() antlr.RuleContext
func (*FormulaContext) IsFormulaContext ¶
func (*FormulaContext) IsFormulaContext()
func (*FormulaContext) Modifier ¶
func (s *FormulaContext) Modifier() IModifierContext
func (*FormulaContext) Sides ¶
func (s *FormulaContext) Sides() ISidesContext
func (*FormulaContext) ToStringTree ¶
func (s *FormulaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FunccallContext ¶
type FunccallContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFunccallContext ¶
func NewEmptyFunccallContext() *FunccallContext
func NewFunccallContext ¶
func NewFunccallContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunccallContext
func (*FunccallContext) Accept ¶
func (s *FunccallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunccallContext) EnterRule ¶
func (s *FunccallContext) EnterRule(listener antlr.ParseTreeListener)
func (*FunccallContext) ExitRule ¶
func (s *FunccallContext) ExitRule(listener antlr.ParseTreeListener)
func (*FunccallContext) Funcname ¶
func (s *FunccallContext) Funcname() IFuncnameContext
func (*FunccallContext) GetParser ¶
func (s *FunccallContext) GetParser() antlr.Parser
func (*FunccallContext) GetRuleContext ¶
func (s *FunccallContext) GetRuleContext() antlr.RuleContext
func (*FunccallContext) IsFunccallContext ¶
func (*FunccallContext) IsFunccallContext()
func (*FunccallContext) LPAREN ¶
func (s *FunccallContext) LPAREN() antlr.TerminalNode
func (*FunccallContext) Parameters ¶
func (s *FunccallContext) Parameters() IParametersContext
func (*FunccallContext) RPAREN ¶
func (s *FunccallContext) RPAREN() antlr.TerminalNode
func (*FunccallContext) ToStringTree ¶
func (s *FunccallContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FuncnameContext ¶
type FuncnameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFuncnameContext ¶
func NewEmptyFuncnameContext() *FuncnameContext
func NewFuncnameContext ¶
func NewFuncnameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncnameContext
func (*FuncnameContext) Accept ¶
func (s *FuncnameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FuncnameContext) EnterRule ¶
func (s *FuncnameContext) EnterRule(listener antlr.ParseTreeListener)
func (*FuncnameContext) ExitRule ¶
func (s *FuncnameContext) ExitRule(listener antlr.ParseTreeListener)
func (*FuncnameContext) GetParser ¶
func (s *FuncnameContext) GetParser() antlr.Parser
func (*FuncnameContext) GetRuleContext ¶
func (s *FuncnameContext) GetRuleContext() antlr.RuleContext
func (*FuncnameContext) Id ¶
func (s *FuncnameContext) Id() antlr.TerminalNode
func (*FuncnameContext) IsFuncnameContext ¶
func (*FuncnameContext) IsFuncnameContext()
func (*FuncnameContext) ToStringTree ¶
func (s *FuncnameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ICountContext ¶
type ICountContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCountContext differentiates from other interfaces. IsCountContext() }
ICountContext is an interface to support dynamic dispatch.
type IExtensionsContext ¶
type IExtensionsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExtensionsContext differentiates from other interfaces. IsExtensionsContext() }
IExtensionsContext is an interface to support dynamic dispatch.
type IFormulaContext ¶
type IFormulaContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFormulaContext differentiates from other interfaces. IsFormulaContext() }
IFormulaContext is an interface to support dynamic dispatch.
type IFunccallContext ¶
type IFunccallContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFunccallContext differentiates from other interfaces. IsFunccallContext() }
IFunccallContext is an interface to support dynamic dispatch.
type IFuncnameContext ¶
type IFuncnameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFuncnameContext differentiates from other interfaces. IsFuncnameContext() }
IFuncnameContext is an interface to support dynamic dispatch.
type IModifierContext ¶
type IModifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsModifierContext differentiates from other interfaces. IsModifierContext() }
IModifierContext is an interface to support dynamic dispatch.
type IParameterContext ¶
type IParameterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsParameterContext differentiates from other interfaces. IsParameterContext() }
IParameterContext is an interface to support dynamic dispatch.
type IParametersContext ¶
type IParametersContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsParametersContext differentiates from other interfaces. IsParametersContext() }
IParametersContext is an interface to support dynamic dispatch.
type ISidesContext ¶
type ISidesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSidesContext differentiates from other interfaces. IsSidesContext() }
ISidesContext is an interface to support dynamic dispatch.
type ModifierContext ¶
type ModifierContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyModifierContext ¶
func NewEmptyModifierContext() *ModifierContext
func NewModifierContext ¶
func NewModifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ModifierContext
func (*ModifierContext) Accept ¶
func (s *ModifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ModifierContext) EnterRule ¶
func (s *ModifierContext) EnterRule(listener antlr.ParseTreeListener)
func (*ModifierContext) ExitRule ¶
func (s *ModifierContext) ExitRule(listener antlr.ParseTreeListener)
func (*ModifierContext) GetParser ¶
func (s *ModifierContext) GetParser() antlr.Parser
func (*ModifierContext) GetRuleContext ¶
func (s *ModifierContext) GetRuleContext() antlr.RuleContext
func (*ModifierContext) Integer ¶
func (s *ModifierContext) Integer() antlr.TerminalNode
func (*ModifierContext) IsModifierContext ¶
func (*ModifierContext) IsModifierContext()
func (*ModifierContext) SIGN ¶
func (s *ModifierContext) SIGN() antlr.TerminalNode
func (*ModifierContext) ToStringTree ¶
func (s *ModifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ParameterContext ¶
type ParameterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParameterContext ¶
func NewEmptyParameterContext() *ParameterContext
func NewParameterContext ¶
func NewParameterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParameterContext
func (*ParameterContext) Accept ¶
func (s *ParameterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ParameterContext) EnterRule ¶
func (s *ParameterContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParameterContext) ExitRule ¶
func (s *ParameterContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParameterContext) GetParser ¶
func (s *ParameterContext) GetParser() antlr.Parser
func (*ParameterContext) GetRuleContext ¶
func (s *ParameterContext) GetRuleContext() antlr.RuleContext
func (*ParameterContext) Integer ¶
func (s *ParameterContext) Integer() antlr.TerminalNode
func (*ParameterContext) IsParameterContext ¶
func (*ParameterContext) IsParameterContext()
func (*ParameterContext) StringLiteral ¶
func (s *ParameterContext) StringLiteral() antlr.TerminalNode
func (*ParameterContext) ToStringTree ¶
func (s *ParameterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ParametersContext ¶
type ParametersContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParametersContext ¶
func NewEmptyParametersContext() *ParametersContext
func NewParametersContext ¶
func NewParametersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParametersContext
func (*ParametersContext) Accept ¶
func (s *ParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ParametersContext) AllCOMMA ¶
func (s *ParametersContext) AllCOMMA() []antlr.TerminalNode
func (*ParametersContext) AllParameter ¶
func (s *ParametersContext) AllParameter() []IParameterContext
func (*ParametersContext) COMMA ¶
func (s *ParametersContext) COMMA(i int) antlr.TerminalNode
func (*ParametersContext) EnterRule ¶
func (s *ParametersContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParametersContext) ExitRule ¶
func (s *ParametersContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParametersContext) GetParser ¶
func (s *ParametersContext) GetParser() antlr.Parser
func (*ParametersContext) GetRuleContext ¶
func (s *ParametersContext) GetRuleContext() antlr.RuleContext
func (*ParametersContext) IsParametersContext ¶
func (*ParametersContext) IsParametersContext()
func (*ParametersContext) Parameter ¶
func (s *ParametersContext) Parameter(i int) IParameterContext
func (*ParametersContext) ToStringTree ¶
func (s *ParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SidesContext ¶
type SidesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySidesContext ¶
func NewEmptySidesContext() *SidesContext
func NewSidesContext ¶
func NewSidesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SidesContext
func (*SidesContext) Accept ¶
func (s *SidesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SidesContext) EnterRule ¶
func (s *SidesContext) EnterRule(listener antlr.ParseTreeListener)
func (*SidesContext) ExitRule ¶
func (s *SidesContext) ExitRule(listener antlr.ParseTreeListener)
func (*SidesContext) GetParser ¶
func (s *SidesContext) GetParser() antlr.Parser
func (*SidesContext) GetRuleContext ¶
func (s *SidesContext) GetRuleContext() antlr.RuleContext
func (*SidesContext) Id ¶
func (s *SidesContext) Id() antlr.TerminalNode
func (*SidesContext) IsSidesContext ¶
func (*SidesContext) IsSidesContext()
func (*SidesContext) ToStringTree ¶
func (s *SidesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string