gen

package
v0.222.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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.

View Source
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.

View Source
const (
	Excellent3ParserRULE_parse      = 0
	Excellent3ParserRULE_expression = 1
	Excellent3ParserRULE_atom       = 2
	Excellent3ParserRULE_parameters = 3
	Excellent3ParserRULE_nameList   = 4
)

Excellent3Parser rules.

Variables

View Source
var Excellent3LexerLexerStaticData struct {
	ChannelNames           []string
	ModeNames              []string
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}
View Source
var Excellent3ParserStaticData struct {
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}

Functions

func Excellent3LexerInit

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

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.

func InitEmptyAtomContext added in v0.212.0

func InitEmptyAtomContext(p *AtomContext)

func InitEmptyExpressionContext added in v0.212.0

func InitEmptyExpressionContext(p *ExpressionContext)

func InitEmptyNameListContext added in v0.212.0

func InitEmptyNameListContext(p *NameListContext)

func InitEmptyParametersContext added in v0.212.0

func InitEmptyParametersContext(p *ParametersContext)

func InitEmptyParseContext added in v0.212.0

func InitEmptyParseContext(p *ParseContext)

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 (*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

type AnonFunctionContext struct {
	ExpressionContext
}

func NewAnonFunctionContext

func NewAnonFunctionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AnonFunctionContext

func (*AnonFunctionContext) ARROW

func (s *AnonFunctionContext) ARROW() antlr.TerminalNode

func (*AnonFunctionContext) Accept

func (s *AnonFunctionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*AnonFunctionContext) EnterRule

func (s *AnonFunctionContext) EnterRule(listener antlr.ParseTreeListener)

func (*AnonFunctionContext) ExitRule

func (s *AnonFunctionContext) ExitRule(listener antlr.ParseTreeListener)

func (*AnonFunctionContext) Expression

func (s *AnonFunctionContext) Expression() IExpressionContext

func (*AnonFunctionContext) GetRuleContext

func (s *AnonFunctionContext) GetRuleContext() antlr.RuleContext

func (*AnonFunctionContext) LPAREN

func (s *AnonFunctionContext) LPAREN() antlr.TerminalNode

func (*AnonFunctionContext) NameList

func (s *AnonFunctionContext) NameList() INameListContext

func (*AnonFunctionContext) RPAREN

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) CopyAll added in v0.212.0

func (s *AtomContext) CopyAll(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 (*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

type BaseExcellent3Listener struct{}

BaseExcellent3Listener is a complete listener for a parse tree produced by Excellent3Parser.

func (*BaseExcellent3Listener) EnterAdditionOrSubtraction

func (s *BaseExcellent3Listener) EnterAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)

EnterAdditionOrSubtraction is called when production additionOrSubtraction is entered.

func (*BaseExcellent3Listener) EnterAnonFunction

func (s *BaseExcellent3Listener) EnterAnonFunction(ctx *AnonFunctionContext)

EnterAnonFunction is called when production anonFunction is entered.

func (*BaseExcellent3Listener) EnterArrayLookup

func (s *BaseExcellent3Listener) EnterArrayLookup(ctx *ArrayLookupContext)

EnterArrayLookup is called when production arrayLookup is entered.

func (*BaseExcellent3Listener) EnterAtomReference

func (s *BaseExcellent3Listener) EnterAtomReference(ctx *AtomReferenceContext)

EnterAtomReference is called when production atomReference is entered.

func (*BaseExcellent3Listener) EnterComparison

func (s *BaseExcellent3Listener) EnterComparison(ctx *ComparisonContext)

EnterComparison is called when production comparison is entered.

func (*BaseExcellent3Listener) EnterConcatenation

func (s *BaseExcellent3Listener) EnterConcatenation(ctx *ConcatenationContext)

EnterConcatenation is called when production concatenation is entered.

func (*BaseExcellent3Listener) EnterContextReference

func (s *BaseExcellent3Listener) EnterContextReference(ctx *ContextReferenceContext)

EnterContextReference is called when production contextReference is entered.

func (*BaseExcellent3Listener) EnterDotLookup

func (s *BaseExcellent3Listener) EnterDotLookup(ctx *DotLookupContext)

EnterDotLookup is called when production dotLookup is entered.

func (*BaseExcellent3Listener) EnterEquality

func (s *BaseExcellent3Listener) EnterEquality(ctx *EqualityContext)

EnterEquality is called when production equality is entered.

func (*BaseExcellent3Listener) EnterEveryRule

func (s *BaseExcellent3Listener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseExcellent3Listener) EnterExponent

func (s *BaseExcellent3Listener) EnterExponent(ctx *ExponentContext)

EnterExponent is called when production exponent is entered.

func (*BaseExcellent3Listener) EnterFalse

func (s *BaseExcellent3Listener) EnterFalse(ctx *FalseContext)

EnterFalse is called when production false is entered.

func (*BaseExcellent3Listener) EnterFunctionCall

func (s *BaseExcellent3Listener) EnterFunctionCall(ctx *FunctionCallContext)

EnterFunctionCall is called when production functionCall is entered.

func (*BaseExcellent3Listener) EnterFunctionParameters

func (s *BaseExcellent3Listener) EnterFunctionParameters(ctx *FunctionParametersContext)

EnterFunctionParameters is called when production functionParameters is entered.

func (*BaseExcellent3Listener) EnterMultiplicationOrDivision

func (s *BaseExcellent3Listener) EnterMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)

EnterMultiplicationOrDivision is called when production multiplicationOrDivision is entered.

func (*BaseExcellent3Listener) EnterNameList

func (s *BaseExcellent3Listener) EnterNameList(ctx *NameListContext)

EnterNameList is called when production nameList is entered.

func (*BaseExcellent3Listener) EnterNegation

func (s *BaseExcellent3Listener) EnterNegation(ctx *NegationContext)

EnterNegation is called when production negation is entered.

func (*BaseExcellent3Listener) EnterNull

func (s *BaseExcellent3Listener) EnterNull(ctx *NullContext)

EnterNull is called when production null is entered.

func (*BaseExcellent3Listener) EnterNumberLiteral

func (s *BaseExcellent3Listener) EnterNumberLiteral(ctx *NumberLiteralContext)

EnterNumberLiteral is called when production numberLiteral is entered.

func (*BaseExcellent3Listener) EnterParentheses

func (s *BaseExcellent3Listener) EnterParentheses(ctx *ParenthesesContext)

EnterParentheses is called when production parentheses is entered.

func (*BaseExcellent3Listener) EnterParse

func (s *BaseExcellent3Listener) EnterParse(ctx *ParseContext)

EnterParse is called when production parse is entered.

func (*BaseExcellent3Listener) EnterTextLiteral

func (s *BaseExcellent3Listener) EnterTextLiteral(ctx *TextLiteralContext)

EnterTextLiteral is called when production textLiteral is entered.

func (*BaseExcellent3Listener) EnterTrue

func (s *BaseExcellent3Listener) EnterTrue(ctx *TrueContext)

EnterTrue is called when production true is entered.

func (*BaseExcellent3Listener) ExitAdditionOrSubtraction

func (s *BaseExcellent3Listener) ExitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext)

ExitAdditionOrSubtraction is called when production additionOrSubtraction is exited.

func (*BaseExcellent3Listener) ExitAnonFunction

func (s *BaseExcellent3Listener) ExitAnonFunction(ctx *AnonFunctionContext)

ExitAnonFunction is called when production anonFunction is exited.

func (*BaseExcellent3Listener) ExitArrayLookup

func (s *BaseExcellent3Listener) ExitArrayLookup(ctx *ArrayLookupContext)

ExitArrayLookup is called when production arrayLookup is exited.

func (*BaseExcellent3Listener) ExitAtomReference

func (s *BaseExcellent3Listener) ExitAtomReference(ctx *AtomReferenceContext)

ExitAtomReference is called when production atomReference is exited.

func (*BaseExcellent3Listener) ExitComparison

func (s *BaseExcellent3Listener) ExitComparison(ctx *ComparisonContext)

ExitComparison is called when production comparison is exited.

func (*BaseExcellent3Listener) ExitConcatenation

func (s *BaseExcellent3Listener) ExitConcatenation(ctx *ConcatenationContext)

ExitConcatenation is called when production concatenation is exited.

func (*BaseExcellent3Listener) ExitContextReference

func (s *BaseExcellent3Listener) ExitContextReference(ctx *ContextReferenceContext)

ExitContextReference is called when production contextReference is exited.

func (*BaseExcellent3Listener) ExitDotLookup

func (s *BaseExcellent3Listener) ExitDotLookup(ctx *DotLookupContext)

ExitDotLookup is called when production dotLookup is exited.

func (*BaseExcellent3Listener) ExitEquality

func (s *BaseExcellent3Listener) ExitEquality(ctx *EqualityContext)

ExitEquality is called when production equality is exited.

func (*BaseExcellent3Listener) ExitEveryRule

func (s *BaseExcellent3Listener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseExcellent3Listener) ExitExponent

func (s *BaseExcellent3Listener) ExitExponent(ctx *ExponentContext)

ExitExponent is called when production exponent is exited.

func (*BaseExcellent3Listener) ExitFalse

func (s *BaseExcellent3Listener) ExitFalse(ctx *FalseContext)

ExitFalse is called when production false is exited.

func (*BaseExcellent3Listener) ExitFunctionCall

func (s *BaseExcellent3Listener) ExitFunctionCall(ctx *FunctionCallContext)

ExitFunctionCall is called when production functionCall is exited.

func (*BaseExcellent3Listener) ExitFunctionParameters

func (s *BaseExcellent3Listener) ExitFunctionParameters(ctx *FunctionParametersContext)

ExitFunctionParameters is called when production functionParameters is exited.

func (*BaseExcellent3Listener) ExitMultiplicationOrDivision

func (s *BaseExcellent3Listener) ExitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext)

ExitMultiplicationOrDivision is called when production multiplicationOrDivision is exited.

func (*BaseExcellent3Listener) ExitNameList

func (s *BaseExcellent3Listener) ExitNameList(ctx *NameListContext)

ExitNameList is called when production nameList is exited.

func (*BaseExcellent3Listener) ExitNegation

func (s *BaseExcellent3Listener) ExitNegation(ctx *NegationContext)

ExitNegation is called when production negation is exited.

func (*BaseExcellent3Listener) ExitNull

func (s *BaseExcellent3Listener) ExitNull(ctx *NullContext)

ExitNull is called when production null is exited.

func (*BaseExcellent3Listener) ExitNumberLiteral

func (s *BaseExcellent3Listener) ExitNumberLiteral(ctx *NumberLiteralContext)

ExitNumberLiteral is called when production numberLiteral is exited.

func (*BaseExcellent3Listener) ExitParentheses

func (s *BaseExcellent3Listener) ExitParentheses(ctx *ParenthesesContext)

ExitParentheses is called when production parentheses is exited.

func (*BaseExcellent3Listener) ExitParse

func (s *BaseExcellent3Listener) ExitParse(ctx *ParseContext)

ExitParse is called when production parse is exited.

func (*BaseExcellent3Listener) ExitTextLiteral

func (s *BaseExcellent3Listener) ExitTextLiteral(ctx *TextLiteralContext)

ExitTextLiteral is called when production textLiteral is exited.

func (*BaseExcellent3Listener) ExitTrue

func (s *BaseExcellent3Listener) ExitTrue(ctx *TrueContext)

ExitTrue is called when production true is exited.

func (*BaseExcellent3Listener) VisitErrorNode

func (s *BaseExcellent3Listener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseExcellent3Listener) VisitTerminal

func (s *BaseExcellent3Listener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BaseExcellent3Visitor

type BaseExcellent3Visitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseExcellent3Visitor) VisitAdditionOrSubtraction

func (v *BaseExcellent3Visitor) VisitAdditionOrSubtraction(ctx *AdditionOrSubtractionContext) interface{}

func (*BaseExcellent3Visitor) VisitAnonFunction

func (v *BaseExcellent3Visitor) VisitAnonFunction(ctx *AnonFunctionContext) interface{}

func (*BaseExcellent3Visitor) VisitArrayLookup

func (v *BaseExcellent3Visitor) VisitArrayLookup(ctx *ArrayLookupContext) interface{}

func (*BaseExcellent3Visitor) VisitAtomReference

func (v *BaseExcellent3Visitor) VisitAtomReference(ctx *AtomReferenceContext) interface{}

func (*BaseExcellent3Visitor) VisitComparison

func (v *BaseExcellent3Visitor) VisitComparison(ctx *ComparisonContext) interface{}

func (*BaseExcellent3Visitor) VisitConcatenation

func (v *BaseExcellent3Visitor) VisitConcatenation(ctx *ConcatenationContext) interface{}

func (*BaseExcellent3Visitor) VisitContextReference

func (v *BaseExcellent3Visitor) VisitContextReference(ctx *ContextReferenceContext) interface{}

func (*BaseExcellent3Visitor) VisitDotLookup

func (v *BaseExcellent3Visitor) VisitDotLookup(ctx *DotLookupContext) interface{}

func (*BaseExcellent3Visitor) VisitEquality

func (v *BaseExcellent3Visitor) VisitEquality(ctx *EqualityContext) interface{}

func (*BaseExcellent3Visitor) VisitExponent

func (v *BaseExcellent3Visitor) VisitExponent(ctx *ExponentContext) interface{}

func (*BaseExcellent3Visitor) VisitFalse

func (v *BaseExcellent3Visitor) VisitFalse(ctx *FalseContext) interface{}

func (*BaseExcellent3Visitor) VisitFunctionCall

func (v *BaseExcellent3Visitor) VisitFunctionCall(ctx *FunctionCallContext) interface{}

func (*BaseExcellent3Visitor) VisitFunctionParameters

func (v *BaseExcellent3Visitor) VisitFunctionParameters(ctx *FunctionParametersContext) interface{}

func (*BaseExcellent3Visitor) VisitMultiplicationOrDivision

func (v *BaseExcellent3Visitor) VisitMultiplicationOrDivision(ctx *MultiplicationOrDivisionContext) interface{}

func (*BaseExcellent3Visitor) VisitNameList

func (v *BaseExcellent3Visitor) VisitNameList(ctx *NameListContext) interface{}

func (*BaseExcellent3Visitor) VisitNegation

func (v *BaseExcellent3Visitor) VisitNegation(ctx *NegationContext) interface{}

func (*BaseExcellent3Visitor) VisitNull

func (v *BaseExcellent3Visitor) VisitNull(ctx *NullContext) interface{}

func (*BaseExcellent3Visitor) VisitNumberLiteral

func (v *BaseExcellent3Visitor) VisitNumberLiteral(ctx *NumberLiteralContext) interface{}

func (*BaseExcellent3Visitor) VisitParentheses

func (v *BaseExcellent3Visitor) VisitParentheses(ctx *ParenthesesContext) interface{}

func (*BaseExcellent3Visitor) VisitParse

func (v *BaseExcellent3Visitor) VisitParse(ctx *ParseContext) interface{}

func (*BaseExcellent3Visitor) VisitTextLiteral

func (v *BaseExcellent3Visitor) VisitTextLiteral(ctx *TextLiteralContext) interface{}

func (*BaseExcellent3Visitor) VisitTrue

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

func (s *DotLookupContext) INTEGER() antlr.TerminalNode

func (*DotLookupContext) NAME

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

type Excellent3Lexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewExcellent3Lexer

func NewExcellent3Lexer(input antlr.CharStream) *Excellent3Lexer

NewExcellent3Lexer produces a new lexer instance for the optional input antlr.CharStream.

type Excellent3Listener

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

type Excellent3Parser struct {
	*antlr.BaseParser
}

func NewExcellent3Parser

func NewExcellent3Parser(input antlr.TokenStream) *Excellent3Parser

NewExcellent3Parser produces a new parser instance for the optional input antlr.TokenStream.

func (*Excellent3Parser) Atom

func (p *Excellent3Parser) Atom() (localctx IAtomContext)

func (*Excellent3Parser) Atom_Sempred

func (p *Excellent3Parser) Atom_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*Excellent3Parser) Expression

func (p *Excellent3Parser) Expression() (localctx IExpressionContext)

func (*Excellent3Parser) Expression_Sempred

func (p *Excellent3Parser) Expression_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*Excellent3Parser) NameList

func (p *Excellent3Parser) NameList() (localctx INameListContext)

func (*Excellent3Parser) Parameters

func (p *Excellent3Parser) Parameters() (localctx IParametersContext)

func (*Excellent3Parser) Parse

func (p *Excellent3Parser) Parse() (localctx IParseContext)

func (*Excellent3Parser) Sempred

func (p *Excellent3Parser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool

type Excellent3Visitor

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) CopyAll added in v0.212.0

func (s *ExpressionContext) CopyAll(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

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 (*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

type INameListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllNAME() []antlr.TerminalNode
	NAME(i int) antlr.TerminalNode
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// 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

	// Getter signatures
	Expression() IExpressionContext
	EOF() antlr.TerminalNode

	// 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 (*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 (*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

type NameListContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNameListContext

func NewEmptyNameListContext() *NameListContext

func NewNameListContext

func NewNameListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameListContext

func (*NameListContext) Accept

func (s *NameListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NameListContext) AllCOMMA

func (s *NameListContext) AllCOMMA() []antlr.TerminalNode

func (*NameListContext) AllNAME

func (s *NameListContext) AllNAME() []antlr.TerminalNode

func (*NameListContext) COMMA

func (s *NameListContext) COMMA(i int) antlr.TerminalNode

func (*NameListContext) EnterRule

func (s *NameListContext) EnterRule(listener antlr.ParseTreeListener)

func (*NameListContext) ExitRule

func (s *NameListContext) ExitRule(listener antlr.ParseTreeListener)

func (*NameListContext) GetParser

func (s *NameListContext) GetParser() antlr.Parser

func (*NameListContext) GetRuleContext

func (s *NameListContext) GetRuleContext() antlr.RuleContext

func (*NameListContext) IsNameListContext

func (*NameListContext) IsNameListContext()

func (*NameListContext) NAME

func (s *NameListContext) NAME(i int) antlr.TerminalNode

func (*NameListContext) ToStringTree

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

type NullContext struct {
	ExpressionContext
}

func NewNullContext

func NewNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NullContext

func (*NullContext) Accept

func (s *NullContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NullContext) EnterRule

func (s *NullContext) EnterRule(listener antlr.ParseTreeListener)

func (*NullContext) ExitRule

func (s *NullContext) ExitRule(listener antlr.ParseTreeListener)

func (*NullContext) GetRuleContext

func (s *NullContext) GetRuleContext() antlr.RuleContext

func (*NullContext) NULL

func (s *NullContext) NULL() antlr.TerminalNode

type NumberLiteralContext

type NumberLiteralContext struct {
	ExpressionContext
}

func NewNumberLiteralContext

func NewNumberLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NumberLiteralContext

func (*NumberLiteralContext) Accept

func (s *NumberLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NumberLiteralContext) DECIMAL

func (s *NumberLiteralContext) DECIMAL() antlr.TerminalNode

func (*NumberLiteralContext) EnterRule

func (s *NumberLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*NumberLiteralContext) ExitRule

func (s *NumberLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*NumberLiteralContext) GetRuleContext

func (s *NumberLiteralContext) GetRuleContext() antlr.RuleContext

func (*NumberLiteralContext) INTEGER

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) CopyAll added in v0.212.0

func (s *ParametersContext) CopyAll(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

type TextLiteralContext struct {
	ExpressionContext
}

func NewTextLiteralContext

func NewTextLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TextLiteralContext

func (*TextLiteralContext) Accept

func (s *TextLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TextLiteralContext) EnterRule

func (s *TextLiteralContext) EnterRule(listener antlr.ParseTreeListener)

func (*TextLiteralContext) ExitRule

func (s *TextLiteralContext) ExitRule(listener antlr.ParseTreeListener)

func (*TextLiteralContext) GetRuleContext

func (s *TextLiteralContext) GetRuleContext() antlr.RuleContext

func (*TextLiteralContext) TEXT

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL