ast

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TExprLexerT__0       = 1
	TExprLexerT__1       = 2
	TExprLexerT__2       = 3
	TExprLexerInteger    = 4
	TExprLexerFloat      = 5
	TExprLexerBoolean    = 6
	TExprLexerVarchar    = 7
	TExprLexerRegex      = 8
	TExprLexerAND        = 9
	TExprLexerOR         = 10
	TExprLexerNOT        = 11
	TExprLexerIS         = 12
	TExprLexerIN         = 13
	TExprLexerTRUE       = 14
	TExprLexerFALSE      = 15
	TExprLexerGT         = 16
	TExprLexerGE         = 17
	TExprLexerLT         = 18
	TExprLexerLE         = 19
	TExprLexerEQ         = 20
	TExprLexerNE         = 21
	TExprLexerMATCH      = 22
	TExprLexerLPAREN     = 23
	TExprLexerRPAREN     = 24
	TExprLexerINT        = 25
	TExprLexerFLOAT      = 26
	TExprLexerIDENTIFIER = 27
	TExprLexerVARIABLE   = 28
	TExprLexerCOS        = 29
	TExprLexerSIN        = 30
	TExprLexerTAN        = 31
	TExprLexerACOS       = 32
	TExprLexerASIN       = 33
	TExprLexerATAN       = 34
	TExprLexerLN         = 35
	TExprLexerLOG        = 36
	TExprLexerPLUS       = 37
	TExprLexerMINUS      = 38
	TExprLexerMUL        = 39
	TExprLexerDIV        = 40
	TExprLexerMOD        = 41
	TExprLexerPOINT      = 42
	TExprLexerE          = 43
	TExprLexerPOW        = 44
	TExprLexerNL         = 45
	TExprLexerDIGIT      = 46
	TExprLexerWS         = 47
)

TExprLexer tokens.

View Source
const (
	TExprParserEOF        = antlr.TokenEOF
	TExprParserT__0       = 1
	TExprParserT__1       = 2
	TExprParserT__2       = 3
	TExprParserInteger    = 4
	TExprParserFloat      = 5
	TExprParserBoolean    = 6
	TExprParserVarchar    = 7
	TExprParserRegex      = 8
	TExprParserAND        = 9
	TExprParserOR         = 10
	TExprParserNOT        = 11
	TExprParserIS         = 12
	TExprParserIN         = 13
	TExprParserTRUE       = 14
	TExprParserFALSE      = 15
	TExprParserGT         = 16
	TExprParserGE         = 17
	TExprParserLT         = 18
	TExprParserLE         = 19
	TExprParserEQ         = 20
	TExprParserNE         = 21
	TExprParserMATCH      = 22
	TExprParserLPAREN     = 23
	TExprParserRPAREN     = 24
	TExprParserINT        = 25
	TExprParserFLOAT      = 26
	TExprParserIDENTIFIER = 27
	TExprParserVARIABLE   = 28
	TExprParserCOS        = 29
	TExprParserSIN        = 30
	TExprParserTAN        = 31
	TExprParserACOS       = 32
	TExprParserASIN       = 33
	TExprParserATAN       = 34
	TExprParserLN         = 35
	TExprParserLOG        = 36
	TExprParserPLUS       = 37
	TExprParserMINUS      = 38
	TExprParserMUL        = 39
	TExprParserDIV        = 40
	TExprParserMOD        = 41
	TExprParserPOINT      = 42
	TExprParserE          = 43
	TExprParserPOW        = 44
	TExprParserNL         = 45
	TExprParserDIGIT      = 46
	TExprParserWS         = 47
)

TExprParser tokens.

View Source
const (
	TExprParserRULE_parse       = 0
	TExprParserRULE_expression  = 1
	TExprParserRULE_variable    = 2
	TExprParserRULE_comparator  = 3
	TExprParserRULE_binary      = 4
	TExprParserRULE_boolean     = 5
	TExprParserRULE_literal     = 6
	TExprParserRULE_array       = 7
	TExprParserRULE_calc        = 8
	TExprParserRULE_plus        = 9
	TExprParserRULE_multiplying = 10
	TExprParserRULE_pow         = 11
	TExprParserRULE_atom        = 12
	TExprParserRULE_scientific  = 13
	TExprParserRULE_function    = 14
	TExprParserRULE_funcname    = 15
	TExprParserRULE_number      = 16
	TExprParserRULE_regex       = 17
	TExprParserRULE_kind        = 18
	TExprParserRULE_strings     = 19
	TExprParserRULE_integers    = 20
	TExprParserRULE_floats      = 21
	TExprParserRULE_booleans    = 22
)

TExprParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayContext

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

func NewArrayContext

func NewArrayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayContext

func NewEmptyArrayContext

func NewEmptyArrayContext() *ArrayContext

func (*ArrayContext) Accept

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

func (*ArrayContext) Booleans

func (s *ArrayContext) Booleans() IBooleansContext

func (*ArrayContext) Floats

func (s *ArrayContext) Floats() IFloatsContext

func (*ArrayContext) GetParser

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

func (*ArrayContext) GetRuleContext

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

func (*ArrayContext) Integers

func (s *ArrayContext) Integers() IIntegersContext

func (*ArrayContext) IsArrayContext

func (*ArrayContext) IsArrayContext()

func (*ArrayContext) Strings

func (s *ArrayContext) Strings() IStringsContext

func (*ArrayContext) ToStringTree

func (s *ArrayContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

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) Accept

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

func (*AtomContext) Function

func (s *AtomContext) Function() IFunctionContext

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) LPAREN

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

func (*AtomContext) Plus

func (s *AtomContext) Plus() IPlusContext

func (*AtomContext) RPAREN

func (s *AtomContext) RPAREN() antlr.TerminalNode

func (*AtomContext) Scientific

func (s *AtomContext) Scientific() IScientificContext

func (*AtomContext) ToStringTree

func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*AtomContext) Variable

func (s *AtomContext) Variable() IVariableContext

type BaseTExprVisitor

type BaseTExprVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseTExprVisitor) VisitArray

func (v *BaseTExprVisitor) VisitArray(ctx *ArrayContext) interface{}

func (*BaseTExprVisitor) VisitAtom

func (v *BaseTExprVisitor) VisitAtom(ctx *AtomContext) interface{}

func (*BaseTExprVisitor) VisitBinary

func (v *BaseTExprVisitor) VisitBinary(ctx *BinaryContext) interface{}

func (*BaseTExprVisitor) VisitBinaryExpression

func (v *BaseTExprVisitor) VisitBinaryExpression(ctx *BinaryExpressionContext) interface{}

func (*BaseTExprVisitor) VisitBoolean

func (v *BaseTExprVisitor) VisitBoolean(ctx *BooleanContext) interface{}

func (*BaseTExprVisitor) VisitBooleans

func (v *BaseTExprVisitor) VisitBooleans(ctx *BooleansContext) interface{}

func (*BaseTExprVisitor) VisitCalc

func (v *BaseTExprVisitor) VisitCalc(ctx *CalcContext) interface{}

func (*BaseTExprVisitor) VisitCalcExpression

func (v *BaseTExprVisitor) VisitCalcExpression(ctx *CalcExpressionContext) interface{}

func (*BaseTExprVisitor) VisitComparator

func (v *BaseTExprVisitor) VisitComparator(ctx *ComparatorContext) interface{}

func (*BaseTExprVisitor) VisitComparatorExpression

func (v *BaseTExprVisitor) VisitComparatorExpression(ctx *ComparatorExpressionContext) interface{}

func (*BaseTExprVisitor) VisitFloats

func (v *BaseTExprVisitor) VisitFloats(ctx *FloatsContext) interface{}

func (*BaseTExprVisitor) VisitFuncname

func (v *BaseTExprVisitor) VisitFuncname(ctx *FuncnameContext) interface{}

func (*BaseTExprVisitor) VisitFunction

func (v *BaseTExprVisitor) VisitFunction(ctx *FunctionContext) interface{}

func (*BaseTExprVisitor) VisitInExpression

func (v *BaseTExprVisitor) VisitInExpression(ctx *InExpressionContext) interface{}

func (*BaseTExprVisitor) VisitIntegers

func (v *BaseTExprVisitor) VisitIntegers(ctx *IntegersContext) interface{}

func (*BaseTExprVisitor) VisitIsNotTypeExpression

func (v *BaseTExprVisitor) VisitIsNotTypeExpression(ctx *IsNotTypeExpressionContext) interface{}

func (*BaseTExprVisitor) VisitIsTypeExpression

func (v *BaseTExprVisitor) VisitIsTypeExpression(ctx *IsTypeExpressionContext) interface{}

func (*BaseTExprVisitor) VisitKind

func (v *BaseTExprVisitor) VisitKind(ctx *KindContext) interface{}

func (*BaseTExprVisitor) VisitLiteral

func (v *BaseTExprVisitor) VisitLiteral(ctx *LiteralContext) interface{}

func (*BaseTExprVisitor) VisitMatchExpression

func (v *BaseTExprVisitor) VisitMatchExpression(ctx *MatchExpressionContext) interface{}

func (*BaseTExprVisitor) VisitMultiplying

func (v *BaseTExprVisitor) VisitMultiplying(ctx *MultiplyingContext) interface{}

func (*BaseTExprVisitor) VisitNotExpression

func (v *BaseTExprVisitor) VisitNotExpression(ctx *NotExpressionContext) interface{}

func (*BaseTExprVisitor) VisitNotInExpression

func (v *BaseTExprVisitor) VisitNotInExpression(ctx *NotInExpressionContext) interface{}

func (*BaseTExprVisitor) VisitNumber

func (v *BaseTExprVisitor) VisitNumber(ctx *NumberContext) interface{}

func (*BaseTExprVisitor) VisitParenExpression

func (v *BaseTExprVisitor) VisitParenExpression(ctx *ParenExpressionContext) interface{}

func (*BaseTExprVisitor) VisitParse

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

func (*BaseTExprVisitor) VisitPlus

func (v *BaseTExprVisitor) VisitPlus(ctx *PlusContext) interface{}

func (*BaseTExprVisitor) VisitPow

func (v *BaseTExprVisitor) VisitPow(ctx *PowContext) interface{}

func (*BaseTExprVisitor) VisitRegex

func (v *BaseTExprVisitor) VisitRegex(ctx *RegexContext) interface{}

func (*BaseTExprVisitor) VisitScientific

func (v *BaseTExprVisitor) VisitScientific(ctx *ScientificContext) interface{}

func (*BaseTExprVisitor) VisitStrings

func (v *BaseTExprVisitor) VisitStrings(ctx *StringsContext) interface{}

func (*BaseTExprVisitor) VisitVariable

func (v *BaseTExprVisitor) VisitVariable(ctx *VariableContext) interface{}

func (*BaseTExprVisitor) VisitVariableExpression

func (v *BaseTExprVisitor) VisitVariableExpression(ctx *VariableExpressionContext) interface{}

type BinaryContext

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

func NewBinaryContext

func NewBinaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BinaryContext

func NewEmptyBinaryContext

func NewEmptyBinaryContext() *BinaryContext

func (*BinaryContext) AND

func (s *BinaryContext) AND() antlr.TerminalNode

func (*BinaryContext) Accept

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

func (*BinaryContext) GetParser

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

func (*BinaryContext) GetRuleContext

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

func (*BinaryContext) IsBinaryContext

func (*BinaryContext) IsBinaryContext()

func (*BinaryContext) OR

func (*BinaryContext) ToStringTree

func (s *BinaryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BinaryExpressionContext

type BinaryExpressionContext struct {
	*ExpressionContext
}

func NewBinaryExpressionContext

func NewBinaryExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryExpressionContext

func (*BinaryExpressionContext) Accept

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

func (*BinaryExpressionContext) AllExpression

func (s *BinaryExpressionContext) AllExpression() []IExpressionContext

func (*BinaryExpressionContext) Binary

func (*BinaryExpressionContext) Expression

func (*BinaryExpressionContext) GetRuleContext

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

type BooleanContext

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

func NewBooleanContext

func NewBooleanContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleanContext

func NewEmptyBooleanContext

func NewEmptyBooleanContext() *BooleanContext

func (*BooleanContext) Accept

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

func (*BooleanContext) FALSE

func (s *BooleanContext) FALSE() antlr.TerminalNode

func (*BooleanContext) GetParser

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

func (*BooleanContext) GetRuleContext

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

func (*BooleanContext) IsBooleanContext

func (*BooleanContext) IsBooleanContext()

func (*BooleanContext) TRUE

func (s *BooleanContext) TRUE() antlr.TerminalNode

func (*BooleanContext) ToStringTree

func (s *BooleanContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type BooleansContext

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

func NewBooleansContext

func NewBooleansContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BooleansContext

func NewEmptyBooleansContext

func NewEmptyBooleansContext() *BooleansContext

func (*BooleansContext) Accept

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

func (*BooleansContext) AllBoolean

func (s *BooleansContext) AllBoolean() []antlr.TerminalNode

func (*BooleansContext) Boolean

func (s *BooleansContext) Boolean(i int) antlr.TerminalNode

func (*BooleansContext) GetParser

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

func (*BooleansContext) GetRuleContext

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

func (*BooleansContext) IsBooleansContext

func (*BooleansContext) IsBooleansContext()

func (*BooleansContext) ToStringTree

func (s *BooleansContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CalcContext

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

func NewCalcContext

func NewCalcContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CalcContext

func NewEmptyCalcContext

func NewEmptyCalcContext() *CalcContext

func (*CalcContext) Accept

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

func (*CalcContext) GetParser

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

func (*CalcContext) GetRuleContext

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

func (*CalcContext) IsCalcContext

func (*CalcContext) IsCalcContext()

func (*CalcContext) Plus

func (s *CalcContext) Plus() IPlusContext

func (*CalcContext) ToStringTree

func (s *CalcContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CalcExpressionContext

type CalcExpressionContext struct {
	*ExpressionContext
}

func NewCalcExpressionContext

func NewCalcExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CalcExpressionContext

func (*CalcExpressionContext) Accept

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

func (*CalcExpressionContext) Calc

func (*CalcExpressionContext) GetRuleContext

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

type ComparatorContext

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

func NewComparatorContext

func NewComparatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparatorContext

func NewEmptyComparatorContext

func NewEmptyComparatorContext() *ComparatorContext

func (*ComparatorContext) Accept

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

func (*ComparatorContext) EQ

func (*ComparatorContext) GE

func (*ComparatorContext) GT

func (*ComparatorContext) GetParser

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

func (*ComparatorContext) GetRuleContext

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

func (*ComparatorContext) IsComparatorContext

func (*ComparatorContext) IsComparatorContext()

func (*ComparatorContext) LE

func (*ComparatorContext) LT

func (*ComparatorContext) NE

func (*ComparatorContext) ToStringTree

func (s *ComparatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ComparatorExpressionContext

type ComparatorExpressionContext struct {
	*ExpressionContext
}

func NewComparatorExpressionContext

func NewComparatorExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ComparatorExpressionContext

func (*ComparatorExpressionContext) Accept

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

func (*ComparatorExpressionContext) AllExpression

func (s *ComparatorExpressionContext) AllExpression() []IExpressionContext

func (*ComparatorExpressionContext) Comparator

func (*ComparatorExpressionContext) Expression

func (*ComparatorExpressionContext) GetRuleContext

func (s *ComparatorExpressionContext) 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 FloatsContext

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

func NewEmptyFloatsContext

func NewEmptyFloatsContext() *FloatsContext

func NewFloatsContext

func NewFloatsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FloatsContext

func (*FloatsContext) Accept

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

func (*FloatsContext) AllFloat

func (s *FloatsContext) AllFloat() []antlr.TerminalNode

func (*FloatsContext) Float

func (s *FloatsContext) Float(i int) antlr.TerminalNode

func (*FloatsContext) GetParser

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

func (*FloatsContext) GetRuleContext

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

func (*FloatsContext) IsFloatsContext

func (*FloatsContext) IsFloatsContext()

func (*FloatsContext) ToStringTree

func (s *FloatsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FuncnameContext

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

func NewEmptyFuncnameContext

func NewEmptyFuncnameContext() *FuncnameContext

func NewFuncnameContext

func NewFuncnameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncnameContext

func (*FuncnameContext) ACOS

func (*FuncnameContext) ASIN

func (*FuncnameContext) ATAN

func (*FuncnameContext) Accept

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

func (*FuncnameContext) COS

func (*FuncnameContext) GetParser

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

func (*FuncnameContext) GetRuleContext

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

func (*FuncnameContext) IsFuncnameContext

func (*FuncnameContext) IsFuncnameContext()

func (*FuncnameContext) LN

func (*FuncnameContext) LOG

func (*FuncnameContext) SIN

func (*FuncnameContext) TAN

func (*FuncnameContext) ToStringTree

func (s *FuncnameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FunctionContext

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

func NewEmptyFunctionContext

func NewEmptyFunctionContext() *FunctionContext

func NewFunctionContext

func NewFunctionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionContext

func (*FunctionContext) Accept

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

func (*FunctionContext) Expression

func (s *FunctionContext) Expression() IExpressionContext

func (*FunctionContext) Funcname

func (s *FunctionContext) Funcname() IFuncnameContext

func (*FunctionContext) GetParser

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

func (*FunctionContext) GetRuleContext

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

func (*FunctionContext) IsFunctionContext

func (*FunctionContext) IsFunctionContext()

func (*FunctionContext) LPAREN

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

func (*FunctionContext) RPAREN

func (s *FunctionContext) RPAREN() antlr.TerminalNode

func (*FunctionContext) ToStringTree

func (s *FunctionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IArrayContext

type IArrayContext interface {
	antlr.ParserRuleContext

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

	// IsArrayContext differentiates from other interfaces.
	IsArrayContext()
}

IArrayContext is an interface to support dynamic dispatch.

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 IBinaryContext

type IBinaryContext interface {
	antlr.ParserRuleContext

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

	// IsBinaryContext differentiates from other interfaces.
	IsBinaryContext()
}

IBinaryContext is an interface to support dynamic dispatch.

type IBooleanContext

type IBooleanContext interface {
	antlr.ParserRuleContext

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

	// IsBooleanContext differentiates from other interfaces.
	IsBooleanContext()
}

IBooleanContext is an interface to support dynamic dispatch.

type IBooleansContext

type IBooleansContext interface {
	antlr.ParserRuleContext

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

	// IsBooleansContext differentiates from other interfaces.
	IsBooleansContext()
}

IBooleansContext is an interface to support dynamic dispatch.

type ICalcContext

type ICalcContext interface {
	antlr.ParserRuleContext

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

	// IsCalcContext differentiates from other interfaces.
	IsCalcContext()
}

ICalcContext is an interface to support dynamic dispatch.

type IComparatorContext

type IComparatorContext interface {
	antlr.ParserRuleContext

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

	// IsComparatorContext differentiates from other interfaces.
	IsComparatorContext()
}

IComparatorContext 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 IFloatsContext

type IFloatsContext interface {
	antlr.ParserRuleContext

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

	// IsFloatsContext differentiates from other interfaces.
	IsFloatsContext()
}

IFloatsContext is an interface to support dynamic dispatch.

type IFuncnameContext

type IFuncnameContext interface {
	antlr.ParserRuleContext

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

	// IsFuncnameContext differentiates from other interfaces.
	IsFuncnameContext()
}

IFuncnameContext is an interface to support dynamic dispatch.

type IFunctionContext

type IFunctionContext interface {
	antlr.ParserRuleContext

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

	// IsFunctionContext differentiates from other interfaces.
	IsFunctionContext()
}

IFunctionContext is an interface to support dynamic dispatch.

type IIntegersContext

type IIntegersContext interface {
	antlr.ParserRuleContext

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

	// IsIntegersContext differentiates from other interfaces.
	IsIntegersContext()
}

IIntegersContext is an interface to support dynamic dispatch.

type IKindContext

type IKindContext interface {
	antlr.ParserRuleContext

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

	// IsKindContext differentiates from other interfaces.
	IsKindContext()
}

IKindContext is an interface to support dynamic dispatch.

type ILiteralContext

type ILiteralContext interface {
	antlr.ParserRuleContext

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

	// IsLiteralContext differentiates from other interfaces.
	IsLiteralContext()
}

ILiteralContext is an interface to support dynamic dispatch.

type IMultiplyingContext

type IMultiplyingContext interface {
	antlr.ParserRuleContext

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

	// IsMultiplyingContext differentiates from other interfaces.
	IsMultiplyingContext()
}

IMultiplyingContext is an interface to support dynamic dispatch.

type INumberContext

type INumberContext interface {
	antlr.ParserRuleContext

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

	// IsNumberContext differentiates from other interfaces.
	IsNumberContext()
}

INumberContext 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 IPlusContext

type IPlusContext interface {
	antlr.ParserRuleContext

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

	// IsPlusContext differentiates from other interfaces.
	IsPlusContext()
}

IPlusContext is an interface to support dynamic dispatch.

type IPowContext

type IPowContext interface {
	antlr.ParserRuleContext

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

	// IsPowContext differentiates from other interfaces.
	IsPowContext()
}

IPowContext is an interface to support dynamic dispatch.

type IRegexContext

type IRegexContext interface {
	antlr.ParserRuleContext

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

	// IsRegexContext differentiates from other interfaces.
	IsRegexContext()
}

IRegexContext is an interface to support dynamic dispatch.

type IScientificContext

type IScientificContext interface {
	antlr.ParserRuleContext

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

	// IsScientificContext differentiates from other interfaces.
	IsScientificContext()
}

IScientificContext is an interface to support dynamic dispatch.

type IStringsContext

type IStringsContext interface {
	antlr.ParserRuleContext

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

	// IsStringsContext differentiates from other interfaces.
	IsStringsContext()
}

IStringsContext is an interface to support dynamic dispatch.

type IVariableContext

type IVariableContext interface {
	antlr.ParserRuleContext

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

	// IsVariableContext differentiates from other interfaces.
	IsVariableContext()
}

IVariableContext is an interface to support dynamic dispatch.

type InExpressionContext

type InExpressionContext struct {
	*ExpressionContext
}

func NewInExpressionContext

func NewInExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InExpressionContext

func (*InExpressionContext) Accept

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

func (*InExpressionContext) Array

func (*InExpressionContext) Expression

func (s *InExpressionContext) Expression() IExpressionContext

func (*InExpressionContext) GetRuleContext

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

func (*InExpressionContext) IN

type IntegersContext

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

func NewEmptyIntegersContext

func NewEmptyIntegersContext() *IntegersContext

func NewIntegersContext

func NewIntegersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntegersContext

func (*IntegersContext) Accept

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

func (*IntegersContext) AllInteger

func (s *IntegersContext) AllInteger() []antlr.TerminalNode

func (*IntegersContext) GetParser

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

func (*IntegersContext) GetRuleContext

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

func (*IntegersContext) Integer

func (s *IntegersContext) Integer(i int) antlr.TerminalNode

func (*IntegersContext) IsIntegersContext

func (*IntegersContext) IsIntegersContext()

func (*IntegersContext) ToStringTree

func (s *IntegersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IsNotTypeExpressionContext

type IsNotTypeExpressionContext struct {
	*ExpressionContext
}

func NewIsNotTypeExpressionContext

func NewIsNotTypeExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IsNotTypeExpressionContext

func (*IsNotTypeExpressionContext) Accept

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

func (*IsNotTypeExpressionContext) Expression

func (*IsNotTypeExpressionContext) GetRuleContext

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

func (*IsNotTypeExpressionContext) IS

func (*IsNotTypeExpressionContext) Kind

func (*IsNotTypeExpressionContext) NOT

type IsTypeExpressionContext

type IsTypeExpressionContext struct {
	*ExpressionContext
}

func NewIsTypeExpressionContext

func NewIsTypeExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IsTypeExpressionContext

func (*IsTypeExpressionContext) Accept

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

func (*IsTypeExpressionContext) Expression

func (*IsTypeExpressionContext) GetRuleContext

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

func (*IsTypeExpressionContext) IS

func (*IsTypeExpressionContext) Kind

type KindContext

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

func NewEmptyKindContext

func NewEmptyKindContext() *KindContext

func NewKindContext

func NewKindContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KindContext

func (*KindContext) Accept

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

func (*KindContext) GetParser

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

func (*KindContext) GetRuleContext

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

func (*KindContext) IDENTIFIER

func (s *KindContext) IDENTIFIER() antlr.TerminalNode

func (*KindContext) IsKindContext

func (*KindContext) IsKindContext()

func (*KindContext) ToStringTree

func (s *KindContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LiteralContext

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

func NewEmptyLiteralContext

func NewEmptyLiteralContext() *LiteralContext

func NewLiteralContext

func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext

func (*LiteralContext) Accept

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

func (*LiteralContext) Boolean

func (s *LiteralContext) Boolean() antlr.TerminalNode

func (*LiteralContext) Float

func (s *LiteralContext) Float() antlr.TerminalNode

func (*LiteralContext) GetParser

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

func (*LiteralContext) GetRuleContext

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

func (*LiteralContext) Integer

func (s *LiteralContext) Integer() antlr.TerminalNode

func (*LiteralContext) IsLiteralContext

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) ToStringTree

func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*LiteralContext) Varchar

func (s *LiteralContext) Varchar() antlr.TerminalNode

type MatchExpressionContext

type MatchExpressionContext struct {
	*ExpressionContext
}

func NewMatchExpressionContext

func NewMatchExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MatchExpressionContext

func (*MatchExpressionContext) Accept

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

func (*MatchExpressionContext) Expression

func (*MatchExpressionContext) GetRuleContext

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

func (*MatchExpressionContext) MATCH

func (*MatchExpressionContext) Regex

type MultiplyingContext

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

func NewEmptyMultiplyingContext

func NewEmptyMultiplyingContext() *MultiplyingContext

func NewMultiplyingContext

func NewMultiplyingContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MultiplyingContext

func (*MultiplyingContext) Accept

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

func (*MultiplyingContext) DIV

func (*MultiplyingContext) GetParser

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

func (*MultiplyingContext) GetRuleContext

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

func (*MultiplyingContext) IsMultiplyingContext

func (*MultiplyingContext) IsMultiplyingContext()

func (*MultiplyingContext) MOD

func (*MultiplyingContext) MUL

func (*MultiplyingContext) Multiplying

func (s *MultiplyingContext) Multiplying() IMultiplyingContext

func (*MultiplyingContext) Pow

func (*MultiplyingContext) ToStringTree

func (s *MultiplyingContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NotExpressionContext

type NotExpressionContext struct {
	*ExpressionContext
}

func NewNotExpressionContext

func NewNotExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NotExpressionContext

func (*NotExpressionContext) Accept

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

func (*NotExpressionContext) Expression

func (s *NotExpressionContext) Expression() IExpressionContext

func (*NotExpressionContext) GetRuleContext

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

func (*NotExpressionContext) NOT

type NotInExpressionContext

type NotInExpressionContext struct {
	*ExpressionContext
}

func NewNotInExpressionContext

func NewNotInExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NotInExpressionContext

func (*NotInExpressionContext) Accept

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

func (*NotInExpressionContext) Array

func (*NotInExpressionContext) Expression

func (*NotInExpressionContext) GetRuleContext

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

func (*NotInExpressionContext) IN

func (*NotInExpressionContext) NOT

type NumberContext

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

func NewEmptyNumberContext

func NewEmptyNumberContext() *NumberContext

func NewNumberContext

func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext

func (*NumberContext) Accept

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

func (*NumberContext) AllDIGIT

func (s *NumberContext) AllDIGIT() []antlr.TerminalNode

func (*NumberContext) DIGIT

func (s *NumberContext) DIGIT(i int) antlr.TerminalNode

func (*NumberContext) GetParser

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

func (*NumberContext) GetRuleContext

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

func (*NumberContext) IsNumberContext

func (*NumberContext) IsNumberContext()

func (*NumberContext) MINUS

func (s *NumberContext) MINUS() antlr.TerminalNode

func (*NumberContext) POINT

func (s *NumberContext) POINT() antlr.TerminalNode

func (*NumberContext) ToStringTree

func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ParenExpressionContext

type ParenExpressionContext struct {
	*ExpressionContext
}

func NewParenExpressionContext

func NewParenExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenExpressionContext

func (*ParenExpressionContext) Accept

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

func (*ParenExpressionContext) Expression

func (*ParenExpressionContext) GetRuleContext

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

func (*ParenExpressionContext) LPAREN

func (*ParenExpressionContext) RPAREN

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) 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 PlusContext

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

func NewEmptyPlusContext

func NewEmptyPlusContext() *PlusContext

func NewPlusContext

func NewPlusContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PlusContext

func (*PlusContext) Accept

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

func (*PlusContext) GetParser

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

func (*PlusContext) GetRuleContext

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

func (*PlusContext) IsPlusContext

func (*PlusContext) IsPlusContext()

func (*PlusContext) MINUS

func (s *PlusContext) MINUS() antlr.TerminalNode

func (*PlusContext) Multiplying

func (s *PlusContext) Multiplying() IMultiplyingContext

func (*PlusContext) PLUS

func (s *PlusContext) PLUS() antlr.TerminalNode

func (*PlusContext) Plus

func (s *PlusContext) Plus() IPlusContext

func (*PlusContext) ToStringTree

func (s *PlusContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PowContext

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

func NewEmptyPowContext

func NewEmptyPowContext() *PowContext

func NewPowContext

func NewPowContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PowContext

func (*PowContext) Accept

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

func (*PowContext) AllAtom

func (s *PowContext) AllAtom() []IAtomContext

func (*PowContext) Atom

func (s *PowContext) Atom(i int) IAtomContext

func (*PowContext) GetParser

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

func (*PowContext) GetRuleContext

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

func (*PowContext) IsPowContext

func (*PowContext) IsPowContext()

func (*PowContext) POW

func (s *PowContext) POW() antlr.TerminalNode

func (*PowContext) ToStringTree

func (s *PowContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type RegexContext

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

func NewEmptyRegexContext

func NewEmptyRegexContext() *RegexContext

func NewRegexContext

func NewRegexContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RegexContext

func (*RegexContext) Accept

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

func (*RegexContext) GetParser

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

func (*RegexContext) GetRuleContext

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

func (*RegexContext) IsRegexContext

func (*RegexContext) IsRegexContext()

func (*RegexContext) Regex

func (s *RegexContext) Regex() antlr.TerminalNode

func (*RegexContext) ToStringTree

func (s *RegexContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ScientificContext

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

func NewEmptyScientificContext

func NewEmptyScientificContext() *ScientificContext

func NewScientificContext

func NewScientificContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScientificContext

func (*ScientificContext) Accept

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

func (*ScientificContext) AllNumber

func (s *ScientificContext) AllNumber() []INumberContext

func (*ScientificContext) E

func (*ScientificContext) GetParser

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

func (*ScientificContext) GetRuleContext

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

func (*ScientificContext) IsScientificContext

func (*ScientificContext) IsScientificContext()

func (*ScientificContext) Number

func (s *ScientificContext) Number(i int) INumberContext

func (*ScientificContext) ToStringTree

func (s *ScientificContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StringsContext

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

func NewEmptyStringsContext

func NewEmptyStringsContext() *StringsContext

func NewStringsContext

func NewStringsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringsContext

func (*StringsContext) Accept

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

func (*StringsContext) AllVarchar

func (s *StringsContext) AllVarchar() []antlr.TerminalNode

func (*StringsContext) GetParser

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

func (*StringsContext) GetRuleContext

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

func (*StringsContext) IsStringsContext

func (*StringsContext) IsStringsContext()

func (*StringsContext) ToStringTree

func (s *StringsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*StringsContext) Varchar

func (s *StringsContext) Varchar(i int) antlr.TerminalNode

type TExprLexer

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

func NewTExprLexer

func NewTExprLexer(input antlr.CharStream) *TExprLexer

type TExprParser

type TExprParser struct {
	*antlr.BaseParser
}

func NewTExprParser

func NewTExprParser(input antlr.TokenStream) *TExprParser

func (*TExprParser) Array

func (p *TExprParser) Array() (localctx IArrayContext)

func (*TExprParser) Atom

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

func (*TExprParser) Binary

func (p *TExprParser) Binary() (localctx IBinaryContext)

func (*TExprParser) Boolean

func (p *TExprParser) Boolean() (localctx IBooleanContext)

func (*TExprParser) Booleans

func (p *TExprParser) Booleans() (localctx IBooleansContext)

func (*TExprParser) Calc

func (p *TExprParser) Calc() (localctx ICalcContext)

func (*TExprParser) Comparator

func (p *TExprParser) Comparator() (localctx IComparatorContext)

func (*TExprParser) Expression

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

func (*TExprParser) Expression_Sempred

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

func (*TExprParser) Floats

func (p *TExprParser) Floats() (localctx IFloatsContext)

func (*TExprParser) Funcname

func (p *TExprParser) Funcname() (localctx IFuncnameContext)

func (*TExprParser) Function

func (p *TExprParser) Function() (localctx IFunctionContext)

func (*TExprParser) Integers

func (p *TExprParser) Integers() (localctx IIntegersContext)

func (*TExprParser) Kind

func (p *TExprParser) Kind() (localctx IKindContext)

func (*TExprParser) Literal

func (p *TExprParser) Literal() (localctx ILiteralContext)

func (*TExprParser) Multiplying

func (p *TExprParser) Multiplying() (localctx IMultiplyingContext)

func (*TExprParser) Multiplying_Sempred

func (p *TExprParser) Multiplying_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*TExprParser) Number

func (p *TExprParser) Number() (localctx INumberContext)

func (*TExprParser) Parse

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

func (*TExprParser) Plus

func (p *TExprParser) Plus() (localctx IPlusContext)

func (*TExprParser) Plus_Sempred

func (p *TExprParser) Plus_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*TExprParser) Pow

func (p *TExprParser) Pow() (localctx IPowContext)

func (*TExprParser) Regex

func (p *TExprParser) Regex() (localctx IRegexContext)

func (*TExprParser) Scientific

func (p *TExprParser) Scientific() (localctx IScientificContext)

func (*TExprParser) Sempred

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

func (*TExprParser) Strings

func (p *TExprParser) Strings() (localctx IStringsContext)

func (*TExprParser) Variable

func (p *TExprParser) Variable() (localctx IVariableContext)

type TExprVisitor

type TExprVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by TExprParser#parse.
	VisitParse(ctx *ParseContext) interface{}

	// Visit a parse tree produced by TExprParser#binaryExpression.
	VisitBinaryExpression(ctx *BinaryExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#matchExpression.
	VisitMatchExpression(ctx *MatchExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#inExpression.
	VisitInExpression(ctx *InExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#isTypeExpression.
	VisitIsTypeExpression(ctx *IsTypeExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#calcExpression.
	VisitCalcExpression(ctx *CalcExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#isNotTypeExpression.
	VisitIsNotTypeExpression(ctx *IsNotTypeExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#notExpression.
	VisitNotExpression(ctx *NotExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#parenExpression.
	VisitParenExpression(ctx *ParenExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#notInExpression.
	VisitNotInExpression(ctx *NotInExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#comparatorExpression.
	VisitComparatorExpression(ctx *ComparatorExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#variableExpression.
	VisitVariableExpression(ctx *VariableExpressionContext) interface{}

	// Visit a parse tree produced by TExprParser#variable.
	VisitVariable(ctx *VariableContext) interface{}

	// Visit a parse tree produced by TExprParser#comparator.
	VisitComparator(ctx *ComparatorContext) interface{}

	// Visit a parse tree produced by TExprParser#binary.
	VisitBinary(ctx *BinaryContext) interface{}

	// Visit a parse tree produced by TExprParser#boolean.
	VisitBoolean(ctx *BooleanContext) interface{}

	// Visit a parse tree produced by TExprParser#literal.
	VisitLiteral(ctx *LiteralContext) interface{}

	// Visit a parse tree produced by TExprParser#array.
	VisitArray(ctx *ArrayContext) interface{}

	// Visit a parse tree produced by TExprParser#calc.
	VisitCalc(ctx *CalcContext) interface{}

	// Visit a parse tree produced by TExprParser#plus.
	VisitPlus(ctx *PlusContext) interface{}

	// Visit a parse tree produced by TExprParser#multiplying.
	VisitMultiplying(ctx *MultiplyingContext) interface{}

	// Visit a parse tree produced by TExprParser#pow.
	VisitPow(ctx *PowContext) interface{}

	// Visit a parse tree produced by TExprParser#atom.
	VisitAtom(ctx *AtomContext) interface{}

	// Visit a parse tree produced by TExprParser#scientific.
	VisitScientific(ctx *ScientificContext) interface{}

	// Visit a parse tree produced by TExprParser#function.
	VisitFunction(ctx *FunctionContext) interface{}

	// Visit a parse tree produced by TExprParser#funcname.
	VisitFuncname(ctx *FuncnameContext) interface{}

	// Visit a parse tree produced by TExprParser#number.
	VisitNumber(ctx *NumberContext) interface{}

	// Visit a parse tree produced by TExprParser#regex.
	VisitRegex(ctx *RegexContext) interface{}

	// Visit a parse tree produced by TExprParser#kind.
	VisitKind(ctx *KindContext) interface{}

	// Visit a parse tree produced by TExprParser#strings.
	VisitStrings(ctx *StringsContext) interface{}

	// Visit a parse tree produced by TExprParser#integers.
	VisitIntegers(ctx *IntegersContext) interface{}

	// Visit a parse tree produced by TExprParser#floats.
	VisitFloats(ctx *FloatsContext) interface{}

	// Visit a parse tree produced by TExprParser#booleans.
	VisitBooleans(ctx *BooleansContext) interface{}
}

A complete Visitor for a parse tree produced by TExprParser.

type VariableContext

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

func NewEmptyVariableContext

func NewEmptyVariableContext() *VariableContext

func NewVariableContext

func NewVariableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableContext

func (*VariableContext) Accept

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

func (*VariableContext) Array

func (s *VariableContext) Array() IArrayContext

func (*VariableContext) GetParser

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

func (*VariableContext) GetRuleContext

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

func (*VariableContext) IsVariableContext

func (*VariableContext) IsVariableContext()

func (*VariableContext) Literal

func (s *VariableContext) Literal() ILiteralContext

func (*VariableContext) ToStringTree

func (s *VariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*VariableContext) VARIABLE

func (s *VariableContext) VARIABLE() antlr.TerminalNode

type VariableExpressionContext

type VariableExpressionContext struct {
	*ExpressionContext
}

func NewVariableExpressionContext

func NewVariableExpressionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *VariableExpressionContext

func (*VariableExpressionContext) Accept

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

func (*VariableExpressionContext) GetRuleContext

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

func (*VariableExpressionContext) Variable

Jump to

Keyboard shortcuts

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