parser

package
v5.2.12 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TSLLexerT__0            = 1
	TSLLexerT__1            = 2
	TSLLexerT__2            = 3
	TSLLexerT__3            = 4
	TSLLexerT__4            = 5
	TSLLexerT__5            = 6
	TSLLexerT__6            = 7
	TSLLexerT__7            = 8
	TSLLexerT__8            = 9
	TSLLexerT__9            = 10
	TSLLexerT__10           = 11
	TSLLexerT__11           = 12
	TSLLexerT__12           = 13
	TSLLexerT__13           = 14
	TSLLexerT__14           = 15
	TSLLexerT__15           = 16
	TSLLexerT__16           = 17
	TSLLexerK_LIKE          = 18
	TSLLexerK_ILIKE         = 19
	TSLLexerK_AND           = 20
	TSLLexerK_OR            = 21
	TSLLexerK_BETWEEN       = 22
	TSLLexerK_IN            = 23
	TSLLexerK_IS            = 24
	TSLLexerK_NULL          = 25
	TSLLexerK_NOT           = 26
	TSLLexerK_TRUE          = 27
	TSLLexerK_FALSE         = 28
	TSLLexerIDENTIFIER      = 29
	TSLLexerNUMERIC_LITERAL = 30
	TSLLexerSTRING_LITERAL  = 31
	TSLLexerSPACES          = 32
	TSLLexerYEAR            = 33
	TSLLexerMONTH           = 34
	TSLLexerDAY             = 35
	TSLLexerHOUR            = 36
	TSLLexerMINUTE          = 37
	TSLLexerSEC             = 38
	TSLLexerSEC_FRAC        = 39
	TSLLexerDATE            = 40
	TSLLexerTIME            = 41
	TSLLexerTIME_OFFSET     = 42
	TSLLexerRFC3339         = 43
)

TSLLexer tokens.

View Source
const (
	TSLParserEOF             = antlr.TokenEOF
	TSLParserT__0            = 1
	TSLParserT__1            = 2
	TSLParserT__2            = 3
	TSLParserT__3            = 4
	TSLParserT__4            = 5
	TSLParserT__5            = 6
	TSLParserT__6            = 7
	TSLParserT__7            = 8
	TSLParserT__8            = 9
	TSLParserT__9            = 10
	TSLParserT__10           = 11
	TSLParserT__11           = 12
	TSLParserT__12           = 13
	TSLParserT__13           = 14
	TSLParserT__14           = 15
	TSLParserT__15           = 16
	TSLParserT__16           = 17
	TSLParserK_LIKE          = 18
	TSLParserK_ILIKE         = 19
	TSLParserK_AND           = 20
	TSLParserK_OR            = 21
	TSLParserK_BETWEEN       = 22
	TSLParserK_IN            = 23
	TSLParserK_IS            = 24
	TSLParserK_NULL          = 25
	TSLParserK_NOT           = 26
	TSLParserK_TRUE          = 27
	TSLParserK_FALSE         = 28
	TSLParserIDENTIFIER      = 29
	TSLParserNUMERIC_LITERAL = 30
	TSLParserSTRING_LITERAL  = 31
	TSLParserSPACES          = 32
	TSLParserYEAR            = 33
	TSLParserMONTH           = 34
	TSLParserDAY             = 35
	TSLParserHOUR            = 36
	TSLParserMINUTE          = 37
	TSLParserSEC             = 38
	TSLParserSEC_FRAC        = 39
	TSLParserDATE            = 40
	TSLParserTIME            = 41
	TSLParserTIME_OFFSET     = 42
	TSLParserRFC3339         = 43
)

TSLParser tokens.

View Source
const (
	TSLParserRULE_start         = 0
	TSLParserRULE_expr          = 1
	TSLParserRULE_literalOp     = 2
	TSLParserRULE_stringOp      = 3
	TSLParserRULE_likeOp        = 4
	TSLParserRULE_databaseName  = 5
	TSLParserRULE_tableName     = 6
	TSLParserRULE_columnName    = 7
	TSLParserRULE_literalValue  = 8
	TSLParserRULE_literalOrMath = 9
	TSLParserRULE_mathExp       = 10
	TSLParserRULE_signedNumber  = 11
	TSLParserRULE_stringValue   = 12
	TSLParserRULE_keyNot        = 13
)

TSLParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOpsContext

type AddOpsContext struct {
	*MathExpContext
}

func NewAddOpsContext

func NewAddOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AddOpsContext

func (*AddOpsContext) EnterRule

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

func (*AddOpsContext) ExitRule

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

func (*AddOpsContext) GetRuleContext

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

func (*AddOpsContext) LiteralOrMath added in v5.1.0

func (s *AddOpsContext) LiteralOrMath() ILiteralOrMathContext

func (*AddOpsContext) MathExp

func (s *AddOpsContext) MathExp() IMathExpContext

type AndContext

type AndContext struct {
	*ExprContext
}

func NewAndContext

func NewAndContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AndContext

func (*AndContext) AllExpr

func (s *AndContext) AllExpr() []IExprContext

func (*AndContext) EnterRule

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

func (*AndContext) ExitRule

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

func (*AndContext) Expr

func (s *AndContext) Expr(i int) IExprContext

func (*AndContext) GetRuleContext

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

func (*AndContext) K_AND

func (s *AndContext) K_AND() antlr.TerminalNode

type BaseTSLListener

type BaseTSLListener struct{}

BaseTSLListener is a complete listener for a parse tree produced by TSLParser.

func (*BaseTSLListener) EnterAddOps

func (s *BaseTSLListener) EnterAddOps(ctx *AddOpsContext)

EnterAddOps is called when production AddOps is entered.

func (*BaseTSLListener) EnterAnd

func (s *BaseTSLListener) EnterAnd(ctx *AndContext)

EnterAnd is called when production And is entered.

func (*BaseTSLListener) EnterBetween

func (s *BaseTSLListener) EnterBetween(ctx *BetweenContext)

EnterBetween is called when production Between is entered.

func (*BaseTSLListener) EnterBooleanLiteral added in v5.2.0

func (s *BaseTSLListener) EnterBooleanLiteral(ctx *BooleanLiteralContext)

EnterBooleanLiteral is called when production BooleanLiteral is entered.

func (*BaseTSLListener) EnterColumnIdentifier

func (s *BaseTSLListener) EnterColumnIdentifier(ctx *ColumnIdentifierContext)

EnterColumnIdentifier is called when production ColumnIdentifier is entered.

func (*BaseTSLListener) EnterColumnName

func (s *BaseTSLListener) EnterColumnName(ctx *ColumnNameContext)

EnterColumnName is called when production columnName is entered.

func (*BaseTSLListener) EnterDatabaseName

func (s *BaseTSLListener) EnterDatabaseName(ctx *DatabaseNameContext)

EnterDatabaseName is called when production databaseName is entered.

func (*BaseTSLListener) EnterDateLiteral added in v5.2.0

func (s *BaseTSLListener) EnterDateLiteral(ctx *DateLiteralContext)

EnterDateLiteral is called when production DateLiteral is entered.

func (*BaseTSLListener) EnterDivOps

func (s *BaseTSLListener) EnterDivOps(ctx *DivOpsContext)

EnterDivOps is called when production DivOps is entered.

func (*BaseTSLListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseTSLListener) EnterIn

func (s *BaseTSLListener) EnterIn(ctx *InContext)

EnterIn is called when production In is entered.

func (*BaseTSLListener) EnterIsLiteral

func (s *BaseTSLListener) EnterIsLiteral(ctx *IsLiteralContext)

EnterIsLiteral is called when production IsLiteral is entered.

func (*BaseTSLListener) EnterIsNull

func (s *BaseTSLListener) EnterIsNull(ctx *IsNullContext)

EnterIsNull is called when production IsNull is entered.

func (*BaseTSLListener) EnterKeyNot

func (s *BaseTSLListener) EnterKeyNot(ctx *KeyNotContext)

EnterKeyNot is called when production keyNot is entered.

func (*BaseTSLListener) EnterLike

func (s *BaseTSLListener) EnterLike(ctx *LikeContext)

EnterLike is called when production Like is entered.

func (*BaseTSLListener) EnterLikeOp

func (s *BaseTSLListener) EnterLikeOp(ctx *LikeOpContext)

EnterLikeOp is called when production likeOp is entered.

func (*BaseTSLListener) EnterLiteralOp

func (s *BaseTSLListener) EnterLiteralOp(ctx *LiteralOpContext)

EnterLiteralOp is called when production literalOp is entered.

func (*BaseTSLListener) EnterLiteralOps

func (s *BaseTSLListener) EnterLiteralOps(ctx *LiteralOpsContext)

EnterLiteralOps is called when production LiteralOps is entered.

func (*BaseTSLListener) EnterLiteralOrMath added in v5.1.0

func (s *BaseTSLListener) EnterLiteralOrMath(ctx *LiteralOrMathContext)

EnterLiteralOrMath is called when production literalOrMath is entered.

func (*BaseTSLListener) EnterMathPar

func (s *BaseTSLListener) EnterMathPar(ctx *MathParContext)

EnterMathPar is called when production MathPar is entered.

func (*BaseTSLListener) EnterModOps

func (s *BaseTSLListener) EnterModOps(ctx *ModOpsContext)

EnterModOps is called when production ModOps is entered.

func (*BaseTSLListener) EnterMulOps

func (s *BaseTSLListener) EnterMulOps(ctx *MulOpsContext)

EnterMulOps is called when production MulOps is entered.

func (*BaseTSLListener) EnterNot

func (s *BaseTSLListener) EnterNot(ctx *NotContext)

EnterNot is called when production Not is entered.

func (*BaseTSLListener) EnterNumberLiteral

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

EnterNumberLiteral is called when production NumberLiteral is entered.

func (*BaseTSLListener) EnterOr

func (s *BaseTSLListener) EnterOr(ctx *OrContext)

EnterOr is called when production Or is entered.

func (*BaseTSLListener) EnterPar

func (s *BaseTSLListener) EnterPar(ctx *ParContext)

EnterPar is called when production Par is entered.

func (*BaseTSLListener) EnterShortDateLiteral added in v5.2.8

func (s *BaseTSLListener) EnterShortDateLiteral(ctx *ShortDateLiteralContext)

EnterShortDateLiteral is called when production ShortDateLiteral is entered.

func (*BaseTSLListener) EnterSignedNumber

func (s *BaseTSLListener) EnterSignedNumber(ctx *SignedNumberContext)

EnterSignedNumber is called when production signedNumber is entered.

func (*BaseTSLListener) EnterStart

func (s *BaseTSLListener) EnterStart(ctx *StartContext)

EnterStart is called when production start is entered.

func (*BaseTSLListener) EnterStringLiteral

func (s *BaseTSLListener) EnterStringLiteral(ctx *StringLiteralContext)

EnterStringLiteral is called when production StringLiteral is entered.

func (*BaseTSLListener) EnterStringOp

func (s *BaseTSLListener) EnterStringOp(ctx *StringOpContext)

EnterStringOp is called when production stringOp is entered.

func (*BaseTSLListener) EnterStringOps

func (s *BaseTSLListener) EnterStringOps(ctx *StringOpsContext)

EnterStringOps is called when production StringOps is entered.

func (*BaseTSLListener) EnterStringValue

func (s *BaseTSLListener) EnterStringValue(ctx *StringValueContext)

EnterStringValue is called when production stringValue is entered.

func (*BaseTSLListener) EnterSubOps

func (s *BaseTSLListener) EnterSubOps(ctx *SubOpsContext)

EnterSubOps is called when production SubOps is entered.

func (*BaseTSLListener) EnterTableName

func (s *BaseTSLListener) EnterTableName(ctx *TableNameContext)

EnterTableName is called when production tableName is entered.

func (*BaseTSLListener) ExitAddOps

func (s *BaseTSLListener) ExitAddOps(ctx *AddOpsContext)

ExitAddOps is called when production AddOps is exited.

func (*BaseTSLListener) ExitAnd

func (s *BaseTSLListener) ExitAnd(ctx *AndContext)

ExitAnd is called when production And is exited.

func (*BaseTSLListener) ExitBetween

func (s *BaseTSLListener) ExitBetween(ctx *BetweenContext)

ExitBetween is called when production Between is exited.

func (*BaseTSLListener) ExitBooleanLiteral added in v5.2.0

func (s *BaseTSLListener) ExitBooleanLiteral(ctx *BooleanLiteralContext)

ExitBooleanLiteral is called when production BooleanLiteral is exited.

func (*BaseTSLListener) ExitColumnIdentifier

func (s *BaseTSLListener) ExitColumnIdentifier(ctx *ColumnIdentifierContext)

ExitColumnIdentifier is called when production ColumnIdentifier is exited.

func (*BaseTSLListener) ExitColumnName

func (s *BaseTSLListener) ExitColumnName(ctx *ColumnNameContext)

ExitColumnName is called when production columnName is exited.

func (*BaseTSLListener) ExitDatabaseName

func (s *BaseTSLListener) ExitDatabaseName(ctx *DatabaseNameContext)

ExitDatabaseName is called when production databaseName is exited.

func (*BaseTSLListener) ExitDateLiteral added in v5.2.0

func (s *BaseTSLListener) ExitDateLiteral(ctx *DateLiteralContext)

ExitDateLiteral is called when production DateLiteral is exited.

func (*BaseTSLListener) ExitDivOps

func (s *BaseTSLListener) ExitDivOps(ctx *DivOpsContext)

ExitDivOps is called when production DivOps is exited.

func (*BaseTSLListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseTSLListener) ExitIn

func (s *BaseTSLListener) ExitIn(ctx *InContext)

ExitIn is called when production In is exited.

func (*BaseTSLListener) ExitIsLiteral

func (s *BaseTSLListener) ExitIsLiteral(ctx *IsLiteralContext)

ExitIsLiteral is called when production IsLiteral is exited.

func (*BaseTSLListener) ExitIsNull

func (s *BaseTSLListener) ExitIsNull(ctx *IsNullContext)

ExitIsNull is called when production IsNull is exited.

func (*BaseTSLListener) ExitKeyNot

func (s *BaseTSLListener) ExitKeyNot(ctx *KeyNotContext)

ExitKeyNot is called when production keyNot is exited.

func (*BaseTSLListener) ExitLike

func (s *BaseTSLListener) ExitLike(ctx *LikeContext)

ExitLike is called when production Like is exited.

func (*BaseTSLListener) ExitLikeOp

func (s *BaseTSLListener) ExitLikeOp(ctx *LikeOpContext)

ExitLikeOp is called when production likeOp is exited.

func (*BaseTSLListener) ExitLiteralOp

func (s *BaseTSLListener) ExitLiteralOp(ctx *LiteralOpContext)

ExitLiteralOp is called when production literalOp is exited.

func (*BaseTSLListener) ExitLiteralOps

func (s *BaseTSLListener) ExitLiteralOps(ctx *LiteralOpsContext)

ExitLiteralOps is called when production LiteralOps is exited.

func (*BaseTSLListener) ExitLiteralOrMath added in v5.1.0

func (s *BaseTSLListener) ExitLiteralOrMath(ctx *LiteralOrMathContext)

ExitLiteralOrMath is called when production literalOrMath is exited.

func (*BaseTSLListener) ExitMathPar

func (s *BaseTSLListener) ExitMathPar(ctx *MathParContext)

ExitMathPar is called when production MathPar is exited.

func (*BaseTSLListener) ExitModOps

func (s *BaseTSLListener) ExitModOps(ctx *ModOpsContext)

ExitModOps is called when production ModOps is exited.

func (*BaseTSLListener) ExitMulOps

func (s *BaseTSLListener) ExitMulOps(ctx *MulOpsContext)

ExitMulOps is called when production MulOps is exited.

func (*BaseTSLListener) ExitNot

func (s *BaseTSLListener) ExitNot(ctx *NotContext)

ExitNot is called when production Not is exited.

func (*BaseTSLListener) ExitNumberLiteral

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

ExitNumberLiteral is called when production NumberLiteral is exited.

func (*BaseTSLListener) ExitOr

func (s *BaseTSLListener) ExitOr(ctx *OrContext)

ExitOr is called when production Or is exited.

func (*BaseTSLListener) ExitPar

func (s *BaseTSLListener) ExitPar(ctx *ParContext)

ExitPar is called when production Par is exited.

func (*BaseTSLListener) ExitShortDateLiteral added in v5.2.8

func (s *BaseTSLListener) ExitShortDateLiteral(ctx *ShortDateLiteralContext)

ExitShortDateLiteral is called when production ShortDateLiteral is exited.

func (*BaseTSLListener) ExitSignedNumber

func (s *BaseTSLListener) ExitSignedNumber(ctx *SignedNumberContext)

ExitSignedNumber is called when production signedNumber is exited.

func (*BaseTSLListener) ExitStart

func (s *BaseTSLListener) ExitStart(ctx *StartContext)

ExitStart is called when production start is exited.

func (*BaseTSLListener) ExitStringLiteral

func (s *BaseTSLListener) ExitStringLiteral(ctx *StringLiteralContext)

ExitStringLiteral is called when production StringLiteral is exited.

func (*BaseTSLListener) ExitStringOp

func (s *BaseTSLListener) ExitStringOp(ctx *StringOpContext)

ExitStringOp is called when production stringOp is exited.

func (*BaseTSLListener) ExitStringOps

func (s *BaseTSLListener) ExitStringOps(ctx *StringOpsContext)

ExitStringOps is called when production StringOps is exited.

func (*BaseTSLListener) ExitStringValue

func (s *BaseTSLListener) ExitStringValue(ctx *StringValueContext)

ExitStringValue is called when production stringValue is exited.

func (*BaseTSLListener) ExitSubOps

func (s *BaseTSLListener) ExitSubOps(ctx *SubOpsContext)

ExitSubOps is called when production SubOps is exited.

func (*BaseTSLListener) ExitTableName

func (s *BaseTSLListener) ExitTableName(ctx *TableNameContext)

ExitTableName is called when production tableName is exited.

func (*BaseTSLListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseTSLListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BetweenContext

type BetweenContext struct {
	*ExprContext
}

func NewBetweenContext

func NewBetweenContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BetweenContext

func (*BetweenContext) AllLiteralValue

func (s *BetweenContext) AllLiteralValue() []ILiteralValueContext

func (*BetweenContext) EnterRule

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

func (*BetweenContext) ExitRule

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

func (*BetweenContext) GetRuleContext

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

func (*BetweenContext) K_AND

func (s *BetweenContext) K_AND() antlr.TerminalNode

func (*BetweenContext) K_BETWEEN

func (s *BetweenContext) K_BETWEEN() antlr.TerminalNode

func (*BetweenContext) KeyNot

func (s *BetweenContext) KeyNot() IKeyNotContext

func (*BetweenContext) LiteralValue

func (s *BetweenContext) LiteralValue(i int) ILiteralValueContext

func (*BetweenContext) MathExp

func (s *BetweenContext) MathExp() IMathExpContext

type BooleanLiteralContext added in v5.2.0

type BooleanLiteralContext struct {
	*LiteralValueContext
}

func NewBooleanLiteralContext added in v5.2.0

func NewBooleanLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BooleanLiteralContext

func (*BooleanLiteralContext) EnterRule added in v5.2.0

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

func (*BooleanLiteralContext) ExitRule added in v5.2.0

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

func (*BooleanLiteralContext) GetRuleContext added in v5.2.0

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

func (*BooleanLiteralContext) K_FALSE added in v5.2.0

func (*BooleanLiteralContext) K_TRUE added in v5.2.0

type ColumnIdentifierContext

type ColumnIdentifierContext struct {
	*MathExpContext
}

func NewColumnIdentifierContext

func NewColumnIdentifierContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ColumnIdentifierContext

func (*ColumnIdentifierContext) ColumnName

func (*ColumnIdentifierContext) EnterRule

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

func (*ColumnIdentifierContext) ExitRule

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

func (*ColumnIdentifierContext) GetRuleContext

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

type ColumnNameContext

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

func NewColumnNameContext

func NewColumnNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ColumnNameContext

func NewEmptyColumnNameContext

func NewEmptyColumnNameContext() *ColumnNameContext

func (*ColumnNameContext) EnterRule

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

func (*ColumnNameContext) ExitRule

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

func (*ColumnNameContext) GetParser

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

func (*ColumnNameContext) GetRuleContext

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

func (*ColumnNameContext) IDENTIFIER

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

func (*ColumnNameContext) IsColumnNameContext

func (*ColumnNameContext) IsColumnNameContext()

func (*ColumnNameContext) ToStringTree

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

type DatabaseNameContext

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

func NewDatabaseNameContext

func NewDatabaseNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DatabaseNameContext

func NewEmptyDatabaseNameContext

func NewEmptyDatabaseNameContext() *DatabaseNameContext

func (*DatabaseNameContext) EnterRule

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

func (*DatabaseNameContext) ExitRule

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

func (*DatabaseNameContext) GetParser

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

func (*DatabaseNameContext) GetRuleContext

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

func (*DatabaseNameContext) IDENTIFIER

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

func (*DatabaseNameContext) IsDatabaseNameContext

func (*DatabaseNameContext) IsDatabaseNameContext()

func (*DatabaseNameContext) ToStringTree

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

type DateLiteralContext added in v5.2.0

type DateLiteralContext struct {
	*LiteralValueContext
}

func NewDateLiteralContext added in v5.2.0

func NewDateLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DateLiteralContext

func (*DateLiteralContext) EnterRule added in v5.2.0

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

func (*DateLiteralContext) ExitRule added in v5.2.0

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

func (*DateLiteralContext) GetRuleContext added in v5.2.0

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

func (*DateLiteralContext) RFC3339 added in v5.2.0

func (s *DateLiteralContext) RFC3339() antlr.TerminalNode

type DivOpsContext

type DivOpsContext struct {
	*MathExpContext
}

func NewDivOpsContext

func NewDivOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DivOpsContext

func (*DivOpsContext) EnterRule

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

func (*DivOpsContext) ExitRule

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

func (*DivOpsContext) GetRuleContext

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

func (*DivOpsContext) LiteralOrMath added in v5.1.0

func (s *DivOpsContext) LiteralOrMath() ILiteralOrMathContext

func (*DivOpsContext) MathExp

func (s *DivOpsContext) MathExp() IMathExpContext

type ExprContext

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

func NewEmptyExprContext

func NewEmptyExprContext() *ExprContext

func NewExprContext

func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext

func (*ExprContext) CopyFrom

func (s *ExprContext) CopyFrom(ctx *ExprContext)

func (*ExprContext) GetParser

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

func (*ExprContext) GetRuleContext

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

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) ToStringTree

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

type IColumnNameContext

type IColumnNameContext interface {
	antlr.ParserRuleContext

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

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

IColumnNameContext is an interface to support dynamic dispatch.

type IDatabaseNameContext

type IDatabaseNameContext interface {
	antlr.ParserRuleContext

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

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

IDatabaseNameContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

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

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

IExprContext is an interface to support dynamic dispatch.

type IKeyNotContext

type IKeyNotContext interface {
	antlr.ParserRuleContext

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

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

IKeyNotContext is an interface to support dynamic dispatch.

type ILikeOpContext

type ILikeOpContext interface {
	antlr.ParserRuleContext

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

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

ILikeOpContext is an interface to support dynamic dispatch.

type ILiteralOpContext

type ILiteralOpContext interface {
	antlr.ParserRuleContext

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

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

ILiteralOpContext is an interface to support dynamic dispatch.

type ILiteralOrMathContext added in v5.1.0

type ILiteralOrMathContext interface {
	antlr.ParserRuleContext

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

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

ILiteralOrMathContext is an interface to support dynamic dispatch.

type ILiteralValueContext

type ILiteralValueContext interface {
	antlr.ParserRuleContext

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

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

ILiteralValueContext is an interface to support dynamic dispatch.

type IMathExpContext

type IMathExpContext interface {
	antlr.ParserRuleContext

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

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

IMathExpContext is an interface to support dynamic dispatch.

type ISignedNumberContext

type ISignedNumberContext interface {
	antlr.ParserRuleContext

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

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

ISignedNumberContext is an interface to support dynamic dispatch.

type IStartContext

type IStartContext interface {
	antlr.ParserRuleContext

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

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

IStartContext is an interface to support dynamic dispatch.

type IStringOpContext

type IStringOpContext interface {
	antlr.ParserRuleContext

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

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

IStringOpContext is an interface to support dynamic dispatch.

type IStringValueContext

type IStringValueContext interface {
	antlr.ParserRuleContext

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

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

IStringValueContext is an interface to support dynamic dispatch.

type ITableNameContext

type ITableNameContext interface {
	antlr.ParserRuleContext

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

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

ITableNameContext is an interface to support dynamic dispatch.

type InContext

type InContext struct {
	*ExprContext
}

func NewInContext

func NewInContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InContext

func (*InContext) AllLiteralValue

func (s *InContext) AllLiteralValue() []ILiteralValueContext

func (*InContext) EnterRule

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

func (*InContext) ExitRule

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

func (*InContext) GetRuleContext

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

func (*InContext) K_IN

func (s *InContext) K_IN() antlr.TerminalNode

func (*InContext) KeyNot

func (s *InContext) KeyNot() IKeyNotContext

func (*InContext) LiteralValue

func (s *InContext) LiteralValue(i int) ILiteralValueContext

func (*InContext) MathExp

func (s *InContext) MathExp() IMathExpContext

type IsLiteralContext

type IsLiteralContext struct {
	*ExprContext
}

func NewIsLiteralContext

func NewIsLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IsLiteralContext

func (*IsLiteralContext) EnterRule

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

func (*IsLiteralContext) ExitRule

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

func (*IsLiteralContext) GetRuleContext

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

func (*IsLiteralContext) K_IS

func (*IsLiteralContext) KeyNot

func (s *IsLiteralContext) KeyNot() IKeyNotContext

func (*IsLiteralContext) LiteralValue

func (s *IsLiteralContext) LiteralValue() ILiteralValueContext

func (*IsLiteralContext) MathExp

func (s *IsLiteralContext) MathExp() IMathExpContext

type IsNullContext

type IsNullContext struct {
	*ExprContext
}

func NewIsNullContext

func NewIsNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IsNullContext

func (*IsNullContext) EnterRule

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

func (*IsNullContext) ExitRule

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

func (*IsNullContext) GetRuleContext

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

func (*IsNullContext) K_IS

func (s *IsNullContext) K_IS() antlr.TerminalNode

func (*IsNullContext) K_NULL

func (s *IsNullContext) K_NULL() antlr.TerminalNode

func (*IsNullContext) KeyNot

func (s *IsNullContext) KeyNot() IKeyNotContext

func (*IsNullContext) MathExp

func (s *IsNullContext) MathExp() IMathExpContext

type KeyNotContext

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

func NewEmptyKeyNotContext

func NewEmptyKeyNotContext() *KeyNotContext

func NewKeyNotContext

func NewKeyNotContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeyNotContext

func (*KeyNotContext) EnterRule

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

func (*KeyNotContext) ExitRule

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

func (*KeyNotContext) GetParser

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

func (*KeyNotContext) GetRuleContext

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

func (*KeyNotContext) IsKeyNotContext

func (*KeyNotContext) IsKeyNotContext()

func (*KeyNotContext) K_NOT

func (s *KeyNotContext) K_NOT() antlr.TerminalNode

func (*KeyNotContext) ToStringTree

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

type LikeContext

type LikeContext struct {
	*ExprContext
}

func NewLikeContext

func NewLikeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LikeContext

func (*LikeContext) EnterRule

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

func (*LikeContext) ExitRule

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

func (*LikeContext) GetRuleContext

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

func (*LikeContext) KeyNot

func (s *LikeContext) KeyNot() IKeyNotContext

func (*LikeContext) LikeOp

func (s *LikeContext) LikeOp() ILikeOpContext

func (*LikeContext) LiteralValue

func (s *LikeContext) LiteralValue() ILiteralValueContext

func (*LikeContext) MathExp

func (s *LikeContext) MathExp() IMathExpContext

type LikeOpContext

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

func NewEmptyLikeOpContext

func NewEmptyLikeOpContext() *LikeOpContext

func NewLikeOpContext

func NewLikeOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LikeOpContext

func (*LikeOpContext) EnterRule

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

func (*LikeOpContext) ExitRule

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

func (*LikeOpContext) GetParser

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

func (*LikeOpContext) GetRuleContext

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

func (*LikeOpContext) IsLikeOpContext

func (*LikeOpContext) IsLikeOpContext()

func (*LikeOpContext) K_ILIKE

func (s *LikeOpContext) K_ILIKE() antlr.TerminalNode

func (*LikeOpContext) K_LIKE

func (s *LikeOpContext) K_LIKE() antlr.TerminalNode

func (*LikeOpContext) ToStringTree

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

type LiteralOpContext

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

func NewEmptyLiteralOpContext

func NewEmptyLiteralOpContext() *LiteralOpContext

func NewLiteralOpContext

func NewLiteralOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralOpContext

func (*LiteralOpContext) EnterRule

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

func (*LiteralOpContext) ExitRule

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

func (*LiteralOpContext) GetParser

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

func (*LiteralOpContext) GetRuleContext

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

func (*LiteralOpContext) IsLiteralOpContext

func (*LiteralOpContext) IsLiteralOpContext()

func (*LiteralOpContext) ToStringTree

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

type LiteralOpsContext

type LiteralOpsContext struct {
	*ExprContext
}

func NewLiteralOpsContext

func NewLiteralOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LiteralOpsContext

func (*LiteralOpsContext) EnterRule

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

func (*LiteralOpsContext) ExitRule

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

func (*LiteralOpsContext) GetRuleContext

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

func (*LiteralOpsContext) LiteralOp

func (s *LiteralOpsContext) LiteralOp() ILiteralOpContext

func (*LiteralOpsContext) LiteralOrMath added in v5.1.0

func (s *LiteralOpsContext) LiteralOrMath() ILiteralOrMathContext

func (*LiteralOpsContext) MathExp

func (s *LiteralOpsContext) MathExp() IMathExpContext

type LiteralOrMathContext added in v5.1.0

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

func NewEmptyLiteralOrMathContext added in v5.1.0

func NewEmptyLiteralOrMathContext() *LiteralOrMathContext

func NewLiteralOrMathContext added in v5.1.0

func NewLiteralOrMathContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralOrMathContext

func (*LiteralOrMathContext) EnterRule added in v5.1.0

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

func (*LiteralOrMathContext) ExitRule added in v5.1.0

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

func (*LiteralOrMathContext) GetParser added in v5.1.0

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

func (*LiteralOrMathContext) GetRuleContext added in v5.1.0

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

func (*LiteralOrMathContext) IsLiteralOrMathContext added in v5.1.0

func (*LiteralOrMathContext) IsLiteralOrMathContext()

func (*LiteralOrMathContext) LiteralValue added in v5.1.0

func (s *LiteralOrMathContext) LiteralValue() ILiteralValueContext

func (*LiteralOrMathContext) MathExp added in v5.1.0

func (*LiteralOrMathContext) ToStringTree added in v5.1.0

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

type LiteralValueContext

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

func NewEmptyLiteralValueContext

func NewEmptyLiteralValueContext() *LiteralValueContext

func NewLiteralValueContext

func NewLiteralValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralValueContext

func (*LiteralValueContext) CopyFrom

func (s *LiteralValueContext) CopyFrom(ctx *LiteralValueContext)

func (*LiteralValueContext) GetParser

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

func (*LiteralValueContext) GetRuleContext

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

func (*LiteralValueContext) IsLiteralValueContext

func (*LiteralValueContext) IsLiteralValueContext()

func (*LiteralValueContext) ToStringTree

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

type MathExpContext

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

func NewEmptyMathExpContext

func NewEmptyMathExpContext() *MathExpContext

func NewMathExpContext

func NewMathExpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MathExpContext

func (*MathExpContext) CopyFrom

func (s *MathExpContext) CopyFrom(ctx *MathExpContext)

func (*MathExpContext) GetParser

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

func (*MathExpContext) GetRuleContext

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

func (*MathExpContext) IsMathExpContext

func (*MathExpContext) IsMathExpContext()

func (*MathExpContext) ToStringTree

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

type MathParContext

type MathParContext struct {
	*MathExpContext
}

func NewMathParContext

func NewMathParContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MathParContext

func (*MathParContext) EnterRule

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

func (*MathParContext) ExitRule

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

func (*MathParContext) GetRuleContext

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

func (*MathParContext) MathExp

func (s *MathParContext) MathExp() IMathExpContext

type ModOpsContext

type ModOpsContext struct {
	*MathExpContext
}

func NewModOpsContext

func NewModOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ModOpsContext

func (*ModOpsContext) EnterRule

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

func (*ModOpsContext) ExitRule

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

func (*ModOpsContext) GetRuleContext

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

func (*ModOpsContext) LiteralOrMath added in v5.1.0

func (s *ModOpsContext) LiteralOrMath() ILiteralOrMathContext

func (*ModOpsContext) MathExp

func (s *ModOpsContext) MathExp() IMathExpContext

type MulOpsContext

type MulOpsContext struct {
	*MathExpContext
}

func NewMulOpsContext

func NewMulOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MulOpsContext

func (*MulOpsContext) EnterRule

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

func (*MulOpsContext) ExitRule

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

func (*MulOpsContext) GetRuleContext

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

func (*MulOpsContext) LiteralOrMath added in v5.1.0

func (s *MulOpsContext) LiteralOrMath() ILiteralOrMathContext

func (*MulOpsContext) MathExp

func (s *MulOpsContext) MathExp() IMathExpContext

type NotContext

type NotContext struct {
	*ExprContext
}

func NewNotContext

func NewNotContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NotContext

func (*NotContext) EnterRule

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

func (*NotContext) ExitRule

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

func (*NotContext) Expr

func (s *NotContext) Expr() IExprContext

func (*NotContext) GetRuleContext

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

func (*NotContext) K_NOT

func (s *NotContext) K_NOT() antlr.TerminalNode

type NumberLiteralContext

type NumberLiteralContext struct {
	*LiteralValueContext
}

func NewNumberLiteralContext

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

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

func (s *NumberLiteralContext) SignedNumber() ISignedNumberContext

type OrContext

type OrContext struct {
	*ExprContext
}

func NewOrContext

func NewOrContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OrContext

func (*OrContext) AllExpr

func (s *OrContext) AllExpr() []IExprContext

func (*OrContext) EnterRule

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

func (*OrContext) ExitRule

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

func (*OrContext) Expr

func (s *OrContext) Expr(i int) IExprContext

func (*OrContext) GetRuleContext

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

func (*OrContext) K_OR

func (s *OrContext) K_OR() antlr.TerminalNode

type ParContext

type ParContext struct {
	*ExprContext
}

func NewParContext

func NewParContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParContext

func (*ParContext) EnterRule

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

func (*ParContext) ExitRule

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

func (*ParContext) Expr

func (s *ParContext) Expr() IExprContext

func (*ParContext) GetRuleContext

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

type ShortDateLiteralContext added in v5.2.8

type ShortDateLiteralContext struct {
	*LiteralValueContext
}

func NewShortDateLiteralContext added in v5.2.8

func NewShortDateLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ShortDateLiteralContext

func (*ShortDateLiteralContext) DATE added in v5.2.8

func (*ShortDateLiteralContext) EnterRule added in v5.2.8

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

func (*ShortDateLiteralContext) ExitRule added in v5.2.8

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

func (*ShortDateLiteralContext) GetRuleContext added in v5.2.8

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

type SignedNumberContext

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

func NewEmptySignedNumberContext

func NewEmptySignedNumberContext() *SignedNumberContext

func NewSignedNumberContext

func NewSignedNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SignedNumberContext

func (*SignedNumberContext) EnterRule

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

func (*SignedNumberContext) ExitRule

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

func (*SignedNumberContext) GetParser

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

func (*SignedNumberContext) GetRuleContext

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

func (*SignedNumberContext) IsSignedNumberContext

func (*SignedNumberContext) IsSignedNumberContext()

func (*SignedNumberContext) NUMERIC_LITERAL

func (s *SignedNumberContext) NUMERIC_LITERAL() antlr.TerminalNode

func (*SignedNumberContext) ToStringTree

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

type StartContext

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

func NewEmptyStartContext

func NewEmptyStartContext() *StartContext

func NewStartContext

func NewStartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StartContext

func (*StartContext) EOF

func (s *StartContext) EOF() antlr.TerminalNode

func (*StartContext) EnterRule

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

func (*StartContext) ExitRule

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

func (*StartContext) Expr

func (s *StartContext) Expr() IExprContext

func (*StartContext) GetParser

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

func (*StartContext) GetRuleContext

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

func (*StartContext) IsStartContext

func (*StartContext) IsStartContext()

func (*StartContext) ToStringTree

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

type StringLiteralContext

type StringLiteralContext struct {
	*LiteralValueContext
}

func NewStringLiteralContext

func NewStringLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringLiteralContext

func (*StringLiteralContext) EnterRule

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

func (*StringLiteralContext) ExitRule

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

func (*StringLiteralContext) GetRuleContext

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

func (*StringLiteralContext) StringValue

func (s *StringLiteralContext) StringValue() IStringValueContext

type StringOpContext

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

func NewEmptyStringOpContext

func NewEmptyStringOpContext() *StringOpContext

func NewStringOpContext

func NewStringOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringOpContext

func (*StringOpContext) EnterRule

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

func (*StringOpContext) ExitRule

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

func (*StringOpContext) GetParser

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

func (*StringOpContext) GetRuleContext

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

func (*StringOpContext) IsStringOpContext

func (*StringOpContext) IsStringOpContext()

func (*StringOpContext) ToStringTree

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

type StringOpsContext

type StringOpsContext struct {
	*ExprContext
}

func NewStringOpsContext

func NewStringOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringOpsContext

func (*StringOpsContext) EnterRule

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

func (*StringOpsContext) ExitRule

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

func (*StringOpsContext) GetRuleContext

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

func (*StringOpsContext) LiteralOrMath added in v5.1.0

func (s *StringOpsContext) LiteralOrMath() ILiteralOrMathContext

func (*StringOpsContext) MathExp

func (s *StringOpsContext) MathExp() IMathExpContext

func (*StringOpsContext) StringOp

func (s *StringOpsContext) StringOp() IStringOpContext

type StringValueContext

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

func NewEmptyStringValueContext

func NewEmptyStringValueContext() *StringValueContext

func NewStringValueContext

func NewStringValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringValueContext

func (*StringValueContext) EnterRule

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

func (*StringValueContext) ExitRule

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

func (*StringValueContext) GetParser

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

func (*StringValueContext) GetRuleContext

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

func (*StringValueContext) IsStringValueContext

func (*StringValueContext) IsStringValueContext()

func (*StringValueContext) STRING_LITERAL

func (s *StringValueContext) STRING_LITERAL() antlr.TerminalNode

func (*StringValueContext) ToStringTree

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

type SubOpsContext

type SubOpsContext struct {
	*MathExpContext
}

func NewSubOpsContext

func NewSubOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SubOpsContext

func (*SubOpsContext) EnterRule

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

func (*SubOpsContext) ExitRule

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

func (*SubOpsContext) GetRuleContext

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

func (*SubOpsContext) LiteralOrMath added in v5.1.0

func (s *SubOpsContext) LiteralOrMath() ILiteralOrMathContext

func (*SubOpsContext) MathExp

func (s *SubOpsContext) MathExp() IMathExpContext

type TSLLexer

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

func NewTSLLexer

func NewTSLLexer(input antlr.CharStream) *TSLLexer

type TSLListener

type TSLListener interface {
	antlr.ParseTreeListener

	// EnterStart is called when entering the start production.
	EnterStart(c *StartContext)

	// EnterPar is called when entering the Par production.
	EnterPar(c *ParContext)

	// EnterNot is called when entering the Not production.
	EnterNot(c *NotContext)

	// EnterLike is called when entering the Like production.
	EnterLike(c *LikeContext)

	// EnterOr is called when entering the Or production.
	EnterOr(c *OrContext)

	// EnterIn is called when entering the In production.
	EnterIn(c *InContext)

	// EnterIsLiteral is called when entering the IsLiteral production.
	EnterIsLiteral(c *IsLiteralContext)

	// EnterAnd is called when entering the And production.
	EnterAnd(c *AndContext)

	// EnterBetween is called when entering the Between production.
	EnterBetween(c *BetweenContext)

	// EnterStringOps is called when entering the StringOps production.
	EnterStringOps(c *StringOpsContext)

	// EnterIsNull is called when entering the IsNull production.
	EnterIsNull(c *IsNullContext)

	// EnterLiteralOps is called when entering the LiteralOps production.
	EnterLiteralOps(c *LiteralOpsContext)

	// EnterLiteralOp is called when entering the literalOp production.
	EnterLiteralOp(c *LiteralOpContext)

	// EnterStringOp is called when entering the stringOp production.
	EnterStringOp(c *StringOpContext)

	// EnterLikeOp is called when entering the likeOp production.
	EnterLikeOp(c *LikeOpContext)

	// EnterDatabaseName is called when entering the databaseName production.
	EnterDatabaseName(c *DatabaseNameContext)

	// EnterTableName is called when entering the tableName production.
	EnterTableName(c *TableNameContext)

	// EnterColumnName is called when entering the columnName production.
	EnterColumnName(c *ColumnNameContext)

	// EnterNumberLiteral is called when entering the NumberLiteral production.
	EnterNumberLiteral(c *NumberLiteralContext)

	// EnterStringLiteral is called when entering the StringLiteral production.
	EnterStringLiteral(c *StringLiteralContext)

	// EnterBooleanLiteral is called when entering the BooleanLiteral production.
	EnterBooleanLiteral(c *BooleanLiteralContext)

	// EnterDateLiteral is called when entering the DateLiteral production.
	EnterDateLiteral(c *DateLiteralContext)

	// EnterShortDateLiteral is called when entering the ShortDateLiteral production.
	EnterShortDateLiteral(c *ShortDateLiteralContext)

	// EnterLiteralOrMath is called when entering the literalOrMath production.
	EnterLiteralOrMath(c *LiteralOrMathContext)

	// EnterMathPar is called when entering the MathPar production.
	EnterMathPar(c *MathParContext)

	// EnterModOps is called when entering the ModOps production.
	EnterModOps(c *ModOpsContext)

	// EnterSubOps is called when entering the SubOps production.
	EnterSubOps(c *SubOpsContext)

	// EnterMulOps is called when entering the MulOps production.
	EnterMulOps(c *MulOpsContext)

	// EnterDivOps is called when entering the DivOps production.
	EnterDivOps(c *DivOpsContext)

	// EnterColumnIdentifier is called when entering the ColumnIdentifier production.
	EnterColumnIdentifier(c *ColumnIdentifierContext)

	// EnterAddOps is called when entering the AddOps production.
	EnterAddOps(c *AddOpsContext)

	// EnterSignedNumber is called when entering the signedNumber production.
	EnterSignedNumber(c *SignedNumberContext)

	// EnterStringValue is called when entering the stringValue production.
	EnterStringValue(c *StringValueContext)

	// EnterKeyNot is called when entering the keyNot production.
	EnterKeyNot(c *KeyNotContext)

	// ExitStart is called when exiting the start production.
	ExitStart(c *StartContext)

	// ExitPar is called when exiting the Par production.
	ExitPar(c *ParContext)

	// ExitNot is called when exiting the Not production.
	ExitNot(c *NotContext)

	// ExitLike is called when exiting the Like production.
	ExitLike(c *LikeContext)

	// ExitOr is called when exiting the Or production.
	ExitOr(c *OrContext)

	// ExitIn is called when exiting the In production.
	ExitIn(c *InContext)

	// ExitIsLiteral is called when exiting the IsLiteral production.
	ExitIsLiteral(c *IsLiteralContext)

	// ExitAnd is called when exiting the And production.
	ExitAnd(c *AndContext)

	// ExitBetween is called when exiting the Between production.
	ExitBetween(c *BetweenContext)

	// ExitStringOps is called when exiting the StringOps production.
	ExitStringOps(c *StringOpsContext)

	// ExitIsNull is called when exiting the IsNull production.
	ExitIsNull(c *IsNullContext)

	// ExitLiteralOps is called when exiting the LiteralOps production.
	ExitLiteralOps(c *LiteralOpsContext)

	// ExitLiteralOp is called when exiting the literalOp production.
	ExitLiteralOp(c *LiteralOpContext)

	// ExitStringOp is called when exiting the stringOp production.
	ExitStringOp(c *StringOpContext)

	// ExitLikeOp is called when exiting the likeOp production.
	ExitLikeOp(c *LikeOpContext)

	// ExitDatabaseName is called when exiting the databaseName production.
	ExitDatabaseName(c *DatabaseNameContext)

	// ExitTableName is called when exiting the tableName production.
	ExitTableName(c *TableNameContext)

	// ExitColumnName is called when exiting the columnName production.
	ExitColumnName(c *ColumnNameContext)

	// ExitNumberLiteral is called when exiting the NumberLiteral production.
	ExitNumberLiteral(c *NumberLiteralContext)

	// ExitStringLiteral is called when exiting the StringLiteral production.
	ExitStringLiteral(c *StringLiteralContext)

	// ExitBooleanLiteral is called when exiting the BooleanLiteral production.
	ExitBooleanLiteral(c *BooleanLiteralContext)

	// ExitDateLiteral is called when exiting the DateLiteral production.
	ExitDateLiteral(c *DateLiteralContext)

	// ExitShortDateLiteral is called when exiting the ShortDateLiteral production.
	ExitShortDateLiteral(c *ShortDateLiteralContext)

	// ExitLiteralOrMath is called when exiting the literalOrMath production.
	ExitLiteralOrMath(c *LiteralOrMathContext)

	// ExitMathPar is called when exiting the MathPar production.
	ExitMathPar(c *MathParContext)

	// ExitModOps is called when exiting the ModOps production.
	ExitModOps(c *ModOpsContext)

	// ExitSubOps is called when exiting the SubOps production.
	ExitSubOps(c *SubOpsContext)

	// ExitMulOps is called when exiting the MulOps production.
	ExitMulOps(c *MulOpsContext)

	// ExitDivOps is called when exiting the DivOps production.
	ExitDivOps(c *DivOpsContext)

	// ExitColumnIdentifier is called when exiting the ColumnIdentifier production.
	ExitColumnIdentifier(c *ColumnIdentifierContext)

	// ExitAddOps is called when exiting the AddOps production.
	ExitAddOps(c *AddOpsContext)

	// ExitSignedNumber is called when exiting the signedNumber production.
	ExitSignedNumber(c *SignedNumberContext)

	// ExitStringValue is called when exiting the stringValue production.
	ExitStringValue(c *StringValueContext)

	// ExitKeyNot is called when exiting the keyNot production.
	ExitKeyNot(c *KeyNotContext)
}

TSLListener is a complete listener for a parse tree produced by TSLParser.

type TSLParser

type TSLParser struct {
	*antlr.BaseParser
}

func NewTSLParser

func NewTSLParser(input antlr.TokenStream) *TSLParser

func (*TSLParser) ColumnName

func (p *TSLParser) ColumnName() (localctx IColumnNameContext)

func (*TSLParser) DatabaseName

func (p *TSLParser) DatabaseName() (localctx IDatabaseNameContext)

func (*TSLParser) Expr

func (p *TSLParser) Expr() (localctx IExprContext)

func (*TSLParser) Expr_Sempred

func (p *TSLParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*TSLParser) KeyNot

func (p *TSLParser) KeyNot() (localctx IKeyNotContext)

func (*TSLParser) LikeOp

func (p *TSLParser) LikeOp() (localctx ILikeOpContext)

func (*TSLParser) LiteralOp

func (p *TSLParser) LiteralOp() (localctx ILiteralOpContext)

func (*TSLParser) LiteralOrMath added in v5.1.0

func (p *TSLParser) LiteralOrMath() (localctx ILiteralOrMathContext)

func (*TSLParser) LiteralValue

func (p *TSLParser) LiteralValue() (localctx ILiteralValueContext)

func (*TSLParser) MathExp

func (p *TSLParser) MathExp() (localctx IMathExpContext)

func (*TSLParser) MathExp_Sempred

func (p *TSLParser) MathExp_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*TSLParser) Sempred

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

func (*TSLParser) SignedNumber

func (p *TSLParser) SignedNumber() (localctx ISignedNumberContext)

func (*TSLParser) Start

func (p *TSLParser) Start() (localctx IStartContext)

func (*TSLParser) StringOp

func (p *TSLParser) StringOp() (localctx IStringOpContext)

func (*TSLParser) StringValue

func (p *TSLParser) StringValue() (localctx IStringValueContext)

func (*TSLParser) TableName

func (p *TSLParser) TableName() (localctx ITableNameContext)

type TableNameContext

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

func NewEmptyTableNameContext

func NewEmptyTableNameContext() *TableNameContext

func NewTableNameContext

func NewTableNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TableNameContext

func (*TableNameContext) EnterRule

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

func (*TableNameContext) ExitRule

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

func (*TableNameContext) GetParser

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

func (*TableNameContext) GetRuleContext

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

func (*TableNameContext) IDENTIFIER

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

func (*TableNameContext) IsTableNameContext

func (*TableNameContext) IsTableNameContext()

func (*TableNameContext) ToStringTree

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

Jump to

Keyboard shortcuts

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