zitiql

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZitiQlLexerT__0              = 1
	ZitiQlLexerWS                = 2
	ZitiQlLexerLPAREN            = 3
	ZitiQlLexerRPAREN            = 4
	ZitiQlLexerLBRACKET          = 5
	ZitiQlLexerRBRACKET          = 6
	ZitiQlLexerAND               = 7
	ZitiQlLexerOR                = 8
	ZitiQlLexerLT                = 9
	ZitiQlLexerGT                = 10
	ZitiQlLexerEQ                = 11
	ZitiQlLexerCONTAINS          = 12
	ZitiQlLexerIN                = 13
	ZitiQlLexerBETWEEN           = 14
	ZitiQlLexerBOOL              = 15
	ZitiQlLexerDATETIME          = 16
	ZitiQlLexerALL_OF            = 17
	ZitiQlLexerANY_OF            = 18
	ZitiQlLexerCOUNT             = 19
	ZitiQlLexerISEMPTY           = 20
	ZitiQlLexerSTRING            = 21
	ZitiQlLexerNUMBER            = 22
	ZitiQlLexerNULL              = 23
	ZitiQlLexerNOT               = 24
	ZitiQlLexerASC               = 25
	ZitiQlLexerDESC              = 26
	ZitiQlLexerSORT              = 27
	ZitiQlLexerBY                = 28
	ZitiQlLexerSKIP_ROWS         = 29
	ZitiQlLexerLIMIT_ROWS        = 30
	ZitiQlLexerNONE              = 31
	ZitiQlLexerWHERE             = 32
	ZitiQlLexerFROM              = 33
	ZitiQlLexerIDENTIFIER        = 34
	ZitiQlLexerRFC3339_DATE_TIME = 35
)

ZitiQlLexer tokens.

View Source
const (
	ZitiQlParserEOF               = antlr.TokenEOF
	ZitiQlParserT__0              = 1
	ZitiQlParserWS                = 2
	ZitiQlParserLPAREN            = 3
	ZitiQlParserRPAREN            = 4
	ZitiQlParserLBRACKET          = 5
	ZitiQlParserRBRACKET          = 6
	ZitiQlParserAND               = 7
	ZitiQlParserOR                = 8
	ZitiQlParserLT                = 9
	ZitiQlParserGT                = 10
	ZitiQlParserEQ                = 11
	ZitiQlParserCONTAINS          = 12
	ZitiQlParserIN                = 13
	ZitiQlParserBETWEEN           = 14
	ZitiQlParserBOOL              = 15
	ZitiQlParserDATETIME          = 16
	ZitiQlParserALL_OF            = 17
	ZitiQlParserANY_OF            = 18
	ZitiQlParserCOUNT             = 19
	ZitiQlParserISEMPTY           = 20
	ZitiQlParserSTRING            = 21
	ZitiQlParserNUMBER            = 22
	ZitiQlParserNULL              = 23
	ZitiQlParserNOT               = 24
	ZitiQlParserASC               = 25
	ZitiQlParserDESC              = 26
	ZitiQlParserSORT              = 27
	ZitiQlParserBY                = 28
	ZitiQlParserSKIP_ROWS         = 29
	ZitiQlParserLIMIT_ROWS        = 30
	ZitiQlParserNONE              = 31
	ZitiQlParserWHERE             = 32
	ZitiQlParserFROM              = 33
	ZitiQlParserIDENTIFIER        = 34
	ZitiQlParserRFC3339_DATE_TIME = 35
)

ZitiQlParser tokens.

View Source
const (
	ZitiQlParserRULE_stringArray   = 0
	ZitiQlParserRULE_numberArray   = 1
	ZitiQlParserRULE_datetimeArray = 2
	ZitiQlParserRULE_start         = 3
	ZitiQlParserRULE_query         = 4
	ZitiQlParserRULE_skip          = 5
	ZitiQlParserRULE_limit         = 6
	ZitiQlParserRULE_sortBy        = 7
	ZitiQlParserRULE_sortField     = 8
	ZitiQlParserRULE_boolExpr      = 9
	ZitiQlParserRULE_operation     = 10
	ZitiQlParserRULE_binaryLhs     = 11
	ZitiQlParserRULE_setFunction   = 12
	ZitiQlParserRULE_setExpr       = 13
	ZitiQlParserRULE_subQueryExpr  = 14
)

ZitiQlParser rules.

Variables

This section is empty.

Functions

func ParseZqlDatetime

func ParseZqlDatetime(text string) (time.Time, error)

func ParseZqlString

func ParseZqlString(text string) string

Types

type AndExprContext

type AndExprContext struct {
	*BoolExprContext
}

func NewAndExprContext

func NewAndExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AndExprContext

func (*AndExprContext) AND

func (*AndExprContext) AllAND

func (s *AndExprContext) AllAND() []antlr.TerminalNode

func (*AndExprContext) AllBoolExpr

func (s *AndExprContext) AllBoolExpr() []IBoolExprContext

func (*AndExprContext) AllWS

func (s *AndExprContext) AllWS() []antlr.TerminalNode

func (*AndExprContext) BoolExpr

func (s *AndExprContext) BoolExpr(i int) IBoolExprContext

func (*AndExprContext) EnterRule

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

func (*AndExprContext) ExitRule

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

func (*AndExprContext) GetRuleContext

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

func (*AndExprContext) WS

type BaseZitiQlListener

type BaseZitiQlListener struct{}

BaseZitiQlListener is a complete listener for a parse tree produced by ZitiQlParser.

func (*BaseZitiQlListener) EnterAndExpr

func (s *BaseZitiQlListener) EnterAndExpr(ctx *AndExprContext)

EnterAndExpr is called when production AndExpr is entered.

func (*BaseZitiQlListener) EnterBetweenDateOp

func (s *BaseZitiQlListener) EnterBetweenDateOp(ctx *BetweenDateOpContext)

EnterBetweenDateOp is called when production BetweenDateOp is entered.

func (*BaseZitiQlListener) EnterBetweenNumberOp

func (s *BaseZitiQlListener) EnterBetweenNumberOp(ctx *BetweenNumberOpContext)

EnterBetweenNumberOp is called when production BetweenNumberOp is entered.

func (*BaseZitiQlListener) EnterBinaryContainsOp

func (s *BaseZitiQlListener) EnterBinaryContainsOp(ctx *BinaryContainsOpContext)

EnterBinaryContainsOp is called when production BinaryContainsOp is entered.

func (*BaseZitiQlListener) EnterBinaryEqualToBoolOp

func (s *BaseZitiQlListener) EnterBinaryEqualToBoolOp(ctx *BinaryEqualToBoolOpContext)

EnterBinaryEqualToBoolOp is called when production BinaryEqualToBoolOp is entered.

func (*BaseZitiQlListener) EnterBinaryEqualToDatetimeOp

func (s *BaseZitiQlListener) EnterBinaryEqualToDatetimeOp(ctx *BinaryEqualToDatetimeOpContext)

EnterBinaryEqualToDatetimeOp is called when production BinaryEqualToDatetimeOp is entered.

func (*BaseZitiQlListener) EnterBinaryEqualToNullOp

func (s *BaseZitiQlListener) EnterBinaryEqualToNullOp(ctx *BinaryEqualToNullOpContext)

EnterBinaryEqualToNullOp is called when production BinaryEqualToNullOp is entered.

func (*BaseZitiQlListener) EnterBinaryEqualToNumberOp

func (s *BaseZitiQlListener) EnterBinaryEqualToNumberOp(ctx *BinaryEqualToNumberOpContext)

EnterBinaryEqualToNumberOp is called when production BinaryEqualToNumberOp is entered.

func (*BaseZitiQlListener) EnterBinaryEqualToStringOp

func (s *BaseZitiQlListener) EnterBinaryEqualToStringOp(ctx *BinaryEqualToStringOpContext)

EnterBinaryEqualToStringOp is called when production BinaryEqualToStringOp is entered.

func (*BaseZitiQlListener) EnterBinaryGreaterThanDatetimeOp

func (s *BaseZitiQlListener) EnterBinaryGreaterThanDatetimeOp(ctx *BinaryGreaterThanDatetimeOpContext)

EnterBinaryGreaterThanDatetimeOp is called when production BinaryGreaterThanDatetimeOp is entered.

func (*BaseZitiQlListener) EnterBinaryGreaterThanNumberOp

func (s *BaseZitiQlListener) EnterBinaryGreaterThanNumberOp(ctx *BinaryGreaterThanNumberOpContext)

EnterBinaryGreaterThanNumberOp is called when production BinaryGreaterThanNumberOp is entered.

func (*BaseZitiQlListener) EnterBinaryGreaterThanStringOp

func (s *BaseZitiQlListener) EnterBinaryGreaterThanStringOp(ctx *BinaryGreaterThanStringOpContext)

EnterBinaryGreaterThanStringOp is called when production BinaryGreaterThanStringOp is entered.

func (*BaseZitiQlListener) EnterBinaryLessThanDatetimeOp

func (s *BaseZitiQlListener) EnterBinaryLessThanDatetimeOp(ctx *BinaryLessThanDatetimeOpContext)

EnterBinaryLessThanDatetimeOp is called when production BinaryLessThanDatetimeOp is entered.

func (*BaseZitiQlListener) EnterBinaryLessThanNumberOp

func (s *BaseZitiQlListener) EnterBinaryLessThanNumberOp(ctx *BinaryLessThanNumberOpContext)

EnterBinaryLessThanNumberOp is called when production BinaryLessThanNumberOp is entered.

func (*BaseZitiQlListener) EnterBinaryLessThanStringOp

func (s *BaseZitiQlListener) EnterBinaryLessThanStringOp(ctx *BinaryLessThanStringOpContext)

EnterBinaryLessThanStringOp is called when production BinaryLessThanStringOp is entered.

func (*BaseZitiQlListener) EnterBinaryLhs

func (s *BaseZitiQlListener) EnterBinaryLhs(ctx *BinaryLhsContext)

EnterBinaryLhs is called when production binaryLhs is entered.

func (*BaseZitiQlListener) EnterBoolConst

func (s *BaseZitiQlListener) EnterBoolConst(ctx *BoolConstContext)

EnterBoolConst is called when production BoolConst is entered.

func (*BaseZitiQlListener) EnterBoolSymbol

func (s *BaseZitiQlListener) EnterBoolSymbol(ctx *BoolSymbolContext)

EnterBoolSymbol is called when production BoolSymbol is entered.

func (*BaseZitiQlListener) EnterDatetimeArray

func (s *BaseZitiQlListener) EnterDatetimeArray(ctx *DatetimeArrayContext)

EnterDatetimeArray is called when production datetimeArray is entered.

func (*BaseZitiQlListener) EnterEnd

func (s *BaseZitiQlListener) EnterEnd(ctx *EndContext)

EnterEnd is called when production End is entered.

func (*BaseZitiQlListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseZitiQlListener) EnterGroup

func (s *BaseZitiQlListener) EnterGroup(ctx *GroupContext)

EnterGroup is called when production Group is entered.

func (*BaseZitiQlListener) EnterInDatetimeArrayOp

func (s *BaseZitiQlListener) EnterInDatetimeArrayOp(ctx *InDatetimeArrayOpContext)

EnterInDatetimeArrayOp is called when production InDatetimeArrayOp is entered.

func (*BaseZitiQlListener) EnterInNumberArrayOp

func (s *BaseZitiQlListener) EnterInNumberArrayOp(ctx *InNumberArrayOpContext)

EnterInNumberArrayOp is called when production InNumberArrayOp is entered.

func (*BaseZitiQlListener) EnterInStringArrayOp

func (s *BaseZitiQlListener) EnterInStringArrayOp(ctx *InStringArrayOpContext)

EnterInStringArrayOp is called when production InStringArrayOp is entered.

func (*BaseZitiQlListener) EnterIsEmptyFunction

func (s *BaseZitiQlListener) EnterIsEmptyFunction(ctx *IsEmptyFunctionContext)

EnterIsEmptyFunction is called when production IsEmptyFunction is entered.

func (*BaseZitiQlListener) EnterLimitExpr

func (s *BaseZitiQlListener) EnterLimitExpr(ctx *LimitExprContext)

EnterLimitExpr is called when production LimitExpr is entered.

func (*BaseZitiQlListener) EnterNotExpr

func (s *BaseZitiQlListener) EnterNotExpr(ctx *NotExprContext)

EnterNotExpr is called when production NotExpr is entered.

func (*BaseZitiQlListener) EnterNumberArray

func (s *BaseZitiQlListener) EnterNumberArray(ctx *NumberArrayContext)

EnterNumberArray is called when production numberArray is entered.

func (*BaseZitiQlListener) EnterOperationOp

func (s *BaseZitiQlListener) EnterOperationOp(ctx *OperationOpContext)

EnterOperationOp is called when production OperationOp is entered.

func (*BaseZitiQlListener) EnterOrExpr

func (s *BaseZitiQlListener) EnterOrExpr(ctx *OrExprContext)

EnterOrExpr is called when production OrExpr is entered.

func (*BaseZitiQlListener) EnterQueryStmt

func (s *BaseZitiQlListener) EnterQueryStmt(ctx *QueryStmtContext)

EnterQueryStmt is called when production QueryStmt is entered.

func (*BaseZitiQlListener) EnterSetExpr

func (s *BaseZitiQlListener) EnterSetExpr(ctx *SetExprContext)

EnterSetExpr is called when production setExpr is entered.

func (*BaseZitiQlListener) EnterSetFunctionExpr

func (s *BaseZitiQlListener) EnterSetFunctionExpr(ctx *SetFunctionExprContext)

EnterSetFunctionExpr is called when production SetFunctionExpr is entered.

func (*BaseZitiQlListener) EnterSkipExpr

func (s *BaseZitiQlListener) EnterSkipExpr(ctx *SkipExprContext)

EnterSkipExpr is called when production SkipExpr is entered.

func (*BaseZitiQlListener) EnterSortByExpr

func (s *BaseZitiQlListener) EnterSortByExpr(ctx *SortByExprContext)

EnterSortByExpr is called when production SortByExpr is entered.

func (*BaseZitiQlListener) EnterSortFieldExpr

func (s *BaseZitiQlListener) EnterSortFieldExpr(ctx *SortFieldExprContext)

EnterSortFieldExpr is called when production SortFieldExpr is entered.

func (*BaseZitiQlListener) EnterStringArray

func (s *BaseZitiQlListener) EnterStringArray(ctx *StringArrayContext)

EnterStringArray is called when production stringArray is entered.

func (*BaseZitiQlListener) EnterSubQuery

func (s *BaseZitiQlListener) EnterSubQuery(ctx *SubQueryContext)

EnterSubQuery is called when production SubQuery is entered.

func (*BaseZitiQlListener) ExitAndExpr

func (s *BaseZitiQlListener) ExitAndExpr(ctx *AndExprContext)

ExitAndExpr is called when production AndExpr is exited.

func (*BaseZitiQlListener) ExitBetweenDateOp

func (s *BaseZitiQlListener) ExitBetweenDateOp(ctx *BetweenDateOpContext)

ExitBetweenDateOp is called when production BetweenDateOp is exited.

func (*BaseZitiQlListener) ExitBetweenNumberOp

func (s *BaseZitiQlListener) ExitBetweenNumberOp(ctx *BetweenNumberOpContext)

ExitBetweenNumberOp is called when production BetweenNumberOp is exited.

func (*BaseZitiQlListener) ExitBinaryContainsOp

func (s *BaseZitiQlListener) ExitBinaryContainsOp(ctx *BinaryContainsOpContext)

ExitBinaryContainsOp is called when production BinaryContainsOp is exited.

func (*BaseZitiQlListener) ExitBinaryEqualToBoolOp

func (s *BaseZitiQlListener) ExitBinaryEqualToBoolOp(ctx *BinaryEqualToBoolOpContext)

ExitBinaryEqualToBoolOp is called when production BinaryEqualToBoolOp is exited.

func (*BaseZitiQlListener) ExitBinaryEqualToDatetimeOp

func (s *BaseZitiQlListener) ExitBinaryEqualToDatetimeOp(ctx *BinaryEqualToDatetimeOpContext)

ExitBinaryEqualToDatetimeOp is called when production BinaryEqualToDatetimeOp is exited.

func (*BaseZitiQlListener) ExitBinaryEqualToNullOp

func (s *BaseZitiQlListener) ExitBinaryEqualToNullOp(ctx *BinaryEqualToNullOpContext)

ExitBinaryEqualToNullOp is called when production BinaryEqualToNullOp is exited.

func (*BaseZitiQlListener) ExitBinaryEqualToNumberOp

func (s *BaseZitiQlListener) ExitBinaryEqualToNumberOp(ctx *BinaryEqualToNumberOpContext)

ExitBinaryEqualToNumberOp is called when production BinaryEqualToNumberOp is exited.

func (*BaseZitiQlListener) ExitBinaryEqualToStringOp

func (s *BaseZitiQlListener) ExitBinaryEqualToStringOp(ctx *BinaryEqualToStringOpContext)

ExitBinaryEqualToStringOp is called when production BinaryEqualToStringOp is exited.

func (*BaseZitiQlListener) ExitBinaryGreaterThanDatetimeOp

func (s *BaseZitiQlListener) ExitBinaryGreaterThanDatetimeOp(ctx *BinaryGreaterThanDatetimeOpContext)

ExitBinaryGreaterThanDatetimeOp is called when production BinaryGreaterThanDatetimeOp is exited.

func (*BaseZitiQlListener) ExitBinaryGreaterThanNumberOp

func (s *BaseZitiQlListener) ExitBinaryGreaterThanNumberOp(ctx *BinaryGreaterThanNumberOpContext)

ExitBinaryGreaterThanNumberOp is called when production BinaryGreaterThanNumberOp is exited.

func (*BaseZitiQlListener) ExitBinaryGreaterThanStringOp

func (s *BaseZitiQlListener) ExitBinaryGreaterThanStringOp(ctx *BinaryGreaterThanStringOpContext)

ExitBinaryGreaterThanStringOp is called when production BinaryGreaterThanStringOp is exited.

func (*BaseZitiQlListener) ExitBinaryLessThanDatetimeOp

func (s *BaseZitiQlListener) ExitBinaryLessThanDatetimeOp(ctx *BinaryLessThanDatetimeOpContext)

ExitBinaryLessThanDatetimeOp is called when production BinaryLessThanDatetimeOp is exited.

func (*BaseZitiQlListener) ExitBinaryLessThanNumberOp

func (s *BaseZitiQlListener) ExitBinaryLessThanNumberOp(ctx *BinaryLessThanNumberOpContext)

ExitBinaryLessThanNumberOp is called when production BinaryLessThanNumberOp is exited.

func (*BaseZitiQlListener) ExitBinaryLessThanStringOp

func (s *BaseZitiQlListener) ExitBinaryLessThanStringOp(ctx *BinaryLessThanStringOpContext)

ExitBinaryLessThanStringOp is called when production BinaryLessThanStringOp is exited.

func (*BaseZitiQlListener) ExitBinaryLhs

func (s *BaseZitiQlListener) ExitBinaryLhs(ctx *BinaryLhsContext)

ExitBinaryLhs is called when production binaryLhs is exited.

func (*BaseZitiQlListener) ExitBoolConst

func (s *BaseZitiQlListener) ExitBoolConst(ctx *BoolConstContext)

ExitBoolConst is called when production BoolConst is exited.

func (*BaseZitiQlListener) ExitBoolSymbol

func (s *BaseZitiQlListener) ExitBoolSymbol(ctx *BoolSymbolContext)

ExitBoolSymbol is called when production BoolSymbol is exited.

func (*BaseZitiQlListener) ExitDatetimeArray

func (s *BaseZitiQlListener) ExitDatetimeArray(ctx *DatetimeArrayContext)

ExitDatetimeArray is called when production datetimeArray is exited.

func (*BaseZitiQlListener) ExitEnd

func (s *BaseZitiQlListener) ExitEnd(ctx *EndContext)

ExitEnd is called when production End is exited.

func (*BaseZitiQlListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseZitiQlListener) ExitGroup

func (s *BaseZitiQlListener) ExitGroup(ctx *GroupContext)

ExitGroup is called when production Group is exited.

func (*BaseZitiQlListener) ExitInDatetimeArrayOp

func (s *BaseZitiQlListener) ExitInDatetimeArrayOp(ctx *InDatetimeArrayOpContext)

ExitInDatetimeArrayOp is called when production InDatetimeArrayOp is exited.

func (*BaseZitiQlListener) ExitInNumberArrayOp

func (s *BaseZitiQlListener) ExitInNumberArrayOp(ctx *InNumberArrayOpContext)

ExitInNumberArrayOp is called when production InNumberArrayOp is exited.

func (*BaseZitiQlListener) ExitInStringArrayOp

func (s *BaseZitiQlListener) ExitInStringArrayOp(ctx *InStringArrayOpContext)

ExitInStringArrayOp is called when production InStringArrayOp is exited.

func (*BaseZitiQlListener) ExitIsEmptyFunction

func (s *BaseZitiQlListener) ExitIsEmptyFunction(ctx *IsEmptyFunctionContext)

ExitIsEmptyFunction is called when production IsEmptyFunction is exited.

func (*BaseZitiQlListener) ExitLimitExpr

func (s *BaseZitiQlListener) ExitLimitExpr(ctx *LimitExprContext)

ExitLimitExpr is called when production LimitExpr is exited.

func (*BaseZitiQlListener) ExitNotExpr

func (s *BaseZitiQlListener) ExitNotExpr(ctx *NotExprContext)

ExitNotExpr is called when production NotExpr is exited.

func (*BaseZitiQlListener) ExitNumberArray

func (s *BaseZitiQlListener) ExitNumberArray(ctx *NumberArrayContext)

ExitNumberArray is called when production numberArray is exited.

func (*BaseZitiQlListener) ExitOperationOp

func (s *BaseZitiQlListener) ExitOperationOp(ctx *OperationOpContext)

ExitOperationOp is called when production OperationOp is exited.

func (*BaseZitiQlListener) ExitOrExpr

func (s *BaseZitiQlListener) ExitOrExpr(ctx *OrExprContext)

ExitOrExpr is called when production OrExpr is exited.

func (*BaseZitiQlListener) ExitQueryStmt

func (s *BaseZitiQlListener) ExitQueryStmt(ctx *QueryStmtContext)

ExitQueryStmt is called when production QueryStmt is exited.

func (*BaseZitiQlListener) ExitSetExpr

func (s *BaseZitiQlListener) ExitSetExpr(ctx *SetExprContext)

ExitSetExpr is called when production setExpr is exited.

func (*BaseZitiQlListener) ExitSetFunctionExpr

func (s *BaseZitiQlListener) ExitSetFunctionExpr(ctx *SetFunctionExprContext)

ExitSetFunctionExpr is called when production SetFunctionExpr is exited.

func (*BaseZitiQlListener) ExitSkipExpr

func (s *BaseZitiQlListener) ExitSkipExpr(ctx *SkipExprContext)

ExitSkipExpr is called when production SkipExpr is exited.

func (*BaseZitiQlListener) ExitSortByExpr

func (s *BaseZitiQlListener) ExitSortByExpr(ctx *SortByExprContext)

ExitSortByExpr is called when production SortByExpr is exited.

func (*BaseZitiQlListener) ExitSortFieldExpr

func (s *BaseZitiQlListener) ExitSortFieldExpr(ctx *SortFieldExprContext)

ExitSortFieldExpr is called when production SortFieldExpr is exited.

func (*BaseZitiQlListener) ExitStringArray

func (s *BaseZitiQlListener) ExitStringArray(ctx *StringArrayContext)

ExitStringArray is called when production stringArray is exited.

func (*BaseZitiQlListener) ExitSubQuery

func (s *BaseZitiQlListener) ExitSubQuery(ctx *SubQueryContext)

ExitSubQuery is called when production SubQuery is exited.

func (*BaseZitiQlListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseZitiQlListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BetweenDateOpContext

type BetweenDateOpContext struct {
	*OperationContext
}

func NewBetweenDateOpContext

func NewBetweenDateOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BetweenDateOpContext

func (*BetweenDateOpContext) AND

func (*BetweenDateOpContext) AllDATETIME

func (s *BetweenDateOpContext) AllDATETIME() []antlr.TerminalNode

func (*BetweenDateOpContext) AllWS

func (*BetweenDateOpContext) BETWEEN

func (*BetweenDateOpContext) BinaryLhs

func (s *BetweenDateOpContext) BinaryLhs() IBinaryLhsContext

func (*BetweenDateOpContext) DATETIME

func (s *BetweenDateOpContext) DATETIME(i int) antlr.TerminalNode

func (*BetweenDateOpContext) EnterRule

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

func (*BetweenDateOpContext) ExitRule

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

func (*BetweenDateOpContext) GetRuleContext

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

func (*BetweenDateOpContext) WS

type BetweenNumberOpContext

type BetweenNumberOpContext struct {
	*OperationContext
}

func NewBetweenNumberOpContext

func NewBetweenNumberOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BetweenNumberOpContext

func (*BetweenNumberOpContext) AND

func (*BetweenNumberOpContext) AllNUMBER

func (s *BetweenNumberOpContext) AllNUMBER() []antlr.TerminalNode

func (*BetweenNumberOpContext) AllWS

func (*BetweenNumberOpContext) BETWEEN

func (*BetweenNumberOpContext) BinaryLhs

func (*BetweenNumberOpContext) EnterRule

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

func (*BetweenNumberOpContext) ExitRule

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

func (*BetweenNumberOpContext) GetRuleContext

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

func (*BetweenNumberOpContext) NUMBER

func (*BetweenNumberOpContext) WS

type BinaryContainsOpContext

type BinaryContainsOpContext struct {
	*OperationContext
}

func NewBinaryContainsOpContext

func NewBinaryContainsOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryContainsOpContext

func (*BinaryContainsOpContext) AllWS

func (*BinaryContainsOpContext) BinaryLhs

func (*BinaryContainsOpContext) CONTAINS

func (*BinaryContainsOpContext) EnterRule

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

func (*BinaryContainsOpContext) ExitRule

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

func (*BinaryContainsOpContext) GetRuleContext

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

func (*BinaryContainsOpContext) NUMBER

func (*BinaryContainsOpContext) STRING

func (*BinaryContainsOpContext) WS

type BinaryEqualToBoolOpContext

type BinaryEqualToBoolOpContext struct {
	*OperationContext
}

func NewBinaryEqualToBoolOpContext

func NewBinaryEqualToBoolOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryEqualToBoolOpContext

func (*BinaryEqualToBoolOpContext) AllWS

func (*BinaryEqualToBoolOpContext) BOOL

func (*BinaryEqualToBoolOpContext) BinaryLhs

func (*BinaryEqualToBoolOpContext) EQ

func (*BinaryEqualToBoolOpContext) EnterRule

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

func (*BinaryEqualToBoolOpContext) ExitRule

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

func (*BinaryEqualToBoolOpContext) GetRuleContext

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

func (*BinaryEqualToBoolOpContext) WS

type BinaryEqualToDatetimeOpContext

type BinaryEqualToDatetimeOpContext struct {
	*OperationContext
}

func NewBinaryEqualToDatetimeOpContext

func NewBinaryEqualToDatetimeOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryEqualToDatetimeOpContext

func (*BinaryEqualToDatetimeOpContext) AllWS

func (*BinaryEqualToDatetimeOpContext) BinaryLhs

func (*BinaryEqualToDatetimeOpContext) DATETIME

func (*BinaryEqualToDatetimeOpContext) EQ

func (*BinaryEqualToDatetimeOpContext) EnterRule

func (*BinaryEqualToDatetimeOpContext) ExitRule

func (*BinaryEqualToDatetimeOpContext) GetRuleContext

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

func (*BinaryEqualToDatetimeOpContext) WS

type BinaryEqualToNullOpContext

type BinaryEqualToNullOpContext struct {
	*OperationContext
}

func NewBinaryEqualToNullOpContext

func NewBinaryEqualToNullOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryEqualToNullOpContext

func (*BinaryEqualToNullOpContext) AllWS

func (*BinaryEqualToNullOpContext) BinaryLhs

func (*BinaryEqualToNullOpContext) EQ

func (*BinaryEqualToNullOpContext) EnterRule

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

func (*BinaryEqualToNullOpContext) ExitRule

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

func (*BinaryEqualToNullOpContext) GetRuleContext

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

func (*BinaryEqualToNullOpContext) NULL

func (*BinaryEqualToNullOpContext) WS

type BinaryEqualToNumberOpContext

type BinaryEqualToNumberOpContext struct {
	*OperationContext
}

func NewBinaryEqualToNumberOpContext

func NewBinaryEqualToNumberOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryEqualToNumberOpContext

func (*BinaryEqualToNumberOpContext) AllWS

func (*BinaryEqualToNumberOpContext) BinaryLhs

func (*BinaryEqualToNumberOpContext) EQ

func (*BinaryEqualToNumberOpContext) EnterRule

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

func (*BinaryEqualToNumberOpContext) ExitRule

func (*BinaryEqualToNumberOpContext) GetRuleContext

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

func (*BinaryEqualToNumberOpContext) NUMBER

func (*BinaryEqualToNumberOpContext) WS

type BinaryEqualToStringOpContext

type BinaryEqualToStringOpContext struct {
	*OperationContext
}

func NewBinaryEqualToStringOpContext

func NewBinaryEqualToStringOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryEqualToStringOpContext

func (*BinaryEqualToStringOpContext) AllWS

func (*BinaryEqualToStringOpContext) BinaryLhs

func (*BinaryEqualToStringOpContext) EQ

func (*BinaryEqualToStringOpContext) EnterRule

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

func (*BinaryEqualToStringOpContext) ExitRule

func (*BinaryEqualToStringOpContext) GetRuleContext

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

func (*BinaryEqualToStringOpContext) STRING

func (*BinaryEqualToStringOpContext) WS

type BinaryGreaterThanDatetimeOpContext

type BinaryGreaterThanDatetimeOpContext struct {
	*OperationContext
}

func (*BinaryGreaterThanDatetimeOpContext) AllWS

func (*BinaryGreaterThanDatetimeOpContext) BinaryLhs

func (*BinaryGreaterThanDatetimeOpContext) DATETIME

func (*BinaryGreaterThanDatetimeOpContext) EnterRule

func (*BinaryGreaterThanDatetimeOpContext) ExitRule

func (*BinaryGreaterThanDatetimeOpContext) GT

func (*BinaryGreaterThanDatetimeOpContext) GetRuleContext

func (*BinaryGreaterThanDatetimeOpContext) WS

type BinaryGreaterThanNumberOpContext

type BinaryGreaterThanNumberOpContext struct {
	*OperationContext
}

func NewBinaryGreaterThanNumberOpContext

func NewBinaryGreaterThanNumberOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryGreaterThanNumberOpContext

func (*BinaryGreaterThanNumberOpContext) AllWS

func (*BinaryGreaterThanNumberOpContext) BinaryLhs

func (*BinaryGreaterThanNumberOpContext) EnterRule

func (*BinaryGreaterThanNumberOpContext) ExitRule

func (*BinaryGreaterThanNumberOpContext) GT

func (*BinaryGreaterThanNumberOpContext) GetRuleContext

func (*BinaryGreaterThanNumberOpContext) NUMBER

func (*BinaryGreaterThanNumberOpContext) WS

type BinaryGreaterThanStringOpContext

type BinaryGreaterThanStringOpContext struct {
	*OperationContext
}

func NewBinaryGreaterThanStringOpContext

func NewBinaryGreaterThanStringOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryGreaterThanStringOpContext

func (*BinaryGreaterThanStringOpContext) AllWS

func (*BinaryGreaterThanStringOpContext) BinaryLhs

func (*BinaryGreaterThanStringOpContext) EnterRule

func (*BinaryGreaterThanStringOpContext) ExitRule

func (*BinaryGreaterThanStringOpContext) GT

func (*BinaryGreaterThanStringOpContext) GetRuleContext

func (*BinaryGreaterThanStringOpContext) STRING

func (*BinaryGreaterThanStringOpContext) WS

type BinaryLessThanDatetimeOpContext

type BinaryLessThanDatetimeOpContext struct {
	*OperationContext
}

func NewBinaryLessThanDatetimeOpContext

func NewBinaryLessThanDatetimeOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryLessThanDatetimeOpContext

func (*BinaryLessThanDatetimeOpContext) AllWS

func (*BinaryLessThanDatetimeOpContext) BinaryLhs

func (*BinaryLessThanDatetimeOpContext) DATETIME

func (*BinaryLessThanDatetimeOpContext) EnterRule

func (*BinaryLessThanDatetimeOpContext) ExitRule

func (*BinaryLessThanDatetimeOpContext) GetRuleContext

func (*BinaryLessThanDatetimeOpContext) LT

func (*BinaryLessThanDatetimeOpContext) WS

type BinaryLessThanNumberOpContext

type BinaryLessThanNumberOpContext struct {
	*OperationContext
}

func NewBinaryLessThanNumberOpContext

func NewBinaryLessThanNumberOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryLessThanNumberOpContext

func (*BinaryLessThanNumberOpContext) AllWS

func (*BinaryLessThanNumberOpContext) BinaryLhs

func (*BinaryLessThanNumberOpContext) EnterRule

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

func (*BinaryLessThanNumberOpContext) ExitRule

func (*BinaryLessThanNumberOpContext) GetRuleContext

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

func (*BinaryLessThanNumberOpContext) LT

func (*BinaryLessThanNumberOpContext) NUMBER

func (*BinaryLessThanNumberOpContext) WS

type BinaryLessThanStringOpContext

type BinaryLessThanStringOpContext struct {
	*OperationContext
}

func NewBinaryLessThanStringOpContext

func NewBinaryLessThanStringOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryLessThanStringOpContext

func (*BinaryLessThanStringOpContext) AllWS

func (*BinaryLessThanStringOpContext) BinaryLhs

func (*BinaryLessThanStringOpContext) EnterRule

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

func (*BinaryLessThanStringOpContext) ExitRule

func (*BinaryLessThanStringOpContext) GetRuleContext

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

func (*BinaryLessThanStringOpContext) LT

func (*BinaryLessThanStringOpContext) STRING

func (*BinaryLessThanStringOpContext) WS

type BinaryLhsContext

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

func NewBinaryLhsContext

func NewBinaryLhsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BinaryLhsContext

func NewEmptyBinaryLhsContext

func NewEmptyBinaryLhsContext() *BinaryLhsContext

func (*BinaryLhsContext) EnterRule

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

func (*BinaryLhsContext) ExitRule

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

func (*BinaryLhsContext) GetParser

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

func (*BinaryLhsContext) GetRuleContext

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

func (*BinaryLhsContext) IDENTIFIER

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

func (*BinaryLhsContext) IsBinaryLhsContext

func (*BinaryLhsContext) IsBinaryLhsContext()

func (*BinaryLhsContext) SetFunction

func (s *BinaryLhsContext) SetFunction() ISetFunctionContext

func (*BinaryLhsContext) ToStringTree

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

type BoolConstContext

type BoolConstContext struct {
	*BoolExprContext
}

func NewBoolConstContext

func NewBoolConstContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolConstContext

func (*BoolConstContext) BOOL

func (*BoolConstContext) EnterRule

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

func (*BoolConstContext) ExitRule

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

func (*BoolConstContext) GetRuleContext

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

type BoolExprContext

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

func NewBoolExprContext

func NewBoolExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoolExprContext

func NewEmptyBoolExprContext

func NewEmptyBoolExprContext() *BoolExprContext

func (*BoolExprContext) CopyFrom

func (s *BoolExprContext) CopyFrom(ctx *BoolExprContext)

func (*BoolExprContext) GetParser

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

func (*BoolExprContext) GetRuleContext

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

func (*BoolExprContext) IsBoolExprContext

func (*BoolExprContext) IsBoolExprContext()

func (*BoolExprContext) ToStringTree

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

type BoolSymbolContext

type BoolSymbolContext struct {
	*BoolExprContext
}

func NewBoolSymbolContext

func NewBoolSymbolContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolSymbolContext

func (*BoolSymbolContext) EnterRule

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

func (*BoolSymbolContext) ExitRule

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

func (*BoolSymbolContext) GetRuleContext

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

func (*BoolSymbolContext) IDENTIFIER

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

type DatetimeArrayContext

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

func NewDatetimeArrayContext

func NewDatetimeArrayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DatetimeArrayContext

func NewEmptyDatetimeArrayContext

func NewEmptyDatetimeArrayContext() *DatetimeArrayContext

func (*DatetimeArrayContext) AllDATETIME

func (s *DatetimeArrayContext) AllDATETIME() []antlr.TerminalNode

func (*DatetimeArrayContext) AllWS

func (*DatetimeArrayContext) DATETIME

func (s *DatetimeArrayContext) DATETIME(i int) antlr.TerminalNode

func (*DatetimeArrayContext) EnterRule

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

func (*DatetimeArrayContext) ExitRule

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

func (*DatetimeArrayContext) GetParser

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

func (*DatetimeArrayContext) GetRuleContext

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

func (*DatetimeArrayContext) IsDatetimeArrayContext

func (*DatetimeArrayContext) IsDatetimeArrayContext()

func (*DatetimeArrayContext) LBRACKET

func (s *DatetimeArrayContext) LBRACKET() antlr.TerminalNode

func (*DatetimeArrayContext) RBRACKET

func (s *DatetimeArrayContext) RBRACKET() antlr.TerminalNode

func (*DatetimeArrayContext) ToStringTree

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

func (*DatetimeArrayContext) WS

type EndContext

type EndContext struct {
	*StartContext
}

func NewEndContext

func NewEndContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *EndContext

func (*EndContext) AllQuery

func (s *EndContext) AllQuery() []IQueryContext

func (*EndContext) AllWS

func (s *EndContext) AllWS() []antlr.TerminalNode

func (*EndContext) EOF

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

func (*EndContext) EnterRule

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

func (*EndContext) ExitRule

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

func (*EndContext) GetRuleContext

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

func (*EndContext) Query

func (s *EndContext) Query(i int) IQueryContext

func (*EndContext) WS

func (s *EndContext) WS(i int) antlr.TerminalNode

type ErrorListener

type ErrorListener struct {
	Errors []ParseError
}

func (*ErrorListener) ReportAmbiguity

func (el *ErrorListener) ReportAmbiguity(antlr.Parser, *antlr.DFA, int, int, bool, *antlr.BitSet, antlr.ATNConfigSet)

func (*ErrorListener) ReportAttemptingFullContext

func (el *ErrorListener) ReportAttemptingFullContext(antlr.Parser, *antlr.DFA, int, int, *antlr.BitSet, antlr.ATNConfigSet)

func (*ErrorListener) ReportContextSensitivity

func (el *ErrorListener) ReportContextSensitivity(antlr.Parser, *antlr.DFA, int, int, int, antlr.ATNConfigSet)

func (*ErrorListener) SyntaxError

func (el *ErrorListener) SyntaxError(_ antlr.Recognizer, offendingSymbol interface{}, line, column int, _ string, _ antlr.RecognitionException)

type GroupContext

type GroupContext struct {
	*BoolExprContext
}

func NewGroupContext

func NewGroupContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *GroupContext

func (*GroupContext) AllWS

func (s *GroupContext) AllWS() []antlr.TerminalNode

func (*GroupContext) BoolExpr

func (s *GroupContext) BoolExpr() IBoolExprContext

func (*GroupContext) EnterRule

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

func (*GroupContext) ExitRule

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

func (*GroupContext) GetRuleContext

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

func (*GroupContext) LPAREN

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

func (*GroupContext) RPAREN

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

func (*GroupContext) WS

type IBinaryLhsContext

type IBinaryLhsContext interface {
	antlr.ParserRuleContext

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

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

IBinaryLhsContext is an interface to support dynamic dispatch.

type IBoolExprContext

type IBoolExprContext interface {
	antlr.ParserRuleContext

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

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

IBoolExprContext is an interface to support dynamic dispatch.

type IDatetimeArrayContext

type IDatetimeArrayContext interface {
	antlr.ParserRuleContext

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

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

IDatetimeArrayContext is an interface to support dynamic dispatch.

type ILimitContext

type ILimitContext interface {
	antlr.ParserRuleContext

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

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

ILimitContext is an interface to support dynamic dispatch.

type INumberArrayContext

type INumberArrayContext interface {
	antlr.ParserRuleContext

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

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

INumberArrayContext is an interface to support dynamic dispatch.

type IOperationContext

type IOperationContext interface {
	antlr.ParserRuleContext

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

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

IOperationContext is an interface to support dynamic dispatch.

type IQueryContext

type IQueryContext interface {
	antlr.ParserRuleContext

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

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

IQueryContext is an interface to support dynamic dispatch.

type ISetExprContext

type ISetExprContext interface {
	antlr.ParserRuleContext

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

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

ISetExprContext is an interface to support dynamic dispatch.

type ISetFunctionContext

type ISetFunctionContext interface {
	antlr.ParserRuleContext

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

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

ISetFunctionContext is an interface to support dynamic dispatch.

type ISkipContext

type ISkipContext interface {
	antlr.ParserRuleContext

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

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

ISkipContext is an interface to support dynamic dispatch.

type ISortByContext

type ISortByContext interface {
	antlr.ParserRuleContext

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

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

ISortByContext is an interface to support dynamic dispatch.

type ISortFieldContext

type ISortFieldContext interface {
	antlr.ParserRuleContext

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

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

ISortFieldContext 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 IStringArrayContext

type IStringArrayContext interface {
	antlr.ParserRuleContext

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

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

IStringArrayContext is an interface to support dynamic dispatch.

type ISubQueryExprContext

type ISubQueryExprContext interface {
	antlr.ParserRuleContext

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

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

ISubQueryExprContext is an interface to support dynamic dispatch.

type InDatetimeArrayOpContext

type InDatetimeArrayOpContext struct {
	*OperationContext
}

func NewInDatetimeArrayOpContext

func NewInDatetimeArrayOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InDatetimeArrayOpContext

func (*InDatetimeArrayOpContext) AllWS

func (*InDatetimeArrayOpContext) BinaryLhs

func (*InDatetimeArrayOpContext) DatetimeArray

func (*InDatetimeArrayOpContext) EnterRule

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

func (*InDatetimeArrayOpContext) ExitRule

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

func (*InDatetimeArrayOpContext) GetRuleContext

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

func (*InDatetimeArrayOpContext) IN

func (*InDatetimeArrayOpContext) WS

type InNumberArrayOpContext

type InNumberArrayOpContext struct {
	*OperationContext
}

func NewInNumberArrayOpContext

func NewInNumberArrayOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InNumberArrayOpContext

func (*InNumberArrayOpContext) AllWS

func (*InNumberArrayOpContext) BinaryLhs

func (*InNumberArrayOpContext) EnterRule

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

func (*InNumberArrayOpContext) ExitRule

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

func (*InNumberArrayOpContext) GetRuleContext

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

func (*InNumberArrayOpContext) IN

func (*InNumberArrayOpContext) NumberArray

func (*InNumberArrayOpContext) WS

type InStringArrayOpContext

type InStringArrayOpContext struct {
	*OperationContext
}

func NewInStringArrayOpContext

func NewInStringArrayOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InStringArrayOpContext

func (*InStringArrayOpContext) AllWS

func (*InStringArrayOpContext) BinaryLhs

func (*InStringArrayOpContext) EnterRule

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

func (*InStringArrayOpContext) ExitRule

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

func (*InStringArrayOpContext) GetRuleContext

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

func (*InStringArrayOpContext) IN

func (*InStringArrayOpContext) StringArray

func (*InStringArrayOpContext) WS

type IsEmptyFunctionContext

type IsEmptyFunctionContext struct {
	*BoolExprContext
}

func NewIsEmptyFunctionContext

func NewIsEmptyFunctionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IsEmptyFunctionContext

func (*IsEmptyFunctionContext) AllWS

func (*IsEmptyFunctionContext) EnterRule

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

func (*IsEmptyFunctionContext) ExitRule

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

func (*IsEmptyFunctionContext) GetRuleContext

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

func (*IsEmptyFunctionContext) ISEMPTY

func (*IsEmptyFunctionContext) LPAREN

func (*IsEmptyFunctionContext) RPAREN

func (*IsEmptyFunctionContext) SetExpr

func (*IsEmptyFunctionContext) WS

type LimitContext

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

func NewEmptyLimitContext

func NewEmptyLimitContext() *LimitContext

func NewLimitContext

func NewLimitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LimitContext

func (*LimitContext) CopyFrom

func (s *LimitContext) CopyFrom(ctx *LimitContext)

func (*LimitContext) GetParser

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

func (*LimitContext) GetRuleContext

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

func (*LimitContext) IsLimitContext

func (*LimitContext) IsLimitContext()

func (*LimitContext) ToStringTree

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

type LimitExprContext

type LimitExprContext struct {
	*LimitContext
}

func NewLimitExprContext

func NewLimitExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LimitExprContext

func (*LimitExprContext) AllWS

func (s *LimitExprContext) AllWS() []antlr.TerminalNode

func (*LimitExprContext) EnterRule

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

func (*LimitExprContext) ExitRule

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

func (*LimitExprContext) GetRuleContext

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

func (*LimitExprContext) LIMIT_ROWS

func (s *LimitExprContext) LIMIT_ROWS() antlr.TerminalNode

func (*LimitExprContext) NONE

func (*LimitExprContext) NUMBER

func (s *LimitExprContext) NUMBER() antlr.TerminalNode

func (*LimitExprContext) WS

type NotExprContext

type NotExprContext struct {
	*BoolExprContext
}

func NewNotExprContext

func NewNotExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NotExprContext

func (*NotExprContext) AllWS

func (s *NotExprContext) AllWS() []antlr.TerminalNode

func (*NotExprContext) BoolExpr

func (s *NotExprContext) BoolExpr() IBoolExprContext

func (*NotExprContext) EnterRule

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

func (*NotExprContext) ExitRule

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

func (*NotExprContext) GetRuleContext

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

func (*NotExprContext) NOT

func (*NotExprContext) WS

type NumberArrayContext

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

func NewEmptyNumberArrayContext

func NewEmptyNumberArrayContext() *NumberArrayContext

func NewNumberArrayContext

func NewNumberArrayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberArrayContext

func (*NumberArrayContext) AllNUMBER

func (s *NumberArrayContext) AllNUMBER() []antlr.TerminalNode

func (*NumberArrayContext) AllWS

func (s *NumberArrayContext) AllWS() []antlr.TerminalNode

func (*NumberArrayContext) EnterRule

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

func (*NumberArrayContext) ExitRule

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

func (*NumberArrayContext) GetParser

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

func (*NumberArrayContext) GetRuleContext

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

func (*NumberArrayContext) IsNumberArrayContext

func (*NumberArrayContext) IsNumberArrayContext()

func (*NumberArrayContext) LBRACKET

func (s *NumberArrayContext) LBRACKET() antlr.TerminalNode

func (*NumberArrayContext) NUMBER

func (*NumberArrayContext) RBRACKET

func (s *NumberArrayContext) RBRACKET() antlr.TerminalNode

func (*NumberArrayContext) ToStringTree

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

func (*NumberArrayContext) WS

type OperationContext

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

func NewEmptyOperationContext

func NewEmptyOperationContext() *OperationContext

func NewOperationContext

func NewOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperationContext

func (*OperationContext) CopyFrom

func (s *OperationContext) CopyFrom(ctx *OperationContext)

func (*OperationContext) GetParser

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

func (*OperationContext) GetRuleContext

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

func (*OperationContext) IsOperationContext

func (*OperationContext) IsOperationContext()

func (*OperationContext) ToStringTree

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

type OperationOpContext

type OperationOpContext struct {
	*BoolExprContext
}

func NewOperationOpContext

func NewOperationOpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OperationOpContext

func (*OperationOpContext) EnterRule

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

func (*OperationOpContext) ExitRule

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

func (*OperationOpContext) GetRuleContext

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

func (*OperationOpContext) Operation

func (s *OperationOpContext) Operation() IOperationContext

type OrExprContext

type OrExprContext struct {
	*BoolExprContext
}

func NewOrExprContext

func NewOrExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OrExprContext

func (*OrExprContext) AllBoolExpr

func (s *OrExprContext) AllBoolExpr() []IBoolExprContext

func (*OrExprContext) AllOR

func (s *OrExprContext) AllOR() []antlr.TerminalNode

func (*OrExprContext) AllWS

func (s *OrExprContext) AllWS() []antlr.TerminalNode

func (*OrExprContext) BoolExpr

func (s *OrExprContext) BoolExpr(i int) IBoolExprContext

func (*OrExprContext) EnterRule

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

func (*OrExprContext) ExitRule

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

func (*OrExprContext) GetRuleContext

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

func (*OrExprContext) OR

func (*OrExprContext) WS

type ParseError

type ParseError struct {
	Line    int
	Column  int
	Symbol  string
	Message string
}

func Parse

func Parse(str string, l ZitiQlListener) []ParseError

func ParseWithDebug

func ParseWithDebug(str string, l ZitiQlListener, debug bool) []ParseError

func (ParseError) Error

func (p ParseError) Error() string

type QueryContext

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

func NewEmptyQueryContext

func NewEmptyQueryContext() *QueryContext

func NewQueryContext

func NewQueryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QueryContext

func (*QueryContext) CopyFrom

func (s *QueryContext) CopyFrom(ctx *QueryContext)

func (*QueryContext) GetParser

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

func (*QueryContext) GetRuleContext

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

func (*QueryContext) IsQueryContext

func (*QueryContext) IsQueryContext()

func (*QueryContext) ToStringTree

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

type QueryStmtContext

type QueryStmtContext struct {
	*QueryContext
}

func NewQueryStmtContext

func NewQueryStmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *QueryStmtContext

func (*QueryStmtContext) AllWS

func (s *QueryStmtContext) AllWS() []antlr.TerminalNode

func (*QueryStmtContext) BoolExpr

func (s *QueryStmtContext) BoolExpr() IBoolExprContext

func (*QueryStmtContext) EnterRule

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

func (*QueryStmtContext) ExitRule

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

func (*QueryStmtContext) GetRuleContext

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

func (*QueryStmtContext) Limit

func (s *QueryStmtContext) Limit() ILimitContext

func (*QueryStmtContext) Skip

func (s *QueryStmtContext) Skip() ISkipContext

func (*QueryStmtContext) SortBy

func (s *QueryStmtContext) SortBy() ISortByContext

func (*QueryStmtContext) WS

type SetExprContext

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

func NewEmptySetExprContext

func NewEmptySetExprContext() *SetExprContext

func NewSetExprContext

func NewSetExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SetExprContext

func (*SetExprContext) EnterRule

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

func (*SetExprContext) ExitRule

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

func (*SetExprContext) GetParser

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

func (*SetExprContext) GetRuleContext

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

func (*SetExprContext) IDENTIFIER

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

func (*SetExprContext) IsSetExprContext

func (*SetExprContext) IsSetExprContext()

func (*SetExprContext) SubQueryExpr

func (s *SetExprContext) SubQueryExpr() ISubQueryExprContext

func (*SetExprContext) ToStringTree

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

type SetFunctionContext

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

func NewEmptySetFunctionContext

func NewEmptySetFunctionContext() *SetFunctionContext

func NewSetFunctionContext

func NewSetFunctionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SetFunctionContext

func (*SetFunctionContext) CopyFrom

func (s *SetFunctionContext) CopyFrom(ctx *SetFunctionContext)

func (*SetFunctionContext) GetParser

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

func (*SetFunctionContext) GetRuleContext

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

func (*SetFunctionContext) IsSetFunctionContext

func (*SetFunctionContext) IsSetFunctionContext()

func (*SetFunctionContext) ToStringTree

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

type SetFunctionExprContext

type SetFunctionExprContext struct {
	*SetFunctionContext
}

func NewSetFunctionExprContext

func NewSetFunctionExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SetFunctionExprContext

func (*SetFunctionExprContext) ALL_OF

func (*SetFunctionExprContext) ANY_OF

func (*SetFunctionExprContext) AllWS

func (*SetFunctionExprContext) COUNT

func (*SetFunctionExprContext) EnterRule

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

func (*SetFunctionExprContext) ExitRule

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

func (*SetFunctionExprContext) GetRuleContext

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

func (*SetFunctionExprContext) IDENTIFIER

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

func (*SetFunctionExprContext) LPAREN

func (*SetFunctionExprContext) RPAREN

func (*SetFunctionExprContext) SetExpr

func (*SetFunctionExprContext) WS

type SkipContext

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

func NewEmptySkipContext

func NewEmptySkipContext() *SkipContext

func NewSkipContext

func NewSkipContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SkipContext

func (*SkipContext) CopyFrom

func (s *SkipContext) CopyFrom(ctx *SkipContext)

func (*SkipContext) GetParser

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

func (*SkipContext) GetRuleContext

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

func (*SkipContext) IsSkipContext

func (*SkipContext) IsSkipContext()

func (*SkipContext) ToStringTree

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

type SkipExprContext

type SkipExprContext struct {
	*SkipContext
}

func NewSkipExprContext

func NewSkipExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SkipExprContext

func (*SkipExprContext) AllWS

func (s *SkipExprContext) AllWS() []antlr.TerminalNode

func (*SkipExprContext) EnterRule

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

func (*SkipExprContext) ExitRule

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

func (*SkipExprContext) GetRuleContext

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

func (*SkipExprContext) NUMBER

func (s *SkipExprContext) NUMBER() antlr.TerminalNode

func (*SkipExprContext) SKIP_ROWS

func (s *SkipExprContext) SKIP_ROWS() antlr.TerminalNode

func (*SkipExprContext) WS

type SortByContext

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

func NewEmptySortByContext

func NewEmptySortByContext() *SortByContext

func NewSortByContext

func NewSortByContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SortByContext

func (*SortByContext) CopyFrom

func (s *SortByContext) CopyFrom(ctx *SortByContext)

func (*SortByContext) GetParser

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

func (*SortByContext) GetRuleContext

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

func (*SortByContext) IsSortByContext

func (*SortByContext) IsSortByContext()

func (*SortByContext) ToStringTree

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

type SortByExprContext

type SortByExprContext struct {
	*SortByContext
}

func NewSortByExprContext

func NewSortByExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SortByExprContext

func (*SortByExprContext) AllSortField

func (s *SortByExprContext) AllSortField() []ISortFieldContext

func (*SortByExprContext) AllWS

func (s *SortByExprContext) AllWS() []antlr.TerminalNode

func (*SortByExprContext) BY

func (*SortByExprContext) EnterRule

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

func (*SortByExprContext) ExitRule

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

func (*SortByExprContext) GetRuleContext

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

func (*SortByExprContext) SORT

func (*SortByExprContext) SortField

func (s *SortByExprContext) SortField(i int) ISortFieldContext

func (*SortByExprContext) WS

type SortFieldContext

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

func NewEmptySortFieldContext

func NewEmptySortFieldContext() *SortFieldContext

func NewSortFieldContext

func NewSortFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SortFieldContext

func (*SortFieldContext) CopyFrom

func (s *SortFieldContext) CopyFrom(ctx *SortFieldContext)

func (*SortFieldContext) GetParser

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

func (*SortFieldContext) GetRuleContext

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

func (*SortFieldContext) IsSortFieldContext

func (*SortFieldContext) IsSortFieldContext()

func (*SortFieldContext) ToStringTree

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

type SortFieldExprContext

type SortFieldExprContext struct {
	*SortFieldContext
}

func NewSortFieldExprContext

func NewSortFieldExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SortFieldExprContext

func (*SortFieldExprContext) ASC

func (*SortFieldExprContext) AllWS

func (*SortFieldExprContext) DESC

func (*SortFieldExprContext) EnterRule

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

func (*SortFieldExprContext) ExitRule

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

func (*SortFieldExprContext) GetRuleContext

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

func (*SortFieldExprContext) IDENTIFIER

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

func (*SortFieldExprContext) WS

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

func (s *StartContext) CopyFrom(ctx *StartContext)

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 StringArrayContext

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

func NewEmptyStringArrayContext

func NewEmptyStringArrayContext() *StringArrayContext

func NewStringArrayContext

func NewStringArrayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringArrayContext

func (*StringArrayContext) AllSTRING

func (s *StringArrayContext) AllSTRING() []antlr.TerminalNode

func (*StringArrayContext) AllWS

func (s *StringArrayContext) AllWS() []antlr.TerminalNode

func (*StringArrayContext) EnterRule

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

func (*StringArrayContext) ExitRule

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

func (*StringArrayContext) GetParser

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

func (*StringArrayContext) GetRuleContext

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

func (*StringArrayContext) IsStringArrayContext

func (*StringArrayContext) IsStringArrayContext()

func (*StringArrayContext) LBRACKET

func (s *StringArrayContext) LBRACKET() antlr.TerminalNode

func (*StringArrayContext) RBRACKET

func (s *StringArrayContext) RBRACKET() antlr.TerminalNode

func (*StringArrayContext) STRING

func (*StringArrayContext) ToStringTree

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

func (*StringArrayContext) WS

type SubQueryContext

type SubQueryContext struct {
	*SubQueryExprContext
}

func NewSubQueryContext

func NewSubQueryContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SubQueryContext

func (*SubQueryContext) AllWS

func (s *SubQueryContext) AllWS() []antlr.TerminalNode

func (*SubQueryContext) EnterRule

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

func (*SubQueryContext) ExitRule

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

func (*SubQueryContext) FROM

func (*SubQueryContext) GetRuleContext

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

func (*SubQueryContext) IDENTIFIER

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

func (*SubQueryContext) Query

func (s *SubQueryContext) Query() IQueryContext

func (*SubQueryContext) WHERE

func (s *SubQueryContext) WHERE() antlr.TerminalNode

func (*SubQueryContext) WS

type SubQueryExprContext

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

func NewEmptySubQueryExprContext

func NewEmptySubQueryExprContext() *SubQueryExprContext

func NewSubQueryExprContext

func NewSubQueryExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubQueryExprContext

func (*SubQueryExprContext) CopyFrom

func (s *SubQueryExprContext) CopyFrom(ctx *SubQueryExprContext)

func (*SubQueryExprContext) GetParser

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

func (*SubQueryExprContext) GetRuleContext

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

func (*SubQueryExprContext) IsSubQueryExprContext

func (*SubQueryExprContext) IsSubQueryExprContext()

func (*SubQueryExprContext) ToStringTree

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

type ZitiQlLexer

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

func NewZitiQlLexer

func NewZitiQlLexer(input antlr.CharStream) *ZitiQlLexer

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

The *ZitiQlLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

type ZitiQlListener

type ZitiQlListener interface {
	antlr.ParseTreeListener

	// EnterStringArray is called when entering the stringArray production.
	EnterStringArray(c *StringArrayContext)

	// EnterNumberArray is called when entering the numberArray production.
	EnterNumberArray(c *NumberArrayContext)

	// EnterDatetimeArray is called when entering the datetimeArray production.
	EnterDatetimeArray(c *DatetimeArrayContext)

	// EnterEnd is called when entering the End production.
	EnterEnd(c *EndContext)

	// EnterQueryStmt is called when entering the QueryStmt production.
	EnterQueryStmt(c *QueryStmtContext)

	// EnterSkipExpr is called when entering the SkipExpr production.
	EnterSkipExpr(c *SkipExprContext)

	// EnterLimitExpr is called when entering the LimitExpr production.
	EnterLimitExpr(c *LimitExprContext)

	// EnterSortByExpr is called when entering the SortByExpr production.
	EnterSortByExpr(c *SortByExprContext)

	// EnterSortFieldExpr is called when entering the SortFieldExpr production.
	EnterSortFieldExpr(c *SortFieldExprContext)

	// EnterAndExpr is called when entering the AndExpr production.
	EnterAndExpr(c *AndExprContext)

	// EnterGroup is called when entering the Group production.
	EnterGroup(c *GroupContext)

	// EnterBoolConst is called when entering the BoolConst production.
	EnterBoolConst(c *BoolConstContext)

	// EnterIsEmptyFunction is called when entering the IsEmptyFunction production.
	EnterIsEmptyFunction(c *IsEmptyFunctionContext)

	// EnterNotExpr is called when entering the NotExpr production.
	EnterNotExpr(c *NotExprContext)

	// EnterOperationOp is called when entering the OperationOp production.
	EnterOperationOp(c *OperationOpContext)

	// EnterOrExpr is called when entering the OrExpr production.
	EnterOrExpr(c *OrExprContext)

	// EnterBoolSymbol is called when entering the BoolSymbol production.
	EnterBoolSymbol(c *BoolSymbolContext)

	// EnterInStringArrayOp is called when entering the InStringArrayOp production.
	EnterInStringArrayOp(c *InStringArrayOpContext)

	// EnterInNumberArrayOp is called when entering the InNumberArrayOp production.
	EnterInNumberArrayOp(c *InNumberArrayOpContext)

	// EnterInDatetimeArrayOp is called when entering the InDatetimeArrayOp production.
	EnterInDatetimeArrayOp(c *InDatetimeArrayOpContext)

	// EnterBetweenNumberOp is called when entering the BetweenNumberOp production.
	EnterBetweenNumberOp(c *BetweenNumberOpContext)

	// EnterBetweenDateOp is called when entering the BetweenDateOp production.
	EnterBetweenDateOp(c *BetweenDateOpContext)

	// EnterBinaryLessThanStringOp is called when entering the BinaryLessThanStringOp production.
	EnterBinaryLessThanStringOp(c *BinaryLessThanStringOpContext)

	// EnterBinaryLessThanNumberOp is called when entering the BinaryLessThanNumberOp production.
	EnterBinaryLessThanNumberOp(c *BinaryLessThanNumberOpContext)

	// EnterBinaryLessThanDatetimeOp is called when entering the BinaryLessThanDatetimeOp production.
	EnterBinaryLessThanDatetimeOp(c *BinaryLessThanDatetimeOpContext)

	// EnterBinaryGreaterThanStringOp is called when entering the BinaryGreaterThanStringOp production.
	EnterBinaryGreaterThanStringOp(c *BinaryGreaterThanStringOpContext)

	// EnterBinaryGreaterThanNumberOp is called when entering the BinaryGreaterThanNumberOp production.
	EnterBinaryGreaterThanNumberOp(c *BinaryGreaterThanNumberOpContext)

	// EnterBinaryGreaterThanDatetimeOp is called when entering the BinaryGreaterThanDatetimeOp production.
	EnterBinaryGreaterThanDatetimeOp(c *BinaryGreaterThanDatetimeOpContext)

	// EnterBinaryEqualToStringOp is called when entering the BinaryEqualToStringOp production.
	EnterBinaryEqualToStringOp(c *BinaryEqualToStringOpContext)

	// EnterBinaryEqualToNumberOp is called when entering the BinaryEqualToNumberOp production.
	EnterBinaryEqualToNumberOp(c *BinaryEqualToNumberOpContext)

	// EnterBinaryEqualToDatetimeOp is called when entering the BinaryEqualToDatetimeOp production.
	EnterBinaryEqualToDatetimeOp(c *BinaryEqualToDatetimeOpContext)

	// EnterBinaryEqualToBoolOp is called when entering the BinaryEqualToBoolOp production.
	EnterBinaryEqualToBoolOp(c *BinaryEqualToBoolOpContext)

	// EnterBinaryEqualToNullOp is called when entering the BinaryEqualToNullOp production.
	EnterBinaryEqualToNullOp(c *BinaryEqualToNullOpContext)

	// EnterBinaryContainsOp is called when entering the BinaryContainsOp production.
	EnterBinaryContainsOp(c *BinaryContainsOpContext)

	// EnterBinaryLhs is called when entering the binaryLhs production.
	EnterBinaryLhs(c *BinaryLhsContext)

	// EnterSetFunctionExpr is called when entering the SetFunctionExpr production.
	EnterSetFunctionExpr(c *SetFunctionExprContext)

	// EnterSetExpr is called when entering the setExpr production.
	EnterSetExpr(c *SetExprContext)

	// EnterSubQuery is called when entering the SubQuery production.
	EnterSubQuery(c *SubQueryContext)

	// ExitStringArray is called when exiting the stringArray production.
	ExitStringArray(c *StringArrayContext)

	// ExitNumberArray is called when exiting the numberArray production.
	ExitNumberArray(c *NumberArrayContext)

	// ExitDatetimeArray is called when exiting the datetimeArray production.
	ExitDatetimeArray(c *DatetimeArrayContext)

	// ExitEnd is called when exiting the End production.
	ExitEnd(c *EndContext)

	// ExitQueryStmt is called when exiting the QueryStmt production.
	ExitQueryStmt(c *QueryStmtContext)

	// ExitSkipExpr is called when exiting the SkipExpr production.
	ExitSkipExpr(c *SkipExprContext)

	// ExitLimitExpr is called when exiting the LimitExpr production.
	ExitLimitExpr(c *LimitExprContext)

	// ExitSortByExpr is called when exiting the SortByExpr production.
	ExitSortByExpr(c *SortByExprContext)

	// ExitSortFieldExpr is called when exiting the SortFieldExpr production.
	ExitSortFieldExpr(c *SortFieldExprContext)

	// ExitAndExpr is called when exiting the AndExpr production.
	ExitAndExpr(c *AndExprContext)

	// ExitGroup is called when exiting the Group production.
	ExitGroup(c *GroupContext)

	// ExitBoolConst is called when exiting the BoolConst production.
	ExitBoolConst(c *BoolConstContext)

	// ExitIsEmptyFunction is called when exiting the IsEmptyFunction production.
	ExitIsEmptyFunction(c *IsEmptyFunctionContext)

	// ExitNotExpr is called when exiting the NotExpr production.
	ExitNotExpr(c *NotExprContext)

	// ExitOperationOp is called when exiting the OperationOp production.
	ExitOperationOp(c *OperationOpContext)

	// ExitOrExpr is called when exiting the OrExpr production.
	ExitOrExpr(c *OrExprContext)

	// ExitBoolSymbol is called when exiting the BoolSymbol production.
	ExitBoolSymbol(c *BoolSymbolContext)

	// ExitInStringArrayOp is called when exiting the InStringArrayOp production.
	ExitInStringArrayOp(c *InStringArrayOpContext)

	// ExitInNumberArrayOp is called when exiting the InNumberArrayOp production.
	ExitInNumberArrayOp(c *InNumberArrayOpContext)

	// ExitInDatetimeArrayOp is called when exiting the InDatetimeArrayOp production.
	ExitInDatetimeArrayOp(c *InDatetimeArrayOpContext)

	// ExitBetweenNumberOp is called when exiting the BetweenNumberOp production.
	ExitBetweenNumberOp(c *BetweenNumberOpContext)

	// ExitBetweenDateOp is called when exiting the BetweenDateOp production.
	ExitBetweenDateOp(c *BetweenDateOpContext)

	// ExitBinaryLessThanStringOp is called when exiting the BinaryLessThanStringOp production.
	ExitBinaryLessThanStringOp(c *BinaryLessThanStringOpContext)

	// ExitBinaryLessThanNumberOp is called when exiting the BinaryLessThanNumberOp production.
	ExitBinaryLessThanNumberOp(c *BinaryLessThanNumberOpContext)

	// ExitBinaryLessThanDatetimeOp is called when exiting the BinaryLessThanDatetimeOp production.
	ExitBinaryLessThanDatetimeOp(c *BinaryLessThanDatetimeOpContext)

	// ExitBinaryGreaterThanStringOp is called when exiting the BinaryGreaterThanStringOp production.
	ExitBinaryGreaterThanStringOp(c *BinaryGreaterThanStringOpContext)

	// ExitBinaryGreaterThanNumberOp is called when exiting the BinaryGreaterThanNumberOp production.
	ExitBinaryGreaterThanNumberOp(c *BinaryGreaterThanNumberOpContext)

	// ExitBinaryGreaterThanDatetimeOp is called when exiting the BinaryGreaterThanDatetimeOp production.
	ExitBinaryGreaterThanDatetimeOp(c *BinaryGreaterThanDatetimeOpContext)

	// ExitBinaryEqualToStringOp is called when exiting the BinaryEqualToStringOp production.
	ExitBinaryEqualToStringOp(c *BinaryEqualToStringOpContext)

	// ExitBinaryEqualToNumberOp is called when exiting the BinaryEqualToNumberOp production.
	ExitBinaryEqualToNumberOp(c *BinaryEqualToNumberOpContext)

	// ExitBinaryEqualToDatetimeOp is called when exiting the BinaryEqualToDatetimeOp production.
	ExitBinaryEqualToDatetimeOp(c *BinaryEqualToDatetimeOpContext)

	// ExitBinaryEqualToBoolOp is called when exiting the BinaryEqualToBoolOp production.
	ExitBinaryEqualToBoolOp(c *BinaryEqualToBoolOpContext)

	// ExitBinaryEqualToNullOp is called when exiting the BinaryEqualToNullOp production.
	ExitBinaryEqualToNullOp(c *BinaryEqualToNullOpContext)

	// ExitBinaryContainsOp is called when exiting the BinaryContainsOp production.
	ExitBinaryContainsOp(c *BinaryContainsOpContext)

	// ExitBinaryLhs is called when exiting the binaryLhs production.
	ExitBinaryLhs(c *BinaryLhsContext)

	// ExitSetFunctionExpr is called when exiting the SetFunctionExpr production.
	ExitSetFunctionExpr(c *SetFunctionExprContext)

	// ExitSetExpr is called when exiting the setExpr production.
	ExitSetExpr(c *SetExprContext)

	// ExitSubQuery is called when exiting the SubQuery production.
	ExitSubQuery(c *SubQueryContext)
}

ZitiQlListener is a complete listener for a parse tree produced by ZitiQlParser.

type ZitiQlParser

type ZitiQlParser struct {
	*antlr.BaseParser
}

func NewZitiQlParser

func NewZitiQlParser(input antlr.TokenStream) *ZitiQlParser

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

The *ZitiQlParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.

func (*ZitiQlParser) BinaryLhs

func (p *ZitiQlParser) BinaryLhs() (localctx IBinaryLhsContext)

func (*ZitiQlParser) BoolExpr

func (p *ZitiQlParser) BoolExpr() (localctx IBoolExprContext)

func (*ZitiQlParser) BoolExpr_Sempred

func (p *ZitiQlParser) BoolExpr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*ZitiQlParser) DatetimeArray

func (p *ZitiQlParser) DatetimeArray() (localctx IDatetimeArrayContext)

func (*ZitiQlParser) Limit

func (p *ZitiQlParser) Limit() (localctx ILimitContext)

func (*ZitiQlParser) NumberArray

func (p *ZitiQlParser) NumberArray() (localctx INumberArrayContext)

func (*ZitiQlParser) Operation

func (p *ZitiQlParser) Operation() (localctx IOperationContext)

func (*ZitiQlParser) Query

func (p *ZitiQlParser) Query() (localctx IQueryContext)

func (*ZitiQlParser) Sempred

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

func (*ZitiQlParser) SetExpr

func (p *ZitiQlParser) SetExpr() (localctx ISetExprContext)

func (*ZitiQlParser) SetFunction

func (p *ZitiQlParser) SetFunction() (localctx ISetFunctionContext)

func (*ZitiQlParser) Skip

func (p *ZitiQlParser) Skip() (localctx ISkipContext)

func (*ZitiQlParser) SortBy

func (p *ZitiQlParser) SortBy() (localctx ISortByContext)

func (*ZitiQlParser) SortField

func (p *ZitiQlParser) SortField() (localctx ISortFieldContext)

func (*ZitiQlParser) Start

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

func (*ZitiQlParser) StringArray

func (p *ZitiQlParser) StringArray() (localctx IStringArrayContext)

func (*ZitiQlParser) SubQueryExpr

func (p *ZitiQlParser) SubQueryExpr() (localctx ISubQueryExprContext)

Jump to

Keyboard shortcuts

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