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) EnterDecimalLiteral(ctx *DecimalLiteralContext)
- 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) EnterFnname(ctx *FnnameContext)
- 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) EnterParentheses(ctx *ParenthesesContext)
- func (s *BaseExcellent2Listener) EnterParse(ctx *ParseContext)
- func (s *BaseExcellent2Listener) EnterStringLiteral(ctx *StringLiteralContext)
- 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) ExitDecimalLiteral(ctx *DecimalLiteralContext)
- 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) ExitFnname(ctx *FnnameContext)
- 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) ExitParentheses(ctx *ParenthesesContext)
- func (s *BaseExcellent2Listener) ExitParse(ctx *ParseContext)
- func (s *BaseExcellent2Listener) ExitStringLiteral(ctx *StringLiteralContext)
- 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) VisitDecimalLiteral(ctx *DecimalLiteralContext) 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) VisitFnname(ctx *FnnameContext) 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) VisitParentheses(ctx *ParenthesesContext) interface{}
- func (v *BaseExcellent2Visitor) VisitParse(ctx *ParseContext) interface{}
- func (v *BaseExcellent2Visitor) VisitStringLiteral(ctx *StringLiteralContext) 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 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 DotLookupContext
- func (s *DotLookupContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DotLookupContext) AllAtom() []IAtomContext
- func (s *DotLookupContext) Atom(i int) IAtomContext
- func (s *DotLookupContext) DOT() antlr.TerminalNode
- func (s *DotLookupContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DotLookupContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DotLookupContext) GetRuleContext() antlr.RuleContext
- 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) Fnname() (localctx IFnnameContext)
- 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 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 IAtomContext
- type IExpressionContext
- type IFnnameContext
- 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 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 ( 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 Excellent2LexerDECIMAL = 19 Excellent2LexerSTRING = 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 Excellent2ParserDECIMAL = 19 Excellent2ParserSTRING = 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_fnname = 3 Excellent2ParserRULE_parameters = 4 )
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) EnterDecimalLiteral ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterDecimalLiteral(ctx *DecimalLiteralContext)
EnterDecimalLiteral is called when production decimalLiteral 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) EnterFnname ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterFnname(ctx *FnnameContext)
EnterFnname is called when production fnname 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) 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) EnterStringLiteral ¶ added in v0.4.0
func (s *BaseExcellent2Listener) EnterStringLiteral(ctx *StringLiteralContext)
EnterStringLiteral is called when production stringLiteral 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) ExitDecimalLiteral ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitDecimalLiteral(ctx *DecimalLiteralContext)
ExitDecimalLiteral is called when production decimalLiteral 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) ExitFnname ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitFnname(ctx *FnnameContext)
ExitFnname is called when production fnname 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) 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) ExitStringLiteral ¶ added in v0.4.0
func (s *BaseExcellent2Listener) ExitStringLiteral(ctx *StringLiteralContext)
ExitStringLiteral is called when production stringLiteral 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) VisitDecimalLiteral ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitDecimalLiteral(ctx *DecimalLiteralContext) 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) VisitFnname ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitFnname(ctx *FnnameContext) 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) 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) VisitStringLiteral ¶ added in v0.4.0
func (v *BaseExcellent2Visitor) VisitStringLiteral(ctx *StringLiteralContext) 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 DecimalLiteralContext ¶
type DecimalLiteralContext struct {
*AtomContext
}
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 DotLookupContext ¶
type DotLookupContext struct {
*AtomContext
}
func NewDotLookupContext ¶
func NewDotLookupContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DotLookupContext
func (*DotLookupContext) Accept ¶
func (s *DotLookupContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DotLookupContext) AllAtom ¶
func (s *DotLookupContext) AllAtom() []IAtomContext
func (*DotLookupContext) Atom ¶
func (s *DotLookupContext) Atom(i int) 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) GetRuleContext ¶
func (s *DotLookupContext) GetRuleContext() antlr.RuleContext
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) // EnterDecimalLiteral is called when entering the decimalLiteral production. EnterDecimalLiteral(c *DecimalLiteralContext) // EnterDotLookup is called when entering the dotLookup production. EnterDotLookup(c *DotLookupContext) // EnterNull is called when entering the null production. EnterNull(c *NullContext) // 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) // 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) // 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) // 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) // ExitDotLookup is called when exiting the dotLookup production. ExitDotLookup(c *DotLookupContext) // ExitNull is called when exiting the null production. ExitNull(c *NullContext) // 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) // 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) // 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) // ExitFnname is called when exiting the fnname production. ExitFnname(c *FnnameContext) // 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) Fnname ¶ added in v0.4.0
func (p *Excellent2Parser) Fnname() (localctx IFnnameContext)
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#decimalLiteral. VisitDecimalLiteral(ctx *DecimalLiteralContext) 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#stringLiteral. VisitStringLiteral(ctx *StringLiteralContext) 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#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#fnname. VisitFnname(ctx *FnnameContext) 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 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 {
*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) 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 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 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 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 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 {
*AtomContext
}
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 {
*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