Documentation ¶
Index ¶
- Constants
- type AddOpsContext
- func (s *AddOpsContext) AllMathExp() []IMathExpContext
- func (s *AddOpsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AddOpsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AddOpsContext) GetRuleContext() antlr.RuleContext
- func (s *AddOpsContext) LiteralValue() ILiteralValueContext
- func (s *AddOpsContext) MathExp(i int) IMathExpContext
- type AndContext
- func (s *AndContext) AllExpr() []IExprContext
- func (s *AndContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AndContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AndContext) Expr(i int) IExprContext
- func (s *AndContext) GetRuleContext() antlr.RuleContext
- func (s *AndContext) K_AND() antlr.TerminalNode
- type BaseTSLListener
- func (s *BaseTSLListener) EnterAddOps(ctx *AddOpsContext)
- func (s *BaseTSLListener) EnterAnd(ctx *AndContext)
- func (s *BaseTSLListener) EnterBetween(ctx *BetweenContext)
- func (s *BaseTSLListener) EnterColumnIdentifier(ctx *ColumnIdentifierContext)
- func (s *BaseTSLListener) EnterColumnName(ctx *ColumnNameContext)
- func (s *BaseTSLListener) EnterDatabaseName(ctx *DatabaseNameContext)
- func (s *BaseTSLListener) EnterDivOps(ctx *DivOpsContext)
- func (s *BaseTSLListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseTSLListener) EnterIn(ctx *InContext)
- func (s *BaseTSLListener) EnterIsLiteral(ctx *IsLiteralContext)
- func (s *BaseTSLListener) EnterIsNull(ctx *IsNullContext)
- func (s *BaseTSLListener) EnterKeyNot(ctx *KeyNotContext)
- func (s *BaseTSLListener) EnterLike(ctx *LikeContext)
- func (s *BaseTSLListener) EnterLiteralOp(ctx *LiteralOpContext)
- func (s *BaseTSLListener) EnterLiteralOps(ctx *LiteralOpsContext)
- func (s *BaseTSLListener) EnterMathPar(ctx *MathParContext)
- func (s *BaseTSLListener) EnterModOps(ctx *ModOpsContext)
- func (s *BaseTSLListener) EnterMulOps(ctx *MulOpsContext)
- func (s *BaseTSLListener) EnterNot(ctx *NotContext)
- func (s *BaseTSLListener) EnterNumberLiteral(ctx *NumberLiteralContext)
- func (s *BaseTSLListener) EnterOr(ctx *OrContext)
- func (s *BaseTSLListener) EnterPar(ctx *ParContext)
- func (s *BaseTSLListener) EnterSignedNumber(ctx *SignedNumberContext)
- func (s *BaseTSLListener) EnterStart(ctx *StartContext)
- func (s *BaseTSLListener) EnterStringLiteral(ctx *StringLiteralContext)
- func (s *BaseTSLListener) EnterStringOp(ctx *StringOpContext)
- func (s *BaseTSLListener) EnterStringOps(ctx *StringOpsContext)
- func (s *BaseTSLListener) EnterStringValue(ctx *StringValueContext)
- func (s *BaseTSLListener) EnterSubOps(ctx *SubOpsContext)
- func (s *BaseTSLListener) EnterTableName(ctx *TableNameContext)
- func (s *BaseTSLListener) ExitAddOps(ctx *AddOpsContext)
- func (s *BaseTSLListener) ExitAnd(ctx *AndContext)
- func (s *BaseTSLListener) ExitBetween(ctx *BetweenContext)
- func (s *BaseTSLListener) ExitColumnIdentifier(ctx *ColumnIdentifierContext)
- func (s *BaseTSLListener) ExitColumnName(ctx *ColumnNameContext)
- func (s *BaseTSLListener) ExitDatabaseName(ctx *DatabaseNameContext)
- func (s *BaseTSLListener) ExitDivOps(ctx *DivOpsContext)
- func (s *BaseTSLListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseTSLListener) ExitIn(ctx *InContext)
- func (s *BaseTSLListener) ExitIsLiteral(ctx *IsLiteralContext)
- func (s *BaseTSLListener) ExitIsNull(ctx *IsNullContext)
- func (s *BaseTSLListener) ExitKeyNot(ctx *KeyNotContext)
- func (s *BaseTSLListener) ExitLike(ctx *LikeContext)
- func (s *BaseTSLListener) ExitLiteralOp(ctx *LiteralOpContext)
- func (s *BaseTSLListener) ExitLiteralOps(ctx *LiteralOpsContext)
- func (s *BaseTSLListener) ExitMathPar(ctx *MathParContext)
- func (s *BaseTSLListener) ExitModOps(ctx *ModOpsContext)
- func (s *BaseTSLListener) ExitMulOps(ctx *MulOpsContext)
- func (s *BaseTSLListener) ExitNot(ctx *NotContext)
- func (s *BaseTSLListener) ExitNumberLiteral(ctx *NumberLiteralContext)
- func (s *BaseTSLListener) ExitOr(ctx *OrContext)
- func (s *BaseTSLListener) ExitPar(ctx *ParContext)
- func (s *BaseTSLListener) ExitSignedNumber(ctx *SignedNumberContext)
- func (s *BaseTSLListener) ExitStart(ctx *StartContext)
- func (s *BaseTSLListener) ExitStringLiteral(ctx *StringLiteralContext)
- func (s *BaseTSLListener) ExitStringOp(ctx *StringOpContext)
- func (s *BaseTSLListener) ExitStringOps(ctx *StringOpsContext)
- func (s *BaseTSLListener) ExitStringValue(ctx *StringValueContext)
- func (s *BaseTSLListener) ExitSubOps(ctx *SubOpsContext)
- func (s *BaseTSLListener) ExitTableName(ctx *TableNameContext)
- func (s *BaseTSLListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseTSLListener) VisitTerminal(node antlr.TerminalNode)
- type BetweenContext
- func (s *BetweenContext) AllLiteralValue() []ILiteralValueContext
- func (s *BetweenContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BetweenContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BetweenContext) GetRuleContext() antlr.RuleContext
- func (s *BetweenContext) K_AND() antlr.TerminalNode
- func (s *BetweenContext) K_BETWEEN() antlr.TerminalNode
- func (s *BetweenContext) KeyNot() IKeyNotContext
- func (s *BetweenContext) LiteralValue(i int) ILiteralValueContext
- func (s *BetweenContext) MathExp() IMathExpContext
- type ColumnIdentifierContext
- type ColumnNameContext
- func (s *ColumnNameContext) DatabaseName() IDatabaseNameContext
- func (s *ColumnNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ColumnNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ColumnNameContext) GetParser() antlr.Parser
- func (s *ColumnNameContext) GetRuleContext() antlr.RuleContext
- func (s *ColumnNameContext) IDENTIFIER() antlr.TerminalNode
- func (*ColumnNameContext) IsColumnNameContext()
- func (s *ColumnNameContext) TableName() ITableNameContext
- func (s *ColumnNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DatabaseNameContext
- func (s *DatabaseNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DatabaseNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DatabaseNameContext) GetParser() antlr.Parser
- func (s *DatabaseNameContext) GetRuleContext() antlr.RuleContext
- func (s *DatabaseNameContext) IDENTIFIER() antlr.TerminalNode
- func (*DatabaseNameContext) IsDatabaseNameContext()
- func (s *DatabaseNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DivOpsContext
- func (s *DivOpsContext) AllMathExp() []IMathExpContext
- func (s *DivOpsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DivOpsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DivOpsContext) GetRuleContext() antlr.RuleContext
- func (s *DivOpsContext) LiteralValue() ILiteralValueContext
- func (s *DivOpsContext) MathExp(i int) IMathExpContext
- type ExprContext
- type IColumnNameContext
- type IDatabaseNameContext
- type IExprContext
- type IKeyNotContext
- type ILiteralOpContext
- type ILiteralValueContext
- type IMathExpContext
- type ISignedNumberContext
- type IStartContext
- type IStringOpContext
- type IStringValueContext
- type ITableNameContext
- type InContext
- func (s *InContext) AllLiteralValue() []ILiteralValueContext
- func (s *InContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InContext) GetRuleContext() antlr.RuleContext
- func (s *InContext) K_IN() antlr.TerminalNode
- func (s *InContext) KeyNot() IKeyNotContext
- func (s *InContext) LiteralValue(i int) ILiteralValueContext
- func (s *InContext) MathExp() IMathExpContext
- type IsLiteralContext
- func (s *IsLiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IsLiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IsLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *IsLiteralContext) K_IS() antlr.TerminalNode
- func (s *IsLiteralContext) KeyNot() IKeyNotContext
- func (s *IsLiteralContext) LiteralValue() ILiteralValueContext
- func (s *IsLiteralContext) MathExp() IMathExpContext
- type IsNullContext
- func (s *IsNullContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IsNullContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IsNullContext) GetRuleContext() antlr.RuleContext
- func (s *IsNullContext) K_IS() antlr.TerminalNode
- func (s *IsNullContext) K_NULL() antlr.TerminalNode
- func (s *IsNullContext) KeyNot() IKeyNotContext
- func (s *IsNullContext) MathExp() IMathExpContext
- type KeyNotContext
- func (s *KeyNotContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *KeyNotContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *KeyNotContext) GetParser() antlr.Parser
- func (s *KeyNotContext) GetRuleContext() antlr.RuleContext
- func (*KeyNotContext) IsKeyNotContext()
- func (s *KeyNotContext) K_NOT() antlr.TerminalNode
- func (s *KeyNotContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LikeContext
- func (s *LikeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LikeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LikeContext) GetRuleContext() antlr.RuleContext
- func (s *LikeContext) K_LIKE() antlr.TerminalNode
- func (s *LikeContext) KeyNot() IKeyNotContext
- func (s *LikeContext) LiteralValue() ILiteralValueContext
- func (s *LikeContext) MathExp() IMathExpContext
- type LiteralOpContext
- func (s *LiteralOpContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LiteralOpContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LiteralOpContext) GetParser() antlr.Parser
- func (s *LiteralOpContext) GetRuleContext() antlr.RuleContext
- func (*LiteralOpContext) IsLiteralOpContext()
- func (s *LiteralOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LiteralOpsContext
- func (s *LiteralOpsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LiteralOpsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LiteralOpsContext) GetRuleContext() antlr.RuleContext
- func (s *LiteralOpsContext) LiteralOp() ILiteralOpContext
- func (s *LiteralOpsContext) LiteralValue() ILiteralValueContext
- func (s *LiteralOpsContext) MathExp() IMathExpContext
- type LiteralValueContext
- func (s *LiteralValueContext) CopyFrom(ctx *LiteralValueContext)
- func (s *LiteralValueContext) GetParser() antlr.Parser
- func (s *LiteralValueContext) GetRuleContext() antlr.RuleContext
- func (*LiteralValueContext) IsLiteralValueContext()
- func (s *LiteralValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MathExpContext
- type MathParContext
- type ModOpsContext
- func (s *ModOpsContext) AllMathExp() []IMathExpContext
- func (s *ModOpsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ModOpsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ModOpsContext) GetRuleContext() antlr.RuleContext
- func (s *ModOpsContext) LiteralValue() ILiteralValueContext
- func (s *ModOpsContext) MathExp(i int) IMathExpContext
- type MulOpsContext
- func (s *MulOpsContext) AllMathExp() []IMathExpContext
- func (s *MulOpsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MulOpsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MulOpsContext) GetRuleContext() antlr.RuleContext
- func (s *MulOpsContext) LiteralValue() ILiteralValueContext
- func (s *MulOpsContext) MathExp(i int) IMathExpContext
- type NotContext
- type NumberLiteralContext
- type OrContext
- func (s *OrContext) AllExpr() []IExprContext
- func (s *OrContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OrContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OrContext) Expr(i int) IExprContext
- func (s *OrContext) GetRuleContext() antlr.RuleContext
- func (s *OrContext) K_OR() antlr.TerminalNode
- type ParContext
- type SignedNumberContext
- func (s *SignedNumberContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SignedNumberContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SignedNumberContext) GetParser() antlr.Parser
- func (s *SignedNumberContext) GetRuleContext() antlr.RuleContext
- func (*SignedNumberContext) IsSignedNumberContext()
- func (s *SignedNumberContext) NUMERIC_LITERAL() antlr.TerminalNode
- func (s *SignedNumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StartContext
- func (s *StartContext) EOF() antlr.TerminalNode
- func (s *StartContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StartContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StartContext) Expr() IExprContext
- func (s *StartContext) GetParser() antlr.Parser
- func (s *StartContext) GetRuleContext() antlr.RuleContext
- func (*StartContext) IsStartContext()
- func (s *StartContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringLiteralContext
- type StringOpContext
- func (s *StringOpContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StringOpContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StringOpContext) GetParser() antlr.Parser
- func (s *StringOpContext) GetRuleContext() antlr.RuleContext
- func (*StringOpContext) IsStringOpContext()
- func (s *StringOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringOpsContext
- func (s *StringOpsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StringOpsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StringOpsContext) GetRuleContext() antlr.RuleContext
- func (s *StringOpsContext) LiteralValue() ILiteralValueContext
- func (s *StringOpsContext) MathExp() IMathExpContext
- func (s *StringOpsContext) StringOp() IStringOpContext
- type StringValueContext
- func (s *StringValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StringValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StringValueContext) GetParser() antlr.Parser
- func (s *StringValueContext) GetRuleContext() antlr.RuleContext
- func (*StringValueContext) IsStringValueContext()
- func (s *StringValueContext) STRING_LITERAL() antlr.TerminalNode
- func (s *StringValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubOpsContext
- func (s *SubOpsContext) AllMathExp() []IMathExpContext
- func (s *SubOpsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SubOpsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SubOpsContext) GetRuleContext() antlr.RuleContext
- func (s *SubOpsContext) LiteralValue() ILiteralValueContext
- func (s *SubOpsContext) MathExp(i int) IMathExpContext
- type TSLLexer
- type TSLListener
- type TSLParser
- func (p *TSLParser) ColumnName() (localctx IColumnNameContext)
- func (p *TSLParser) DatabaseName() (localctx IDatabaseNameContext)
- func (p *TSLParser) Expr() (localctx IExprContext)
- func (p *TSLParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *TSLParser) KeyNot() (localctx IKeyNotContext)
- func (p *TSLParser) LiteralOp() (localctx ILiteralOpContext)
- func (p *TSLParser) LiteralValue() (localctx ILiteralValueContext)
- func (p *TSLParser) MathExp() (localctx IMathExpContext)
- func (p *TSLParser) MathExp_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *TSLParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *TSLParser) SignedNumber() (localctx ISignedNumberContext)
- func (p *TSLParser) Start() (localctx IStartContext)
- func (p *TSLParser) StringOp() (localctx IStringOpContext)
- func (p *TSLParser) StringValue() (localctx IStringValueContext)
- func (p *TSLParser) TableName() (localctx ITableNameContext)
- type TableNameContext
- func (s *TableNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TableNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TableNameContext) GetParser() antlr.Parser
- func (s *TableNameContext) GetRuleContext() antlr.RuleContext
- func (s *TableNameContext) IDENTIFIER() antlr.TerminalNode
- func (*TableNameContext) IsTableNameContext()
- func (s *TableNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
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 TSLLexerT__17 = 18 TSLLexerK_LIKE = 19 TSLLexerK_AND = 20 TSLLexerK_OR = 21 TSLLexerK_BETWEEN = 22 TSLLexerK_IN = 23 TSLLexerK_IS = 24 TSLLexerK_NULL = 25 TSLLexerK_NOT = 26 TSLLexerIDENTIFIER = 27 TSLLexerNUMERIC_LITERAL = 28 TSLLexerSTRING_LITERAL = 29 TSLLexerSPACES = 30 )
TSLLexer tokens.
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 TSLParserT__17 = 18 TSLParserK_LIKE = 19 TSLParserK_AND = 20 TSLParserK_OR = 21 TSLParserK_BETWEEN = 22 TSLParserK_IN = 23 TSLParserK_IS = 24 TSLParserK_NULL = 25 TSLParserK_NOT = 26 TSLParserIDENTIFIER = 27 TSLParserNUMERIC_LITERAL = 28 TSLParserSTRING_LITERAL = 29 TSLParserSPACES = 30 )
TSLParser tokens.
const ( TSLParserRULE_start = 0 TSLParserRULE_expr = 1 TSLParserRULE_literalOp = 2 TSLParserRULE_stringOp = 3 TSLParserRULE_databaseName = 4 TSLParserRULE_tableName = 5 TSLParserRULE_columnName = 6 TSLParserRULE_literalValue = 7 TSLParserRULE_mathExp = 8 TSLParserRULE_signedNumber = 9 TSLParserRULE_stringValue = 10 TSLParserRULE_keyNot = 11 )
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) AllMathExp ¶
func (s *AddOpsContext) AllMathExp() []IMathExpContext
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) LiteralValue ¶
func (s *AddOpsContext) LiteralValue() ILiteralValueContext
func (*AddOpsContext) MathExp ¶
func (s *AddOpsContext) MathExp(i int) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 ColumnIdentifierContext ¶
type ColumnIdentifierContext struct {
*MathExpContext
}
func NewColumnIdentifierContext ¶
func NewColumnIdentifierContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ColumnIdentifierContext
func (*ColumnIdentifierContext) ColumnName ¶
func (s *ColumnIdentifierContext) ColumnName() IColumnNameContext
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) DatabaseName ¶
func (s *ColumnNameContext) DatabaseName() IDatabaseNameContext
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) TableName ¶
func (s *ColumnNameContext) TableName() ITableNameContext
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 DivOpsContext ¶
type DivOpsContext struct {
*MathExpContext
}
func NewDivOpsContext ¶
func NewDivOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DivOpsContext
func (*DivOpsContext) AllMathExp ¶
func (s *DivOpsContext) AllMathExp() []IMathExpContext
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) LiteralValue ¶
func (s *DivOpsContext) LiteralValue() ILiteralValueContext
func (*DivOpsContext) MathExp ¶
func (s *DivOpsContext) MathExp(i int) 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 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 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 (s *IsLiteralContext) K_IS() antlr.TerminalNode
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) K_LIKE ¶
func (s *LikeContext) K_LIKE() antlr.TerminalNode
func (*LikeContext) KeyNot ¶
func (s *LikeContext) KeyNot() IKeyNotContext
func (*LikeContext) LiteralValue ¶
func (s *LikeContext) LiteralValue() ILiteralValueContext
func (*LikeContext) MathExp ¶
func (s *LikeContext) MathExp() IMathExpContext
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) LiteralValue ¶
func (s *LiteralOpsContext) LiteralValue() ILiteralValueContext
func (*LiteralOpsContext) MathExp ¶
func (s *LiteralOpsContext) MathExp() IMathExpContext
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) AllMathExp ¶
func (s *ModOpsContext) AllMathExp() []IMathExpContext
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) LiteralValue ¶
func (s *ModOpsContext) LiteralValue() ILiteralValueContext
func (*ModOpsContext) MathExp ¶
func (s *ModOpsContext) MathExp(i int) IMathExpContext
type MulOpsContext ¶
type MulOpsContext struct {
*MathExpContext
}
func NewMulOpsContext ¶
func NewMulOpsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MulOpsContext
func (*MulOpsContext) AllMathExp ¶
func (s *MulOpsContext) AllMathExp() []IMathExpContext
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) LiteralValue ¶
func (s *MulOpsContext) LiteralValue() ILiteralValueContext
func (*MulOpsContext) MathExp ¶
func (s *MulOpsContext) MathExp(i int) 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 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) LiteralValue ¶
func (s *StringOpsContext) LiteralValue() ILiteralValueContext
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) AllMathExp ¶
func (s *SubOpsContext) AllMathExp() []IMathExpContext
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) LiteralValue ¶
func (s *SubOpsContext) LiteralValue() ILiteralValueContext
func (*SubOpsContext) MathExp ¶
func (s *SubOpsContext) MathExp(i int) IMathExpContext
type TSLLexer ¶
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) // 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) // 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) // 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) // 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) LiteralOp ¶
func (p *TSLParser) LiteralOp() (localctx ILiteralOpContext)
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