Documentation ¶
Index ¶
- Constants
- type AdditionOrSubtractionContext
- func (s *AdditionOrSubtractionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AdditionOrSubtractionContext) AllExpression() []IExpressionContext
- func (s *AdditionOrSubtractionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AdditionOrSubtractionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AdditionOrSubtractionContext) Expression(i int) IExpressionContext
- func (s *AdditionOrSubtractionContext) GetOp() antlr.Token
- func (s *AdditionOrSubtractionContext) GetRuleContext() antlr.RuleContext
- func (s *AdditionOrSubtractionContext) MINUS() antlr.TerminalNode
- func (s *AdditionOrSubtractionContext) PLUS() antlr.TerminalNode
- func (s *AdditionOrSubtractionContext) SetOp(v antlr.Token)
- type ArrayLookupContext
- func (s *ArrayLookupContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArrayLookupContext) Atom() IAtomContext
- func (s *ArrayLookupContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArrayLookupContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArrayLookupContext) Expression() IExpressionContext
- func (s *ArrayLookupContext) GetRuleContext() antlr.RuleContext
- func (s *ArrayLookupContext) LBRACK() antlr.TerminalNode
- func (s *ArrayLookupContext) RBRACK() antlr.TerminalNode
- type AtomContext
- type AtomReferenceContext
- func (s *AtomReferenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AtomReferenceContext) Atom() IAtomContext
- func (s *AtomReferenceContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AtomReferenceContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AtomReferenceContext) GetRuleContext() antlr.RuleContext
- type BaseExcellent2Listener
- func (s *BaseExcellent2Listener) EnterAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)
- func (s *BaseExcellent2Listener) EnterArrayLookup(ctx *ArrayLookupContext)
- func (s *BaseExcellent2Listener) EnterAtomReference(ctx *AtomReferenceContext)
- func (s *BaseExcellent2Listener) EnterComparison(ctx *ComparisonContext)
- func (s *BaseExcellent2Listener) EnterConcatenation(ctx *ConcatenationContext)
- func (s *BaseExcellent2Listener) EnterContextReference(ctx *ContextReferenceContext)
- func (s *BaseExcellent2Listener) EnterDotLookup(ctx *DotLookupContext)
- func (s *BaseExcellent2Listener) EnterEquality(ctx *EqualityContext)
- func (s *BaseExcellent2Listener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseExcellent2Listener) EnterExponent(ctx *ExponentContext)
- func (s *BaseExcellent2Listener) EnterFalse(ctx *FalseContext)
- func (s *BaseExcellent2Listener) EnterFunctionCall(ctx *FunctionCallContext)
- func (s *BaseExcellent2Listener) EnterFunctionParameters(ctx *FunctionParametersContext)
- func (s *BaseExcellent2Listener) EnterMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)
- func (s *BaseExcellent2Listener) EnterNegation(ctx *NegationContext)
- func (s *BaseExcellent2Listener) EnterNull(ctx *NullContext)
- func (s *BaseExcellent2Listener) EnterNumberLiteral(ctx *NumberLiteralContext)
- func (s *BaseExcellent2Listener) EnterParentheses(ctx *ParenthesesContext)
- func (s *BaseExcellent2Listener) EnterParse(ctx *ParseContext)
- func (s *BaseExcellent2Listener) EnterTextLiteral(ctx *TextLiteralContext)
- func (s *BaseExcellent2Listener) EnterTrue(ctx *TrueContext)
- func (s *BaseExcellent2Listener) ExitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)
- func (s *BaseExcellent2Listener) ExitArrayLookup(ctx *ArrayLookupContext)
- func (s *BaseExcellent2Listener) ExitAtomReference(ctx *AtomReferenceContext)
- func (s *BaseExcellent2Listener) ExitComparison(ctx *ComparisonContext)
- func (s *BaseExcellent2Listener) ExitConcatenation(ctx *ConcatenationContext)
- func (s *BaseExcellent2Listener) ExitContextReference(ctx *ContextReferenceContext)
- func (s *BaseExcellent2Listener) ExitDotLookup(ctx *DotLookupContext)
- func (s *BaseExcellent2Listener) ExitEquality(ctx *EqualityContext)
- func (s *BaseExcellent2Listener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseExcellent2Listener) ExitExponent(ctx *ExponentContext)
- func (s *BaseExcellent2Listener) ExitFalse(ctx *FalseContext)
- func (s *BaseExcellent2Listener) ExitFunctionCall(ctx *FunctionCallContext)
- func (s *BaseExcellent2Listener) ExitFunctionParameters(ctx *FunctionParametersContext)
- func (s *BaseExcellent2Listener) ExitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)
- func (s *BaseExcellent2Listener) ExitNegation(ctx *NegationContext)
- func (s *BaseExcellent2Listener) ExitNull(ctx *NullContext)
- func (s *BaseExcellent2Listener) ExitNumberLiteral(ctx *NumberLiteralContext)
- func (s *BaseExcellent2Listener) ExitParentheses(ctx *ParenthesesContext)
- func (s *BaseExcellent2Listener) ExitParse(ctx *ParseContext)
- func (s *BaseExcellent2Listener) ExitTextLiteral(ctx *TextLiteralContext)
- func (s *BaseExcellent2Listener) ExitTrue(ctx *TrueContext)
- func (s *BaseExcellent2Listener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseExcellent2Listener) VisitTerminal(node antlr.TerminalNode)
- type BaseExcellent2Visitor
- func (v *BaseExcellent2Visitor) VisitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext) interface{}
- func (v *BaseExcellent2Visitor) VisitArrayLookup(ctx *ArrayLookupContext) interface{}
- func (v *BaseExcellent2Visitor) VisitAtomReference(ctx *AtomReferenceContext) interface{}
- func (v *BaseExcellent2Visitor) VisitComparison(ctx *ComparisonContext) interface{}
- func (v *BaseExcellent2Visitor) VisitConcatenation(ctx *ConcatenationContext) interface{}
- func (v *BaseExcellent2Visitor) VisitContextReference(ctx *ContextReferenceContext) interface{}
- func (v *BaseExcellent2Visitor) VisitDotLookup(ctx *DotLookupContext) interface{}
- func (v *BaseExcellent2Visitor) VisitEquality(ctx *EqualityContext) interface{}
- func (v *BaseExcellent2Visitor) VisitExponent(ctx *ExponentContext) interface{}
- func (v *BaseExcellent2Visitor) VisitFalse(ctx *FalseContext) interface{}
- func (v *BaseExcellent2Visitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}
- func (v *BaseExcellent2Visitor) VisitFunctionParameters(ctx *FunctionParametersContext) interface{}
- func (v *BaseExcellent2Visitor) VisitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext) interface{}
- func (v *BaseExcellent2Visitor) VisitNegation(ctx *NegationContext) interface{}
- func (v *BaseExcellent2Visitor) VisitNull(ctx *NullContext) interface{}
- func (v *BaseExcellent2Visitor) VisitNumberLiteral(ctx *NumberLiteralContext) interface{}
- func (v *BaseExcellent2Visitor) VisitParentheses(ctx *ParenthesesContext) interface{}
- func (v *BaseExcellent2Visitor) VisitParse(ctx *ParseContext) interface{}
- func (v *BaseExcellent2Visitor) VisitTextLiteral(ctx *TextLiteralContext) interface{}
- func (v *BaseExcellent2Visitor) VisitTrue(ctx *TrueContext) interface{}
- type ComparisonContext
- func (s *ComparisonContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ComparisonContext) AllExpression() []IExpressionContext
- func (s *ComparisonContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ComparisonContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ComparisonContext) Expression(i int) IExpressionContext
- func (s *ComparisonContext) GT() antlr.TerminalNode
- func (s *ComparisonContext) GTE() antlr.TerminalNode
- func (s *ComparisonContext) GetOp() antlr.Token
- func (s *ComparisonContext) GetRuleContext() antlr.RuleContext
- func (s *ComparisonContext) LT() antlr.TerminalNode
- func (s *ComparisonContext) LTE() antlr.TerminalNode
- func (s *ComparisonContext) 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 DotLookupContext
- func (s *DotLookupContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DotLookupContext) Atom() IAtomContext
- func (s *DotLookupContext) DOT() antlr.TerminalNode
- func (s *DotLookupContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DotLookupContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DotLookupContext) GetProp() antlr.Token
- func (s *DotLookupContext) GetRuleContext() antlr.RuleContext
- func (s *DotLookupContext) NAME() antlr.TerminalNode
- func (s *DotLookupContext) NUMBER() antlr.TerminalNode
- func (s *DotLookupContext) SetProp(v antlr.Token)
- type EqualityContext
- func (s *EqualityContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *EqualityContext) AllExpression() []IExpressionContext
- func (s *EqualityContext) EQ() antlr.TerminalNode
- func (s *EqualityContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EqualityContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EqualityContext) Expression(i int) IExpressionContext
- func (s *EqualityContext) GetOp() antlr.Token
- func (s *EqualityContext) GetRuleContext() antlr.RuleContext
- func (s *EqualityContext) NEQ() antlr.TerminalNode
- func (s *EqualityContext) SetOp(v antlr.Token)
- type Excellent2Lexer
- type Excellent2Listener
- type Excellent2Parser
- func (p *Excellent2Parser) Atom() (localctx IAtomContext)
- func (p *Excellent2Parser) Atom_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Excellent2Parser) Expression() (localctx IExpressionContext)
- func (p *Excellent2Parser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Excellent2Parser) Parameters() (localctx IParametersContext)
- func (p *Excellent2Parser) Parse() (localctx IParseContext)
- func (p *Excellent2Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- type Excellent2Visitor
- type ExponentContext
- func (s *ExponentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExponentContext) AllExpression() []IExpressionContext
- func (s *ExponentContext) EXPONENT() antlr.TerminalNode
- func (s *ExponentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExponentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExponentContext) Expression(i int) IExpressionContext
- func (s *ExponentContext) 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 FunctionCallContext
- func (s *FunctionCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FunctionCallContext) Atom() IAtomContext
- func (s *FunctionCallContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunctionCallContext) ExitRule(listener antlr.ParseTreeListener)
- 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 IAtomContext
- type IExpressionContext
- type IParametersContext
- type IParseContext
- type MultiplicationOrDivisionContext
- func (s *MultiplicationOrDivisionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MultiplicationOrDivisionContext) AllExpression() []IExpressionContext
- func (s *MultiplicationOrDivisionContext) DIVIDE() antlr.TerminalNode
- func (s *MultiplicationOrDivisionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MultiplicationOrDivisionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MultiplicationOrDivisionContext) Expression(i int) IExpressionContext
- func (s *MultiplicationOrDivisionContext) GetOp() antlr.Token
- func (s *MultiplicationOrDivisionContext) GetRuleContext() antlr.RuleContext
- func (s *MultiplicationOrDivisionContext) SetOp(v antlr.Token)
- func (s *MultiplicationOrDivisionContext) 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 NullContext
- func (s *NullContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NullContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NullContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NullContext) GetRuleContext() antlr.RuleContext
- func (s *NullContext) NULL() antlr.TerminalNode
- type NumberLiteralContext
- func (s *NumberLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NumberLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NumberLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NumberLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *NumberLiteralContext) NUMBER() 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 TextLiteralContext
- func (s *TextLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TextLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TextLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TextLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *TextLiteralContext) TEXT() 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 ( Excellent2LexerCOMMA = 1 Excellent2LexerLPAREN = 2 Excellent2LexerRPAREN = 3 Excellent2LexerLBRACK = 4 Excellent2LexerRBRACK = 5 Excellent2LexerDOT = 6 Excellent2LexerPLUS = 7 Excellent2LexerMINUS = 8 Excellent2LexerTIMES = 9 Excellent2LexerDIVIDE = 10 Excellent2LexerEXPONENT = 11 Excellent2LexerEQ = 12 Excellent2LexerNEQ = 13 Excellent2LexerLTE = 14 Excellent2LexerLT = 15 Excellent2LexerGTE = 16 Excellent2LexerGT = 17 Excellent2LexerAMPERSAND = 18 Excellent2LexerTEXT = 19 Excellent2LexerNUMBER = 20 Excellent2LexerTRUE = 21 Excellent2LexerFALSE = 22 Excellent2LexerNULL = 23 Excellent2LexerNAME = 24 Excellent2LexerWS = 25 Excellent2LexerERROR = 26 )
Excellent2Lexer tokens.
const ( Excellent2ParserEOF = antlr.TokenEOF Excellent2ParserCOMMA = 1 Excellent2ParserLPAREN = 2 Excellent2ParserRPAREN = 3 Excellent2ParserLBRACK = 4 Excellent2ParserRBRACK = 5 Excellent2ParserDOT = 6 Excellent2ParserPLUS = 7 Excellent2ParserMINUS = 8 Excellent2ParserTIMES = 9 Excellent2ParserDIVIDE = 10 Excellent2ParserEXPONENT = 11 Excellent2ParserEQ = 12 Excellent2ParserNEQ = 13 Excellent2ParserLTE = 14 Excellent2ParserLT = 15 Excellent2ParserGTE = 16 Excellent2ParserGT = 17 Excellent2ParserAMPERSAND = 18 Excellent2ParserTEXT = 19 Excellent2ParserNUMBER = 20 Excellent2ParserTRUE = 21 Excellent2ParserFALSE = 22 Excellent2ParserNULL = 23 Excellent2ParserNAME = 24 Excellent2ParserWS = 25 Excellent2ParserERROR = 26 )
Excellent2Parser tokens.
const ( Excellent2ParserRULE_parse = 0 Excellent2ParserRULE_atom = 1 Excellent2ParserRULE_expression = 2 Excellent2ParserRULE_parameters = 3 )
Excellent2Parser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionOrSubtractionContext ¶
type AdditionOrSubtractionContext struct { *ExpressionContext // contains filtered or unexported fields }
func NewAdditionOrSubtractionContext ¶
func NewAdditionOrSubtractionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AdditionOrSubtractionContext
func (*AdditionOrSubtractionContext) Accept ¶
func (s *AdditionOrSubtractionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AdditionOrSubtractionContext) AllExpression ¶
func (s *AdditionOrSubtractionContext) AllExpression() []IExpressionContext
func (*AdditionOrSubtractionContext) EnterRule ¶
func (s *AdditionOrSubtractionContext) EnterRule(listener antlr.ParseTreeListener)
func (*AdditionOrSubtractionContext) ExitRule ¶
func (s *AdditionOrSubtractionContext) ExitRule(listener antlr.ParseTreeListener)
func (*AdditionOrSubtractionContext) Expression ¶
func (s *AdditionOrSubtractionContext) Expression(i int) IExpressionContext
func (*AdditionOrSubtractionContext) GetOp ¶
func (s *AdditionOrSubtractionContext) GetOp() antlr.Token
func (*AdditionOrSubtractionContext) GetRuleContext ¶
func (s *AdditionOrSubtractionContext) GetRuleContext() antlr.RuleContext
func (*AdditionOrSubtractionContext) MINUS ¶
func (s *AdditionOrSubtractionContext) MINUS() antlr.TerminalNode
func (*AdditionOrSubtractionContext) PLUS ¶
func (s *AdditionOrSubtractionContext) PLUS() antlr.TerminalNode
func (*AdditionOrSubtractionContext) SetOp ¶
func (s *AdditionOrSubtractionContext) SetOp(v antlr.Token)
type ArrayLookupContext ¶
type ArrayLookupContext struct {
*AtomContext
}
func NewArrayLookupContext ¶
func NewArrayLookupContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArrayLookupContext
func (*ArrayLookupContext) Accept ¶
func (s *ArrayLookupContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArrayLookupContext) Atom ¶
func (s *ArrayLookupContext) Atom() IAtomContext
func (*ArrayLookupContext) EnterRule ¶
func (s *ArrayLookupContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArrayLookupContext) ExitRule ¶
func (s *ArrayLookupContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArrayLookupContext) Expression ¶
func (s *ArrayLookupContext) Expression() IExpressionContext
func (*ArrayLookupContext) GetRuleContext ¶
func (s *ArrayLookupContext) GetRuleContext() antlr.RuleContext
func (*ArrayLookupContext) LBRACK ¶
func (s *ArrayLookupContext) LBRACK() antlr.TerminalNode
func (*ArrayLookupContext) RBRACK ¶
func (s *ArrayLookupContext) RBRACK() antlr.TerminalNode
type AtomContext ¶
type AtomContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtomContext ¶
func NewAtomContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomContext
func NewEmptyAtomContext ¶
func NewEmptyAtomContext() *AtomContext
func (*AtomContext) CopyFrom ¶
func (s *AtomContext) CopyFrom(ctx *AtomContext)
func (*AtomContext) GetParser ¶
func (s *AtomContext) GetParser() antlr.Parser
func (*AtomContext) GetRuleContext ¶
func (s *AtomContext) GetRuleContext() antlr.RuleContext
func (*AtomContext) IsAtomContext ¶
func (*AtomContext) IsAtomContext()
func (*AtomContext) ToStringTree ¶
func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AtomReferenceContext ¶
type AtomReferenceContext struct {
*ExpressionContext
}
func NewAtomReferenceContext ¶
func NewAtomReferenceContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AtomReferenceContext
func (*AtomReferenceContext) Accept ¶
func (s *AtomReferenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AtomReferenceContext) Atom ¶
func (s *AtomReferenceContext) Atom() IAtomContext
func (*AtomReferenceContext) EnterRule ¶
func (s *AtomReferenceContext) EnterRule(listener antlr.ParseTreeListener)
func (*AtomReferenceContext) ExitRule ¶
func (s *AtomReferenceContext) ExitRule(listener antlr.ParseTreeListener)
func (*AtomReferenceContext) GetRuleContext ¶
func (s *AtomReferenceContext) GetRuleContext() antlr.RuleContext
type BaseExcellent2Listener ¶ added in v0.4.0
type BaseExcellent2Listener struct{}
BaseExcellent2Listener is a complete listener for a parse tree produced by Excellent2Parser.
func (*BaseExcellent2Listener) EnterAdditionOrSubtraction ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)
EnterAdditionOrSubtraction is called when production additionOrSubtraction is entered.
func (*BaseExcellent2Listener) EnterArrayLookup ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterArrayLookup(ctx *ArrayLookupContext)
EnterArrayLookup is called when production arrayLookup is entered.
func (*BaseExcellent2Listener) EnterAtomReference ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterAtomReference(ctx *AtomReferenceContext)
EnterAtomReference is called when production atomReference is entered.
func (*BaseExcellent2Listener) EnterComparison ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterComparison(ctx *ComparisonContext)
EnterComparison is called when production comparison is entered.
func (*BaseExcellent2Listener) EnterConcatenation ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterConcatenation(ctx *ConcatenationContext)
EnterConcatenation is called when production concatenation is entered.
func (*BaseExcellent2Listener) EnterContextReference ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterContextReference(ctx *ContextReferenceContext)
EnterContextReference is called when production contextReference is entered.
func (*BaseExcellent2Listener) EnterDotLookup ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterDotLookup(ctx *DotLookupContext)
EnterDotLookup is called when production dotLookup is entered.
func (*BaseExcellent2Listener) EnterEquality ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterEquality(ctx *EqualityContext)
EnterEquality is called when production equality is entered.
func (*BaseExcellent2Listener) EnterEveryRule ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseExcellent2Listener) EnterExponent ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterExponent(ctx *ExponentContext)
EnterExponent is called when production exponent is entered.
func (*BaseExcellent2Listener) EnterFalse ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterFalse(ctx *FalseContext)
EnterFalse is called when production false is entered.
func (*BaseExcellent2Listener) EnterFunctionCall ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterFunctionCall(ctx *FunctionCallContext)
EnterFunctionCall is called when production functionCall is entered.
func (*BaseExcellent2Listener) EnterFunctionParameters ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterFunctionParameters(ctx *FunctionParametersContext)
EnterFunctionParameters is called when production functionParameters is entered.
func (*BaseExcellent2Listener) EnterMultiplicationOrDivision ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)
EnterMultiplicationOrDivision is called when production multiplicationOrDivision is entered.
func (*BaseExcellent2Listener) EnterNegation ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterNegation(ctx *NegationContext)
EnterNegation is called when production negation is entered.
func (*BaseExcellent2Listener) EnterNull ¶ added in v0.9.2
func (s *BaseExcellent2Listener) EnterNull(ctx *NullContext)
EnterNull is called when production null is entered.
func (*BaseExcellent2Listener) EnterNumberLiteral ¶ added in v0.9.4
func (s *BaseExcellent2Listener) EnterNumberLiteral(ctx *NumberLiteralContext)
EnterNumberLiteral is called when production numberLiteral is entered.
func (*BaseExcellent2Listener) EnterParentheses ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterParentheses(ctx *ParenthesesContext)
EnterParentheses is called when production parentheses is entered.
func (*BaseExcellent2Listener) EnterParse ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterParse(ctx *ParseContext)
EnterParse is called when production parse is entered.
func (*BaseExcellent2Listener) EnterTextLiteral ¶ added in v0.9.4
func (s *BaseExcellent2Listener) EnterTextLiteral(ctx *TextLiteralContext)
EnterTextLiteral is called when production textLiteral is entered.
func (*BaseExcellent2Listener) EnterTrue ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterTrue(ctx *TrueContext)
EnterTrue is called when production true is entered.
func (*BaseExcellent2Listener) ExitAdditionOrSubtraction ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)
ExitAdditionOrSubtraction is called when production additionOrSubtraction is exited.
func (*BaseExcellent2Listener) ExitArrayLookup ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitArrayLookup(ctx *ArrayLookupContext)
ExitArrayLookup is called when production arrayLookup is exited.
func (*BaseExcellent2Listener) ExitAtomReference ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitAtomReference(ctx *AtomReferenceContext)
ExitAtomReference is called when production atomReference is exited.
func (*BaseExcellent2Listener) ExitComparison ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitComparison(ctx *ComparisonContext)
ExitComparison is called when production comparison is exited.
func (*BaseExcellent2Listener) ExitConcatenation ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitConcatenation(ctx *ConcatenationContext)
ExitConcatenation is called when production concatenation is exited.
func (*BaseExcellent2Listener) ExitContextReference ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitContextReference(ctx *ContextReferenceContext)
ExitContextReference is called when production contextReference is exited.
func (*BaseExcellent2Listener) ExitDotLookup ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitDotLookup(ctx *DotLookupContext)
ExitDotLookup is called when production dotLookup is exited.
func (*BaseExcellent2Listener) ExitEquality ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitEquality(ctx *EqualityContext)
ExitEquality is called when production equality is exited.
func (*BaseExcellent2Listener) ExitEveryRule ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseExcellent2Listener) ExitExponent ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitExponent(ctx *ExponentContext)
ExitExponent is called when production exponent is exited.
func (*BaseExcellent2Listener) ExitFalse ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitFalse(ctx *FalseContext)
ExitFalse is called when production false is exited.
func (*BaseExcellent2Listener) ExitFunctionCall ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitFunctionCall(ctx *FunctionCallContext)
ExitFunctionCall is called when production functionCall is exited.
func (*BaseExcellent2Listener) ExitFunctionParameters ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitFunctionParameters(ctx *FunctionParametersContext)
ExitFunctionParameters is called when production functionParameters is exited.
func (*BaseExcellent2Listener) ExitMultiplicationOrDivision ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)
ExitMultiplicationOrDivision is called when production multiplicationOrDivision is exited.
func (*BaseExcellent2Listener) ExitNegation ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitNegation(ctx *NegationContext)
ExitNegation is called when production negation is exited.
func (*BaseExcellent2Listener) ExitNull ¶ added in v0.9.2
func (s *BaseExcellent2Listener) ExitNull(ctx *NullContext)
ExitNull is called when production null is exited.
func (*BaseExcellent2Listener) ExitNumberLiteral ¶ added in v0.9.4
func (s *BaseExcellent2Listener) ExitNumberLiteral(ctx *NumberLiteralContext)
ExitNumberLiteral is called when production numberLiteral is exited.
func (*BaseExcellent2Listener) ExitParentheses ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitParentheses(ctx *ParenthesesContext)
ExitParentheses is called when production parentheses is exited.
func (*BaseExcellent2Listener) ExitParse ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitParse(ctx *ParseContext)
ExitParse is called when production parse is exited.
func (*BaseExcellent2Listener) ExitTextLiteral ¶ added in v0.9.4
func (s *BaseExcellent2Listener) ExitTextLiteral(ctx *TextLiteralContext)
ExitTextLiteral is called when production textLiteral is exited.
func (*BaseExcellent2Listener) ExitTrue ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitTrue(ctx *TrueContext)
ExitTrue is called when production true is exited.
func (*BaseExcellent2Listener) VisitErrorNode ¶ added in v0.4.0
func (s *BaseExcellent2Listener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseExcellent2Listener) VisitTerminal ¶ added in v0.4.0
func (s *BaseExcellent2Listener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseExcellent2Visitor ¶ added in v0.4.0
type BaseExcellent2Visitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseExcellent2Visitor) VisitAdditionOrSubtraction ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext) interface{}
func (*BaseExcellent2Visitor) VisitArrayLookup ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitArrayLookup(ctx *ArrayLookupContext) interface{}
func (*BaseExcellent2Visitor) VisitAtomReference ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitAtomReference(ctx *AtomReferenceContext) interface{}
func (*BaseExcellent2Visitor) VisitComparison ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitComparison(ctx *ComparisonContext) interface{}
func (*BaseExcellent2Visitor) VisitConcatenation ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitConcatenation(ctx *ConcatenationContext) interface{}
func (*BaseExcellent2Visitor) VisitContextReference ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitContextReference(ctx *ContextReferenceContext) interface{}
func (*BaseExcellent2Visitor) VisitDotLookup ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitDotLookup(ctx *DotLookupContext) interface{}
func (*BaseExcellent2Visitor) VisitEquality ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitEquality(ctx *EqualityContext) interface{}
func (*BaseExcellent2Visitor) VisitExponent ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitExponent(ctx *ExponentContext) interface{}
func (*BaseExcellent2Visitor) VisitFalse ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitFalse(ctx *FalseContext) interface{}
func (*BaseExcellent2Visitor) VisitFunctionCall ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}
func (*BaseExcellent2Visitor) VisitFunctionParameters ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitFunctionParameters(ctx *FunctionParametersContext) interface{}
func (*BaseExcellent2Visitor) VisitMultiplicationOrDivision ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext) interface{}
func (*BaseExcellent2Visitor) VisitNegation ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitNegation(ctx *NegationContext) interface{}
func (*BaseExcellent2Visitor) VisitNull ¶ added in v0.9.2
func (v *BaseExcellent2Visitor) VisitNull(ctx *NullContext) interface{}
func (*BaseExcellent2Visitor) VisitNumberLiteral ¶ added in v0.9.4
func (v *BaseExcellent2Visitor) VisitNumberLiteral(ctx *NumberLiteralContext) interface{}
func (*BaseExcellent2Visitor) VisitParentheses ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitParentheses(ctx *ParenthesesContext) interface{}
func (*BaseExcellent2Visitor) VisitParse ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitParse(ctx *ParseContext) interface{}
func (*BaseExcellent2Visitor) VisitTextLiteral ¶ added in v0.9.4
func (v *BaseExcellent2Visitor) VisitTextLiteral(ctx *TextLiteralContext) interface{}
func (*BaseExcellent2Visitor) VisitTrue ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitTrue(ctx *TrueContext) interface{}
type ComparisonContext ¶
type ComparisonContext struct { *ExpressionContext // contains filtered or unexported fields }
func NewComparisonContext ¶
func NewComparisonContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ComparisonContext
func (*ComparisonContext) Accept ¶
func (s *ComparisonContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ComparisonContext) AllExpression ¶
func (s *ComparisonContext) AllExpression() []IExpressionContext
func (*ComparisonContext) EnterRule ¶
func (s *ComparisonContext) EnterRule(listener antlr.ParseTreeListener)
func (*ComparisonContext) ExitRule ¶
func (s *ComparisonContext) ExitRule(listener antlr.ParseTreeListener)
func (*ComparisonContext) Expression ¶
func (s *ComparisonContext) Expression(i int) IExpressionContext
func (*ComparisonContext) GT ¶
func (s *ComparisonContext) GT() antlr.TerminalNode
func (*ComparisonContext) GTE ¶
func (s *ComparisonContext) GTE() antlr.TerminalNode
func (*ComparisonContext) GetOp ¶
func (s *ComparisonContext) GetOp() antlr.Token
func (*ComparisonContext) GetRuleContext ¶
func (s *ComparisonContext) GetRuleContext() antlr.RuleContext
func (*ComparisonContext) LT ¶
func (s *ComparisonContext) LT() antlr.TerminalNode
func (*ComparisonContext) LTE ¶
func (s *ComparisonContext) LTE() antlr.TerminalNode
func (*ComparisonContext) SetOp ¶
func (s *ComparisonContext) 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 {
*AtomContext
}
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 DotLookupContext ¶
type DotLookupContext struct { *AtomContext // contains filtered or unexported fields }
func NewDotLookupContext ¶
func NewDotLookupContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DotLookupContext
func (*DotLookupContext) Accept ¶
func (s *DotLookupContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DotLookupContext) Atom ¶
func (s *DotLookupContext) Atom() IAtomContext
func (*DotLookupContext) DOT ¶
func (s *DotLookupContext) DOT() antlr.TerminalNode
func (*DotLookupContext) EnterRule ¶
func (s *DotLookupContext) EnterRule(listener antlr.ParseTreeListener)
func (*DotLookupContext) ExitRule ¶
func (s *DotLookupContext) ExitRule(listener antlr.ParseTreeListener)
func (*DotLookupContext) GetProp ¶ added in v0.32.0
func (s *DotLookupContext) GetProp() antlr.Token
func (*DotLookupContext) GetRuleContext ¶
func (s *DotLookupContext) GetRuleContext() antlr.RuleContext
func (*DotLookupContext) NAME ¶ added in v0.32.0
func (s *DotLookupContext) NAME() antlr.TerminalNode
func (*DotLookupContext) NUMBER ¶ added in v0.32.0
func (s *DotLookupContext) NUMBER() antlr.TerminalNode
func (*DotLookupContext) SetProp ¶ added in v0.32.0
func (s *DotLookupContext) SetProp(v antlr.Token)
type EqualityContext ¶
type EqualityContext struct { *ExpressionContext // contains filtered or unexported fields }
func NewEqualityContext ¶
func NewEqualityContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *EqualityContext
func (*EqualityContext) Accept ¶
func (s *EqualityContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*EqualityContext) AllExpression ¶
func (s *EqualityContext) AllExpression() []IExpressionContext
func (*EqualityContext) EQ ¶
func (s *EqualityContext) EQ() antlr.TerminalNode
func (*EqualityContext) EnterRule ¶
func (s *EqualityContext) EnterRule(listener antlr.ParseTreeListener)
func (*EqualityContext) ExitRule ¶
func (s *EqualityContext) ExitRule(listener antlr.ParseTreeListener)
func (*EqualityContext) Expression ¶
func (s *EqualityContext) Expression(i int) IExpressionContext
func (*EqualityContext) GetOp ¶
func (s *EqualityContext) GetOp() antlr.Token
func (*EqualityContext) GetRuleContext ¶
func (s *EqualityContext) GetRuleContext() antlr.RuleContext
func (*EqualityContext) NEQ ¶
func (s *EqualityContext) NEQ() antlr.TerminalNode
func (*EqualityContext) SetOp ¶
func (s *EqualityContext) SetOp(v antlr.Token)
type Excellent2Lexer ¶ added in v0.4.0
func NewExcellent2Lexer ¶ added in v0.4.0
func NewExcellent2Lexer(input antlr.CharStream) *Excellent2Lexer
type Excellent2Listener ¶ added in v0.4.0
type Excellent2Listener interface { antlr.ParseTreeListener // EnterParse is called when entering the parse production. EnterParse(c *ParseContext) // EnterDotLookup is called when entering the dotLookup production. EnterDotLookup(c *DotLookupContext) // EnterNull is called when entering the null production. EnterNull(c *NullContext) // EnterFunctionCall is called when entering the functionCall production. EnterFunctionCall(c *FunctionCallContext) // EnterTrue is called when entering the true production. EnterTrue(c *TrueContext) // EnterFalse is called when entering the false production. EnterFalse(c *FalseContext) // EnterArrayLookup is called when entering the arrayLookup production. EnterArrayLookup(c *ArrayLookupContext) // EnterContextReference is called when entering the contextReference production. EnterContextReference(c *ContextReferenceContext) // EnterTextLiteral is called when entering the textLiteral production. EnterTextLiteral(c *TextLiteralContext) // EnterNumberLiteral is called when entering the numberLiteral production. EnterNumberLiteral(c *NumberLiteralContext) // EnterParentheses is called when entering the parentheses production. EnterParentheses(c *ParenthesesContext) // EnterNegation is called when entering the negation production. EnterNegation(c *NegationContext) // EnterComparison is called when entering the comparison production. EnterComparison(c *ComparisonContext) // EnterConcatenation is called when entering the concatenation production. EnterConcatenation(c *ConcatenationContext) // EnterMultiplicationOrDivision is called when entering the multiplicationOrDivision production. EnterMultiplicationOrDivision(c *MultiplicationOrDivisionContext) // EnterAtomReference is called when entering the atomReference production. EnterAtomReference(c *AtomReferenceContext) // EnterAdditionOrSubtraction is called when entering the additionOrSubtraction production. EnterAdditionOrSubtraction(c *AdditionOrSubtractionContext) // EnterEquality is called when entering the equality production. EnterEquality(c *EqualityContext) // EnterExponent is called when entering the exponent production. EnterExponent(c *ExponentContext) // EnterFunctionParameters is called when entering the functionParameters production. EnterFunctionParameters(c *FunctionParametersContext) // ExitParse is called when exiting the parse production. ExitParse(c *ParseContext) // ExitDotLookup is called when exiting the dotLookup production. ExitDotLookup(c *DotLookupContext) // ExitNull is called when exiting the null production. ExitNull(c *NullContext) // ExitFunctionCall is called when exiting the functionCall production. ExitFunctionCall(c *FunctionCallContext) // ExitTrue is called when exiting the true production. ExitTrue(c *TrueContext) // ExitFalse is called when exiting the false production. ExitFalse(c *FalseContext) // ExitArrayLookup is called when exiting the arrayLookup production. ExitArrayLookup(c *ArrayLookupContext) // ExitContextReference is called when exiting the contextReference production. ExitContextReference(c *ContextReferenceContext) // ExitTextLiteral is called when exiting the textLiteral production. ExitTextLiteral(c *TextLiteralContext) // ExitNumberLiteral is called when exiting the numberLiteral production. ExitNumberLiteral(c *NumberLiteralContext) // ExitParentheses is called when exiting the parentheses production. ExitParentheses(c *ParenthesesContext) // ExitNegation is called when exiting the negation production. ExitNegation(c *NegationContext) // ExitComparison is called when exiting the comparison production. ExitComparison(c *ComparisonContext) // ExitConcatenation is called when exiting the concatenation production. ExitConcatenation(c *ConcatenationContext) // ExitMultiplicationOrDivision is called when exiting the multiplicationOrDivision production. ExitMultiplicationOrDivision(c *MultiplicationOrDivisionContext) // ExitAtomReference is called when exiting the atomReference production. ExitAtomReference(c *AtomReferenceContext) // ExitAdditionOrSubtraction is called when exiting the additionOrSubtraction production. ExitAdditionOrSubtraction(c *AdditionOrSubtractionContext) // ExitEquality is called when exiting the equality production. ExitEquality(c *EqualityContext) // ExitExponent is called when exiting the exponent production. ExitExponent(c *ExponentContext) // ExitFunctionParameters is called when exiting the functionParameters production. ExitFunctionParameters(c *FunctionParametersContext) }
Excellent2Listener is a complete listener for a parse tree produced by Excellent2Parser.
type Excellent2Parser ¶ added in v0.4.0
type Excellent2Parser struct {
*antlr.BaseParser
}
func NewExcellent2Parser ¶ added in v0.4.0
func NewExcellent2Parser(input antlr.TokenStream) *Excellent2Parser
func (*Excellent2Parser) Atom ¶ added in v0.4.0
func (p *Excellent2Parser) Atom() (localctx IAtomContext)
func (*Excellent2Parser) Atom_Sempred ¶ added in v0.4.0
func (p *Excellent2Parser) Atom_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Excellent2Parser) Expression ¶ added in v0.4.0
func (p *Excellent2Parser) Expression() (localctx IExpressionContext)
func (*Excellent2Parser) Expression_Sempred ¶ added in v0.4.0
func (p *Excellent2Parser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Excellent2Parser) Parameters ¶ added in v0.4.0
func (p *Excellent2Parser) Parameters() (localctx IParametersContext)
func (*Excellent2Parser) Parse ¶ added in v0.4.0
func (p *Excellent2Parser) Parse() (localctx IParseContext)
func (*Excellent2Parser) Sempred ¶ added in v0.4.0
func (p *Excellent2Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
type Excellent2Visitor ¶ added in v0.4.0
type Excellent2Visitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by Excellent2Parser#parse. VisitParse(ctx *ParseContext) interface{} // Visit a parse tree produced by Excellent2Parser#dotLookup. VisitDotLookup(ctx *DotLookupContext) interface{} // Visit a parse tree produced by Excellent2Parser#null. VisitNull(ctx *NullContext) interface{} // Visit a parse tree produced by Excellent2Parser#functionCall. VisitFunctionCall(ctx *FunctionCallContext) interface{} // Visit a parse tree produced by Excellent2Parser#true. VisitTrue(ctx *TrueContext) interface{} // Visit a parse tree produced by Excellent2Parser#false. VisitFalse(ctx *FalseContext) interface{} // Visit a parse tree produced by Excellent2Parser#arrayLookup. VisitArrayLookup(ctx *ArrayLookupContext) interface{} // Visit a parse tree produced by Excellent2Parser#contextReference. VisitContextReference(ctx *ContextReferenceContext) interface{} // Visit a parse tree produced by Excellent2Parser#textLiteral. VisitTextLiteral(ctx *TextLiteralContext) interface{} // Visit a parse tree produced by Excellent2Parser#numberLiteral. VisitNumberLiteral(ctx *NumberLiteralContext) interface{} // Visit a parse tree produced by Excellent2Parser#parentheses. VisitParentheses(ctx *ParenthesesContext) interface{} // Visit a parse tree produced by Excellent2Parser#negation. VisitNegation(ctx *NegationContext) interface{} // Visit a parse tree produced by Excellent2Parser#comparison. VisitComparison(ctx *ComparisonContext) interface{} // Visit a parse tree produced by Excellent2Parser#concatenation. VisitConcatenation(ctx *ConcatenationContext) interface{} // Visit a parse tree produced by Excellent2Parser#multiplicationOrDivision. VisitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext) interface{} // Visit a parse tree produced by Excellent2Parser#atomReference. VisitAtomReference(ctx *AtomReferenceContext) interface{} // Visit a parse tree produced by Excellent2Parser#additionOrSubtraction. VisitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext) interface{} // Visit a parse tree produced by Excellent2Parser#equality. VisitEquality(ctx *EqualityContext) interface{} // Visit a parse tree produced by Excellent2Parser#exponent. VisitExponent(ctx *ExponentContext) interface{} // Visit a parse tree produced by Excellent2Parser#functionParameters. VisitFunctionParameters(ctx *FunctionParametersContext) interface{} }
A complete Visitor for a parse tree produced by Excellent2Parser.
type ExponentContext ¶
type ExponentContext struct {
*ExpressionContext
}
func NewExponentContext ¶
func NewExponentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExponentContext
func (*ExponentContext) Accept ¶
func (s *ExponentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExponentContext) AllExpression ¶
func (s *ExponentContext) AllExpression() []IExpressionContext
func (*ExponentContext) EXPONENT ¶
func (s *ExponentContext) EXPONENT() antlr.TerminalNode
func (*ExponentContext) EnterRule ¶
func (s *ExponentContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExponentContext) ExitRule ¶
func (s *ExponentContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExponentContext) Expression ¶
func (s *ExponentContext) Expression(i int) IExpressionContext
func (*ExponentContext) GetRuleContext ¶
func (s *ExponentContext) 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 {
*AtomContext
}
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 FunctionCallContext ¶
type FunctionCallContext struct {
*AtomContext
}
func NewFunctionCallContext ¶
func NewFunctionCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionCallContext
func (*FunctionCallContext) Accept ¶
func (s *FunctionCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FunctionCallContext) Atom ¶ added in v0.32.0
func (s *FunctionCallContext) Atom() IAtomContext
func (*FunctionCallContext) EnterRule ¶
func (s *FunctionCallContext) EnterRule(listener antlr.ParseTreeListener)
func (*FunctionCallContext) ExitRule ¶
func (s *FunctionCallContext) ExitRule(listener antlr.ParseTreeListener)
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 IAtomContext ¶
type IAtomContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAtomContext differentiates from other interfaces. IsAtomContext() }
IAtomContext is an interface to support dynamic dispatch.
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 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 MultiplicationOrDivisionContext ¶
type MultiplicationOrDivisionContext struct { *ExpressionContext // contains filtered or unexported fields }
func NewMultiplicationOrDivisionContext ¶
func NewMultiplicationOrDivisionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MultiplicationOrDivisionContext
func (*MultiplicationOrDivisionContext) Accept ¶
func (s *MultiplicationOrDivisionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MultiplicationOrDivisionContext) AllExpression ¶
func (s *MultiplicationOrDivisionContext) AllExpression() []IExpressionContext
func (*MultiplicationOrDivisionContext) DIVIDE ¶
func (s *MultiplicationOrDivisionContext) DIVIDE() antlr.TerminalNode
func (*MultiplicationOrDivisionContext) EnterRule ¶
func (s *MultiplicationOrDivisionContext) EnterRule(listener antlr.ParseTreeListener)
func (*MultiplicationOrDivisionContext) ExitRule ¶
func (s *MultiplicationOrDivisionContext) ExitRule(listener antlr.ParseTreeListener)
func (*MultiplicationOrDivisionContext) Expression ¶
func (s *MultiplicationOrDivisionContext) Expression(i int) IExpressionContext
func (*MultiplicationOrDivisionContext) GetOp ¶
func (s *MultiplicationOrDivisionContext) GetOp() antlr.Token
func (*MultiplicationOrDivisionContext) GetRuleContext ¶
func (s *MultiplicationOrDivisionContext) GetRuleContext() antlr.RuleContext
func (*MultiplicationOrDivisionContext) SetOp ¶
func (s *MultiplicationOrDivisionContext) SetOp(v antlr.Token)
func (*MultiplicationOrDivisionContext) TIMES ¶
func (s *MultiplicationOrDivisionContext) 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 NullContext ¶ added in v0.9.2
type NullContext struct {
*AtomContext
}
func NewNullContext ¶ added in v0.9.2
func NewNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NullContext
func (*NullContext) Accept ¶ added in v0.9.2
func (s *NullContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NullContext) EnterRule ¶ added in v0.9.2
func (s *NullContext) EnterRule(listener antlr.ParseTreeListener)
func (*NullContext) ExitRule ¶ added in v0.9.2
func (s *NullContext) ExitRule(listener antlr.ParseTreeListener)
func (*NullContext) GetRuleContext ¶ added in v0.9.2
func (s *NullContext) GetRuleContext() antlr.RuleContext
func (*NullContext) NULL ¶ added in v0.9.2
func (s *NullContext) NULL() antlr.TerminalNode
type NumberLiteralContext ¶ added in v0.9.4
type NumberLiteralContext struct {
*AtomContext
}
func NewNumberLiteralContext ¶ added in v0.9.4
func NewNumberLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NumberLiteralContext
func (*NumberLiteralContext) Accept ¶ added in v0.9.4
func (s *NumberLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NumberLiteralContext) EnterRule ¶ added in v0.9.4
func (s *NumberLiteralContext) EnterRule(listener antlr.ParseTreeListener)
func (*NumberLiteralContext) ExitRule ¶ added in v0.9.4
func (s *NumberLiteralContext) ExitRule(listener antlr.ParseTreeListener)
func (*NumberLiteralContext) GetRuleContext ¶ added in v0.9.4
func (s *NumberLiteralContext) GetRuleContext() antlr.RuleContext
func (*NumberLiteralContext) NUMBER ¶ added in v0.9.4
func (s *NumberLiteralContext) NUMBER() 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 TextLiteralContext ¶ added in v0.9.4
type TextLiteralContext struct {
*AtomContext
}
func NewTextLiteralContext ¶ added in v0.9.4
func NewTextLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TextLiteralContext
func (*TextLiteralContext) Accept ¶ added in v0.9.4
func (s *TextLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TextLiteralContext) EnterRule ¶ added in v0.9.4
func (s *TextLiteralContext) EnterRule(listener antlr.ParseTreeListener)
func (*TextLiteralContext) ExitRule ¶ added in v0.9.4
func (s *TextLiteralContext) ExitRule(listener antlr.ParseTreeListener)
func (*TextLiteralContext) GetRuleContext ¶ added in v0.9.4
func (s *TextLiteralContext) GetRuleContext() antlr.RuleContext
func (*TextLiteralContext) TEXT ¶ added in v0.9.4
func (s *TextLiteralContext) TEXT() antlr.TerminalNode
type TrueContext ¶
type TrueContext struct {
*AtomContext
}
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