Documentation ¶
Index ¶
- Constants
- func Excellent3LexerInit()
- func Excellent3ParserInit()
- 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 AnonFunctionContext
- func (s *AnonFunctionContext) ARROW() antlr.TerminalNode
- func (s *AnonFunctionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AnonFunctionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AnonFunctionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AnonFunctionContext) Expression() IExpressionContext
- func (s *AnonFunctionContext) GetRuleContext() antlr.RuleContext
- func (s *AnonFunctionContext) LPAREN() antlr.TerminalNode
- func (s *AnonFunctionContext) NameList() INameListContext
- func (s *AnonFunctionContext) RPAREN() antlr.TerminalNode
- 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 BaseExcellent3Listener
- func (s *BaseExcellent3Listener) EnterAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)
- func (s *BaseExcellent3Listener) EnterAnonFunction(ctx *AnonFunctionContext)
- func (s *BaseExcellent3Listener) EnterArrayLookup(ctx *ArrayLookupContext)
- func (s *BaseExcellent3Listener) EnterAtomReference(ctx *AtomReferenceContext)
- func (s *BaseExcellent3Listener) EnterComparison(ctx *ComparisonContext)
- func (s *BaseExcellent3Listener) EnterConcatenation(ctx *ConcatenationContext)
- func (s *BaseExcellent3Listener) EnterContextReference(ctx *ContextReferenceContext)
- func (s *BaseExcellent3Listener) EnterDotLookup(ctx *DotLookupContext)
- func (s *BaseExcellent3Listener) EnterEquality(ctx *EqualityContext)
- func (s *BaseExcellent3Listener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseExcellent3Listener) EnterExponent(ctx *ExponentContext)
- func (s *BaseExcellent3Listener) EnterFalse(ctx *FalseContext)
- func (s *BaseExcellent3Listener) EnterFunctionCall(ctx *FunctionCallContext)
- func (s *BaseExcellent3Listener) EnterFunctionParameters(ctx *FunctionParametersContext)
- func (s *BaseExcellent3Listener) EnterMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)
- func (s *BaseExcellent3Listener) EnterNameList(ctx *NameListContext)
- func (s *BaseExcellent3Listener) EnterNegation(ctx *NegationContext)
- func (s *BaseExcellent3Listener) EnterNull(ctx *NullContext)
- func (s *BaseExcellent3Listener) EnterNumberLiteral(ctx *NumberLiteralContext)
- func (s *BaseExcellent3Listener) EnterParentheses(ctx *ParenthesesContext)
- func (s *BaseExcellent3Listener) EnterParse(ctx *ParseContext)
- func (s *BaseExcellent3Listener) EnterTextLiteral(ctx *TextLiteralContext)
- func (s *BaseExcellent3Listener) EnterTrue(ctx *TrueContext)
- func (s *BaseExcellent3Listener) ExitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)
- func (s *BaseExcellent3Listener) ExitAnonFunction(ctx *AnonFunctionContext)
- func (s *BaseExcellent3Listener) ExitArrayLookup(ctx *ArrayLookupContext)
- func (s *BaseExcellent3Listener) ExitAtomReference(ctx *AtomReferenceContext)
- func (s *BaseExcellent3Listener) ExitComparison(ctx *ComparisonContext)
- func (s *BaseExcellent3Listener) ExitConcatenation(ctx *ConcatenationContext)
- func (s *BaseExcellent3Listener) ExitContextReference(ctx *ContextReferenceContext)
- func (s *BaseExcellent3Listener) ExitDotLookup(ctx *DotLookupContext)
- func (s *BaseExcellent3Listener) ExitEquality(ctx *EqualityContext)
- func (s *BaseExcellent3Listener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseExcellent3Listener) ExitExponent(ctx *ExponentContext)
- func (s *BaseExcellent3Listener) ExitFalse(ctx *FalseContext)
- func (s *BaseExcellent3Listener) ExitFunctionCall(ctx *FunctionCallContext)
- func (s *BaseExcellent3Listener) ExitFunctionParameters(ctx *FunctionParametersContext)
- func (s *BaseExcellent3Listener) ExitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)
- func (s *BaseExcellent3Listener) ExitNameList(ctx *NameListContext)
- func (s *BaseExcellent3Listener) ExitNegation(ctx *NegationContext)
- func (s *BaseExcellent3Listener) ExitNull(ctx *NullContext)
- func (s *BaseExcellent3Listener) ExitNumberLiteral(ctx *NumberLiteralContext)
- func (s *BaseExcellent3Listener) ExitParentheses(ctx *ParenthesesContext)
- func (s *BaseExcellent3Listener) ExitParse(ctx *ParseContext)
- func (s *BaseExcellent3Listener) ExitTextLiteral(ctx *TextLiteralContext)
- func (s *BaseExcellent3Listener) ExitTrue(ctx *TrueContext)
- func (s *BaseExcellent3Listener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseExcellent3Listener) VisitTerminal(node antlr.TerminalNode)
- type BaseExcellent3Visitor
- func (v *BaseExcellent3Visitor) VisitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext) interface{}
- func (v *BaseExcellent3Visitor) VisitAnonFunction(ctx *AnonFunctionContext) interface{}
- func (v *BaseExcellent3Visitor) VisitArrayLookup(ctx *ArrayLookupContext) interface{}
- func (v *BaseExcellent3Visitor) VisitAtomReference(ctx *AtomReferenceContext) interface{}
- func (v *BaseExcellent3Visitor) VisitComparison(ctx *ComparisonContext) interface{}
- func (v *BaseExcellent3Visitor) VisitConcatenation(ctx *ConcatenationContext) interface{}
- func (v *BaseExcellent3Visitor) VisitContextReference(ctx *ContextReferenceContext) interface{}
- func (v *BaseExcellent3Visitor) VisitDotLookup(ctx *DotLookupContext) interface{}
- func (v *BaseExcellent3Visitor) VisitEquality(ctx *EqualityContext) interface{}
- func (v *BaseExcellent3Visitor) VisitExponent(ctx *ExponentContext) interface{}
- func (v *BaseExcellent3Visitor) VisitFalse(ctx *FalseContext) interface{}
- func (v *BaseExcellent3Visitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}
- func (v *BaseExcellent3Visitor) VisitFunctionParameters(ctx *FunctionParametersContext) interface{}
- func (v *BaseExcellent3Visitor) VisitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext) interface{}
- func (v *BaseExcellent3Visitor) VisitNameList(ctx *NameListContext) interface{}
- func (v *BaseExcellent3Visitor) VisitNegation(ctx *NegationContext) interface{}
- func (v *BaseExcellent3Visitor) VisitNull(ctx *NullContext) interface{}
- func (v *BaseExcellent3Visitor) VisitNumberLiteral(ctx *NumberLiteralContext) interface{}
- func (v *BaseExcellent3Visitor) VisitParentheses(ctx *ParenthesesContext) interface{}
- func (v *BaseExcellent3Visitor) VisitParse(ctx *ParseContext) interface{}
- func (v *BaseExcellent3Visitor) VisitTextLiteral(ctx *TextLiteralContext) interface{}
- func (v *BaseExcellent3Visitor) 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) GetRuleContext() antlr.RuleContext
- func (s *DotLookupContext) INTEGER() antlr.TerminalNode
- func (s *DotLookupContext) NAME() antlr.TerminalNode
- 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 Excellent3Lexer
- type Excellent3Listener
- type Excellent3Parser
- func (p *Excellent3Parser) Atom() (localctx IAtomContext)
- func (p *Excellent3Parser) Atom_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Excellent3Parser) Expression() (localctx IExpressionContext)
- func (p *Excellent3Parser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *Excellent3Parser) NameList() (localctx INameListContext)
- func (p *Excellent3Parser) Parameters() (localctx IParametersContext)
- func (p *Excellent3Parser) Parse() (localctx IParseContext)
- func (p *Excellent3Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- type Excellent3Visitor
- 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 INameListContext
- 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 NameListContext
- func (s *NameListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NameListContext) AllCOMMA() []antlr.TerminalNode
- func (s *NameListContext) AllNAME() []antlr.TerminalNode
- func (s *NameListContext) COMMA(i int) antlr.TerminalNode
- func (s *NameListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NameListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NameListContext) GetParser() antlr.Parser
- func (s *NameListContext) GetRuleContext() antlr.RuleContext
- func (*NameListContext) IsNameListContext()
- func (s *NameListContext) NAME(i int) antlr.TerminalNode
- func (s *NameListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- 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) DECIMAL() antlr.TerminalNode
- func (s *NumberLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NumberLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NumberLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *NumberLiteralContext) INTEGER() 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 ( Excellent3LexerCOMMA = 1 Excellent3LexerLPAREN = 2 Excellent3LexerRPAREN = 3 Excellent3LexerLBRACK = 4 Excellent3LexerRBRACK = 5 Excellent3LexerDOT = 6 Excellent3LexerARROW = 7 Excellent3LexerPLUS = 8 Excellent3LexerMINUS = 9 Excellent3LexerTIMES = 10 Excellent3LexerDIVIDE = 11 Excellent3LexerEXPONENT = 12 Excellent3LexerEQ = 13 Excellent3LexerNEQ = 14 Excellent3LexerLTE = 15 Excellent3LexerLT = 16 Excellent3LexerGTE = 17 Excellent3LexerGT = 18 Excellent3LexerAMPERSAND = 19 Excellent3LexerTEXT = 20 Excellent3LexerINTEGER = 21 Excellent3LexerDECIMAL = 22 Excellent3LexerTRUE = 23 Excellent3LexerFALSE = 24 Excellent3LexerNULL = 25 Excellent3LexerNAME = 26 Excellent3LexerWS = 27 Excellent3LexerERROR = 28 )
Excellent3Lexer tokens.
const ( Excellent3ParserEOF = antlr.TokenEOF Excellent3ParserCOMMA = 1 Excellent3ParserLPAREN = 2 Excellent3ParserRPAREN = 3 Excellent3ParserLBRACK = 4 Excellent3ParserRBRACK = 5 Excellent3ParserDOT = 6 Excellent3ParserARROW = 7 Excellent3ParserPLUS = 8 Excellent3ParserMINUS = 9 Excellent3ParserTIMES = 10 Excellent3ParserDIVIDE = 11 Excellent3ParserEXPONENT = 12 Excellent3ParserEQ = 13 Excellent3ParserNEQ = 14 Excellent3ParserLTE = 15 Excellent3ParserLT = 16 Excellent3ParserGTE = 17 Excellent3ParserGT = 18 Excellent3ParserAMPERSAND = 19 Excellent3ParserTEXT = 20 Excellent3ParserINTEGER = 21 Excellent3ParserDECIMAL = 22 Excellent3ParserTRUE = 23 Excellent3ParserFALSE = 24 Excellent3ParserNULL = 25 Excellent3ParserNAME = 26 Excellent3ParserWS = 27 Excellent3ParserERROR = 28 )
Excellent3Parser tokens.
const ( Excellent3ParserRULE_parse = 0 Excellent3ParserRULE_expression = 1 Excellent3ParserRULE_atom = 2 Excellent3ParserRULE_parameters = 3 Excellent3ParserRULE_nameList = 4 )
Excellent3Parser rules.
Variables ¶
This section is empty.
Functions ¶
func Excellent3LexerInit ¶ added in v0.161.2
func Excellent3LexerInit()
Excellent3LexerInit initializes any static state used to implement Excellent3Lexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewExcellent3Lexer(). You can call this function if you wish to initialize the static state ahead of time.
func Excellent3ParserInit ¶ added in v0.161.2
func Excellent3ParserInit()
Excellent3ParserInit initializes any static state used to implement Excellent3Parser. By default the static state used to implement the parser is lazily initialized during the first call to NewExcellent3Parser(). You can call this function if you wish to initialize the static state ahead of time.
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 AnonFunctionContext ¶ added in v0.141.0
type AnonFunctionContext struct {
*ExpressionContext
}
func NewAnonFunctionContext ¶ added in v0.141.0
func NewAnonFunctionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AnonFunctionContext
func (*AnonFunctionContext) ARROW ¶ added in v0.141.0
func (s *AnonFunctionContext) ARROW() antlr.TerminalNode
func (*AnonFunctionContext) Accept ¶ added in v0.141.0
func (s *AnonFunctionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AnonFunctionContext) EnterRule ¶ added in v0.141.0
func (s *AnonFunctionContext) EnterRule(listener antlr.ParseTreeListener)
func (*AnonFunctionContext) ExitRule ¶ added in v0.141.0
func (s *AnonFunctionContext) ExitRule(listener antlr.ParseTreeListener)
func (*AnonFunctionContext) Expression ¶ added in v0.141.0
func (s *AnonFunctionContext) Expression() IExpressionContext
func (*AnonFunctionContext) GetRuleContext ¶ added in v0.141.0
func (s *AnonFunctionContext) GetRuleContext() antlr.RuleContext
func (*AnonFunctionContext) LPAREN ¶ added in v0.141.0
func (s *AnonFunctionContext) LPAREN() antlr.TerminalNode
func (*AnonFunctionContext) NameList ¶ added in v0.141.0
func (s *AnonFunctionContext) NameList() INameListContext
func (*AnonFunctionContext) RPAREN ¶ added in v0.141.0
func (s *AnonFunctionContext) RPAREN() antlr.TerminalNode
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 BaseExcellent3Listener ¶ added in v0.141.0
type BaseExcellent3Listener struct{}
BaseExcellent3Listener is a complete listener for a parse tree produced by Excellent3Parser.
func (*BaseExcellent3Listener) EnterAdditionOrSubtraction ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)
EnterAdditionOrSubtraction is called when production additionOrSubtraction is entered.
func (*BaseExcellent3Listener) EnterAnonFunction ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterAnonFunction(ctx *AnonFunctionContext)
EnterAnonFunction is called when production anonFunction is entered.
func (*BaseExcellent3Listener) EnterArrayLookup ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterArrayLookup(ctx *ArrayLookupContext)
EnterArrayLookup is called when production arrayLookup is entered.
func (*BaseExcellent3Listener) EnterAtomReference ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterAtomReference(ctx *AtomReferenceContext)
EnterAtomReference is called when production atomReference is entered.
func (*BaseExcellent3Listener) EnterComparison ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterComparison(ctx *ComparisonContext)
EnterComparison is called when production comparison is entered.
func (*BaseExcellent3Listener) EnterConcatenation ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterConcatenation(ctx *ConcatenationContext)
EnterConcatenation is called when production concatenation is entered.
func (*BaseExcellent3Listener) EnterContextReference ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterContextReference(ctx *ContextReferenceContext)
EnterContextReference is called when production contextReference is entered.
func (*BaseExcellent3Listener) EnterDotLookup ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterDotLookup(ctx *DotLookupContext)
EnterDotLookup is called when production dotLookup is entered.
func (*BaseExcellent3Listener) EnterEquality ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterEquality(ctx *EqualityContext)
EnterEquality is called when production equality is entered.
func (*BaseExcellent3Listener) EnterEveryRule ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseExcellent3Listener) EnterExponent ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterExponent(ctx *ExponentContext)
EnterExponent is called when production exponent is entered.
func (*BaseExcellent3Listener) EnterFalse ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterFalse(ctx *FalseContext)
EnterFalse is called when production false is entered.
func (*BaseExcellent3Listener) EnterFunctionCall ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterFunctionCall(ctx *FunctionCallContext)
EnterFunctionCall is called when production functionCall is entered.
func (*BaseExcellent3Listener) EnterFunctionParameters ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterFunctionParameters(ctx *FunctionParametersContext)
EnterFunctionParameters is called when production functionParameters is entered.
func (*BaseExcellent3Listener) EnterMultiplicationOrDivision ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)
EnterMultiplicationOrDivision is called when production multiplicationOrDivision is entered.
func (*BaseExcellent3Listener) EnterNameList ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterNameList(ctx *NameListContext)
EnterNameList is called when production nameList is entered.
func (*BaseExcellent3Listener) EnterNegation ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterNegation(ctx *NegationContext)
EnterNegation is called when production negation is entered.
func (*BaseExcellent3Listener) EnterNull ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterNull(ctx *NullContext)
EnterNull is called when production null is entered.
func (*BaseExcellent3Listener) EnterNumberLiteral ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterNumberLiteral(ctx *NumberLiteralContext)
EnterNumberLiteral is called when production numberLiteral is entered.
func (*BaseExcellent3Listener) EnterParentheses ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterParentheses(ctx *ParenthesesContext)
EnterParentheses is called when production parentheses is entered.
func (*BaseExcellent3Listener) EnterParse ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterParse(ctx *ParseContext)
EnterParse is called when production parse is entered.
func (*BaseExcellent3Listener) EnterTextLiteral ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterTextLiteral(ctx *TextLiteralContext)
EnterTextLiteral is called when production textLiteral is entered.
func (*BaseExcellent3Listener) EnterTrue ¶ added in v0.141.0
func (s *BaseExcellent3Listener) EnterTrue(ctx *TrueContext)
EnterTrue is called when production true is entered.
func (*BaseExcellent3Listener) ExitAdditionOrSubtraction ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)
ExitAdditionOrSubtraction is called when production additionOrSubtraction is exited.
func (*BaseExcellent3Listener) ExitAnonFunction ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitAnonFunction(ctx *AnonFunctionContext)
ExitAnonFunction is called when production anonFunction is exited.
func (*BaseExcellent3Listener) ExitArrayLookup ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitArrayLookup(ctx *ArrayLookupContext)
ExitArrayLookup is called when production arrayLookup is exited.
func (*BaseExcellent3Listener) ExitAtomReference ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitAtomReference(ctx *AtomReferenceContext)
ExitAtomReference is called when production atomReference is exited.
func (*BaseExcellent3Listener) ExitComparison ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitComparison(ctx *ComparisonContext)
ExitComparison is called when production comparison is exited.
func (*BaseExcellent3Listener) ExitConcatenation ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitConcatenation(ctx *ConcatenationContext)
ExitConcatenation is called when production concatenation is exited.
func (*BaseExcellent3Listener) ExitContextReference ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitContextReference(ctx *ContextReferenceContext)
ExitContextReference is called when production contextReference is exited.
func (*BaseExcellent3Listener) ExitDotLookup ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitDotLookup(ctx *DotLookupContext)
ExitDotLookup is called when production dotLookup is exited.
func (*BaseExcellent3Listener) ExitEquality ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitEquality(ctx *EqualityContext)
ExitEquality is called when production equality is exited.
func (*BaseExcellent3Listener) ExitEveryRule ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseExcellent3Listener) ExitExponent ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitExponent(ctx *ExponentContext)
ExitExponent is called when production exponent is exited.
func (*BaseExcellent3Listener) ExitFalse ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitFalse(ctx *FalseContext)
ExitFalse is called when production false is exited.
func (*BaseExcellent3Listener) ExitFunctionCall ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitFunctionCall(ctx *FunctionCallContext)
ExitFunctionCall is called when production functionCall is exited.
func (*BaseExcellent3Listener) ExitFunctionParameters ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitFunctionParameters(ctx *FunctionParametersContext)
ExitFunctionParameters is called when production functionParameters is exited.
func (*BaseExcellent3Listener) ExitMultiplicationOrDivision ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)
ExitMultiplicationOrDivision is called when production multiplicationOrDivision is exited.
func (*BaseExcellent3Listener) ExitNameList ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitNameList(ctx *NameListContext)
ExitNameList is called when production nameList is exited.
func (*BaseExcellent3Listener) ExitNegation ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitNegation(ctx *NegationContext)
ExitNegation is called when production negation is exited.
func (*BaseExcellent3Listener) ExitNull ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitNull(ctx *NullContext)
ExitNull is called when production null is exited.
func (*BaseExcellent3Listener) ExitNumberLiteral ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitNumberLiteral(ctx *NumberLiteralContext)
ExitNumberLiteral is called when production numberLiteral is exited.
func (*BaseExcellent3Listener) ExitParentheses ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitParentheses(ctx *ParenthesesContext)
ExitParentheses is called when production parentheses is exited.
func (*BaseExcellent3Listener) ExitParse ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitParse(ctx *ParseContext)
ExitParse is called when production parse is exited.
func (*BaseExcellent3Listener) ExitTextLiteral ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitTextLiteral(ctx *TextLiteralContext)
ExitTextLiteral is called when production textLiteral is exited.
func (*BaseExcellent3Listener) ExitTrue ¶ added in v0.141.0
func (s *BaseExcellent3Listener) ExitTrue(ctx *TrueContext)
ExitTrue is called when production true is exited.
func (*BaseExcellent3Listener) VisitErrorNode ¶ added in v0.141.0
func (s *BaseExcellent3Listener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseExcellent3Listener) VisitTerminal ¶ added in v0.141.0
func (s *BaseExcellent3Listener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseExcellent3Visitor ¶ added in v0.141.0
type BaseExcellent3Visitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseExcellent3Visitor) VisitAdditionOrSubtraction ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext) interface{}
func (*BaseExcellent3Visitor) VisitAnonFunction ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitAnonFunction(ctx *AnonFunctionContext) interface{}
func (*BaseExcellent3Visitor) VisitArrayLookup ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitArrayLookup(ctx *ArrayLookupContext) interface{}
func (*BaseExcellent3Visitor) VisitAtomReference ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitAtomReference(ctx *AtomReferenceContext) interface{}
func (*BaseExcellent3Visitor) VisitComparison ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitComparison(ctx *ComparisonContext) interface{}
func (*BaseExcellent3Visitor) VisitConcatenation ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitConcatenation(ctx *ConcatenationContext) interface{}
func (*BaseExcellent3Visitor) VisitContextReference ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitContextReference(ctx *ContextReferenceContext) interface{}
func (*BaseExcellent3Visitor) VisitDotLookup ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitDotLookup(ctx *DotLookupContext) interface{}
func (*BaseExcellent3Visitor) VisitEquality ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitEquality(ctx *EqualityContext) interface{}
func (*BaseExcellent3Visitor) VisitExponent ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitExponent(ctx *ExponentContext) interface{}
func (*BaseExcellent3Visitor) VisitFalse ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitFalse(ctx *FalseContext) interface{}
func (*BaseExcellent3Visitor) VisitFunctionCall ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}
func (*BaseExcellent3Visitor) VisitFunctionParameters ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitFunctionParameters(ctx *FunctionParametersContext) interface{}
func (*BaseExcellent3Visitor) VisitMultiplicationOrDivision ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext) interface{}
func (*BaseExcellent3Visitor) VisitNameList ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitNameList(ctx *NameListContext) interface{}
func (*BaseExcellent3Visitor) VisitNegation ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitNegation(ctx *NegationContext) interface{}
func (*BaseExcellent3Visitor) VisitNull ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitNull(ctx *NullContext) interface{}
func (*BaseExcellent3Visitor) VisitNumberLiteral ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitNumberLiteral(ctx *NumberLiteralContext) interface{}
func (*BaseExcellent3Visitor) VisitParentheses ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitParentheses(ctx *ParenthesesContext) interface{}
func (*BaseExcellent3Visitor) VisitParse ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitParse(ctx *ParseContext) interface{}
func (*BaseExcellent3Visitor) VisitTextLiteral ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) VisitTextLiteral(ctx *TextLiteralContext) interface{}
func (*BaseExcellent3Visitor) VisitTrue ¶ added in v0.141.0
func (v *BaseExcellent3Visitor) 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
}
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) GetRuleContext ¶
func (s *DotLookupContext) GetRuleContext() antlr.RuleContext
func (*DotLookupContext) INTEGER ¶ added in v0.43.0
func (s *DotLookupContext) INTEGER() antlr.TerminalNode
func (*DotLookupContext) NAME ¶ added in v0.32.0
func (s *DotLookupContext) NAME() antlr.TerminalNode
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 Excellent3Lexer ¶ added in v0.141.0
func NewExcellent3Lexer ¶ added in v0.141.0
func NewExcellent3Lexer(input antlr.CharStream) *Excellent3Lexer
NewExcellent3Lexer produces a new lexer instance for the optional input antlr.CharStream.
type Excellent3Listener ¶ added in v0.141.0
type Excellent3Listener interface { antlr.ParseTreeListener // EnterParse is called when entering the parse production. EnterParse(c *ParseContext) // EnterNegation is called when entering the negation production. EnterNegation(c *NegationContext) // EnterComparison is called when entering the comparison production. EnterComparison(c *ComparisonContext) // EnterFalse is called when entering the false production. EnterFalse(c *FalseContext) // EnterAdditionOrSubtraction is called when entering the additionOrSubtraction production. EnterAdditionOrSubtraction(c *AdditionOrSubtractionContext) // EnterTextLiteral is called when entering the textLiteral production. EnterTextLiteral(c *TextLiteralContext) // EnterConcatenation is called when entering the concatenation production. EnterConcatenation(c *ConcatenationContext) // EnterNull is called when entering the null production. EnterNull(c *NullContext) // EnterMultiplicationOrDivision is called when entering the multiplicationOrDivision production. EnterMultiplicationOrDivision(c *MultiplicationOrDivisionContext) // EnterTrue is called when entering the true production. EnterTrue(c *TrueContext) // EnterAtomReference is called when entering the atomReference production. EnterAtomReference(c *AtomReferenceContext) // EnterAnonFunction is called when entering the anonFunction production. EnterAnonFunction(c *AnonFunctionContext) // EnterEquality is called when entering the equality production. EnterEquality(c *EqualityContext) // EnterNumberLiteral is called when entering the numberLiteral production. EnterNumberLiteral(c *NumberLiteralContext) // EnterExponent is called when entering the exponent production. EnterExponent(c *ExponentContext) // EnterParentheses is called when entering the parentheses production. EnterParentheses(c *ParenthesesContext) // EnterDotLookup is called when entering the dotLookup production. EnterDotLookup(c *DotLookupContext) // EnterFunctionCall is called when entering the functionCall production. EnterFunctionCall(c *FunctionCallContext) // EnterArrayLookup is called when entering the arrayLookup production. EnterArrayLookup(c *ArrayLookupContext) // EnterContextReference is called when entering the contextReference production. EnterContextReference(c *ContextReferenceContext) // EnterFunctionParameters is called when entering the functionParameters production. EnterFunctionParameters(c *FunctionParametersContext) // EnterNameList is called when entering the nameList production. EnterNameList(c *NameListContext) // ExitParse is called when exiting the parse production. ExitParse(c *ParseContext) // ExitNegation is called when exiting the negation production. ExitNegation(c *NegationContext) // ExitComparison is called when exiting the comparison production. ExitComparison(c *ComparisonContext) // ExitFalse is called when exiting the false production. ExitFalse(c *FalseContext) // ExitAdditionOrSubtraction is called when exiting the additionOrSubtraction production. ExitAdditionOrSubtraction(c *AdditionOrSubtractionContext) // ExitTextLiteral is called when exiting the textLiteral production. ExitTextLiteral(c *TextLiteralContext) // ExitConcatenation is called when exiting the concatenation production. ExitConcatenation(c *ConcatenationContext) // ExitNull is called when exiting the null production. ExitNull(c *NullContext) // ExitMultiplicationOrDivision is called when exiting the multiplicationOrDivision production. ExitMultiplicationOrDivision(c *MultiplicationOrDivisionContext) // ExitTrue is called when exiting the true production. ExitTrue(c *TrueContext) // ExitAtomReference is called when exiting the atomReference production. ExitAtomReference(c *AtomReferenceContext) // ExitAnonFunction is called when exiting the anonFunction production. ExitAnonFunction(c *AnonFunctionContext) // ExitEquality is called when exiting the equality production. ExitEquality(c *EqualityContext) // ExitNumberLiteral is called when exiting the numberLiteral production. ExitNumberLiteral(c *NumberLiteralContext) // ExitExponent is called when exiting the exponent production. ExitExponent(c *ExponentContext) // ExitParentheses is called when exiting the parentheses production. ExitParentheses(c *ParenthesesContext) // ExitDotLookup is called when exiting the dotLookup production. ExitDotLookup(c *DotLookupContext) // ExitFunctionCall is called when exiting the functionCall production. ExitFunctionCall(c *FunctionCallContext) // ExitArrayLookup is called when exiting the arrayLookup production. ExitArrayLookup(c *ArrayLookupContext) // ExitContextReference is called when exiting the contextReference production. ExitContextReference(c *ContextReferenceContext) // ExitFunctionParameters is called when exiting the functionParameters production. ExitFunctionParameters(c *FunctionParametersContext) // ExitNameList is called when exiting the nameList production. ExitNameList(c *NameListContext) }
Excellent3Listener is a complete listener for a parse tree produced by Excellent3Parser.
type Excellent3Parser ¶ added in v0.141.0
type Excellent3Parser struct {
*antlr.BaseParser
}
func NewExcellent3Parser ¶ added in v0.141.0
func NewExcellent3Parser(input antlr.TokenStream) *Excellent3Parser
NewExcellent3Parser produces a new parser instance for the optional input antlr.TokenStream.
func (*Excellent3Parser) Atom ¶ added in v0.141.0
func (p *Excellent3Parser) Atom() (localctx IAtomContext)
func (*Excellent3Parser) Atom_Sempred ¶ added in v0.141.0
func (p *Excellent3Parser) Atom_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Excellent3Parser) Expression ¶ added in v0.141.0
func (p *Excellent3Parser) Expression() (localctx IExpressionContext)
func (*Excellent3Parser) Expression_Sempred ¶ added in v0.141.0
func (p *Excellent3Parser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*Excellent3Parser) NameList ¶ added in v0.141.0
func (p *Excellent3Parser) NameList() (localctx INameListContext)
func (*Excellent3Parser) Parameters ¶ added in v0.141.0
func (p *Excellent3Parser) Parameters() (localctx IParametersContext)
func (*Excellent3Parser) Parse ¶ added in v0.141.0
func (p *Excellent3Parser) Parse() (localctx IParseContext)
func (*Excellent3Parser) Sempred ¶ added in v0.141.0
func (p *Excellent3Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
type Excellent3Visitor ¶ added in v0.141.0
type Excellent3Visitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by Excellent3Parser#parse. VisitParse(ctx *ParseContext) interface{} // Visit a parse tree produced by Excellent3Parser#negation. VisitNegation(ctx *NegationContext) interface{} // Visit a parse tree produced by Excellent3Parser#comparison. VisitComparison(ctx *ComparisonContext) interface{} // Visit a parse tree produced by Excellent3Parser#false. VisitFalse(ctx *FalseContext) interface{} // Visit a parse tree produced by Excellent3Parser#additionOrSubtraction. VisitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext) interface{} // Visit a parse tree produced by Excellent3Parser#textLiteral. VisitTextLiteral(ctx *TextLiteralContext) interface{} // Visit a parse tree produced by Excellent3Parser#concatenation. VisitConcatenation(ctx *ConcatenationContext) interface{} // Visit a parse tree produced by Excellent3Parser#null. VisitNull(ctx *NullContext) interface{} // Visit a parse tree produced by Excellent3Parser#multiplicationOrDivision. VisitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext) interface{} // Visit a parse tree produced by Excellent3Parser#true. VisitTrue(ctx *TrueContext) interface{} // Visit a parse tree produced by Excellent3Parser#atomReference. VisitAtomReference(ctx *AtomReferenceContext) interface{} // Visit a parse tree produced by Excellent3Parser#anonFunction. VisitAnonFunction(ctx *AnonFunctionContext) interface{} // Visit a parse tree produced by Excellent3Parser#equality. VisitEquality(ctx *EqualityContext) interface{} // Visit a parse tree produced by Excellent3Parser#numberLiteral. VisitNumberLiteral(ctx *NumberLiteralContext) interface{} // Visit a parse tree produced by Excellent3Parser#exponent. VisitExponent(ctx *ExponentContext) interface{} // Visit a parse tree produced by Excellent3Parser#parentheses. VisitParentheses(ctx *ParenthesesContext) interface{} // Visit a parse tree produced by Excellent3Parser#dotLookup. VisitDotLookup(ctx *DotLookupContext) interface{} // Visit a parse tree produced by Excellent3Parser#functionCall. VisitFunctionCall(ctx *FunctionCallContext) interface{} // Visit a parse tree produced by Excellent3Parser#arrayLookup. VisitArrayLookup(ctx *ArrayLookupContext) interface{} // Visit a parse tree produced by Excellent3Parser#contextReference. VisitContextReference(ctx *ContextReferenceContext) interface{} // Visit a parse tree produced by Excellent3Parser#functionParameters. VisitFunctionParameters(ctx *FunctionParametersContext) interface{} // Visit a parse tree produced by Excellent3Parser#nameList. VisitNameList(ctx *NameListContext) interface{} }
A complete Visitor for a parse tree produced by Excellent3Parser.
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 {
*ExpressionContext
}
func NewFalseContext ¶
func NewFalseContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FalseContext
func (*FalseContext) Accept ¶
func (s *FalseContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FalseContext) EnterRule ¶
func (s *FalseContext) EnterRule(listener antlr.ParseTreeListener)
func (*FalseContext) ExitRule ¶
func (s *FalseContext) ExitRule(listener antlr.ParseTreeListener)
func (*FalseContext) FALSE ¶
func (s *FalseContext) FALSE() antlr.TerminalNode
func (*FalseContext) GetRuleContext ¶
func (s *FalseContext) GetRuleContext() antlr.RuleContext
type 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 INameListContext ¶ added in v0.141.0
type INameListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNameListContext differentiates from other interfaces. IsNameListContext() }
INameListContext 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 NameListContext ¶ added in v0.141.0
type NameListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNameListContext ¶ added in v0.141.0
func NewEmptyNameListContext() *NameListContext
func NewNameListContext ¶ added in v0.141.0
func NewNameListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameListContext
func (*NameListContext) Accept ¶ added in v0.141.0
func (s *NameListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NameListContext) AllCOMMA ¶ added in v0.141.0
func (s *NameListContext) AllCOMMA() []antlr.TerminalNode
func (*NameListContext) AllNAME ¶ added in v0.141.0
func (s *NameListContext) AllNAME() []antlr.TerminalNode
func (*NameListContext) COMMA ¶ added in v0.141.0
func (s *NameListContext) COMMA(i int) antlr.TerminalNode
func (*NameListContext) EnterRule ¶ added in v0.141.0
func (s *NameListContext) EnterRule(listener antlr.ParseTreeListener)
func (*NameListContext) ExitRule ¶ added in v0.141.0
func (s *NameListContext) ExitRule(listener antlr.ParseTreeListener)
func (*NameListContext) GetParser ¶ added in v0.141.0
func (s *NameListContext) GetParser() antlr.Parser
func (*NameListContext) GetRuleContext ¶ added in v0.141.0
func (s *NameListContext) GetRuleContext() antlr.RuleContext
func (*NameListContext) IsNameListContext ¶ added in v0.141.0
func (*NameListContext) IsNameListContext()
func (*NameListContext) NAME ¶ added in v0.141.0
func (s *NameListContext) NAME(i int) antlr.TerminalNode
func (*NameListContext) ToStringTree ¶ added in v0.141.0
func (s *NameListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
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 {
*ExpressionContext
}
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 {
*ExpressionContext
}
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) DECIMAL ¶ added in v0.43.0
func (s *NumberLiteralContext) DECIMAL() antlr.TerminalNode
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) INTEGER ¶ added in v0.43.0
func (s *NumberLiteralContext) INTEGER() 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 {
*AtomContext
}
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 {
*ExpressionContext
}
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 {
*ExpressionContext
}
func NewTrueContext ¶
func NewTrueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TrueContext
func (*TrueContext) Accept ¶
func (s *TrueContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TrueContext) EnterRule ¶
func (s *TrueContext) EnterRule(listener antlr.ParseTreeListener)
func (*TrueContext) ExitRule ¶
func (s *TrueContext) ExitRule(listener antlr.ParseTreeListener)
func (*TrueContext) GetRuleContext ¶
func (s *TrueContext) GetRuleContext() antlr.RuleContext
func (*TrueContext) TRUE ¶
func (s *TrueContext) TRUE() antlr.TerminalNode