Documentation ¶
Index ¶
- Constants
- type AdditionOrSubtractionExpressionContext
- func (s *AdditionOrSubtractionExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AdditionOrSubtractionExpressionContext) AllExpression() []IExpressionContext
- func (s *AdditionOrSubtractionExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AdditionOrSubtractionExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AdditionOrSubtractionExpressionContext) Expression(i int) IExpressionContext
- func (s *AdditionOrSubtractionExpressionContext) GetOp() antlr.Token
- func (s *AdditionOrSubtractionExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *AdditionOrSubtractionExpressionContext) MINUS() antlr.TerminalNode
- func (s *AdditionOrSubtractionExpressionContext) PLUS() antlr.TerminalNode
- func (s *AdditionOrSubtractionExpressionContext) SetOp(v antlr.Token)
- type BaseExcellent1Listener
- func (s *BaseExcellent1Listener) EnterAdditionOrSubtractionExpression(ctx *AdditionOrSubtractionExpressionContext)
- func (s *BaseExcellent1Listener) EnterComparisonExpression(ctx *ComparisonExpressionContext)
- func (s *BaseExcellent1Listener) EnterConcatenation(ctx *ConcatenationContext)
- func (s *BaseExcellent1Listener) EnterContextReference(ctx *ContextReferenceContext)
- func (s *BaseExcellent1Listener) EnterDecimalLiteral(ctx *DecimalLiteralContext)
- func (s *BaseExcellent1Listener) EnterEqualityExpression(ctx *EqualityExpressionContext)
- func (s *BaseExcellent1Listener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseExcellent1Listener) EnterExponentExpression(ctx *ExponentExpressionContext)
- func (s *BaseExcellent1Listener) EnterFalse(ctx *FalseContext)
- func (s *BaseExcellent1Listener) EnterFnname(ctx *FnnameContext)
- func (s *BaseExcellent1Listener) EnterFunctionCall(ctx *FunctionCallContext)
- func (s *BaseExcellent1Listener) EnterFunctionParameters(ctx *FunctionParametersContext)
- func (s *BaseExcellent1Listener) EnterMultiplicationOrDivisionExpression(ctx *MultiplicationOrDivisionExpressionContext)
- func (s *BaseExcellent1Listener) EnterNegation(ctx *NegationContext)
- func (s *BaseExcellent1Listener) EnterParentheses(ctx *ParenthesesContext)
- func (s *BaseExcellent1Listener) EnterParse(ctx *ParseContext)
- func (s *BaseExcellent1Listener) EnterStringLiteral(ctx *StringLiteralContext)
- func (s *BaseExcellent1Listener) EnterTrue(ctx *TrueContext)
- func (s *BaseExcellent1Listener) ExitAdditionOrSubtractionExpression(ctx *AdditionOrSubtractionExpressionContext)
- func (s *BaseExcellent1Listener) ExitComparisonExpression(ctx *ComparisonExpressionContext)
- func (s *BaseExcellent1Listener) ExitConcatenation(ctx *ConcatenationContext)
- func (s *BaseExcellent1Listener) ExitContextReference(ctx *ContextReferenceContext)
- func (s *BaseExcellent1Listener) ExitDecimalLiteral(ctx *DecimalLiteralContext)
- func (s *BaseExcellent1Listener) ExitEqualityExpression(ctx *EqualityExpressionContext)
- func (s *BaseExcellent1Listener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseExcellent1Listener) ExitExponentExpression(ctx *ExponentExpressionContext)
- func (s *BaseExcellent1Listener) ExitFalse(ctx *FalseContext)
- func (s *BaseExcellent1Listener) ExitFnname(ctx *FnnameContext)
- func (s *BaseExcellent1Listener) ExitFunctionCall(ctx *FunctionCallContext)
- func (s *BaseExcellent1Listener) ExitFunctionParameters(ctx *FunctionParametersContext)
- func (s *BaseExcellent1Listener) ExitMultiplicationOrDivisionExpression(ctx *MultiplicationOrDivisionExpressionContext)
- func (s *BaseExcellent1Listener) ExitNegation(ctx *NegationContext)
- func (s *BaseExcellent1Listener) ExitParentheses(ctx *ParenthesesContext)
- func (s *BaseExcellent1Listener) ExitParse(ctx *ParseContext)
- func (s *BaseExcellent1Listener) ExitStringLiteral(ctx *StringLiteralContext)
- func (s *BaseExcellent1Listener) ExitTrue(ctx *TrueContext)
- func (s *BaseExcellent1Listener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseExcellent1Listener) VisitTerminal(node antlr.TerminalNode)
- type BaseExcellent1Visitor
- func (v *BaseExcellent1Visitor) VisitAdditionOrSubtractionExpression(ctx *AdditionOrSubtractionExpressionContext) interface{}
- func (v *BaseExcellent1Visitor) VisitComparisonExpression(ctx *ComparisonExpressionContext) interface{}
- func (v *BaseExcellent1Visitor) VisitConcatenation(ctx *ConcatenationContext) interface{}
- func (v *BaseExcellent1Visitor) VisitContextReference(ctx *ContextReferenceContext) interface{}
- func (v *BaseExcellent1Visitor) VisitDecimalLiteral(ctx *DecimalLiteralContext) interface{}
- func (v *BaseExcellent1Visitor) VisitEqualityExpression(ctx *EqualityExpressionContext) interface{}
- func (v *BaseExcellent1Visitor) VisitExponentExpression(ctx *ExponentExpressionContext) interface{}
- func (v *BaseExcellent1Visitor) VisitFalse(ctx *FalseContext) interface{}
- func (v *BaseExcellent1Visitor) VisitFnname(ctx *FnnameContext) interface{}
- func (v *BaseExcellent1Visitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}
- func (v *BaseExcellent1Visitor) VisitFunctionParameters(ctx *FunctionParametersContext) interface{}
- func (v *BaseExcellent1Visitor) VisitMultiplicationOrDivisionExpression(ctx *MultiplicationOrDivisionExpressionContext) interface{}
- func (v *BaseExcellent1Visitor) VisitNegation(ctx *NegationContext) interface{}
- func (v *BaseExcellent1Visitor) VisitParentheses(ctx *ParenthesesContext) interface{}
- func (v *BaseExcellent1Visitor) VisitParse(ctx *ParseContext) interface{}
- func (v *BaseExcellent1Visitor) VisitStringLiteral(ctx *StringLiteralContext) interface{}
- func (v *BaseExcellent1Visitor) VisitTrue(ctx *TrueContext) interface{}
- type ComparisonExpressionContext
- func (s *ComparisonExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ComparisonExpressionContext) AllExpression() []IExpressionContext
- func (s *ComparisonExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ComparisonExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ComparisonExpressionContext) Expression(i int) IExpressionContext
- func (s *ComparisonExpressionContext) GT() antlr.TerminalNode
- func (s *ComparisonExpressionContext) GTE() antlr.TerminalNode
- func (s *ComparisonExpressionContext) GetOp() antlr.Token
- func (s *ComparisonExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ComparisonExpressionContext) LT() antlr.TerminalNode
- func (s *ComparisonExpressionContext) LTE() antlr.TerminalNode
- func (s *ComparisonExpressionContext) SetOp(v antlr.Token)
- type ConcatenationContext
- func (s *ConcatenationContext) AMPERSAND() antlr.TerminalNode
- func (s *ConcatenationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ConcatenationContext) AllExpression() []IExpressionContext
- func (s *ConcatenationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConcatenationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConcatenationContext) Expression(i int) IExpressionContext
- func (s *ConcatenationContext) GetRuleContext() antlr.RuleContext
- type ContextReferenceContext
- func (s *ContextReferenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ContextReferenceContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ContextReferenceContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ContextReferenceContext) GetRuleContext() antlr.RuleContext
- func (s *ContextReferenceContext) NAME() antlr.TerminalNode
- type DecimalLiteralContext
- func (s *DecimalLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DecimalLiteralContext) DECIMAL() antlr.TerminalNode
- func (s *DecimalLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DecimalLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DecimalLiteralContext) GetRuleContext() antlr.RuleContext
- type EqualityExpressionContext
- func (s *EqualityExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EqualityExpressionContext) AllExpression() []IExpressionContext
- func (s *EqualityExpressionContext) EQ() antlr.TerminalNode
- func (s *EqualityExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EqualityExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EqualityExpressionContext) Expression(i int) IExpressionContext
- func (s *EqualityExpressionContext) GetOp() antlr.Token
- func (s *EqualityExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *EqualityExpressionContext) NEQ() antlr.TerminalNode
- func (s *EqualityExpressionContext) SetOp(v antlr.Token)
- type Excellent1Lexer
- type Excellent1Listener
- type Excellent1Parser
- func (p *Excellent1Parser) Expression() (localctx IExpressionContext)
- func (p *Excellent1Parser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Excellent1Parser) Fnname() (localctx IFnnameContext)
- func (p *Excellent1Parser) Parameters() (localctx IParametersContext)
- func (p *Excellent1Parser) Parse() (localctx IParseContext)
- func (p *Excellent1Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- type Excellent1Visitor
- type ExponentExpressionContext
- func (s *ExponentExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExponentExpressionContext) AllExpression() []IExpressionContext
- func (s *ExponentExpressionContext) EXPONENT() antlr.TerminalNode
- func (s *ExponentExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExponentExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExponentExpressionContext) Expression(i int) IExpressionContext
- func (s *ExponentExpressionContext) GetRuleContext() antlr.RuleContext
- type ExpressionContext
- func (s *ExpressionContext) CopyFrom(ctx *ExpressionContext)
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FalseContext
- func (s *FalseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FalseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FalseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FalseContext) FALSE() antlr.TerminalNode
- func (s *FalseContext) GetRuleContext() antlr.RuleContext
- type FnnameContext
- func (s *FnnameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FnnameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FnnameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FnnameContext) FALSE() antlr.TerminalNode
- func (s *FnnameContext) GetParser() antlr.Parser
- func (s *FnnameContext) GetRuleContext() antlr.RuleContext
- func (*FnnameContext) IsFnnameContext()
- func (s *FnnameContext) NAME() antlr.TerminalNode
- func (s *FnnameContext) TRUE() antlr.TerminalNode
- func (s *FnnameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunctionCallContext
- func (s *FunctionCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionCallContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunctionCallContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunctionCallContext) Fnname() IFnnameContext
- func (s *FunctionCallContext) GetRuleContext() antlr.RuleContext
- func (s *FunctionCallContext) LPAREN() antlr.TerminalNode
- func (s *FunctionCallContext) Parameters() IParametersContext
- func (s *FunctionCallContext) RPAREN() antlr.TerminalNode
- type FunctionParametersContext
- func (s *FunctionParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionParametersContext) AllCOMMA() []antlr.TerminalNode
- func (s *FunctionParametersContext) AllExpression() []IExpressionContext
- func (s *FunctionParametersContext) COMMA(i int) antlr.TerminalNode
- func (s *FunctionParametersContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunctionParametersContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunctionParametersContext) Expression(i int) IExpressionContext
- func (s *FunctionParametersContext) GetRuleContext() antlr.RuleContext
- type IExpressionContext
- type IFnnameContext
- type IParametersContext
- type IParseContext
- type MultiplicationOrDivisionExpressionContext
- func (s *MultiplicationOrDivisionExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MultiplicationOrDivisionExpressionContext) AllExpression() []IExpressionContext
- func (s *MultiplicationOrDivisionExpressionContext) DIVIDE() antlr.TerminalNode
- func (s *MultiplicationOrDivisionExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MultiplicationOrDivisionExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MultiplicationOrDivisionExpressionContext) Expression(i int) IExpressionContext
- func (s *MultiplicationOrDivisionExpressionContext) GetOp() antlr.Token
- func (s *MultiplicationOrDivisionExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *MultiplicationOrDivisionExpressionContext) SetOp(v antlr.Token)
- func (s *MultiplicationOrDivisionExpressionContext) TIMES() antlr.TerminalNode
- type NegationContext
- func (s *NegationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NegationContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NegationContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NegationContext) Expression() IExpressionContext
- func (s *NegationContext) GetRuleContext() antlr.RuleContext
- func (s *NegationContext) MINUS() antlr.TerminalNode
- type ParametersContext
- func (s *ParametersContext) CopyFrom(ctx *ParametersContext)
- func (s *ParametersContext) GetParser() antlr.Parser
- func (s *ParametersContext) GetRuleContext() antlr.RuleContext
- func (*ParametersContext) IsParametersContext()
- func (s *ParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ParenthesesContext
- func (s *ParenthesesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParenthesesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParenthesesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParenthesesContext) Expression() IExpressionContext
- func (s *ParenthesesContext) GetRuleContext() antlr.RuleContext
- func (s *ParenthesesContext) LPAREN() antlr.TerminalNode
- func (s *ParenthesesContext) RPAREN() antlr.TerminalNode
- type ParseContext
- func (s *ParseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParseContext) EOF() antlr.TerminalNode
- func (s *ParseContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParseContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParseContext) Expression() IExpressionContext
- func (s *ParseContext) GetParser() antlr.Parser
- func (s *ParseContext) GetRuleContext() antlr.RuleContext
- func (*ParseContext) IsParseContext()
- func (s *ParseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringLiteralContext
- func (s *StringLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StringLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StringLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StringLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *StringLiteralContext) STRING() antlr.TerminalNode
- type TrueContext
- func (s *TrueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TrueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TrueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TrueContext) GetRuleContext() antlr.RuleContext
- func (s *TrueContext) TRUE() antlr.TerminalNode
Constants ¶
const ( Excellent1LexerCOMMA = 1 Excellent1LexerLPAREN = 2 Excellent1LexerRPAREN = 3 Excellent1LexerPLUS = 4 Excellent1LexerMINUS = 5 Excellent1LexerTIMES = 6 Excellent1LexerDIVIDE = 7 Excellent1LexerEXPONENT = 8 Excellent1LexerEQ = 9 Excellent1LexerNEQ = 10 Excellent1LexerLTE = 11 Excellent1LexerLT = 12 Excellent1LexerGTE = 13 Excellent1LexerGT = 14 Excellent1LexerAMPERSAND = 15 Excellent1LexerDECIMAL = 16 Excellent1LexerSTRING = 17 Excellent1LexerTRUE = 18 Excellent1LexerFALSE = 19 Excellent1LexerNAME = 20 Excellent1LexerWS = 21 Excellent1LexerERROR = 22 )
Excellent1Lexer tokens.
const ( Excellent1ParserEOF = antlr.TokenEOF Excellent1ParserCOMMA = 1 Excellent1ParserLPAREN = 2 Excellent1ParserRPAREN = 3 Excellent1ParserPLUS = 4 Excellent1ParserMINUS = 5 Excellent1ParserTIMES = 6 Excellent1ParserDIVIDE = 7 Excellent1ParserEXPONENT = 8 Excellent1ParserEQ = 9 Excellent1ParserNEQ = 10 Excellent1ParserLTE = 11 Excellent1ParserLT = 12 Excellent1ParserGTE = 13 Excellent1ParserGT = 14 Excellent1ParserAMPERSAND = 15 Excellent1ParserDECIMAL = 16 Excellent1ParserSTRING = 17 Excellent1ParserTRUE = 18 Excellent1ParserFALSE = 19 Excellent1ParserNAME = 20 Excellent1ParserWS = 21 Excellent1ParserERROR = 22 )
Excellent1Parser tokens.
const ( Excellent1ParserRULE_parse = 0 Excellent1ParserRULE_expression = 1 Excellent1ParserRULE_fnname = 2 Excellent1ParserRULE_parameters = 3 )
Excellent1Parser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionOrSubtractionExpressionContext ¶ added in v0.33.7
type AdditionOrSubtractionExpressionContext struct { *ExpressionContext // contains filtered or unexported fields }
func NewAdditionOrSubtractionExpressionContext ¶ added in v0.33.7
func NewAdditionOrSubtractionExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AdditionOrSubtractionExpressionContext
func (*AdditionOrSubtractionExpressionContext) Accept ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AdditionOrSubtractionExpressionContext) AllExpression ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) AllExpression() []IExpressionContext
func (*AdditionOrSubtractionExpressionContext) EnterRule ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*AdditionOrSubtractionExpressionContext) ExitRule ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*AdditionOrSubtractionExpressionContext) Expression ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) Expression(i int) IExpressionContext
func (*AdditionOrSubtractionExpressionContext) GetOp ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) GetOp() antlr.Token
func (*AdditionOrSubtractionExpressionContext) GetRuleContext ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) GetRuleContext() antlr.RuleContext
func (*AdditionOrSubtractionExpressionContext) MINUS ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) MINUS() antlr.TerminalNode
func (*AdditionOrSubtractionExpressionContext) PLUS ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) PLUS() antlr.TerminalNode
func (*AdditionOrSubtractionExpressionContext) SetOp ¶ added in v0.33.7
func (s *AdditionOrSubtractionExpressionContext) SetOp(v antlr.Token)
type BaseExcellent1Listener ¶
type BaseExcellent1Listener struct{}
BaseExcellent1Listener is a complete listener for a parse tree produced by Excellent1Parser.
func (*BaseExcellent1Listener) EnterAdditionOrSubtractionExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) EnterAdditionOrSubtractionExpression(ctx *AdditionOrSubtractionExpressionContext)
EnterAdditionOrSubtractionExpression is called when production additionOrSubtractionExpression is entered.
func (*BaseExcellent1Listener) EnterComparisonExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) EnterComparisonExpression(ctx *ComparisonExpressionContext)
EnterComparisonExpression is called when production comparisonExpression is entered.
func (*BaseExcellent1Listener) EnterConcatenation ¶
func (s *BaseExcellent1Listener) EnterConcatenation(ctx *ConcatenationContext)
EnterConcatenation is called when production concatenation is entered.
func (*BaseExcellent1Listener) EnterContextReference ¶
func (s *BaseExcellent1Listener) EnterContextReference(ctx *ContextReferenceContext)
EnterContextReference is called when production contextReference is entered.
func (*BaseExcellent1Listener) EnterDecimalLiteral ¶
func (s *BaseExcellent1Listener) EnterDecimalLiteral(ctx *DecimalLiteralContext)
EnterDecimalLiteral is called when production decimalLiteral is entered.
func (*BaseExcellent1Listener) EnterEqualityExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) EnterEqualityExpression(ctx *EqualityExpressionContext)
EnterEqualityExpression is called when production equalityExpression is entered.
func (*BaseExcellent1Listener) EnterEveryRule ¶
func (s *BaseExcellent1Listener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseExcellent1Listener) EnterExponentExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) EnterExponentExpression(ctx *ExponentExpressionContext)
EnterExponentExpression is called when production exponentExpression is entered.
func (*BaseExcellent1Listener) EnterFalse ¶
func (s *BaseExcellent1Listener) EnterFalse(ctx *FalseContext)
EnterFalse is called when production false is entered.
func (*BaseExcellent1Listener) EnterFnname ¶
func (s *BaseExcellent1Listener) EnterFnname(ctx *FnnameContext)
EnterFnname is called when production fnname is entered.
func (*BaseExcellent1Listener) EnterFunctionCall ¶
func (s *BaseExcellent1Listener) EnterFunctionCall(ctx *FunctionCallContext)
EnterFunctionCall is called when production functionCall is entered.
func (*BaseExcellent1Listener) EnterFunctionParameters ¶
func (s *BaseExcellent1Listener) EnterFunctionParameters(ctx *FunctionParametersContext)
EnterFunctionParameters is called when production functionParameters is entered.
func (*BaseExcellent1Listener) EnterMultiplicationOrDivisionExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) EnterMultiplicationOrDivisionExpression(ctx *MultiplicationOrDivisionExpressionContext)
EnterMultiplicationOrDivisionExpression is called when production multiplicationOrDivisionExpression is entered.
func (*BaseExcellent1Listener) EnterNegation ¶
func (s *BaseExcellent1Listener) EnterNegation(ctx *NegationContext)
EnterNegation is called when production negation is entered.
func (*BaseExcellent1Listener) EnterParentheses ¶
func (s *BaseExcellent1Listener) EnterParentheses(ctx *ParenthesesContext)
EnterParentheses is called when production parentheses is entered.
func (*BaseExcellent1Listener) EnterParse ¶
func (s *BaseExcellent1Listener) EnterParse(ctx *ParseContext)
EnterParse is called when production parse is entered.
func (*BaseExcellent1Listener) EnterStringLiteral ¶
func (s *BaseExcellent1Listener) EnterStringLiteral(ctx *StringLiteralContext)
EnterStringLiteral is called when production stringLiteral is entered.
func (*BaseExcellent1Listener) EnterTrue ¶
func (s *BaseExcellent1Listener) EnterTrue(ctx *TrueContext)
EnterTrue is called when production true is entered.
func (*BaseExcellent1Listener) ExitAdditionOrSubtractionExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) ExitAdditionOrSubtractionExpression(ctx *AdditionOrSubtractionExpressionContext)
ExitAdditionOrSubtractionExpression is called when production additionOrSubtractionExpression is exited.
func (*BaseExcellent1Listener) ExitComparisonExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) ExitComparisonExpression(ctx *ComparisonExpressionContext)
ExitComparisonExpression is called when production comparisonExpression is exited.
func (*BaseExcellent1Listener) ExitConcatenation ¶
func (s *BaseExcellent1Listener) ExitConcatenation(ctx *ConcatenationContext)
ExitConcatenation is called when production concatenation is exited.
func (*BaseExcellent1Listener) ExitContextReference ¶
func (s *BaseExcellent1Listener) ExitContextReference(ctx *ContextReferenceContext)
ExitContextReference is called when production contextReference is exited.
func (*BaseExcellent1Listener) ExitDecimalLiteral ¶
func (s *BaseExcellent1Listener) ExitDecimalLiteral(ctx *DecimalLiteralContext)
ExitDecimalLiteral is called when production decimalLiteral is exited.
func (*BaseExcellent1Listener) ExitEqualityExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) ExitEqualityExpression(ctx *EqualityExpressionContext)
ExitEqualityExpression is called when production equalityExpression is exited.
func (*BaseExcellent1Listener) ExitEveryRule ¶
func (s *BaseExcellent1Listener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseExcellent1Listener) ExitExponentExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) ExitExponentExpression(ctx *ExponentExpressionContext)
ExitExponentExpression is called when production exponentExpression is exited.
func (*BaseExcellent1Listener) ExitFalse ¶
func (s *BaseExcellent1Listener) ExitFalse(ctx *FalseContext)
ExitFalse is called when production false is exited.
func (*BaseExcellent1Listener) ExitFnname ¶
func (s *BaseExcellent1Listener) ExitFnname(ctx *FnnameContext)
ExitFnname is called when production fnname is exited.
func (*BaseExcellent1Listener) ExitFunctionCall ¶
func (s *BaseExcellent1Listener) ExitFunctionCall(ctx *FunctionCallContext)
ExitFunctionCall is called when production functionCall is exited.
func (*BaseExcellent1Listener) ExitFunctionParameters ¶
func (s *BaseExcellent1Listener) ExitFunctionParameters(ctx *FunctionParametersContext)
ExitFunctionParameters is called when production functionParameters is exited.
func (*BaseExcellent1Listener) ExitMultiplicationOrDivisionExpression ¶ added in v0.33.7
func (s *BaseExcellent1Listener) ExitMultiplicationOrDivisionExpression(ctx *MultiplicationOrDivisionExpressionContext)
ExitMultiplicationOrDivisionExpression is called when production multiplicationOrDivisionExpression is exited.
func (*BaseExcellent1Listener) ExitNegation ¶
func (s *BaseExcellent1Listener) ExitNegation(ctx *NegationContext)
ExitNegation is called when production negation is exited.
func (*BaseExcellent1Listener) ExitParentheses ¶
func (s *BaseExcellent1Listener) ExitParentheses(ctx *ParenthesesContext)
ExitParentheses is called when production parentheses is exited.
func (*BaseExcellent1Listener) ExitParse ¶
func (s *BaseExcellent1Listener) ExitParse(ctx *ParseContext)
ExitParse is called when production parse is exited.
func (*BaseExcellent1Listener) ExitStringLiteral ¶
func (s *BaseExcellent1Listener) ExitStringLiteral(ctx *StringLiteralContext)
ExitStringLiteral is called when production stringLiteral is exited.
func (*BaseExcellent1Listener) ExitTrue ¶
func (s *BaseExcellent1Listener) ExitTrue(ctx *TrueContext)
ExitTrue is called when production true is exited.
func (*BaseExcellent1Listener) VisitErrorNode ¶
func (s *BaseExcellent1Listener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseExcellent1Listener) VisitTerminal ¶
func (s *BaseExcellent1Listener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseExcellent1Visitor ¶
type BaseExcellent1Visitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseExcellent1Visitor) VisitAdditionOrSubtractionExpression ¶ added in v0.33.7
func (v *BaseExcellent1Visitor) VisitAdditionOrSubtractionExpression(ctx *AdditionOrSubtractionExpressionContext) interface{}
func (*BaseExcellent1Visitor) VisitComparisonExpression ¶ added in v0.33.7
func (v *BaseExcellent1Visitor) VisitComparisonExpression(ctx *ComparisonExpressionContext) interface{}
func (*BaseExcellent1Visitor) VisitConcatenation ¶
func (v *BaseExcellent1Visitor) VisitConcatenation(ctx *ConcatenationContext) interface{}
func (*BaseExcellent1Visitor) VisitContextReference ¶
func (v *BaseExcellent1Visitor) VisitContextReference(ctx *ContextReferenceContext) interface{}
func (*BaseExcellent1Visitor) VisitDecimalLiteral ¶
func (v *BaseExcellent1Visitor) VisitDecimalLiteral(ctx *DecimalLiteralContext) interface{}
func (*BaseExcellent1Visitor) VisitEqualityExpression ¶ added in v0.33.7
func (v *BaseExcellent1Visitor) VisitEqualityExpression(ctx *EqualityExpressionContext) interface{}
func (*BaseExcellent1Visitor) VisitExponentExpression ¶ added in v0.33.7
func (v *BaseExcellent1Visitor) VisitExponentExpression(ctx *ExponentExpressionContext) interface{}
func (*BaseExcellent1Visitor) VisitFalse ¶
func (v *BaseExcellent1Visitor) VisitFalse(ctx *FalseContext) interface{}
func (*BaseExcellent1Visitor) VisitFnname ¶
func (v *BaseExcellent1Visitor) VisitFnname(ctx *FnnameContext) interface{}
func (*BaseExcellent1Visitor) VisitFunctionCall ¶
func (v *BaseExcellent1Visitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}
func (*BaseExcellent1Visitor) VisitFunctionParameters ¶
func (v *BaseExcellent1Visitor) VisitFunctionParameters(ctx *FunctionParametersContext) interface{}
func (*BaseExcellent1Visitor) VisitMultiplicationOrDivisionExpression ¶ added in v0.33.7
func (v *BaseExcellent1Visitor) VisitMultiplicationOrDivisionExpression(ctx *MultiplicationOrDivisionExpressionContext) interface{}
func (*BaseExcellent1Visitor) VisitNegation ¶
func (v *BaseExcellent1Visitor) VisitNegation(ctx *NegationContext) interface{}
func (*BaseExcellent1Visitor) VisitParentheses ¶
func (v *BaseExcellent1Visitor) VisitParentheses(ctx *ParenthesesContext) interface{}
func (*BaseExcellent1Visitor) VisitParse ¶
func (v *BaseExcellent1Visitor) VisitParse(ctx *ParseContext) interface{}
func (*BaseExcellent1Visitor) VisitStringLiteral ¶
func (v *BaseExcellent1Visitor) VisitStringLiteral(ctx *StringLiteralContext) interface{}
func (*BaseExcellent1Visitor) VisitTrue ¶
func (v *BaseExcellent1Visitor) VisitTrue(ctx *TrueContext) interface{}
type ComparisonExpressionContext ¶ added in v0.33.7
type ComparisonExpressionContext struct { *ExpressionContext // contains filtered or unexported fields }
func NewComparisonExpressionContext ¶ added in v0.33.7
func NewComparisonExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ComparisonExpressionContext
func (*ComparisonExpressionContext) Accept ¶ added in v0.33.7
func (s *ComparisonExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ComparisonExpressionContext) AllExpression ¶ added in v0.33.7
func (s *ComparisonExpressionContext) AllExpression() []IExpressionContext
func (*ComparisonExpressionContext) EnterRule ¶ added in v0.33.7
func (s *ComparisonExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ComparisonExpressionContext) ExitRule ¶ added in v0.33.7
func (s *ComparisonExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ComparisonExpressionContext) Expression ¶ added in v0.33.7
func (s *ComparisonExpressionContext) Expression(i int) IExpressionContext
func (*ComparisonExpressionContext) GT ¶ added in v0.33.7
func (s *ComparisonExpressionContext) GT() antlr.TerminalNode
func (*ComparisonExpressionContext) GTE ¶ added in v0.33.7
func (s *ComparisonExpressionContext) GTE() antlr.TerminalNode
func (*ComparisonExpressionContext) GetOp ¶ added in v0.33.7
func (s *ComparisonExpressionContext) GetOp() antlr.Token
func (*ComparisonExpressionContext) GetRuleContext ¶ added in v0.33.7
func (s *ComparisonExpressionContext) GetRuleContext() antlr.RuleContext
func (*ComparisonExpressionContext) LT ¶ added in v0.33.7
func (s *ComparisonExpressionContext) LT() antlr.TerminalNode
func (*ComparisonExpressionContext) LTE ¶ added in v0.33.7
func (s *ComparisonExpressionContext) LTE() antlr.TerminalNode
func (*ComparisonExpressionContext) SetOp ¶ added in v0.33.7
func (s *ComparisonExpressionContext) SetOp(v antlr.Token)
type ConcatenationContext ¶
type ConcatenationContext struct {
*ExpressionContext
}
func NewConcatenationContext ¶
func NewConcatenationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ConcatenationContext
func (*ConcatenationContext) AMPERSAND ¶
func (s *ConcatenationContext) AMPERSAND() antlr.TerminalNode
func (*ConcatenationContext) Accept ¶
func (s *ConcatenationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ConcatenationContext) AllExpression ¶
func (s *ConcatenationContext) AllExpression() []IExpressionContext
func (*ConcatenationContext) EnterRule ¶
func (s *ConcatenationContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConcatenationContext) ExitRule ¶
func (s *ConcatenationContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConcatenationContext) Expression ¶
func (s *ConcatenationContext) Expression(i int) IExpressionContext
func (*ConcatenationContext) GetRuleContext ¶
func (s *ConcatenationContext) GetRuleContext() antlr.RuleContext
type ContextReferenceContext ¶
type ContextReferenceContext struct {
*ExpressionContext
}
func NewContextReferenceContext ¶
func NewContextReferenceContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ContextReferenceContext
func (*ContextReferenceContext) Accept ¶
func (s *ContextReferenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ContextReferenceContext) EnterRule ¶
func (s *ContextReferenceContext) EnterRule(listener antlr.ParseTreeListener)
func (*ContextReferenceContext) ExitRule ¶
func (s *ContextReferenceContext) ExitRule(listener antlr.ParseTreeListener)
func (*ContextReferenceContext) GetRuleContext ¶
func (s *ContextReferenceContext) GetRuleContext() antlr.RuleContext
func (*ContextReferenceContext) NAME ¶
func (s *ContextReferenceContext) NAME() antlr.TerminalNode
type DecimalLiteralContext ¶
type DecimalLiteralContext struct {
*ExpressionContext
}
func NewDecimalLiteralContext ¶
func NewDecimalLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DecimalLiteralContext
func (*DecimalLiteralContext) Accept ¶
func (s *DecimalLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DecimalLiteralContext) DECIMAL ¶
func (s *DecimalLiteralContext) DECIMAL() antlr.TerminalNode
func (*DecimalLiteralContext) EnterRule ¶
func (s *DecimalLiteralContext) EnterRule(listener antlr.ParseTreeListener)
func (*DecimalLiteralContext) ExitRule ¶
func (s *DecimalLiteralContext) ExitRule(listener antlr.ParseTreeListener)
func (*DecimalLiteralContext) GetRuleContext ¶
func (s *DecimalLiteralContext) GetRuleContext() antlr.RuleContext
type EqualityExpressionContext ¶ added in v0.33.7
type EqualityExpressionContext struct { *ExpressionContext // contains filtered or unexported fields }
func NewEqualityExpressionContext ¶ added in v0.33.7
func NewEqualityExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *EqualityExpressionContext
func (*EqualityExpressionContext) Accept ¶ added in v0.33.7
func (s *EqualityExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EqualityExpressionContext) AllExpression ¶ added in v0.33.7
func (s *EqualityExpressionContext) AllExpression() []IExpressionContext
func (*EqualityExpressionContext) EQ ¶ added in v0.33.7
func (s *EqualityExpressionContext) EQ() antlr.TerminalNode
func (*EqualityExpressionContext) EnterRule ¶ added in v0.33.7
func (s *EqualityExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*EqualityExpressionContext) ExitRule ¶ added in v0.33.7
func (s *EqualityExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*EqualityExpressionContext) Expression ¶ added in v0.33.7
func (s *EqualityExpressionContext) Expression(i int) IExpressionContext
func (*EqualityExpressionContext) GetOp ¶ added in v0.33.7
func (s *EqualityExpressionContext) GetOp() antlr.Token
func (*EqualityExpressionContext) GetRuleContext ¶ added in v0.33.7
func (s *EqualityExpressionContext) GetRuleContext() antlr.RuleContext
func (*EqualityExpressionContext) NEQ ¶ added in v0.33.7
func (s *EqualityExpressionContext) NEQ() antlr.TerminalNode
func (*EqualityExpressionContext) SetOp ¶ added in v0.33.7
func (s *EqualityExpressionContext) SetOp(v antlr.Token)
type Excellent1Lexer ¶
func NewExcellent1Lexer ¶
func NewExcellent1Lexer(input antlr.CharStream) *Excellent1Lexer
type Excellent1Listener ¶
type Excellent1Listener interface { antlr.ParseTreeListener // EnterParse is called when entering the parse production. EnterParse(c *ParseContext) // EnterDecimalLiteral is called when entering the decimalLiteral production. EnterDecimalLiteral(c *DecimalLiteralContext) // EnterParentheses is called when entering the parentheses production. EnterParentheses(c *ParenthesesContext) // EnterNegation is called when entering the negation production. EnterNegation(c *NegationContext) // EnterExponentExpression is called when entering the exponentExpression production. EnterExponentExpression(c *ExponentExpressionContext) // EnterAdditionOrSubtractionExpression is called when entering the additionOrSubtractionExpression production. EnterAdditionOrSubtractionExpression(c *AdditionOrSubtractionExpressionContext) // EnterFalse is called when entering the false production. EnterFalse(c *FalseContext) // EnterContextReference is called when entering the contextReference production. EnterContextReference(c *ContextReferenceContext) // EnterComparisonExpression is called when entering the comparisonExpression production. EnterComparisonExpression(c *ComparisonExpressionContext) // EnterConcatenation is called when entering the concatenation production. EnterConcatenation(c *ConcatenationContext) // EnterStringLiteral is called when entering the stringLiteral production. EnterStringLiteral(c *StringLiteralContext) // EnterFunctionCall is called when entering the functionCall production. EnterFunctionCall(c *FunctionCallContext) // EnterTrue is called when entering the true production. EnterTrue(c *TrueContext) // EnterEqualityExpression is called when entering the equalityExpression production. EnterEqualityExpression(c *EqualityExpressionContext) // EnterMultiplicationOrDivisionExpression is called when entering the multiplicationOrDivisionExpression production. EnterMultiplicationOrDivisionExpression(c *MultiplicationOrDivisionExpressionContext) // EnterFnname is called when entering the fnname production. EnterFnname(c *FnnameContext) // EnterFunctionParameters is called when entering the functionParameters production. EnterFunctionParameters(c *FunctionParametersContext) // ExitParse is called when exiting the parse production. ExitParse(c *ParseContext) // ExitDecimalLiteral is called when exiting the decimalLiteral production. ExitDecimalLiteral(c *DecimalLiteralContext) // ExitParentheses is called when exiting the parentheses production. ExitParentheses(c *ParenthesesContext) // ExitNegation is called when exiting the negation production. ExitNegation(c *NegationContext) // ExitExponentExpression is called when exiting the exponentExpression production. ExitExponentExpression(c *ExponentExpressionContext) // ExitAdditionOrSubtractionExpression is called when exiting the additionOrSubtractionExpression production. ExitAdditionOrSubtractionExpression(c *AdditionOrSubtractionExpressionContext) // ExitFalse is called when exiting the false production. ExitFalse(c *FalseContext) // ExitContextReference is called when exiting the contextReference production. ExitContextReference(c *ContextReferenceContext) // ExitComparisonExpression is called when exiting the comparisonExpression production. ExitComparisonExpression(c *ComparisonExpressionContext) // ExitConcatenation is called when exiting the concatenation production. ExitConcatenation(c *ConcatenationContext) // ExitStringLiteral is called when exiting the stringLiteral production. ExitStringLiteral(c *StringLiteralContext) // ExitFunctionCall is called when exiting the functionCall production. ExitFunctionCall(c *FunctionCallContext) // ExitTrue is called when exiting the true production. ExitTrue(c *TrueContext) // ExitEqualityExpression is called when exiting the equalityExpression production. ExitEqualityExpression(c *EqualityExpressionContext) // ExitMultiplicationOrDivisionExpression is called when exiting the multiplicationOrDivisionExpression production. ExitMultiplicationOrDivisionExpression(c *MultiplicationOrDivisionExpressionContext) // ExitFnname is called when exiting the fnname production. ExitFnname(c *FnnameContext) // ExitFunctionParameters is called when exiting the functionParameters production. ExitFunctionParameters(c *FunctionParametersContext) }
Excellent1Listener is a complete listener for a parse tree produced by Excellent1Parser.
type Excellent1Parser ¶
type Excellent1Parser struct {
*antlr.BaseParser
}
func NewExcellent1Parser ¶
func NewExcellent1Parser(input antlr.TokenStream) *Excellent1Parser
func (*Excellent1Parser) Expression ¶
func (p *Excellent1Parser) Expression() (localctx IExpressionContext)
func (*Excellent1Parser) Expression_Sempred ¶
func (p *Excellent1Parser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Excellent1Parser) Fnname ¶
func (p *Excellent1Parser) Fnname() (localctx IFnnameContext)
func (*Excellent1Parser) Parameters ¶
func (p *Excellent1Parser) Parameters() (localctx IParametersContext)
func (*Excellent1Parser) Parse ¶
func (p *Excellent1Parser) Parse() (localctx IParseContext)
func (*Excellent1Parser) Sempred ¶
func (p *Excellent1Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
type Excellent1Visitor ¶
type Excellent1Visitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by Excellent1Parser#parse. VisitParse(ctx *ParseContext) interface{} // Visit a parse tree produced by Excellent1Parser#decimalLiteral. VisitDecimalLiteral(ctx *DecimalLiteralContext) interface{} // Visit a parse tree produced by Excellent1Parser#parentheses. VisitParentheses(ctx *ParenthesesContext) interface{} // Visit a parse tree produced by Excellent1Parser#negation. VisitNegation(ctx *NegationContext) interface{} // Visit a parse tree produced by Excellent1Parser#exponentExpression. VisitExponentExpression(ctx *ExponentExpressionContext) interface{} // Visit a parse tree produced by Excellent1Parser#additionOrSubtractionExpression. VisitAdditionOrSubtractionExpression(ctx *AdditionOrSubtractionExpressionContext) interface{} // Visit a parse tree produced by Excellent1Parser#false. VisitFalse(ctx *FalseContext) interface{} // Visit a parse tree produced by Excellent1Parser#contextReference. VisitContextReference(ctx *ContextReferenceContext) interface{} // Visit a parse tree produced by Excellent1Parser#comparisonExpression. VisitComparisonExpression(ctx *ComparisonExpressionContext) interface{} // Visit a parse tree produced by Excellent1Parser#concatenation. VisitConcatenation(ctx *ConcatenationContext) interface{} // Visit a parse tree produced by Excellent1Parser#stringLiteral. VisitStringLiteral(ctx *StringLiteralContext) interface{} // Visit a parse tree produced by Excellent1Parser#functionCall. VisitFunctionCall(ctx *FunctionCallContext) interface{} // Visit a parse tree produced by Excellent1Parser#true. VisitTrue(ctx *TrueContext) interface{} // Visit a parse tree produced by Excellent1Parser#equalityExpression. VisitEqualityExpression(ctx *EqualityExpressionContext) interface{} // Visit a parse tree produced by Excellent1Parser#multiplicationOrDivisionExpression. VisitMultiplicationOrDivisionExpression(ctx *MultiplicationOrDivisionExpressionContext) interface{} // Visit a parse tree produced by Excellent1Parser#fnname. VisitFnname(ctx *FnnameContext) interface{} // Visit a parse tree produced by Excellent1Parser#functionParameters. VisitFunctionParameters(ctx *FunctionParametersContext) interface{} }
A complete Visitor for a parse tree produced by Excellent1Parser.
type ExponentExpressionContext ¶ added in v0.33.7
type ExponentExpressionContext struct {
*ExpressionContext
}
func NewExponentExpressionContext ¶ added in v0.33.7
func NewExponentExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExponentExpressionContext
func (*ExponentExpressionContext) Accept ¶ added in v0.33.7
func (s *ExponentExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExponentExpressionContext) AllExpression ¶ added in v0.33.7
func (s *ExponentExpressionContext) AllExpression() []IExpressionContext
func (*ExponentExpressionContext) EXPONENT ¶ added in v0.33.7
func (s *ExponentExpressionContext) EXPONENT() antlr.TerminalNode
func (*ExponentExpressionContext) EnterRule ¶ added in v0.33.7
func (s *ExponentExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExponentExpressionContext) ExitRule ¶ added in v0.33.7
func (s *ExponentExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExponentExpressionContext) Expression ¶ added in v0.33.7
func (s *ExponentExpressionContext) Expression(i int) IExpressionContext
func (*ExponentExpressionContext) GetRuleContext ¶ added in v0.33.7
func (s *ExponentExpressionContext) GetRuleContext() antlr.RuleContext
type ExpressionContext ¶
type ExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionContext ¶
func NewEmptyExpressionContext() *ExpressionContext
func NewExpressionContext ¶
func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext
func (*ExpressionContext) CopyFrom ¶
func (s *ExpressionContext) CopyFrom(ctx *ExpressionContext)
func (*ExpressionContext) GetParser ¶
func (s *ExpressionContext) GetParser() antlr.Parser
func (*ExpressionContext) GetRuleContext ¶
func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
func (*ExpressionContext) IsExpressionContext ¶
func (*ExpressionContext) IsExpressionContext()
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FalseContext ¶
type FalseContext struct {
*ExpressionContext
}
func NewFalseContext ¶
func NewFalseContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FalseContext
func (*FalseContext) Accept ¶
func (s *FalseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FalseContext) EnterRule ¶
func (s *FalseContext) EnterRule(listener antlr.ParseTreeListener)
func (*FalseContext) ExitRule ¶
func (s *FalseContext) ExitRule(listener antlr.ParseTreeListener)
func (*FalseContext) FALSE ¶
func (s *FalseContext) FALSE() antlr.TerminalNode
func (*FalseContext) GetRuleContext ¶
func (s *FalseContext) GetRuleContext() antlr.RuleContext
type FnnameContext ¶
type FnnameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFnnameContext ¶
func NewEmptyFnnameContext() *FnnameContext
func NewFnnameContext ¶
func NewFnnameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FnnameContext
func (*FnnameContext) Accept ¶
func (s *FnnameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FnnameContext) EnterRule ¶
func (s *FnnameContext) EnterRule(listener antlr.ParseTreeListener)
func (*FnnameContext) ExitRule ¶
func (s *FnnameContext) ExitRule(listener antlr.ParseTreeListener)
func (*FnnameContext) FALSE ¶
func (s *FnnameContext) FALSE() antlr.TerminalNode
func (*FnnameContext) GetParser ¶
func (s *FnnameContext) GetParser() antlr.Parser
func (*FnnameContext) GetRuleContext ¶
func (s *FnnameContext) GetRuleContext() antlr.RuleContext
func (*FnnameContext) IsFnnameContext ¶
func (*FnnameContext) IsFnnameContext()
func (*FnnameContext) NAME ¶
func (s *FnnameContext) NAME() antlr.TerminalNode
func (*FnnameContext) TRUE ¶
func (s *FnnameContext) TRUE() antlr.TerminalNode
func (*FnnameContext) ToStringTree ¶
func (s *FnnameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FunctionCallContext ¶
type FunctionCallContext struct {
*ExpressionContext
}
func NewFunctionCallContext ¶
func NewFunctionCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionCallContext
func (*FunctionCallContext) Accept ¶
func (s *FunctionCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionCallContext) EnterRule ¶
func (s *FunctionCallContext) EnterRule(listener antlr.ParseTreeListener)
func (*FunctionCallContext) ExitRule ¶
func (s *FunctionCallContext) ExitRule(listener antlr.ParseTreeListener)
func (*FunctionCallContext) Fnname ¶
func (s *FunctionCallContext) Fnname() IFnnameContext
func (*FunctionCallContext) GetRuleContext ¶
func (s *FunctionCallContext) GetRuleContext() antlr.RuleContext
func (*FunctionCallContext) LPAREN ¶
func (s *FunctionCallContext) LPAREN() antlr.TerminalNode
func (*FunctionCallContext) Parameters ¶
func (s *FunctionCallContext) Parameters() IParametersContext
func (*FunctionCallContext) RPAREN ¶
func (s *FunctionCallContext) RPAREN() antlr.TerminalNode
type FunctionParametersContext ¶
type FunctionParametersContext struct {
*ParametersContext
}
func NewFunctionParametersContext ¶
func NewFunctionParametersContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionParametersContext
func (*FunctionParametersContext) Accept ¶
func (s *FunctionParametersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionParametersContext) AllCOMMA ¶
func (s *FunctionParametersContext) AllCOMMA() []antlr.TerminalNode
func (*FunctionParametersContext) AllExpression ¶
func (s *FunctionParametersContext) AllExpression() []IExpressionContext
func (*FunctionParametersContext) COMMA ¶
func (s *FunctionParametersContext) COMMA(i int) antlr.TerminalNode
func (*FunctionParametersContext) EnterRule ¶
func (s *FunctionParametersContext) EnterRule(listener antlr.ParseTreeListener)
func (*FunctionParametersContext) ExitRule ¶
func (s *FunctionParametersContext) ExitRule(listener antlr.ParseTreeListener)
func (*FunctionParametersContext) Expression ¶
func (s *FunctionParametersContext) Expression(i int) IExpressionContext
func (*FunctionParametersContext) GetRuleContext ¶
func (s *FunctionParametersContext) GetRuleContext() antlr.RuleContext
type IExpressionContext ¶
type IExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpressionContext differentiates from other interfaces. IsExpressionContext() }
IExpressionContext is an interface to support dynamic dispatch.
type IFnnameContext ¶
type IFnnameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFnnameContext differentiates from other interfaces. IsFnnameContext() }
IFnnameContext 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 IParseContext ¶
type IParseContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsParseContext differentiates from other interfaces. IsParseContext() }
IParseContext is an interface to support dynamic dispatch.
type MultiplicationOrDivisionExpressionContext ¶ added in v0.33.7
type MultiplicationOrDivisionExpressionContext struct { *ExpressionContext // contains filtered or unexported fields }
func NewMultiplicationOrDivisionExpressionContext ¶ added in v0.33.7
func NewMultiplicationOrDivisionExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MultiplicationOrDivisionExpressionContext
func (*MultiplicationOrDivisionExpressionContext) Accept ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MultiplicationOrDivisionExpressionContext) AllExpression ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) AllExpression() []IExpressionContext
func (*MultiplicationOrDivisionExpressionContext) DIVIDE ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) DIVIDE() antlr.TerminalNode
func (*MultiplicationOrDivisionExpressionContext) EnterRule ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*MultiplicationOrDivisionExpressionContext) ExitRule ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*MultiplicationOrDivisionExpressionContext) Expression ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) Expression(i int) IExpressionContext
func (*MultiplicationOrDivisionExpressionContext) GetOp ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) GetOp() antlr.Token
func (*MultiplicationOrDivisionExpressionContext) GetRuleContext ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) GetRuleContext() antlr.RuleContext
func (*MultiplicationOrDivisionExpressionContext) SetOp ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) SetOp(v antlr.Token)
func (*MultiplicationOrDivisionExpressionContext) TIMES ¶ added in v0.33.7
func (s *MultiplicationOrDivisionExpressionContext) TIMES() antlr.TerminalNode
type NegationContext ¶
type NegationContext struct {
*ExpressionContext
}
func NewNegationContext ¶
func NewNegationContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NegationContext
func (*NegationContext) Accept ¶
func (s *NegationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NegationContext) EnterRule ¶
func (s *NegationContext) EnterRule(listener antlr.ParseTreeListener)
func (*NegationContext) ExitRule ¶
func (s *NegationContext) ExitRule(listener antlr.ParseTreeListener)
func (*NegationContext) Expression ¶
func (s *NegationContext) Expression() IExpressionContext
func (*NegationContext) GetRuleContext ¶
func (s *NegationContext) GetRuleContext() antlr.RuleContext
func (*NegationContext) MINUS ¶
func (s *NegationContext) MINUS() antlr.TerminalNode
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) CopyFrom ¶
func (s *ParametersContext) CopyFrom(ctx *ParametersContext)
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) ToStringTree ¶
func (s *ParametersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ParenthesesContext ¶
type ParenthesesContext struct {
*ExpressionContext
}
func NewParenthesesContext ¶
func NewParenthesesContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenthesesContext
func (*ParenthesesContext) Accept ¶
func (s *ParenthesesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ParenthesesContext) EnterRule ¶
func (s *ParenthesesContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParenthesesContext) ExitRule ¶
func (s *ParenthesesContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParenthesesContext) Expression ¶
func (s *ParenthesesContext) Expression() IExpressionContext
func (*ParenthesesContext) GetRuleContext ¶
func (s *ParenthesesContext) GetRuleContext() antlr.RuleContext
func (*ParenthesesContext) LPAREN ¶
func (s *ParenthesesContext) LPAREN() antlr.TerminalNode
func (*ParenthesesContext) RPAREN ¶
func (s *ParenthesesContext) RPAREN() antlr.TerminalNode
type ParseContext ¶
type ParseContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParseContext ¶
func NewEmptyParseContext() *ParseContext
func NewParseContext ¶
func NewParseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParseContext
func (*ParseContext) Accept ¶
func (s *ParseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ParseContext) EOF ¶
func (s *ParseContext) EOF() antlr.TerminalNode
func (*ParseContext) EnterRule ¶
func (s *ParseContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParseContext) ExitRule ¶
func (s *ParseContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParseContext) Expression ¶
func (s *ParseContext) Expression() IExpressionContext
func (*ParseContext) GetParser ¶
func (s *ParseContext) GetParser() antlr.Parser
func (*ParseContext) GetRuleContext ¶
func (s *ParseContext) GetRuleContext() antlr.RuleContext
func (*ParseContext) IsParseContext ¶
func (*ParseContext) IsParseContext()
func (*ParseContext) ToStringTree ¶
func (s *ParseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StringLiteralContext ¶
type StringLiteralContext struct {
*ExpressionContext
}
func NewStringLiteralContext ¶
func NewStringLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringLiteralContext
func (*StringLiteralContext) Accept ¶
func (s *StringLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StringLiteralContext) EnterRule ¶
func (s *StringLiteralContext) EnterRule(listener antlr.ParseTreeListener)
func (*StringLiteralContext) ExitRule ¶
func (s *StringLiteralContext) ExitRule(listener antlr.ParseTreeListener)
func (*StringLiteralContext) GetRuleContext ¶
func (s *StringLiteralContext) GetRuleContext() antlr.RuleContext
func (*StringLiteralContext) STRING ¶
func (s *StringLiteralContext) STRING() antlr.TerminalNode
type TrueContext ¶
type TrueContext struct {
*ExpressionContext
}
func NewTrueContext ¶
func NewTrueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TrueContext
func (*TrueContext) Accept ¶
func (s *TrueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TrueContext) EnterRule ¶
func (s *TrueContext) EnterRule(listener antlr.ParseTreeListener)
func (*TrueContext) ExitRule ¶
func (s *TrueContext) ExitRule(listener antlr.ParseTreeListener)
func (*TrueContext) GetRuleContext ¶
func (s *TrueContext) GetRuleContext() antlr.RuleContext
func (*TrueContext) TRUE ¶
func (s *TrueContext) TRUE() antlr.TerminalNode