Documentation ¶
Index ¶
- Constants
- Variables
- func InitEmptyAliasContext(p *AliasContext)
- func InitEmptyArgContext(p *ArgContext)
- func InitEmptyCountFuncContext(p *CountFuncContext)
- func InitEmptyElementContext(p *ElementContext)
- func InitEmptyExprContext(p *ExprContext)
- func InitEmptyExprElementContext(p *ExprElementContext)
- func InitEmptyFuncContext(p *FuncContext)
- func InitEmptyFuncElementContext(p *FuncElementContext)
- func InitEmptyFuncNameContext(p *FuncNameContext)
- func InitEmptyGroupByContext(p *GroupByContext)
- func InitEmptyGroupByTermContext(p *GroupByTermContext)
- func InitEmptyHandleContext(p *HandleContext)
- func InitEmptyHandleTableContext(p *HandleTableContext)
- func InitEmptyHavingContext(p *HavingContext)
- func InitEmptyJoinContext(p *JoinContext)
- func InitEmptyJoinTableContext(p *JoinTableContext)
- func InitEmptyLiteralContext(p *LiteralContext)
- func InitEmptyOrderByContext(p *OrderByContext)
- func InitEmptyOrderByTermContext(p *OrderByTermContext)
- func InitEmptyQueryContext(p *QueryContext)
- func InitEmptyRowRangeContext(p *RowRangeContext)
- func InitEmptySegmentContext(p *SegmentContext)
- func InitEmptySelectorContext(p *SelectorContext)
- func InitEmptySelectorElementContext(p *SelectorElementContext)
- func InitEmptyStmtListContext(p *StmtListContext)
- func InitEmptyUnaryOperatorContext(p *UnaryOperatorContext)
- func InitEmptyUniqueFuncContext(p *UniqueFuncContext)
- func InitEmptyWhereContext(p *WhereContext)
- func SLQLexerInit()
- func SLQParserInit()
- type AliasContext
- func (s *AliasContext) ALIAS_RESERVED() antlr.TerminalNode
- func (s *AliasContext) ARG() antlr.TerminalNode
- func (s *AliasContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AliasContext) COLON() antlr.TerminalNode
- func (s *AliasContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AliasContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AliasContext) GetParser() antlr.Parser
- func (s *AliasContext) GetRuleContext() antlr.RuleContext
- func (s *AliasContext) ID() antlr.TerminalNode
- func (*AliasContext) IsAliasContext()
- func (s *AliasContext) STRING() antlr.TerminalNode
- func (s *AliasContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArgContext
- func (s *ArgContext) ARG() antlr.TerminalNode
- func (s *ArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArgContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgContext) GetParser() antlr.Parser
- func (s *ArgContext) GetRuleContext() antlr.RuleContext
- func (*ArgContext) IsArgContext()
- func (s *ArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseSLQListener
- func (s *BaseSLQListener) EnterAlias(ctx *AliasContext)
- func (s *BaseSLQListener) EnterArg(ctx *ArgContext)
- func (s *BaseSLQListener) EnterCountFunc(ctx *CountFuncContext)
- func (s *BaseSLQListener) EnterElement(ctx *ElementContext)
- func (s *BaseSLQListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseSLQListener) EnterExpr(ctx *ExprContext)
- func (s *BaseSLQListener) EnterExprElement(ctx *ExprElementContext)
- func (s *BaseSLQListener) EnterFunc(ctx *FuncContext)
- func (s *BaseSLQListener) EnterFuncElement(ctx *FuncElementContext)
- func (s *BaseSLQListener) EnterFuncName(ctx *FuncNameContext)
- func (s *BaseSLQListener) EnterGroupBy(ctx *GroupByContext)
- func (s *BaseSLQListener) EnterGroupByTerm(ctx *GroupByTermContext)
- func (s *BaseSLQListener) EnterHandle(ctx *HandleContext)
- func (s *BaseSLQListener) EnterHandleTable(ctx *HandleTableContext)
- func (s *BaseSLQListener) EnterHaving(ctx *HavingContext)
- func (s *BaseSLQListener) EnterJoin(ctx *JoinContext)
- func (s *BaseSLQListener) EnterJoinTable(ctx *JoinTableContext)
- func (s *BaseSLQListener) EnterLiteral(ctx *LiteralContext)
- func (s *BaseSLQListener) EnterOrderBy(ctx *OrderByContext)
- func (s *BaseSLQListener) EnterOrderByTerm(ctx *OrderByTermContext)
- func (s *BaseSLQListener) EnterQuery(ctx *QueryContext)
- func (s *BaseSLQListener) EnterRowRange(ctx *RowRangeContext)
- func (s *BaseSLQListener) EnterSegment(ctx *SegmentContext)
- func (s *BaseSLQListener) EnterSelector(ctx *SelectorContext)
- func (s *BaseSLQListener) EnterSelectorElement(ctx *SelectorElementContext)
- func (s *BaseSLQListener) EnterStmtList(ctx *StmtListContext)
- func (s *BaseSLQListener) EnterUnaryOperator(ctx *UnaryOperatorContext)
- func (s *BaseSLQListener) EnterUniqueFunc(ctx *UniqueFuncContext)
- func (s *BaseSLQListener) EnterWhere(ctx *WhereContext)
- func (s *BaseSLQListener) ExitAlias(ctx *AliasContext)
- func (s *BaseSLQListener) ExitArg(ctx *ArgContext)
- func (s *BaseSLQListener) ExitCountFunc(ctx *CountFuncContext)
- func (s *BaseSLQListener) ExitElement(ctx *ElementContext)
- func (s *BaseSLQListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseSLQListener) ExitExpr(ctx *ExprContext)
- func (s *BaseSLQListener) ExitExprElement(ctx *ExprElementContext)
- func (s *BaseSLQListener) ExitFunc(ctx *FuncContext)
- func (s *BaseSLQListener) ExitFuncElement(ctx *FuncElementContext)
- func (s *BaseSLQListener) ExitFuncName(ctx *FuncNameContext)
- func (s *BaseSLQListener) ExitGroupBy(ctx *GroupByContext)
- func (s *BaseSLQListener) ExitGroupByTerm(ctx *GroupByTermContext)
- func (s *BaseSLQListener) ExitHandle(ctx *HandleContext)
- func (s *BaseSLQListener) ExitHandleTable(ctx *HandleTableContext)
- func (s *BaseSLQListener) ExitHaving(ctx *HavingContext)
- func (s *BaseSLQListener) ExitJoin(ctx *JoinContext)
- func (s *BaseSLQListener) ExitJoinTable(ctx *JoinTableContext)
- func (s *BaseSLQListener) ExitLiteral(ctx *LiteralContext)
- func (s *BaseSLQListener) ExitOrderBy(ctx *OrderByContext)
- func (s *BaseSLQListener) ExitOrderByTerm(ctx *OrderByTermContext)
- func (s *BaseSLQListener) ExitQuery(ctx *QueryContext)
- func (s *BaseSLQListener) ExitRowRange(ctx *RowRangeContext)
- func (s *BaseSLQListener) ExitSegment(ctx *SegmentContext)
- func (s *BaseSLQListener) ExitSelector(ctx *SelectorContext)
- func (s *BaseSLQListener) ExitSelectorElement(ctx *SelectorElementContext)
- func (s *BaseSLQListener) ExitStmtList(ctx *StmtListContext)
- func (s *BaseSLQListener) ExitUnaryOperator(ctx *UnaryOperatorContext)
- func (s *BaseSLQListener) ExitUniqueFunc(ctx *UniqueFuncContext)
- func (s *BaseSLQListener) ExitWhere(ctx *WhereContext)
- func (s *BaseSLQListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseSLQListener) VisitTerminal(node antlr.TerminalNode)
- type BaseSLQVisitor
- func (v *BaseSLQVisitor) VisitAlias(ctx *AliasContext) interface{}
- func (v *BaseSLQVisitor) VisitArg(ctx *ArgContext) interface{}
- func (v *BaseSLQVisitor) VisitCountFunc(ctx *CountFuncContext) interface{}
- func (v *BaseSLQVisitor) VisitElement(ctx *ElementContext) interface{}
- func (v *BaseSLQVisitor) VisitExpr(ctx *ExprContext) interface{}
- func (v *BaseSLQVisitor) VisitExprElement(ctx *ExprElementContext) interface{}
- func (v *BaseSLQVisitor) VisitFunc(ctx *FuncContext) interface{}
- func (v *BaseSLQVisitor) VisitFuncElement(ctx *FuncElementContext) interface{}
- func (v *BaseSLQVisitor) VisitFuncName(ctx *FuncNameContext) interface{}
- func (v *BaseSLQVisitor) VisitGroupBy(ctx *GroupByContext) interface{}
- func (v *BaseSLQVisitor) VisitGroupByTerm(ctx *GroupByTermContext) interface{}
- func (v *BaseSLQVisitor) VisitHandle(ctx *HandleContext) interface{}
- func (v *BaseSLQVisitor) VisitHandleTable(ctx *HandleTableContext) interface{}
- func (v *BaseSLQVisitor) VisitHaving(ctx *HavingContext) interface{}
- func (v *BaseSLQVisitor) VisitJoin(ctx *JoinContext) interface{}
- func (v *BaseSLQVisitor) VisitJoinTable(ctx *JoinTableContext) interface{}
- func (v *BaseSLQVisitor) VisitLiteral(ctx *LiteralContext) interface{}
- func (v *BaseSLQVisitor) VisitOrderBy(ctx *OrderByContext) interface{}
- func (v *BaseSLQVisitor) VisitOrderByTerm(ctx *OrderByTermContext) interface{}
- func (v *BaseSLQVisitor) VisitQuery(ctx *QueryContext) interface{}
- func (v *BaseSLQVisitor) VisitRowRange(ctx *RowRangeContext) interface{}
- func (v *BaseSLQVisitor) VisitSegment(ctx *SegmentContext) interface{}
- func (v *BaseSLQVisitor) VisitSelector(ctx *SelectorContext) interface{}
- func (v *BaseSLQVisitor) VisitSelectorElement(ctx *SelectorElementContext) interface{}
- func (v *BaseSLQVisitor) VisitStmtList(ctx *StmtListContext) interface{}
- func (v *BaseSLQVisitor) VisitUnaryOperator(ctx *UnaryOperatorContext) interface{}
- func (v *BaseSLQVisitor) VisitUniqueFunc(ctx *UniqueFuncContext) interface{}
- func (v *BaseSLQVisitor) VisitWhere(ctx *WhereContext) interface{}
- type CountFuncContext
- func (s *CountFuncContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CountFuncContext) Alias() IAliasContext
- func (s *CountFuncContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CountFuncContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CountFuncContext) GetParser() antlr.Parser
- func (s *CountFuncContext) GetRuleContext() antlr.RuleContext
- func (*CountFuncContext) IsCountFuncContext()
- func (s *CountFuncContext) LPAR() antlr.TerminalNode
- func (s *CountFuncContext) RPAR() antlr.TerminalNode
- func (s *CountFuncContext) Selector() ISelectorContext
- func (s *CountFuncContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ElementContext
- func (s *ElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ElementContext) CountFunc() ICountFuncContext
- func (s *ElementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ElementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ElementContext) ExprElement() IExprElementContext
- func (s *ElementContext) FuncElement() IFuncElementContext
- func (s *ElementContext) GetParser() antlr.Parser
- func (s *ElementContext) GetRuleContext() antlr.RuleContext
- func (s *ElementContext) GroupBy() IGroupByContext
- func (s *ElementContext) Handle() IHandleContext
- func (s *ElementContext) HandleTable() IHandleTableContext
- func (s *ElementContext) Having() IHavingContext
- func (*ElementContext) IsElementContext()
- func (s *ElementContext) Join() IJoinContext
- func (s *ElementContext) OrderBy() IOrderByContext
- func (s *ElementContext) RowRange() IRowRangeContext
- func (s *ElementContext) SelectorElement() ISelectorElementContext
- func (s *ElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ElementContext) UniqueFunc() IUniqueFuncContext
- func (s *ElementContext) Where() IWhereContext
- type ExprContext
- func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExprContext) AllExpr() []IExprContext
- func (s *ExprContext) Arg() IArgContext
- func (s *ExprContext) EQ() antlr.TerminalNode
- func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExprContext) Expr(i int) IExprContext
- func (s *ExprContext) Func_() IFuncContext
- func (s *ExprContext) GT() antlr.TerminalNode
- func (s *ExprContext) GT_EQ() antlr.TerminalNode
- func (s *ExprContext) GetParser() antlr.Parser
- func (s *ExprContext) GetRuleContext() antlr.RuleContext
- func (*ExprContext) IsExprContext()
- func (s *ExprContext) LPAR() antlr.TerminalNode
- func (s *ExprContext) LT() antlr.TerminalNode
- func (s *ExprContext) LT_EQ() antlr.TerminalNode
- func (s *ExprContext) Literal() ILiteralContext
- func (s *ExprContext) NEQ() antlr.TerminalNode
- func (s *ExprContext) RPAR() antlr.TerminalNode
- func (s *ExprContext) Selector() ISelectorContext
- func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ExprContext) UnaryOperator() IUnaryOperatorContext
- type ExprElementContext
- func (s *ExprElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExprElementContext) Alias() IAliasContext
- func (s *ExprElementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExprElementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExprElementContext) Expr() IExprContext
- func (s *ExprElementContext) GetParser() antlr.Parser
- func (s *ExprElementContext) GetRuleContext() antlr.RuleContext
- func (*ExprElementContext) IsExprElementContext()
- func (s *ExprElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FuncContext
- func (s *FuncContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FuncContext) AllCOMMA() []antlr.TerminalNode
- func (s *FuncContext) AllExpr() []IExprContext
- func (s *FuncContext) COMMA(i int) antlr.TerminalNode
- func (s *FuncContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FuncContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FuncContext) Expr(i int) IExprContext
- func (s *FuncContext) FuncName() IFuncNameContext
- func (s *FuncContext) GetParser() antlr.Parser
- func (s *FuncContext) GetRuleContext() antlr.RuleContext
- func (*FuncContext) IsFuncContext()
- func (s *FuncContext) LPAR() antlr.TerminalNode
- func (s *FuncContext) RPAR() antlr.TerminalNode
- func (s *FuncContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FuncElementContext
- func (s *FuncElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FuncElementContext) Alias() IAliasContext
- func (s *FuncElementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FuncElementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FuncElementContext) Func_() IFuncContext
- func (s *FuncElementContext) GetParser() antlr.Parser
- func (s *FuncElementContext) GetRuleContext() antlr.RuleContext
- func (*FuncElementContext) IsFuncElementContext()
- func (s *FuncElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FuncNameContext
- func (s *FuncNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FuncNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FuncNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FuncNameContext) GetParser() antlr.Parser
- func (s *FuncNameContext) GetRuleContext() antlr.RuleContext
- func (*FuncNameContext) IsFuncNameContext()
- func (s *FuncNameContext) PROPRIETARY_FUNC_NAME() antlr.TerminalNode
- func (s *FuncNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GroupByContext
- func (s *GroupByContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *GroupByContext) AllCOMMA() []antlr.TerminalNode
- func (s *GroupByContext) AllGroupByTerm() []IGroupByTermContext
- func (s *GroupByContext) COMMA(i int) antlr.TerminalNode
- func (s *GroupByContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GroupByContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GroupByContext) GROUP_BY() antlr.TerminalNode
- func (s *GroupByContext) GetParser() antlr.Parser
- func (s *GroupByContext) GetRuleContext() antlr.RuleContext
- func (s *GroupByContext) GroupByTerm(i int) IGroupByTermContext
- func (*GroupByContext) IsGroupByContext()
- func (s *GroupByContext) LPAR() antlr.TerminalNode
- func (s *GroupByContext) RPAR() antlr.TerminalNode
- func (s *GroupByContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type GroupByTermContext
- func (s *GroupByTermContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *GroupByTermContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GroupByTermContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GroupByTermContext) Func_() IFuncContext
- func (s *GroupByTermContext) GetParser() antlr.Parser
- func (s *GroupByTermContext) GetRuleContext() antlr.RuleContext
- func (*GroupByTermContext) IsGroupByTermContext()
- func (s *GroupByTermContext) Selector() ISelectorContext
- func (s *GroupByTermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HandleContext
- func (s *HandleContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *HandleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HandleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HandleContext) GetParser() antlr.Parser
- func (s *HandleContext) GetRuleContext() antlr.RuleContext
- func (s *HandleContext) HANDLE() antlr.TerminalNode
- func (*HandleContext) IsHandleContext()
- func (s *HandleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HandleTableContext
- func (s *HandleTableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *HandleTableContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HandleTableContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HandleTableContext) GetParser() antlr.Parser
- func (s *HandleTableContext) GetRuleContext() antlr.RuleContext
- func (s *HandleTableContext) HANDLE() antlr.TerminalNode
- func (*HandleTableContext) IsHandleTableContext()
- func (s *HandleTableContext) NAME() antlr.TerminalNode
- func (s *HandleTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HavingContext
- func (s *HavingContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *HavingContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HavingContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HavingContext) Expr() IExprContext
- func (s *HavingContext) GetParser() antlr.Parser
- func (s *HavingContext) GetRuleContext() antlr.RuleContext
- func (s *HavingContext) HAVING() antlr.TerminalNode
- func (*HavingContext) IsHavingContext()
- func (s *HavingContext) LPAR() antlr.TerminalNode
- func (s *HavingContext) RPAR() antlr.TerminalNode
- func (s *HavingContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAliasContext
- type IArgContext
- type ICountFuncContext
- type IElementContext
- type IExprContext
- type IExprElementContext
- type IFuncContext
- type IFuncElementContext
- type IFuncNameContext
- type IGroupByContext
- type IGroupByTermContext
- type IHandleContext
- type IHandleTableContext
- type IHavingContext
- type IJoinContext
- type IJoinTableContext
- type ILiteralContext
- type IOrderByContext
- type IOrderByTermContext
- type IQueryContext
- type IRowRangeContext
- type ISegmentContext
- type ISelectorContext
- type ISelectorElementContext
- type IStmtListContext
- type IUnaryOperatorContext
- type IUniqueFuncContext
- type IWhereContext
- type JoinContext
- func (s *JoinContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *JoinContext) COMMA() antlr.TerminalNode
- func (s *JoinContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JoinContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JoinContext) Expr() IExprContext
- func (s *JoinContext) GetParser() antlr.Parser
- func (s *JoinContext) GetRuleContext() antlr.RuleContext
- func (*JoinContext) IsJoinContext()
- func (s *JoinContext) JOIN_TYPE() antlr.TerminalNode
- func (s *JoinContext) JoinTable() IJoinTableContext
- func (s *JoinContext) LPAR() antlr.TerminalNode
- func (s *JoinContext) RPAR() antlr.TerminalNode
- func (s *JoinContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type JoinTableContext
- func (s *JoinTableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *JoinTableContext) Alias() IAliasContext
- func (s *JoinTableContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JoinTableContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JoinTableContext) GetParser() antlr.Parser
- func (s *JoinTableContext) GetRuleContext() antlr.RuleContext
- func (s *JoinTableContext) HANDLE() antlr.TerminalNode
- func (*JoinTableContext) IsJoinTableContext()
- func (s *JoinTableContext) NAME() antlr.TerminalNode
- func (s *JoinTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LiteralContext
- func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LiteralContext) BOOL() antlr.TerminalNode
- func (s *LiteralContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LiteralContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LiteralContext) GetParser() antlr.Parser
- func (s *LiteralContext) GetRuleContext() antlr.RuleContext
- func (*LiteralContext) IsLiteralContext()
- func (s *LiteralContext) NN() antlr.TerminalNode
- func (s *LiteralContext) NULL() antlr.TerminalNode
- func (s *LiteralContext) NUMBER() antlr.TerminalNode
- func (s *LiteralContext) STRING() antlr.TerminalNode
- func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OrderByContext
- func (s *OrderByContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OrderByContext) AllCOMMA() []antlr.TerminalNode
- func (s *OrderByContext) AllOrderByTerm() []IOrderByTermContext
- func (s *OrderByContext) COMMA(i int) antlr.TerminalNode
- func (s *OrderByContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OrderByContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OrderByContext) GetParser() antlr.Parser
- func (s *OrderByContext) GetRuleContext() antlr.RuleContext
- func (*OrderByContext) IsOrderByContext()
- func (s *OrderByContext) LPAR() antlr.TerminalNode
- func (s *OrderByContext) ORDER_BY() antlr.TerminalNode
- func (s *OrderByContext) OrderByTerm(i int) IOrderByTermContext
- func (s *OrderByContext) RPAR() antlr.TerminalNode
- func (s *OrderByContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OrderByTermContext
- func (s *OrderByTermContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OrderByTermContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OrderByTermContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OrderByTermContext) GetParser() antlr.Parser
- func (s *OrderByTermContext) GetRuleContext() antlr.RuleContext
- func (*OrderByTermContext) IsOrderByTermContext()
- func (s *OrderByTermContext) Selector() ISelectorContext
- func (s *OrderByTermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type QueryContext
- func (s *QueryContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *QueryContext) AllPIPE() []antlr.TerminalNode
- func (s *QueryContext) AllSegment() []ISegmentContext
- func (s *QueryContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *QueryContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *QueryContext) GetParser() antlr.Parser
- func (s *QueryContext) GetRuleContext() antlr.RuleContext
- func (*QueryContext) IsQueryContext()
- func (s *QueryContext) PIPE(i int) antlr.TerminalNode
- func (s *QueryContext) Segment(i int) ISegmentContext
- func (s *QueryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RowRangeContext
- func (s *RowRangeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RowRangeContext) AllNN() []antlr.TerminalNode
- func (s *RowRangeContext) COLON() antlr.TerminalNode
- func (s *RowRangeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RowRangeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RowRangeContext) GetParser() antlr.Parser
- func (s *RowRangeContext) GetRuleContext() antlr.RuleContext
- func (*RowRangeContext) IsRowRangeContext()
- func (s *RowRangeContext) NN(i int) antlr.TerminalNode
- func (s *RowRangeContext) RBRA() antlr.TerminalNode
- func (s *RowRangeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SLQLexer
- type SLQListener
- type SLQParser
- func (p *SLQParser) Alias() (localctx IAliasContext)
- func (p *SLQParser) Arg() (localctx IArgContext)
- func (p *SLQParser) CountFunc() (localctx ICountFuncContext)
- func (p *SLQParser) Element() (localctx IElementContext)
- func (p *SLQParser) Expr() (localctx IExprContext)
- func (p *SLQParser) ExprElement() (localctx IExprElementContext)
- func (p *SLQParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *SLQParser) FuncElement() (localctx IFuncElementContext)
- func (p *SLQParser) FuncName() (localctx IFuncNameContext)
- func (p *SLQParser) Func_() (localctx IFuncContext)
- func (p *SLQParser) GroupBy() (localctx IGroupByContext)
- func (p *SLQParser) GroupByTerm() (localctx IGroupByTermContext)
- func (p *SLQParser) Handle() (localctx IHandleContext)
- func (p *SLQParser) HandleTable() (localctx IHandleTableContext)
- func (p *SLQParser) Having() (localctx IHavingContext)
- func (p *SLQParser) Join() (localctx IJoinContext)
- func (p *SLQParser) JoinTable() (localctx IJoinTableContext)
- func (p *SLQParser) Literal() (localctx ILiteralContext)
- func (p *SLQParser) OrderBy() (localctx IOrderByContext)
- func (p *SLQParser) OrderByTerm() (localctx IOrderByTermContext)
- func (p *SLQParser) Query() (localctx IQueryContext)
- func (p *SLQParser) RowRange() (localctx IRowRangeContext)
- func (p *SLQParser) Segment() (localctx ISegmentContext)
- func (p *SLQParser) Selector() (localctx ISelectorContext)
- func (p *SLQParser) SelectorElement() (localctx ISelectorElementContext)
- func (p *SLQParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *SLQParser) StmtList() (localctx IStmtListContext)
- func (p *SLQParser) UnaryOperator() (localctx IUnaryOperatorContext)
- func (p *SLQParser) UniqueFunc() (localctx IUniqueFuncContext)
- func (p *SLQParser) Where() (localctx IWhereContext)
- type SLQVisitor
- type SegmentContext
- func (s *SegmentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SegmentContext) AllCOMMA() []antlr.TerminalNode
- func (s *SegmentContext) AllElement() []IElementContext
- func (s *SegmentContext) COMMA(i int) antlr.TerminalNode
- func (s *SegmentContext) Element(i int) IElementContext
- func (s *SegmentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SegmentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SegmentContext) GetParser() antlr.Parser
- func (s *SegmentContext) GetRuleContext() antlr.RuleContext
- func (*SegmentContext) IsSegmentContext()
- func (s *SegmentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SelectorContext
- func (s *SelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SelectorContext) AllNAME() []antlr.TerminalNode
- func (s *SelectorContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SelectorContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SelectorContext) GetParser() antlr.Parser
- func (s *SelectorContext) GetRuleContext() antlr.RuleContext
- func (*SelectorContext) IsSelectorContext()
- func (s *SelectorContext) NAME(i int) antlr.TerminalNode
- func (s *SelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SelectorElementContext
- func (s *SelectorElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SelectorElementContext) Alias() IAliasContext
- func (s *SelectorElementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SelectorElementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SelectorElementContext) GetParser() antlr.Parser
- func (s *SelectorElementContext) GetRuleContext() antlr.RuleContext
- func (*SelectorElementContext) IsSelectorElementContext()
- func (s *SelectorElementContext) Selector() ISelectorContext
- func (s *SelectorElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmtListContext
- func (s *StmtListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StmtListContext) AllQuery() []IQueryContext
- func (s *StmtListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtListContext) GetParser() antlr.Parser
- func (s *StmtListContext) GetRuleContext() antlr.RuleContext
- func (*StmtListContext) IsStmtListContext()
- func (s *StmtListContext) Query(i int) IQueryContext
- func (s *StmtListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UnaryOperatorContext
- func (s *UnaryOperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *UnaryOperatorContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UnaryOperatorContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UnaryOperatorContext) GetParser() antlr.Parser
- func (s *UnaryOperatorContext) GetRuleContext() antlr.RuleContext
- func (*UnaryOperatorContext) IsUnaryOperatorContext()
- func (s *UnaryOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type UniqueFuncContext
- func (s *UniqueFuncContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *UniqueFuncContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UniqueFuncContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UniqueFuncContext) GetParser() antlr.Parser
- func (s *UniqueFuncContext) GetRuleContext() antlr.RuleContext
- func (*UniqueFuncContext) IsUniqueFuncContext()
- func (s *UniqueFuncContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type WhereContext
- func (s *WhereContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *WhereContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *WhereContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *WhereContext) Expr() IExprContext
- func (s *WhereContext) GetParser() antlr.Parser
- func (s *WhereContext) GetRuleContext() antlr.RuleContext
- func (*WhereContext) IsWhereContext()
- func (s *WhereContext) LPAR() antlr.TerminalNode
- func (s *WhereContext) RPAR() antlr.TerminalNode
- func (s *WhereContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *WhereContext) WHERE() antlr.TerminalNode
Constants ¶
const ( SLQLexerT__0 = 1 SLQLexerT__1 = 2 SLQLexerT__2 = 3 SLQLexerT__3 = 4 SLQLexerT__4 = 5 SLQLexerT__5 = 6 SLQLexerT__6 = 7 SLQLexerT__7 = 8 SLQLexerT__8 = 9 SLQLexerT__9 = 10 SLQLexerT__10 = 11 SLQLexerT__11 = 12 SLQLexerT__12 = 13 SLQLexerT__13 = 14 SLQLexerT__14 = 15 SLQLexerT__15 = 16 SLQLexerT__16 = 17 SLQLexerT__17 = 18 SLQLexerT__18 = 19 SLQLexerT__19 = 20 SLQLexerT__20 = 21 SLQLexerT__21 = 22 SLQLexerT__22 = 23 SLQLexerT__23 = 24 SLQLexerPROPRIETARY_FUNC_NAME = 25 SLQLexerJOIN_TYPE = 26 SLQLexerWHERE = 27 SLQLexerGROUP_BY = 28 SLQLexerHAVING = 29 SLQLexerORDER_BY = 30 SLQLexerALIAS_RESERVED = 31 SLQLexerARG = 32 SLQLexerBOOL = 33 SLQLexerNULL = 34 SLQLexerID = 35 SLQLexerWS = 36 SLQLexerLPAR = 37 SLQLexerRPAR = 38 SLQLexerLBRA = 39 SLQLexerRBRA = 40 SLQLexerCOMMA = 41 SLQLexerPIPE = 42 SLQLexerCOLON = 43 SLQLexerNN = 44 SLQLexerNUMBER = 45 SLQLexerLT_EQ = 46 SLQLexerLT = 47 SLQLexerGT_EQ = 48 SLQLexerGT = 49 SLQLexerNEQ = 50 SLQLexerEQ = 51 SLQLexerNAME = 52 SLQLexerHANDLE = 53 SLQLexerSTRING = 54 SLQLexerLINECOMMENT = 55 )
SLQLexer tokens.
const ( SLQParserEOF = antlr.TokenEOF SLQParserT__0 = 1 SLQParserT__1 = 2 SLQParserT__2 = 3 SLQParserT__3 = 4 SLQParserT__4 = 5 SLQParserT__5 = 6 SLQParserT__6 = 7 SLQParserT__7 = 8 SLQParserT__8 = 9 SLQParserT__9 = 10 SLQParserT__10 = 11 SLQParserT__11 = 12 SLQParserT__12 = 13 SLQParserT__13 = 14 SLQParserT__14 = 15 SLQParserT__15 = 16 SLQParserT__16 = 17 SLQParserT__17 = 18 SLQParserT__18 = 19 SLQParserT__19 = 20 SLQParserT__20 = 21 SLQParserT__21 = 22 SLQParserT__22 = 23 SLQParserT__23 = 24 SLQParserPROPRIETARY_FUNC_NAME = 25 SLQParserJOIN_TYPE = 26 SLQParserWHERE = 27 SLQParserGROUP_BY = 28 SLQParserHAVING = 29 SLQParserORDER_BY = 30 SLQParserALIAS_RESERVED = 31 SLQParserARG = 32 SLQParserBOOL = 33 SLQParserNULL = 34 SLQParserID = 35 SLQParserWS = 36 SLQParserLPAR = 37 SLQParserRPAR = 38 SLQParserLBRA = 39 SLQParserRBRA = 40 SLQParserCOMMA = 41 SLQParserPIPE = 42 SLQParserCOLON = 43 SLQParserNN = 44 SLQParserNUMBER = 45 SLQParserLT_EQ = 46 SLQParserLT = 47 SLQParserGT_EQ = 48 SLQParserGT = 49 SLQParserNEQ = 50 SLQParserEQ = 51 SLQParserNAME = 52 SLQParserHANDLE = 53 SLQParserSTRING = 54 SLQParserLINECOMMENT = 55 )
SLQParser tokens.
const ( SLQParserRULE_stmtList = 0 SLQParserRULE_query = 1 SLQParserRULE_segment = 2 SLQParserRULE_element = 3 SLQParserRULE_funcElement = 4 SLQParserRULE_func = 5 SLQParserRULE_funcName = 6 SLQParserRULE_join = 7 SLQParserRULE_joinTable = 8 SLQParserRULE_uniqueFunc = 9 SLQParserRULE_countFunc = 10 SLQParserRULE_where = 11 SLQParserRULE_groupByTerm = 12 SLQParserRULE_groupBy = 13 SLQParserRULE_having = 14 SLQParserRULE_orderByTerm = 15 SLQParserRULE_orderBy = 16 SLQParserRULE_selector = 17 SLQParserRULE_selectorElement = 18 SLQParserRULE_alias = 19 SLQParserRULE_arg = 20 SLQParserRULE_handleTable = 21 SLQParserRULE_handle = 22 SLQParserRULE_rowRange = 23 SLQParserRULE_exprElement = 24 SLQParserRULE_expr = 25 SLQParserRULE_literal = 26 SLQParserRULE_unaryOperator = 27 )
SLQParser rules.
Variables ¶
var SLQLexerLexerStaticData struct { PredictionContextCache *antlr.PredictionContextCache ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string // contains filtered or unexported fields }
var SLQParserStaticData struct { PredictionContextCache *antlr.PredictionContextCache LiteralNames []string SymbolicNames []string RuleNames []string // contains filtered or unexported fields }
Functions ¶
func InitEmptyAliasContext ¶ added in v0.41.0
func InitEmptyAliasContext(p *AliasContext)
func InitEmptyArgContext ¶ added in v0.41.0
func InitEmptyArgContext(p *ArgContext)
func InitEmptyCountFuncContext ¶ added in v0.41.0
func InitEmptyCountFuncContext(p *CountFuncContext)
func InitEmptyElementContext ¶ added in v0.41.0
func InitEmptyElementContext(p *ElementContext)
func InitEmptyExprContext ¶ added in v0.41.0
func InitEmptyExprContext(p *ExprContext)
func InitEmptyExprElementContext ¶ added in v0.41.0
func InitEmptyExprElementContext(p *ExprElementContext)
func InitEmptyFuncContext ¶ added in v0.41.0
func InitEmptyFuncContext(p *FuncContext)
func InitEmptyFuncElementContext ¶ added in v0.41.0
func InitEmptyFuncElementContext(p *FuncElementContext)
func InitEmptyFuncNameContext ¶ added in v0.41.0
func InitEmptyFuncNameContext(p *FuncNameContext)
func InitEmptyGroupByContext ¶ added in v0.41.0
func InitEmptyGroupByContext(p *GroupByContext)
func InitEmptyGroupByTermContext ¶ added in v0.41.0
func InitEmptyGroupByTermContext(p *GroupByTermContext)
func InitEmptyHandleContext ¶ added in v0.41.0
func InitEmptyHandleContext(p *HandleContext)
func InitEmptyHandleTableContext ¶ added in v0.41.0
func InitEmptyHandleTableContext(p *HandleTableContext)
func InitEmptyHavingContext ¶ added in v0.46.0
func InitEmptyHavingContext(p *HavingContext)
func InitEmptyJoinContext ¶ added in v0.41.0
func InitEmptyJoinContext(p *JoinContext)
func InitEmptyJoinTableContext ¶ added in v0.41.0
func InitEmptyJoinTableContext(p *JoinTableContext)
func InitEmptyLiteralContext ¶ added in v0.41.0
func InitEmptyLiteralContext(p *LiteralContext)
func InitEmptyOrderByContext ¶ added in v0.41.0
func InitEmptyOrderByContext(p *OrderByContext)
func InitEmptyOrderByTermContext ¶ added in v0.41.0
func InitEmptyOrderByTermContext(p *OrderByTermContext)
func InitEmptyQueryContext ¶ added in v0.41.0
func InitEmptyQueryContext(p *QueryContext)
func InitEmptyRowRangeContext ¶ added in v0.41.0
func InitEmptyRowRangeContext(p *RowRangeContext)
func InitEmptySegmentContext ¶ added in v0.41.0
func InitEmptySegmentContext(p *SegmentContext)
func InitEmptySelectorContext ¶ added in v0.41.0
func InitEmptySelectorContext(p *SelectorContext)
func InitEmptySelectorElementContext ¶ added in v0.41.0
func InitEmptySelectorElementContext(p *SelectorElementContext)
func InitEmptyStmtListContext ¶ added in v0.41.0
func InitEmptyStmtListContext(p *StmtListContext)
func InitEmptyUnaryOperatorContext ¶ added in v0.41.0
func InitEmptyUnaryOperatorContext(p *UnaryOperatorContext)
func InitEmptyUniqueFuncContext ¶ added in v0.41.0
func InitEmptyUniqueFuncContext(p *UniqueFuncContext)
func InitEmptyWhereContext ¶ added in v0.41.0
func InitEmptyWhereContext(p *WhereContext)
func SLQLexerInit ¶ added in v0.17.0
func SLQLexerInit()
SLQLexerInit initializes any static state used to implement SLQLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewSLQLexer(). You can call this function if you wish to initialize the static state ahead of time.
func SLQParserInit ¶ added in v0.17.0
func SLQParserInit()
SLQParserInit initializes any static state used to implement SLQParser. By default the static state used to implement the parser is lazily initialized during the first call to NewSLQParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type AliasContext ¶ added in v0.25.0
type AliasContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAliasContext ¶ added in v0.25.0
func NewAliasContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AliasContext
func NewEmptyAliasContext ¶ added in v0.25.0
func NewEmptyAliasContext() *AliasContext
func (*AliasContext) ALIAS_RESERVED ¶ added in v0.30.0
func (s *AliasContext) ALIAS_RESERVED() antlr.TerminalNode
func (*AliasContext) ARG ¶ added in v0.31.0
func (s *AliasContext) ARG() antlr.TerminalNode
func (*AliasContext) Accept ¶ added in v0.25.0
func (s *AliasContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AliasContext) COLON ¶ added in v0.25.0
func (s *AliasContext) COLON() antlr.TerminalNode
func (*AliasContext) EnterRule ¶ added in v0.25.0
func (s *AliasContext) EnterRule(listener antlr.ParseTreeListener)
func (*AliasContext) ExitRule ¶ added in v0.25.0
func (s *AliasContext) ExitRule(listener antlr.ParseTreeListener)
func (*AliasContext) GetParser ¶ added in v0.25.0
func (s *AliasContext) GetParser() antlr.Parser
func (*AliasContext) GetRuleContext ¶ added in v0.25.0
func (s *AliasContext) GetRuleContext() antlr.RuleContext
func (*AliasContext) ID ¶ added in v0.25.0
func (s *AliasContext) ID() antlr.TerminalNode
func (*AliasContext) IsAliasContext ¶ added in v0.25.0
func (*AliasContext) IsAliasContext()
func (*AliasContext) STRING ¶ added in v0.38.0
func (s *AliasContext) STRING() antlr.TerminalNode
func (*AliasContext) ToStringTree ¶ added in v0.25.0
func (s *AliasContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArgContext ¶ added in v0.31.0
type ArgContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgContext ¶ added in v0.31.0
func NewArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgContext
func NewEmptyArgContext ¶ added in v0.31.0
func NewEmptyArgContext() *ArgContext
func (*ArgContext) ARG ¶ added in v0.31.0
func (s *ArgContext) ARG() antlr.TerminalNode
func (*ArgContext) Accept ¶ added in v0.31.0
func (s *ArgContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArgContext) EnterRule ¶ added in v0.31.0
func (s *ArgContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgContext) ExitRule ¶ added in v0.31.0
func (s *ArgContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgContext) GetParser ¶ added in v0.31.0
func (s *ArgContext) GetParser() antlr.Parser
func (*ArgContext) GetRuleContext ¶ added in v0.31.0
func (s *ArgContext) GetRuleContext() antlr.RuleContext
func (*ArgContext) IsArgContext ¶ added in v0.31.0
func (*ArgContext) IsArgContext()
func (*ArgContext) ToStringTree ¶ added in v0.31.0
func (s *ArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseSLQListener ¶
type BaseSLQListener struct{}
BaseSLQListener is a complete listener for a parse tree produced by SLQParser.
func (*BaseSLQListener) EnterAlias ¶ added in v0.25.0
func (s *BaseSLQListener) EnterAlias(ctx *AliasContext)
EnterAlias is called when production alias is entered.
func (*BaseSLQListener) EnterArg ¶ added in v0.31.0
func (s *BaseSLQListener) EnterArg(ctx *ArgContext)
EnterArg is called when production arg is entered.
func (*BaseSLQListener) EnterCountFunc ¶ added in v0.30.0
func (s *BaseSLQListener) EnterCountFunc(ctx *CountFuncContext)
EnterCountFunc is called when production countFunc is entered.
func (*BaseSLQListener) EnterElement ¶
func (s *BaseSLQListener) EnterElement(ctx *ElementContext)
EnterElement is called when production element is entered.
func (*BaseSLQListener) EnterEveryRule ¶
func (s *BaseSLQListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseSLQListener) EnterExpr ¶
func (s *BaseSLQListener) EnterExpr(ctx *ExprContext)
EnterExpr is called when production expr is entered.
func (*BaseSLQListener) EnterExprElement ¶ added in v0.38.0
func (s *BaseSLQListener) EnterExprElement(ctx *ExprElementContext)
EnterExprElement is called when production exprElement is entered.
func (*BaseSLQListener) EnterFunc ¶ added in v0.29.0
func (s *BaseSLQListener) EnterFunc(ctx *FuncContext)
EnterFunc is called when production func is entered.
func (*BaseSLQListener) EnterFuncElement ¶ added in v0.29.0
func (s *BaseSLQListener) EnterFuncElement(ctx *FuncElementContext)
EnterFuncElement is called when production funcElement is entered.
func (*BaseSLQListener) EnterFuncName ¶ added in v0.29.0
func (s *BaseSLQListener) EnterFuncName(ctx *FuncNameContext)
EnterFuncName is called when production funcName is entered.
func (*BaseSLQListener) EnterGroupBy ¶ added in v0.29.0
func (s *BaseSLQListener) EnterGroupBy(ctx *GroupByContext)
EnterGroupBy is called when production groupBy is entered.
func (*BaseSLQListener) EnterGroupByTerm ¶ added in v0.29.0
func (s *BaseSLQListener) EnterGroupByTerm(ctx *GroupByTermContext)
EnterGroupByTerm is called when production groupByTerm is entered.
func (*BaseSLQListener) EnterHandle ¶ added in v0.26.0
func (s *BaseSLQListener) EnterHandle(ctx *HandleContext)
EnterHandle is called when production handle is entered.
func (*BaseSLQListener) EnterHandleTable ¶ added in v0.26.0
func (s *BaseSLQListener) EnterHandleTable(ctx *HandleTableContext)
EnterHandleTable is called when production handleTable is entered.
func (*BaseSLQListener) EnterHaving ¶ added in v0.46.0
func (s *BaseSLQListener) EnterHaving(ctx *HavingContext)
EnterHaving is called when production having is entered.
func (*BaseSLQListener) EnterJoin ¶
func (s *BaseSLQListener) EnterJoin(ctx *JoinContext)
EnterJoin is called when production join is entered.
func (*BaseSLQListener) EnterJoinTable ¶ added in v0.40.0
func (s *BaseSLQListener) EnterJoinTable(ctx *JoinTableContext)
EnterJoinTable is called when production joinTable is entered.
func (*BaseSLQListener) EnterLiteral ¶
func (s *BaseSLQListener) EnterLiteral(ctx *LiteralContext)
EnterLiteral is called when production literal is entered.
func (*BaseSLQListener) EnterOrderBy ¶ added in v0.27.0
func (s *BaseSLQListener) EnterOrderBy(ctx *OrderByContext)
EnterOrderBy is called when production orderBy is entered.
func (*BaseSLQListener) EnterOrderByTerm ¶ added in v0.27.0
func (s *BaseSLQListener) EnterOrderByTerm(ctx *OrderByTermContext)
EnterOrderByTerm is called when production orderByTerm is entered.
func (*BaseSLQListener) EnterQuery ¶
func (s *BaseSLQListener) EnterQuery(ctx *QueryContext)
EnterQuery is called when production query is entered.
func (*BaseSLQListener) EnterRowRange ¶
func (s *BaseSLQListener) EnterRowRange(ctx *RowRangeContext)
EnterRowRange is called when production rowRange is entered.
func (*BaseSLQListener) EnterSegment ¶
func (s *BaseSLQListener) EnterSegment(ctx *SegmentContext)
EnterSegment is called when production segment is entered.
func (*BaseSLQListener) EnterSelector ¶ added in v0.26.0
func (s *BaseSLQListener) EnterSelector(ctx *SelectorContext)
EnterSelector is called when production selector is entered.
func (*BaseSLQListener) EnterSelectorElement ¶ added in v0.26.0
func (s *BaseSLQListener) EnterSelectorElement(ctx *SelectorElementContext)
EnterSelectorElement is called when production selectorElement is entered.
func (*BaseSLQListener) EnterStmtList ¶
func (s *BaseSLQListener) EnterStmtList(ctx *StmtListContext)
EnterStmtList is called when production stmtList is entered.
func (*BaseSLQListener) EnterUnaryOperator ¶
func (s *BaseSLQListener) EnterUnaryOperator(ctx *UnaryOperatorContext)
EnterUnaryOperator is called when production unaryOperator is entered.
func (*BaseSLQListener) EnterUniqueFunc ¶ added in v0.30.0
func (s *BaseSLQListener) EnterUniqueFunc(ctx *UniqueFuncContext)
EnterUniqueFunc is called when production uniqueFunc is entered.
func (*BaseSLQListener) EnterWhere ¶ added in v0.38.0
func (s *BaseSLQListener) EnterWhere(ctx *WhereContext)
EnterWhere is called when production where is entered.
func (*BaseSLQListener) ExitAlias ¶ added in v0.25.0
func (s *BaseSLQListener) ExitAlias(ctx *AliasContext)
ExitAlias is called when production alias is exited.
func (*BaseSLQListener) ExitArg ¶ added in v0.31.0
func (s *BaseSLQListener) ExitArg(ctx *ArgContext)
ExitArg is called when production arg is exited.
func (*BaseSLQListener) ExitCountFunc ¶ added in v0.30.0
func (s *BaseSLQListener) ExitCountFunc(ctx *CountFuncContext)
ExitCountFunc is called when production countFunc is exited.
func (*BaseSLQListener) ExitElement ¶
func (s *BaseSLQListener) ExitElement(ctx *ElementContext)
ExitElement is called when production element is exited.
func (*BaseSLQListener) ExitEveryRule ¶
func (s *BaseSLQListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseSLQListener) ExitExpr ¶
func (s *BaseSLQListener) ExitExpr(ctx *ExprContext)
ExitExpr is called when production expr is exited.
func (*BaseSLQListener) ExitExprElement ¶ added in v0.38.0
func (s *BaseSLQListener) ExitExprElement(ctx *ExprElementContext)
ExitExprElement is called when production exprElement is exited.
func (*BaseSLQListener) ExitFunc ¶ added in v0.29.0
func (s *BaseSLQListener) ExitFunc(ctx *FuncContext)
ExitFunc is called when production func is exited.
func (*BaseSLQListener) ExitFuncElement ¶ added in v0.29.0
func (s *BaseSLQListener) ExitFuncElement(ctx *FuncElementContext)
ExitFuncElement is called when production funcElement is exited.
func (*BaseSLQListener) ExitFuncName ¶ added in v0.29.0
func (s *BaseSLQListener) ExitFuncName(ctx *FuncNameContext)
ExitFuncName is called when production funcName is exited.
func (*BaseSLQListener) ExitGroupBy ¶ added in v0.29.0
func (s *BaseSLQListener) ExitGroupBy(ctx *GroupByContext)
ExitGroupBy is called when production groupBy is exited.
func (*BaseSLQListener) ExitGroupByTerm ¶ added in v0.29.0
func (s *BaseSLQListener) ExitGroupByTerm(ctx *GroupByTermContext)
ExitGroupByTerm is called when production groupByTerm is exited.
func (*BaseSLQListener) ExitHandle ¶ added in v0.26.0
func (s *BaseSLQListener) ExitHandle(ctx *HandleContext)
ExitHandle is called when production handle is exited.
func (*BaseSLQListener) ExitHandleTable ¶ added in v0.26.0
func (s *BaseSLQListener) ExitHandleTable(ctx *HandleTableContext)
ExitHandleTable is called when production handleTable is exited.
func (*BaseSLQListener) ExitHaving ¶ added in v0.46.0
func (s *BaseSLQListener) ExitHaving(ctx *HavingContext)
ExitHaving is called when production having is exited.
func (*BaseSLQListener) ExitJoin ¶
func (s *BaseSLQListener) ExitJoin(ctx *JoinContext)
ExitJoin is called when production join is exited.
func (*BaseSLQListener) ExitJoinTable ¶ added in v0.40.0
func (s *BaseSLQListener) ExitJoinTable(ctx *JoinTableContext)
ExitJoinTable is called when production joinTable is exited.
func (*BaseSLQListener) ExitLiteral ¶
func (s *BaseSLQListener) ExitLiteral(ctx *LiteralContext)
ExitLiteral is called when production literal is exited.
func (*BaseSLQListener) ExitOrderBy ¶ added in v0.27.0
func (s *BaseSLQListener) ExitOrderBy(ctx *OrderByContext)
ExitOrderBy is called when production orderBy is exited.
func (*BaseSLQListener) ExitOrderByTerm ¶ added in v0.27.0
func (s *BaseSLQListener) ExitOrderByTerm(ctx *OrderByTermContext)
ExitOrderByTerm is called when production orderByTerm is exited.
func (*BaseSLQListener) ExitQuery ¶
func (s *BaseSLQListener) ExitQuery(ctx *QueryContext)
ExitQuery is called when production query is exited.
func (*BaseSLQListener) ExitRowRange ¶
func (s *BaseSLQListener) ExitRowRange(ctx *RowRangeContext)
ExitRowRange is called when production rowRange is exited.
func (*BaseSLQListener) ExitSegment ¶
func (s *BaseSLQListener) ExitSegment(ctx *SegmentContext)
ExitSegment is called when production segment is exited.
func (*BaseSLQListener) ExitSelector ¶ added in v0.26.0
func (s *BaseSLQListener) ExitSelector(ctx *SelectorContext)
ExitSelector is called when production selector is exited.
func (*BaseSLQListener) ExitSelectorElement ¶ added in v0.26.0
func (s *BaseSLQListener) ExitSelectorElement(ctx *SelectorElementContext)
ExitSelectorElement is called when production selectorElement is exited.
func (*BaseSLQListener) ExitStmtList ¶
func (s *BaseSLQListener) ExitStmtList(ctx *StmtListContext)
ExitStmtList is called when production stmtList is exited.
func (*BaseSLQListener) ExitUnaryOperator ¶
func (s *BaseSLQListener) ExitUnaryOperator(ctx *UnaryOperatorContext)
ExitUnaryOperator is called when production unaryOperator is exited.
func (*BaseSLQListener) ExitUniqueFunc ¶ added in v0.30.0
func (s *BaseSLQListener) ExitUniqueFunc(ctx *UniqueFuncContext)
ExitUniqueFunc is called when production uniqueFunc is exited.
func (*BaseSLQListener) ExitWhere ¶ added in v0.38.0
func (s *BaseSLQListener) ExitWhere(ctx *WhereContext)
ExitWhere is called when production where is exited.
func (*BaseSLQListener) VisitErrorNode ¶
func (s *BaseSLQListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseSLQListener) VisitTerminal ¶
func (s *BaseSLQListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BaseSLQVisitor ¶
type BaseSLQVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseSLQVisitor) VisitAlias ¶ added in v0.25.0
func (v *BaseSLQVisitor) VisitAlias(ctx *AliasContext) interface{}
func (*BaseSLQVisitor) VisitArg ¶ added in v0.31.0
func (v *BaseSLQVisitor) VisitArg(ctx *ArgContext) interface{}
func (*BaseSLQVisitor) VisitCountFunc ¶ added in v0.30.0
func (v *BaseSLQVisitor) VisitCountFunc(ctx *CountFuncContext) interface{}
func (*BaseSLQVisitor) VisitElement ¶
func (v *BaseSLQVisitor) VisitElement(ctx *ElementContext) interface{}
func (*BaseSLQVisitor) VisitExpr ¶
func (v *BaseSLQVisitor) VisitExpr(ctx *ExprContext) interface{}
func (*BaseSLQVisitor) VisitExprElement ¶ added in v0.38.0
func (v *BaseSLQVisitor) VisitExprElement(ctx *ExprElementContext) interface{}
func (*BaseSLQVisitor) VisitFunc ¶ added in v0.29.0
func (v *BaseSLQVisitor) VisitFunc(ctx *FuncContext) interface{}
func (*BaseSLQVisitor) VisitFuncElement ¶ added in v0.29.0
func (v *BaseSLQVisitor) VisitFuncElement(ctx *FuncElementContext) interface{}
func (*BaseSLQVisitor) VisitFuncName ¶ added in v0.29.0
func (v *BaseSLQVisitor) VisitFuncName(ctx *FuncNameContext) interface{}
func (*BaseSLQVisitor) VisitGroupBy ¶ added in v0.29.0
func (v *BaseSLQVisitor) VisitGroupBy(ctx *GroupByContext) interface{}
func (*BaseSLQVisitor) VisitGroupByTerm ¶ added in v0.29.0
func (v *BaseSLQVisitor) VisitGroupByTerm(ctx *GroupByTermContext) interface{}
func (*BaseSLQVisitor) VisitHandle ¶ added in v0.26.0
func (v *BaseSLQVisitor) VisitHandle(ctx *HandleContext) interface{}
func (*BaseSLQVisitor) VisitHandleTable ¶ added in v0.26.0
func (v *BaseSLQVisitor) VisitHandleTable(ctx *HandleTableContext) interface{}
func (*BaseSLQVisitor) VisitHaving ¶ added in v0.46.0
func (v *BaseSLQVisitor) VisitHaving(ctx *HavingContext) interface{}
func (*BaseSLQVisitor) VisitJoin ¶
func (v *BaseSLQVisitor) VisitJoin(ctx *JoinContext) interface{}
func (*BaseSLQVisitor) VisitJoinTable ¶ added in v0.40.0
func (v *BaseSLQVisitor) VisitJoinTable(ctx *JoinTableContext) interface{}
func (*BaseSLQVisitor) VisitLiteral ¶
func (v *BaseSLQVisitor) VisitLiteral(ctx *LiteralContext) interface{}
func (*BaseSLQVisitor) VisitOrderBy ¶ added in v0.27.0
func (v *BaseSLQVisitor) VisitOrderBy(ctx *OrderByContext) interface{}
func (*BaseSLQVisitor) VisitOrderByTerm ¶ added in v0.27.0
func (v *BaseSLQVisitor) VisitOrderByTerm(ctx *OrderByTermContext) interface{}
func (*BaseSLQVisitor) VisitQuery ¶
func (v *BaseSLQVisitor) VisitQuery(ctx *QueryContext) interface{}
func (*BaseSLQVisitor) VisitRowRange ¶
func (v *BaseSLQVisitor) VisitRowRange(ctx *RowRangeContext) interface{}
func (*BaseSLQVisitor) VisitSegment ¶
func (v *BaseSLQVisitor) VisitSegment(ctx *SegmentContext) interface{}
func (*BaseSLQVisitor) VisitSelector ¶ added in v0.26.0
func (v *BaseSLQVisitor) VisitSelector(ctx *SelectorContext) interface{}
func (*BaseSLQVisitor) VisitSelectorElement ¶ added in v0.26.0
func (v *BaseSLQVisitor) VisitSelectorElement(ctx *SelectorElementContext) interface{}
func (*BaseSLQVisitor) VisitStmtList ¶
func (v *BaseSLQVisitor) VisitStmtList(ctx *StmtListContext) interface{}
func (*BaseSLQVisitor) VisitUnaryOperator ¶
func (v *BaseSLQVisitor) VisitUnaryOperator(ctx *UnaryOperatorContext) interface{}
func (*BaseSLQVisitor) VisitUniqueFunc ¶ added in v0.30.0
func (v *BaseSLQVisitor) VisitUniqueFunc(ctx *UniqueFuncContext) interface{}
func (*BaseSLQVisitor) VisitWhere ¶ added in v0.38.0
func (v *BaseSLQVisitor) VisitWhere(ctx *WhereContext) interface{}
type CountFuncContext ¶ added in v0.30.0
type CountFuncContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCountFuncContext ¶ added in v0.30.0
func NewCountFuncContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CountFuncContext
func NewEmptyCountFuncContext ¶ added in v0.30.0
func NewEmptyCountFuncContext() *CountFuncContext
func (*CountFuncContext) Accept ¶ added in v0.30.0
func (s *CountFuncContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CountFuncContext) Alias ¶ added in v0.30.0
func (s *CountFuncContext) Alias() IAliasContext
func (*CountFuncContext) EnterRule ¶ added in v0.30.0
func (s *CountFuncContext) EnterRule(listener antlr.ParseTreeListener)
func (*CountFuncContext) ExitRule ¶ added in v0.30.0
func (s *CountFuncContext) ExitRule(listener antlr.ParseTreeListener)
func (*CountFuncContext) GetParser ¶ added in v0.30.0
func (s *CountFuncContext) GetParser() antlr.Parser
func (*CountFuncContext) GetRuleContext ¶ added in v0.30.0
func (s *CountFuncContext) GetRuleContext() antlr.RuleContext
func (*CountFuncContext) IsCountFuncContext ¶ added in v0.30.0
func (*CountFuncContext) IsCountFuncContext()
func (*CountFuncContext) LPAR ¶ added in v0.30.0
func (s *CountFuncContext) LPAR() antlr.TerminalNode
func (*CountFuncContext) RPAR ¶ added in v0.30.0
func (s *CountFuncContext) RPAR() antlr.TerminalNode
func (*CountFuncContext) Selector ¶ added in v0.30.0
func (s *CountFuncContext) Selector() ISelectorContext
func (*CountFuncContext) ToStringTree ¶ added in v0.30.0
func (s *CountFuncContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ElementContext ¶
type ElementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewElementContext ¶
func NewElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElementContext
func NewEmptyElementContext ¶
func NewEmptyElementContext() *ElementContext
func (*ElementContext) Accept ¶
func (s *ElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ElementContext) CountFunc ¶ added in v0.30.0
func (s *ElementContext) CountFunc() ICountFuncContext
func (*ElementContext) EnterRule ¶
func (s *ElementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ElementContext) ExitRule ¶
func (s *ElementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ElementContext) ExprElement ¶ added in v0.38.0
func (s *ElementContext) ExprElement() IExprElementContext
func (*ElementContext) FuncElement ¶ added in v0.29.0
func (s *ElementContext) FuncElement() IFuncElementContext
func (*ElementContext) GetParser ¶
func (s *ElementContext) GetParser() antlr.Parser
func (*ElementContext) GetRuleContext ¶
func (s *ElementContext) GetRuleContext() antlr.RuleContext
func (*ElementContext) GroupBy ¶ added in v0.29.0
func (s *ElementContext) GroupBy() IGroupByContext
func (*ElementContext) Handle ¶ added in v0.26.0
func (s *ElementContext) Handle() IHandleContext
func (*ElementContext) HandleTable ¶ added in v0.26.0
func (s *ElementContext) HandleTable() IHandleTableContext
func (*ElementContext) Having ¶ added in v0.46.0
func (s *ElementContext) Having() IHavingContext
func (*ElementContext) IsElementContext ¶
func (*ElementContext) IsElementContext()
func (*ElementContext) Join ¶
func (s *ElementContext) Join() IJoinContext
func (*ElementContext) OrderBy ¶ added in v0.27.0
func (s *ElementContext) OrderBy() IOrderByContext
func (*ElementContext) RowRange ¶
func (s *ElementContext) RowRange() IRowRangeContext
func (*ElementContext) SelectorElement ¶ added in v0.26.0
func (s *ElementContext) SelectorElement() ISelectorElementContext
func (*ElementContext) ToStringTree ¶
func (s *ElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ElementContext) UniqueFunc ¶ added in v0.30.0
func (s *ElementContext) UniqueFunc() IUniqueFuncContext
func (*ElementContext) Where ¶ added in v0.38.0
func (s *ElementContext) Where() IWhereContext
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) Accept ¶
func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExprContext) AllExpr ¶
func (s *ExprContext) AllExpr() []IExprContext
func (*ExprContext) Arg ¶ added in v0.31.0
func (s *ExprContext) Arg() IArgContext
func (*ExprContext) EQ ¶
func (s *ExprContext) EQ() antlr.TerminalNode
func (*ExprContext) EnterRule ¶
func (s *ExprContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExprContext) ExitRule ¶
func (s *ExprContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExprContext) Expr ¶
func (s *ExprContext) Expr(i int) IExprContext
func (*ExprContext) Func_ ¶ added in v0.29.0
func (s *ExprContext) Func_() IFuncContext
func (*ExprContext) GT ¶
func (s *ExprContext) GT() antlr.TerminalNode
func (*ExprContext) GT_EQ ¶
func (s *ExprContext) GT_EQ() antlr.TerminalNode
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) LPAR ¶ added in v0.38.0
func (s *ExprContext) LPAR() antlr.TerminalNode
func (*ExprContext) LT ¶
func (s *ExprContext) LT() antlr.TerminalNode
func (*ExprContext) LT_EQ ¶
func (s *ExprContext) LT_EQ() antlr.TerminalNode
func (*ExprContext) Literal ¶
func (s *ExprContext) Literal() ILiteralContext
func (*ExprContext) NEQ ¶
func (s *ExprContext) NEQ() antlr.TerminalNode
func (*ExprContext) RPAR ¶ added in v0.38.0
func (s *ExprContext) RPAR() antlr.TerminalNode
func (*ExprContext) Selector ¶ added in v0.26.0
func (s *ExprContext) Selector() ISelectorContext
func (*ExprContext) ToStringTree ¶
func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ExprContext) UnaryOperator ¶
func (s *ExprContext) UnaryOperator() IUnaryOperatorContext
type ExprElementContext ¶ added in v0.38.0
type ExprElementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExprElementContext ¶ added in v0.38.0
func NewEmptyExprElementContext() *ExprElementContext
func NewExprElementContext ¶ added in v0.38.0
func NewExprElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprElementContext
func (*ExprElementContext) Accept ¶ added in v0.38.0
func (s *ExprElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExprElementContext) Alias ¶ added in v0.38.0
func (s *ExprElementContext) Alias() IAliasContext
func (*ExprElementContext) EnterRule ¶ added in v0.38.0
func (s *ExprElementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExprElementContext) ExitRule ¶ added in v0.38.0
func (s *ExprElementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExprElementContext) Expr ¶ added in v0.38.0
func (s *ExprElementContext) Expr() IExprContext
func (*ExprElementContext) GetParser ¶ added in v0.38.0
func (s *ExprElementContext) GetParser() antlr.Parser
func (*ExprElementContext) GetRuleContext ¶ added in v0.38.0
func (s *ExprElementContext) GetRuleContext() antlr.RuleContext
func (*ExprElementContext) IsExprElementContext ¶ added in v0.38.0
func (*ExprElementContext) IsExprElementContext()
func (*ExprElementContext) ToStringTree ¶ added in v0.38.0
func (s *ExprElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FuncContext ¶ added in v0.29.0
type FuncContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFuncContext ¶ added in v0.29.0
func NewEmptyFuncContext() *FuncContext
func NewFuncContext ¶ added in v0.29.0
func NewFuncContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncContext
func (*FuncContext) Accept ¶ added in v0.29.0
func (s *FuncContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FuncContext) AllCOMMA ¶ added in v0.29.0
func (s *FuncContext) AllCOMMA() []antlr.TerminalNode
func (*FuncContext) AllExpr ¶ added in v0.29.0
func (s *FuncContext) AllExpr() []IExprContext
func (*FuncContext) COMMA ¶ added in v0.29.0
func (s *FuncContext) COMMA(i int) antlr.TerminalNode
func (*FuncContext) EnterRule ¶ added in v0.29.0
func (s *FuncContext) EnterRule(listener antlr.ParseTreeListener)
func (*FuncContext) ExitRule ¶ added in v0.29.0
func (s *FuncContext) ExitRule(listener antlr.ParseTreeListener)
func (*FuncContext) Expr ¶ added in v0.29.0
func (s *FuncContext) Expr(i int) IExprContext
func (*FuncContext) FuncName ¶ added in v0.29.0
func (s *FuncContext) FuncName() IFuncNameContext
func (*FuncContext) GetParser ¶ added in v0.29.0
func (s *FuncContext) GetParser() antlr.Parser
func (*FuncContext) GetRuleContext ¶ added in v0.29.0
func (s *FuncContext) GetRuleContext() antlr.RuleContext
func (*FuncContext) IsFuncContext ¶ added in v0.29.0
func (*FuncContext) IsFuncContext()
func (*FuncContext) LPAR ¶ added in v0.29.0
func (s *FuncContext) LPAR() antlr.TerminalNode
func (*FuncContext) RPAR ¶ added in v0.29.0
func (s *FuncContext) RPAR() antlr.TerminalNode
func (*FuncContext) ToStringTree ¶ added in v0.29.0
func (s *FuncContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FuncElementContext ¶ added in v0.29.0
type FuncElementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFuncElementContext ¶ added in v0.29.0
func NewEmptyFuncElementContext() *FuncElementContext
func NewFuncElementContext ¶ added in v0.29.0
func NewFuncElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncElementContext
func (*FuncElementContext) Accept ¶ added in v0.29.0
func (s *FuncElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FuncElementContext) Alias ¶ added in v0.29.0
func (s *FuncElementContext) Alias() IAliasContext
func (*FuncElementContext) EnterRule ¶ added in v0.29.0
func (s *FuncElementContext) EnterRule(listener antlr.ParseTreeListener)
func (*FuncElementContext) ExitRule ¶ added in v0.29.0
func (s *FuncElementContext) ExitRule(listener antlr.ParseTreeListener)
func (*FuncElementContext) Func_ ¶ added in v0.29.0
func (s *FuncElementContext) Func_() IFuncContext
func (*FuncElementContext) GetParser ¶ added in v0.29.0
func (s *FuncElementContext) GetParser() antlr.Parser
func (*FuncElementContext) GetRuleContext ¶ added in v0.29.0
func (s *FuncElementContext) GetRuleContext() antlr.RuleContext
func (*FuncElementContext) IsFuncElementContext ¶ added in v0.29.0
func (*FuncElementContext) IsFuncElementContext()
func (*FuncElementContext) ToStringTree ¶ added in v0.29.0
func (s *FuncElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FuncNameContext ¶ added in v0.29.0
type FuncNameContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFuncNameContext ¶ added in v0.29.0
func NewEmptyFuncNameContext() *FuncNameContext
func NewFuncNameContext ¶ added in v0.29.0
func NewFuncNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FuncNameContext
func (*FuncNameContext) Accept ¶ added in v0.29.0
func (s *FuncNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FuncNameContext) EnterRule ¶ added in v0.29.0
func (s *FuncNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*FuncNameContext) ExitRule ¶ added in v0.29.0
func (s *FuncNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*FuncNameContext) GetParser ¶ added in v0.29.0
func (s *FuncNameContext) GetParser() antlr.Parser
func (*FuncNameContext) GetRuleContext ¶ added in v0.29.0
func (s *FuncNameContext) GetRuleContext() antlr.RuleContext
func (*FuncNameContext) IsFuncNameContext ¶ added in v0.29.0
func (*FuncNameContext) IsFuncNameContext()
func (*FuncNameContext) PROPRIETARY_FUNC_NAME ¶ added in v0.36.2
func (s *FuncNameContext) PROPRIETARY_FUNC_NAME() antlr.TerminalNode
func (*FuncNameContext) ToStringTree ¶ added in v0.29.0
func (s *FuncNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GroupByContext ¶ added in v0.29.0
type GroupByContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGroupByContext ¶ added in v0.29.0
func NewEmptyGroupByContext() *GroupByContext
func NewGroupByContext ¶ added in v0.29.0
func NewGroupByContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GroupByContext
func (*GroupByContext) Accept ¶ added in v0.29.0
func (s *GroupByContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*GroupByContext) AllCOMMA ¶ added in v0.29.0
func (s *GroupByContext) AllCOMMA() []antlr.TerminalNode
func (*GroupByContext) AllGroupByTerm ¶ added in v0.29.0
func (s *GroupByContext) AllGroupByTerm() []IGroupByTermContext
func (*GroupByContext) COMMA ¶ added in v0.29.0
func (s *GroupByContext) COMMA(i int) antlr.TerminalNode
func (*GroupByContext) EnterRule ¶ added in v0.29.0
func (s *GroupByContext) EnterRule(listener antlr.ParseTreeListener)
func (*GroupByContext) ExitRule ¶ added in v0.29.0
func (s *GroupByContext) ExitRule(listener antlr.ParseTreeListener)
func (*GroupByContext) GROUP_BY ¶ added in v0.29.0
func (s *GroupByContext) GROUP_BY() antlr.TerminalNode
func (*GroupByContext) GetParser ¶ added in v0.29.0
func (s *GroupByContext) GetParser() antlr.Parser
func (*GroupByContext) GetRuleContext ¶ added in v0.29.0
func (s *GroupByContext) GetRuleContext() antlr.RuleContext
func (*GroupByContext) GroupByTerm ¶ added in v0.29.0
func (s *GroupByContext) GroupByTerm(i int) IGroupByTermContext
func (*GroupByContext) IsGroupByContext ¶ added in v0.29.0
func (*GroupByContext) IsGroupByContext()
func (*GroupByContext) LPAR ¶ added in v0.29.0
func (s *GroupByContext) LPAR() antlr.TerminalNode
func (*GroupByContext) RPAR ¶ added in v0.29.0
func (s *GroupByContext) RPAR() antlr.TerminalNode
func (*GroupByContext) ToStringTree ¶ added in v0.29.0
func (s *GroupByContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type GroupByTermContext ¶ added in v0.29.0
type GroupByTermContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGroupByTermContext ¶ added in v0.29.0
func NewEmptyGroupByTermContext() *GroupByTermContext
func NewGroupByTermContext ¶ added in v0.29.0
func NewGroupByTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GroupByTermContext
func (*GroupByTermContext) Accept ¶ added in v0.29.0
func (s *GroupByTermContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*GroupByTermContext) EnterRule ¶ added in v0.29.0
func (s *GroupByTermContext) EnterRule(listener antlr.ParseTreeListener)
func (*GroupByTermContext) ExitRule ¶ added in v0.29.0
func (s *GroupByTermContext) ExitRule(listener antlr.ParseTreeListener)
func (*GroupByTermContext) Func_ ¶ added in v0.29.0
func (s *GroupByTermContext) Func_() IFuncContext
func (*GroupByTermContext) GetParser ¶ added in v0.29.0
func (s *GroupByTermContext) GetParser() antlr.Parser
func (*GroupByTermContext) GetRuleContext ¶ added in v0.29.0
func (s *GroupByTermContext) GetRuleContext() antlr.RuleContext
func (*GroupByTermContext) IsGroupByTermContext ¶ added in v0.29.0
func (*GroupByTermContext) IsGroupByTermContext()
func (*GroupByTermContext) Selector ¶ added in v0.29.0
func (s *GroupByTermContext) Selector() ISelectorContext
func (*GroupByTermContext) ToStringTree ¶ added in v0.29.0
func (s *GroupByTermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HandleContext ¶ added in v0.26.0
type HandleContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHandleContext ¶ added in v0.26.0
func NewEmptyHandleContext() *HandleContext
func NewHandleContext ¶ added in v0.26.0
func NewHandleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HandleContext
func (*HandleContext) Accept ¶ added in v0.26.0
func (s *HandleContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*HandleContext) EnterRule ¶ added in v0.26.0
func (s *HandleContext) EnterRule(listener antlr.ParseTreeListener)
func (*HandleContext) ExitRule ¶ added in v0.26.0
func (s *HandleContext) ExitRule(listener antlr.ParseTreeListener)
func (*HandleContext) GetParser ¶ added in v0.26.0
func (s *HandleContext) GetParser() antlr.Parser
func (*HandleContext) GetRuleContext ¶ added in v0.26.0
func (s *HandleContext) GetRuleContext() antlr.RuleContext
func (*HandleContext) HANDLE ¶ added in v0.26.0
func (s *HandleContext) HANDLE() antlr.TerminalNode
func (*HandleContext) IsHandleContext ¶ added in v0.26.0
func (*HandleContext) IsHandleContext()
func (*HandleContext) ToStringTree ¶ added in v0.26.0
func (s *HandleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HandleTableContext ¶ added in v0.26.0
type HandleTableContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHandleTableContext ¶ added in v0.26.0
func NewEmptyHandleTableContext() *HandleTableContext
func NewHandleTableContext ¶ added in v0.26.0
func NewHandleTableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HandleTableContext
func (*HandleTableContext) Accept ¶ added in v0.26.0
func (s *HandleTableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*HandleTableContext) EnterRule ¶ added in v0.26.0
func (s *HandleTableContext) EnterRule(listener antlr.ParseTreeListener)
func (*HandleTableContext) ExitRule ¶ added in v0.26.0
func (s *HandleTableContext) ExitRule(listener antlr.ParseTreeListener)
func (*HandleTableContext) GetParser ¶ added in v0.26.0
func (s *HandleTableContext) GetParser() antlr.Parser
func (*HandleTableContext) GetRuleContext ¶ added in v0.26.0
func (s *HandleTableContext) GetRuleContext() antlr.RuleContext
func (*HandleTableContext) HANDLE ¶ added in v0.26.0
func (s *HandleTableContext) HANDLE() antlr.TerminalNode
func (*HandleTableContext) IsHandleTableContext ¶ added in v0.26.0
func (*HandleTableContext) IsHandleTableContext()
func (*HandleTableContext) NAME ¶ added in v0.26.0
func (s *HandleTableContext) NAME() antlr.TerminalNode
func (*HandleTableContext) ToStringTree ¶ added in v0.26.0
func (s *HandleTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HavingContext ¶ added in v0.46.0
type HavingContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHavingContext ¶ added in v0.46.0
func NewEmptyHavingContext() *HavingContext
func NewHavingContext ¶ added in v0.46.0
func NewHavingContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HavingContext
func (*HavingContext) Accept ¶ added in v0.46.0
func (s *HavingContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*HavingContext) EnterRule ¶ added in v0.46.0
func (s *HavingContext) EnterRule(listener antlr.ParseTreeListener)
func (*HavingContext) ExitRule ¶ added in v0.46.0
func (s *HavingContext) ExitRule(listener antlr.ParseTreeListener)
func (*HavingContext) Expr ¶ added in v0.46.0
func (s *HavingContext) Expr() IExprContext
func (*HavingContext) GetParser ¶ added in v0.46.0
func (s *HavingContext) GetParser() antlr.Parser
func (*HavingContext) GetRuleContext ¶ added in v0.46.0
func (s *HavingContext) GetRuleContext() antlr.RuleContext
func (*HavingContext) HAVING ¶ added in v0.46.0
func (s *HavingContext) HAVING() antlr.TerminalNode
func (*HavingContext) IsHavingContext ¶ added in v0.46.0
func (*HavingContext) IsHavingContext()
func (*HavingContext) LPAR ¶ added in v0.46.0
func (s *HavingContext) LPAR() antlr.TerminalNode
func (*HavingContext) RPAR ¶ added in v0.46.0
func (s *HavingContext) RPAR() antlr.TerminalNode
func (*HavingContext) ToStringTree ¶ added in v0.46.0
func (s *HavingContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAliasContext ¶ added in v0.25.0
type IAliasContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ALIAS_RESERVED() antlr.TerminalNode COLON() antlr.TerminalNode ARG() antlr.TerminalNode ID() antlr.TerminalNode STRING() antlr.TerminalNode // IsAliasContext differentiates from other interfaces. IsAliasContext() }
IAliasContext is an interface to support dynamic dispatch.
type IArgContext ¶ added in v0.31.0
type IArgContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ARG() antlr.TerminalNode // IsArgContext differentiates from other interfaces. IsArgContext() }
IArgContext is an interface to support dynamic dispatch.
type ICountFuncContext ¶ added in v0.30.0
type ICountFuncContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LPAR() antlr.TerminalNode RPAR() antlr.TerminalNode Alias() IAliasContext Selector() ISelectorContext // IsCountFuncContext differentiates from other interfaces. IsCountFuncContext() }
ICountFuncContext is an interface to support dynamic dispatch.
type IElementContext ¶
type IElementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures HandleTable() IHandleTableContext Handle() IHandleContext SelectorElement() ISelectorElementContext Join() IJoinContext GroupBy() IGroupByContext Having() IHavingContext OrderBy() IOrderByContext RowRange() IRowRangeContext UniqueFunc() IUniqueFuncContext CountFunc() ICountFuncContext Where() IWhereContext FuncElement() IFuncElementContext ExprElement() IExprElementContext // IsElementContext differentiates from other interfaces. IsElementContext() }
IElementContext is an interface to support dynamic dispatch.
type IExprContext ¶
type IExprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LPAR() antlr.TerminalNode AllExpr() []IExprContext Expr(i int) IExprContext RPAR() antlr.TerminalNode Selector() ISelectorContext Literal() ILiteralContext Arg() IArgContext UnaryOperator() IUnaryOperatorContext Func_() IFuncContext LT() antlr.TerminalNode LT_EQ() antlr.TerminalNode GT() antlr.TerminalNode GT_EQ() antlr.TerminalNode EQ() antlr.TerminalNode NEQ() antlr.TerminalNode // IsExprContext differentiates from other interfaces. IsExprContext() }
IExprContext is an interface to support dynamic dispatch.
type IExprElementContext ¶ added in v0.38.0
type IExprElementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Expr() IExprContext Alias() IAliasContext // IsExprElementContext differentiates from other interfaces. IsExprElementContext() }
IExprElementContext is an interface to support dynamic dispatch.
type IFuncContext ¶ added in v0.29.0
type IFuncContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures FuncName() IFuncNameContext LPAR() antlr.TerminalNode RPAR() antlr.TerminalNode AllExpr() []IExprContext Expr(i int) IExprContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsFuncContext differentiates from other interfaces. IsFuncContext() }
IFuncContext is an interface to support dynamic dispatch.
type IFuncElementContext ¶ added in v0.29.0
type IFuncElementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Func_() IFuncContext Alias() IAliasContext // IsFuncElementContext differentiates from other interfaces. IsFuncElementContext() }
IFuncElementContext is an interface to support dynamic dispatch.
type IFuncNameContext ¶ added in v0.29.0
type IFuncNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures PROPRIETARY_FUNC_NAME() antlr.TerminalNode // IsFuncNameContext differentiates from other interfaces. IsFuncNameContext() }
IFuncNameContext is an interface to support dynamic dispatch.
type IGroupByContext ¶ added in v0.29.0
type IGroupByContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures GROUP_BY() antlr.TerminalNode LPAR() antlr.TerminalNode AllGroupByTerm() []IGroupByTermContext GroupByTerm(i int) IGroupByTermContext RPAR() antlr.TerminalNode AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsGroupByContext differentiates from other interfaces. IsGroupByContext() }
IGroupByContext is an interface to support dynamic dispatch.
type IGroupByTermContext ¶ added in v0.29.0
type IGroupByTermContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Selector() ISelectorContext Func_() IFuncContext // IsGroupByTermContext differentiates from other interfaces. IsGroupByTermContext() }
IGroupByTermContext is an interface to support dynamic dispatch.
type IHandleContext ¶ added in v0.26.0
type IHandleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures HANDLE() antlr.TerminalNode // IsHandleContext differentiates from other interfaces. IsHandleContext() }
IHandleContext is an interface to support dynamic dispatch.
type IHandleTableContext ¶ added in v0.26.0
type IHandleTableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures HANDLE() antlr.TerminalNode NAME() antlr.TerminalNode // IsHandleTableContext differentiates from other interfaces. IsHandleTableContext() }
IHandleTableContext is an interface to support dynamic dispatch.
type IHavingContext ¶ added in v0.46.0
type IHavingContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures HAVING() antlr.TerminalNode LPAR() antlr.TerminalNode Expr() IExprContext RPAR() antlr.TerminalNode // IsHavingContext differentiates from other interfaces. IsHavingContext() }
IHavingContext is an interface to support dynamic dispatch.
type IJoinContext ¶
type IJoinContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures JOIN_TYPE() antlr.TerminalNode LPAR() antlr.TerminalNode JoinTable() IJoinTableContext RPAR() antlr.TerminalNode COMMA() antlr.TerminalNode Expr() IExprContext // IsJoinContext differentiates from other interfaces. IsJoinContext() }
IJoinContext is an interface to support dynamic dispatch.
type IJoinTableContext ¶ added in v0.40.0
type IJoinTableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures NAME() antlr.TerminalNode HANDLE() antlr.TerminalNode Alias() IAliasContext // IsJoinTableContext differentiates from other interfaces. IsJoinTableContext() }
IJoinTableContext is an interface to support dynamic dispatch.
type ILiteralContext ¶
type ILiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures NN() antlr.TerminalNode NUMBER() antlr.TerminalNode BOOL() antlr.TerminalNode STRING() antlr.TerminalNode NULL() antlr.TerminalNode // IsLiteralContext differentiates from other interfaces. IsLiteralContext() }
ILiteralContext is an interface to support dynamic dispatch.
type IOrderByContext ¶ added in v0.27.0
type IOrderByContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ORDER_BY() antlr.TerminalNode LPAR() antlr.TerminalNode AllOrderByTerm() []IOrderByTermContext OrderByTerm(i int) IOrderByTermContext RPAR() antlr.TerminalNode AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsOrderByContext differentiates from other interfaces. IsOrderByContext() }
IOrderByContext is an interface to support dynamic dispatch.
type IOrderByTermContext ¶ added in v0.27.0
type IOrderByTermContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Selector() ISelectorContext // IsOrderByTermContext differentiates from other interfaces. IsOrderByTermContext() }
IOrderByTermContext is an interface to support dynamic dispatch.
type IQueryContext ¶
type IQueryContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllSegment() []ISegmentContext Segment(i int) ISegmentContext AllPIPE() []antlr.TerminalNode PIPE(i int) antlr.TerminalNode // IsQueryContext differentiates from other interfaces. IsQueryContext() }
IQueryContext is an interface to support dynamic dispatch.
type IRowRangeContext ¶
type IRowRangeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures RBRA() antlr.TerminalNode AllNN() []antlr.TerminalNode NN(i int) antlr.TerminalNode COLON() antlr.TerminalNode // IsRowRangeContext differentiates from other interfaces. IsRowRangeContext() }
IRowRangeContext is an interface to support dynamic dispatch.
type ISegmentContext ¶
type ISegmentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllElement() []IElementContext Element(i int) IElementContext AllCOMMA() []antlr.TerminalNode COMMA(i int) antlr.TerminalNode // IsSegmentContext differentiates from other interfaces. IsSegmentContext() }
ISegmentContext is an interface to support dynamic dispatch.
type ISelectorContext ¶ added in v0.26.0
type ISelectorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllNAME() []antlr.TerminalNode NAME(i int) antlr.TerminalNode // IsSelectorContext differentiates from other interfaces. IsSelectorContext() }
ISelectorContext is an interface to support dynamic dispatch.
type ISelectorElementContext ¶ added in v0.26.0
type ISelectorElementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Selector() ISelectorContext Alias() IAliasContext // IsSelectorElementContext differentiates from other interfaces. IsSelectorElementContext() }
ISelectorElementContext is an interface to support dynamic dispatch.
type IStmtListContext ¶
type IStmtListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllQuery() []IQueryContext Query(i int) IQueryContext // IsStmtListContext differentiates from other interfaces. IsStmtListContext() }
IStmtListContext is an interface to support dynamic dispatch.
type IUnaryOperatorContext ¶
type IUnaryOperatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsUnaryOperatorContext differentiates from other interfaces. IsUnaryOperatorContext() }
IUnaryOperatorContext is an interface to support dynamic dispatch.
type IUniqueFuncContext ¶ added in v0.30.0
type IUniqueFuncContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsUniqueFuncContext differentiates from other interfaces. IsUniqueFuncContext() }
IUniqueFuncContext is an interface to support dynamic dispatch.
type IWhereContext ¶ added in v0.38.0
type IWhereContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures WHERE() antlr.TerminalNode LPAR() antlr.TerminalNode RPAR() antlr.TerminalNode Expr() IExprContext // IsWhereContext differentiates from other interfaces. IsWhereContext() }
IWhereContext is an interface to support dynamic dispatch.
type JoinContext ¶
type JoinContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyJoinContext ¶
func NewEmptyJoinContext() *JoinContext
func NewJoinContext ¶
func NewJoinContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JoinContext
func (*JoinContext) Accept ¶
func (s *JoinContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*JoinContext) COMMA ¶ added in v0.40.0
func (s *JoinContext) COMMA() antlr.TerminalNode
func (*JoinContext) EnterRule ¶
func (s *JoinContext) EnterRule(listener antlr.ParseTreeListener)
func (*JoinContext) ExitRule ¶
func (s *JoinContext) ExitRule(listener antlr.ParseTreeListener)
func (*JoinContext) Expr ¶ added in v0.40.0
func (s *JoinContext) Expr() IExprContext
func (*JoinContext) GetParser ¶
func (s *JoinContext) GetParser() antlr.Parser
func (*JoinContext) GetRuleContext ¶
func (s *JoinContext) GetRuleContext() antlr.RuleContext
func (*JoinContext) IsJoinContext ¶
func (*JoinContext) IsJoinContext()
func (*JoinContext) JOIN_TYPE ¶ added in v0.40.0
func (s *JoinContext) JOIN_TYPE() antlr.TerminalNode
func (*JoinContext) JoinTable ¶ added in v0.40.0
func (s *JoinContext) JoinTable() IJoinTableContext
func (*JoinContext) LPAR ¶
func (s *JoinContext) LPAR() antlr.TerminalNode
func (*JoinContext) RPAR ¶
func (s *JoinContext) RPAR() antlr.TerminalNode
func (*JoinContext) ToStringTree ¶
func (s *JoinContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type JoinTableContext ¶ added in v0.40.0
type JoinTableContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyJoinTableContext ¶ added in v0.40.0
func NewEmptyJoinTableContext() *JoinTableContext
func NewJoinTableContext ¶ added in v0.40.0
func NewJoinTableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JoinTableContext
func (*JoinTableContext) Accept ¶ added in v0.40.0
func (s *JoinTableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*JoinTableContext) Alias ¶ added in v0.40.0
func (s *JoinTableContext) Alias() IAliasContext
func (*JoinTableContext) EnterRule ¶ added in v0.40.0
func (s *JoinTableContext) EnterRule(listener antlr.ParseTreeListener)
func (*JoinTableContext) ExitRule ¶ added in v0.40.0
func (s *JoinTableContext) ExitRule(listener antlr.ParseTreeListener)
func (*JoinTableContext) GetParser ¶ added in v0.40.0
func (s *JoinTableContext) GetParser() antlr.Parser
func (*JoinTableContext) GetRuleContext ¶ added in v0.40.0
func (s *JoinTableContext) GetRuleContext() antlr.RuleContext
func (*JoinTableContext) HANDLE ¶ added in v0.40.0
func (s *JoinTableContext) HANDLE() antlr.TerminalNode
func (*JoinTableContext) IsJoinTableContext ¶ added in v0.40.0
func (*JoinTableContext) IsJoinTableContext()
func (*JoinTableContext) NAME ¶ added in v0.40.0
func (s *JoinTableContext) NAME() antlr.TerminalNode
func (*JoinTableContext) ToStringTree ¶ added in v0.40.0
func (s *JoinTableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LiteralContext ¶
type LiteralContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLiteralContext ¶
func NewEmptyLiteralContext() *LiteralContext
func NewLiteralContext ¶
func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext
func (*LiteralContext) Accept ¶
func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LiteralContext) BOOL ¶ added in v0.48.0
func (s *LiteralContext) BOOL() antlr.TerminalNode
func (*LiteralContext) EnterRule ¶
func (s *LiteralContext) EnterRule(listener antlr.ParseTreeListener)
func (*LiteralContext) ExitRule ¶
func (s *LiteralContext) ExitRule(listener antlr.ParseTreeListener)
func (*LiteralContext) GetParser ¶
func (s *LiteralContext) GetParser() antlr.Parser
func (*LiteralContext) GetRuleContext ¶
func (s *LiteralContext) GetRuleContext() antlr.RuleContext
func (*LiteralContext) IsLiteralContext ¶
func (*LiteralContext) IsLiteralContext()
func (*LiteralContext) NN ¶
func (s *LiteralContext) NN() antlr.TerminalNode
func (*LiteralContext) NULL ¶
func (s *LiteralContext) NULL() antlr.TerminalNode
func (*LiteralContext) NUMBER ¶
func (s *LiteralContext) NUMBER() antlr.TerminalNode
func (*LiteralContext) STRING ¶
func (s *LiteralContext) STRING() antlr.TerminalNode
func (*LiteralContext) ToStringTree ¶
func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OrderByContext ¶ added in v0.27.0
type OrderByContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOrderByContext ¶ added in v0.27.0
func NewEmptyOrderByContext() *OrderByContext
func NewOrderByContext ¶ added in v0.27.0
func NewOrderByContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OrderByContext
func (*OrderByContext) Accept ¶ added in v0.27.0
func (s *OrderByContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OrderByContext) AllCOMMA ¶ added in v0.27.0
func (s *OrderByContext) AllCOMMA() []antlr.TerminalNode
func (*OrderByContext) AllOrderByTerm ¶ added in v0.27.0
func (s *OrderByContext) AllOrderByTerm() []IOrderByTermContext
func (*OrderByContext) COMMA ¶ added in v0.27.0
func (s *OrderByContext) COMMA(i int) antlr.TerminalNode
func (*OrderByContext) EnterRule ¶ added in v0.27.0
func (s *OrderByContext) EnterRule(listener antlr.ParseTreeListener)
func (*OrderByContext) ExitRule ¶ added in v0.27.0
func (s *OrderByContext) ExitRule(listener antlr.ParseTreeListener)
func (*OrderByContext) GetParser ¶ added in v0.27.0
func (s *OrderByContext) GetParser() antlr.Parser
func (*OrderByContext) GetRuleContext ¶ added in v0.27.0
func (s *OrderByContext) GetRuleContext() antlr.RuleContext
func (*OrderByContext) IsOrderByContext ¶ added in v0.27.0
func (*OrderByContext) IsOrderByContext()
func (*OrderByContext) LPAR ¶ added in v0.27.0
func (s *OrderByContext) LPAR() antlr.TerminalNode
func (*OrderByContext) ORDER_BY ¶ added in v0.27.0
func (s *OrderByContext) ORDER_BY() antlr.TerminalNode
func (*OrderByContext) OrderByTerm ¶ added in v0.27.0
func (s *OrderByContext) OrderByTerm(i int) IOrderByTermContext
func (*OrderByContext) RPAR ¶ added in v0.27.0
func (s *OrderByContext) RPAR() antlr.TerminalNode
func (*OrderByContext) ToStringTree ¶ added in v0.27.0
func (s *OrderByContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OrderByTermContext ¶ added in v0.27.0
type OrderByTermContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOrderByTermContext ¶ added in v0.27.0
func NewEmptyOrderByTermContext() *OrderByTermContext
func NewOrderByTermContext ¶ added in v0.27.0
func NewOrderByTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OrderByTermContext
func (*OrderByTermContext) Accept ¶ added in v0.27.0
func (s *OrderByTermContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OrderByTermContext) EnterRule ¶ added in v0.27.0
func (s *OrderByTermContext) EnterRule(listener antlr.ParseTreeListener)
func (*OrderByTermContext) ExitRule ¶ added in v0.27.0
func (s *OrderByTermContext) ExitRule(listener antlr.ParseTreeListener)
func (*OrderByTermContext) GetParser ¶ added in v0.27.0
func (s *OrderByTermContext) GetParser() antlr.Parser
func (*OrderByTermContext) GetRuleContext ¶ added in v0.27.0
func (s *OrderByTermContext) GetRuleContext() antlr.RuleContext
func (*OrderByTermContext) IsOrderByTermContext ¶ added in v0.27.0
func (*OrderByTermContext) IsOrderByTermContext()
func (*OrderByTermContext) Selector ¶ added in v0.27.0
func (s *OrderByTermContext) Selector() ISelectorContext
func (*OrderByTermContext) ToStringTree ¶ added in v0.27.0
func (s *OrderByTermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) 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) Accept ¶
func (s *QueryContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*QueryContext) AllPIPE ¶
func (s *QueryContext) AllPIPE() []antlr.TerminalNode
func (*QueryContext) AllSegment ¶
func (s *QueryContext) AllSegment() []ISegmentContext
func (*QueryContext) EnterRule ¶
func (s *QueryContext) EnterRule(listener antlr.ParseTreeListener)
func (*QueryContext) ExitRule ¶
func (s *QueryContext) ExitRule(listener antlr.ParseTreeListener)
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) PIPE ¶
func (s *QueryContext) PIPE(i int) antlr.TerminalNode
func (*QueryContext) Segment ¶
func (s *QueryContext) Segment(i int) ISegmentContext
func (*QueryContext) ToStringTree ¶
func (s *QueryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RowRangeContext ¶
type RowRangeContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRowRangeContext ¶
func NewEmptyRowRangeContext() *RowRangeContext
func NewRowRangeContext ¶
func NewRowRangeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RowRangeContext
func (*RowRangeContext) Accept ¶
func (s *RowRangeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RowRangeContext) AllNN ¶
func (s *RowRangeContext) AllNN() []antlr.TerminalNode
func (*RowRangeContext) COLON ¶
func (s *RowRangeContext) COLON() antlr.TerminalNode
func (*RowRangeContext) EnterRule ¶
func (s *RowRangeContext) EnterRule(listener antlr.ParseTreeListener)
func (*RowRangeContext) ExitRule ¶
func (s *RowRangeContext) ExitRule(listener antlr.ParseTreeListener)
func (*RowRangeContext) GetParser ¶
func (s *RowRangeContext) GetParser() antlr.Parser
func (*RowRangeContext) GetRuleContext ¶
func (s *RowRangeContext) GetRuleContext() antlr.RuleContext
func (*RowRangeContext) IsRowRangeContext ¶
func (*RowRangeContext) IsRowRangeContext()
func (*RowRangeContext) NN ¶
func (s *RowRangeContext) NN(i int) antlr.TerminalNode
func (*RowRangeContext) RBRA ¶
func (s *RowRangeContext) RBRA() antlr.TerminalNode
func (*RowRangeContext) ToStringTree ¶
func (s *RowRangeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SLQLexer ¶
type SLQLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewSLQLexer ¶
func NewSLQLexer(input antlr.CharStream) *SLQLexer
NewSLQLexer produces a new lexer instance for the optional input antlr.CharStream.
type SLQListener ¶
type SLQListener interface { antlr.ParseTreeListener // EnterStmtList is called when entering the stmtList production. EnterStmtList(c *StmtListContext) // EnterQuery is called when entering the query production. EnterQuery(c *QueryContext) // EnterSegment is called when entering the segment production. EnterSegment(c *SegmentContext) // EnterElement is called when entering the element production. EnterElement(c *ElementContext) // EnterFuncElement is called when entering the funcElement production. EnterFuncElement(c *FuncElementContext) // EnterFunc is called when entering the func production. EnterFunc(c *FuncContext) // EnterFuncName is called when entering the funcName production. EnterFuncName(c *FuncNameContext) // EnterJoin is called when entering the join production. EnterJoin(c *JoinContext) // EnterJoinTable is called when entering the joinTable production. EnterJoinTable(c *JoinTableContext) // EnterUniqueFunc is called when entering the uniqueFunc production. EnterUniqueFunc(c *UniqueFuncContext) // EnterCountFunc is called when entering the countFunc production. EnterCountFunc(c *CountFuncContext) // EnterWhere is called when entering the where production. EnterWhere(c *WhereContext) // EnterGroupByTerm is called when entering the groupByTerm production. EnterGroupByTerm(c *GroupByTermContext) // EnterGroupBy is called when entering the groupBy production. EnterGroupBy(c *GroupByContext) // EnterHaving is called when entering the having production. EnterHaving(c *HavingContext) // EnterOrderByTerm is called when entering the orderByTerm production. EnterOrderByTerm(c *OrderByTermContext) // EnterOrderBy is called when entering the orderBy production. EnterOrderBy(c *OrderByContext) // EnterSelector is called when entering the selector production. EnterSelector(c *SelectorContext) // EnterSelectorElement is called when entering the selectorElement production. EnterSelectorElement(c *SelectorElementContext) // EnterAlias is called when entering the alias production. EnterAlias(c *AliasContext) // EnterArg is called when entering the arg production. EnterArg(c *ArgContext) // EnterHandleTable is called when entering the handleTable production. EnterHandleTable(c *HandleTableContext) // EnterHandle is called when entering the handle production. EnterHandle(c *HandleContext) // EnterRowRange is called when entering the rowRange production. EnterRowRange(c *RowRangeContext) // EnterExprElement is called when entering the exprElement production. EnterExprElement(c *ExprElementContext) // EnterExpr is called when entering the expr production. EnterExpr(c *ExprContext) // EnterLiteral is called when entering the literal production. EnterLiteral(c *LiteralContext) // EnterUnaryOperator is called when entering the unaryOperator production. EnterUnaryOperator(c *UnaryOperatorContext) // ExitStmtList is called when exiting the stmtList production. ExitStmtList(c *StmtListContext) // ExitQuery is called when exiting the query production. ExitQuery(c *QueryContext) // ExitSegment is called when exiting the segment production. ExitSegment(c *SegmentContext) // ExitElement is called when exiting the element production. ExitElement(c *ElementContext) // ExitFuncElement is called when exiting the funcElement production. ExitFuncElement(c *FuncElementContext) // ExitFunc is called when exiting the func production. ExitFunc(c *FuncContext) // ExitFuncName is called when exiting the funcName production. ExitFuncName(c *FuncNameContext) // ExitJoin is called when exiting the join production. ExitJoin(c *JoinContext) // ExitJoinTable is called when exiting the joinTable production. ExitJoinTable(c *JoinTableContext) // ExitUniqueFunc is called when exiting the uniqueFunc production. ExitUniqueFunc(c *UniqueFuncContext) // ExitCountFunc is called when exiting the countFunc production. ExitCountFunc(c *CountFuncContext) // ExitWhere is called when exiting the where production. ExitWhere(c *WhereContext) // ExitGroupByTerm is called when exiting the groupByTerm production. ExitGroupByTerm(c *GroupByTermContext) // ExitGroupBy is called when exiting the groupBy production. ExitGroupBy(c *GroupByContext) // ExitHaving is called when exiting the having production. ExitHaving(c *HavingContext) // ExitOrderByTerm is called when exiting the orderByTerm production. ExitOrderByTerm(c *OrderByTermContext) // ExitOrderBy is called when exiting the orderBy production. ExitOrderBy(c *OrderByContext) // ExitSelector is called when exiting the selector production. ExitSelector(c *SelectorContext) // ExitSelectorElement is called when exiting the selectorElement production. ExitSelectorElement(c *SelectorElementContext) // ExitAlias is called when exiting the alias production. ExitAlias(c *AliasContext) // ExitArg is called when exiting the arg production. ExitArg(c *ArgContext) // ExitHandleTable is called when exiting the handleTable production. ExitHandleTable(c *HandleTableContext) // ExitHandle is called when exiting the handle production. ExitHandle(c *HandleContext) // ExitRowRange is called when exiting the rowRange production. ExitRowRange(c *RowRangeContext) // ExitExprElement is called when exiting the exprElement production. ExitExprElement(c *ExprElementContext) // ExitExpr is called when exiting the expr production. ExitExpr(c *ExprContext) // ExitLiteral is called when exiting the literal production. ExitLiteral(c *LiteralContext) // ExitUnaryOperator is called when exiting the unaryOperator production. ExitUnaryOperator(c *UnaryOperatorContext) }
SLQListener is a complete listener for a parse tree produced by SLQParser.
type SLQParser ¶
type SLQParser struct {
*antlr.BaseParser
}
func NewSLQParser ¶
func NewSLQParser(input antlr.TokenStream) *SLQParser
NewSLQParser produces a new parser instance for the optional input antlr.TokenStream.
func (*SLQParser) Alias ¶ added in v0.25.0
func (p *SLQParser) Alias() (localctx IAliasContext)
func (*SLQParser) Arg ¶ added in v0.31.0
func (p *SLQParser) Arg() (localctx IArgContext)
func (*SLQParser) CountFunc ¶ added in v0.30.0
func (p *SLQParser) CountFunc() (localctx ICountFuncContext)
func (*SLQParser) Element ¶
func (p *SLQParser) Element() (localctx IElementContext)
func (*SLQParser) Expr ¶
func (p *SLQParser) Expr() (localctx IExprContext)
func (*SLQParser) ExprElement ¶ added in v0.38.0
func (p *SLQParser) ExprElement() (localctx IExprElementContext)
func (*SLQParser) Expr_Sempred ¶
func (*SLQParser) FuncElement ¶ added in v0.29.0
func (p *SLQParser) FuncElement() (localctx IFuncElementContext)
func (*SLQParser) FuncName ¶ added in v0.29.0
func (p *SLQParser) FuncName() (localctx IFuncNameContext)
func (*SLQParser) Func_ ¶ added in v0.29.0
func (p *SLQParser) Func_() (localctx IFuncContext)
func (*SLQParser) GroupBy ¶ added in v0.29.0
func (p *SLQParser) GroupBy() (localctx IGroupByContext)
func (*SLQParser) GroupByTerm ¶ added in v0.29.0
func (p *SLQParser) GroupByTerm() (localctx IGroupByTermContext)
func (*SLQParser) Handle ¶ added in v0.26.0
func (p *SLQParser) Handle() (localctx IHandleContext)
func (*SLQParser) HandleTable ¶ added in v0.26.0
func (p *SLQParser) HandleTable() (localctx IHandleTableContext)
func (*SLQParser) Having ¶ added in v0.46.0
func (p *SLQParser) Having() (localctx IHavingContext)
func (*SLQParser) Join ¶
func (p *SLQParser) Join() (localctx IJoinContext)
func (*SLQParser) JoinTable ¶ added in v0.40.0
func (p *SLQParser) JoinTable() (localctx IJoinTableContext)
func (*SLQParser) Literal ¶
func (p *SLQParser) Literal() (localctx ILiteralContext)
func (*SLQParser) OrderBy ¶ added in v0.27.0
func (p *SLQParser) OrderBy() (localctx IOrderByContext)
func (*SLQParser) OrderByTerm ¶ added in v0.27.0
func (p *SLQParser) OrderByTerm() (localctx IOrderByTermContext)
func (*SLQParser) Query ¶
func (p *SLQParser) Query() (localctx IQueryContext)
func (*SLQParser) RowRange ¶
func (p *SLQParser) RowRange() (localctx IRowRangeContext)
func (*SLQParser) Segment ¶
func (p *SLQParser) Segment() (localctx ISegmentContext)
func (*SLQParser) Selector ¶ added in v0.26.0
func (p *SLQParser) Selector() (localctx ISelectorContext)
func (*SLQParser) SelectorElement ¶ added in v0.26.0
func (p *SLQParser) SelectorElement() (localctx ISelectorElementContext)
func (*SLQParser) StmtList ¶
func (p *SLQParser) StmtList() (localctx IStmtListContext)
func (*SLQParser) UnaryOperator ¶
func (p *SLQParser) UnaryOperator() (localctx IUnaryOperatorContext)
func (*SLQParser) UniqueFunc ¶ added in v0.30.0
func (p *SLQParser) UniqueFunc() (localctx IUniqueFuncContext)
func (*SLQParser) Where ¶ added in v0.38.0
func (p *SLQParser) Where() (localctx IWhereContext)
type SLQVisitor ¶
type SLQVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by SLQParser#stmtList. VisitStmtList(ctx *StmtListContext) interface{} // Visit a parse tree produced by SLQParser#query. VisitQuery(ctx *QueryContext) interface{} // Visit a parse tree produced by SLQParser#segment. VisitSegment(ctx *SegmentContext) interface{} // Visit a parse tree produced by SLQParser#element. VisitElement(ctx *ElementContext) interface{} // Visit a parse tree produced by SLQParser#funcElement. VisitFuncElement(ctx *FuncElementContext) interface{} // Visit a parse tree produced by SLQParser#func. VisitFunc(ctx *FuncContext) interface{} // Visit a parse tree produced by SLQParser#funcName. VisitFuncName(ctx *FuncNameContext) interface{} // Visit a parse tree produced by SLQParser#join. VisitJoin(ctx *JoinContext) interface{} // Visit a parse tree produced by SLQParser#joinTable. VisitJoinTable(ctx *JoinTableContext) interface{} // Visit a parse tree produced by SLQParser#uniqueFunc. VisitUniqueFunc(ctx *UniqueFuncContext) interface{} // Visit a parse tree produced by SLQParser#countFunc. VisitCountFunc(ctx *CountFuncContext) interface{} // Visit a parse tree produced by SLQParser#where. VisitWhere(ctx *WhereContext) interface{} // Visit a parse tree produced by SLQParser#groupByTerm. VisitGroupByTerm(ctx *GroupByTermContext) interface{} // Visit a parse tree produced by SLQParser#groupBy. VisitGroupBy(ctx *GroupByContext) interface{} // Visit a parse tree produced by SLQParser#having. VisitHaving(ctx *HavingContext) interface{} // Visit a parse tree produced by SLQParser#orderByTerm. VisitOrderByTerm(ctx *OrderByTermContext) interface{} // Visit a parse tree produced by SLQParser#orderBy. VisitOrderBy(ctx *OrderByContext) interface{} // Visit a parse tree produced by SLQParser#selector. VisitSelector(ctx *SelectorContext) interface{} // Visit a parse tree produced by SLQParser#selectorElement. VisitSelectorElement(ctx *SelectorElementContext) interface{} // Visit a parse tree produced by SLQParser#alias. VisitAlias(ctx *AliasContext) interface{} // Visit a parse tree produced by SLQParser#arg. VisitArg(ctx *ArgContext) interface{} // Visit a parse tree produced by SLQParser#handleTable. VisitHandleTable(ctx *HandleTableContext) interface{} // Visit a parse tree produced by SLQParser#handle. VisitHandle(ctx *HandleContext) interface{} // Visit a parse tree produced by SLQParser#rowRange. VisitRowRange(ctx *RowRangeContext) interface{} // Visit a parse tree produced by SLQParser#exprElement. VisitExprElement(ctx *ExprElementContext) interface{} // Visit a parse tree produced by SLQParser#expr. VisitExpr(ctx *ExprContext) interface{} // Visit a parse tree produced by SLQParser#literal. VisitLiteral(ctx *LiteralContext) interface{} // Visit a parse tree produced by SLQParser#unaryOperator. VisitUnaryOperator(ctx *UnaryOperatorContext) interface{} }
A complete Visitor for a parse tree produced by SLQParser.
type SegmentContext ¶
type SegmentContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySegmentContext ¶
func NewEmptySegmentContext() *SegmentContext
func NewSegmentContext ¶
func NewSegmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SegmentContext
func (*SegmentContext) Accept ¶
func (s *SegmentContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SegmentContext) AllCOMMA ¶
func (s *SegmentContext) AllCOMMA() []antlr.TerminalNode
func (*SegmentContext) AllElement ¶
func (s *SegmentContext) AllElement() []IElementContext
func (*SegmentContext) COMMA ¶
func (s *SegmentContext) COMMA(i int) antlr.TerminalNode
func (*SegmentContext) Element ¶
func (s *SegmentContext) Element(i int) IElementContext
func (*SegmentContext) EnterRule ¶
func (s *SegmentContext) EnterRule(listener antlr.ParseTreeListener)
func (*SegmentContext) ExitRule ¶
func (s *SegmentContext) ExitRule(listener antlr.ParseTreeListener)
func (*SegmentContext) GetParser ¶
func (s *SegmentContext) GetParser() antlr.Parser
func (*SegmentContext) GetRuleContext ¶
func (s *SegmentContext) GetRuleContext() antlr.RuleContext
func (*SegmentContext) IsSegmentContext ¶
func (*SegmentContext) IsSegmentContext()
func (*SegmentContext) ToStringTree ¶
func (s *SegmentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SelectorContext ¶ added in v0.26.0
type SelectorContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySelectorContext ¶ added in v0.26.0
func NewEmptySelectorContext() *SelectorContext
func NewSelectorContext ¶ added in v0.26.0
func NewSelectorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorContext
func (*SelectorContext) Accept ¶ added in v0.26.0
func (s *SelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SelectorContext) AllNAME ¶ added in v0.26.0
func (s *SelectorContext) AllNAME() []antlr.TerminalNode
func (*SelectorContext) EnterRule ¶ added in v0.26.0
func (s *SelectorContext) EnterRule(listener antlr.ParseTreeListener)
func (*SelectorContext) ExitRule ¶ added in v0.26.0
func (s *SelectorContext) ExitRule(listener antlr.ParseTreeListener)
func (*SelectorContext) GetParser ¶ added in v0.26.0
func (s *SelectorContext) GetParser() antlr.Parser
func (*SelectorContext) GetRuleContext ¶ added in v0.26.0
func (s *SelectorContext) GetRuleContext() antlr.RuleContext
func (*SelectorContext) IsSelectorContext ¶ added in v0.26.0
func (*SelectorContext) IsSelectorContext()
func (*SelectorContext) NAME ¶ added in v0.26.0
func (s *SelectorContext) NAME(i int) antlr.TerminalNode
func (*SelectorContext) ToStringTree ¶ added in v0.26.0
func (s *SelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SelectorElementContext ¶ added in v0.26.0
type SelectorElementContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySelectorElementContext ¶ added in v0.26.0
func NewEmptySelectorElementContext() *SelectorElementContext
func NewSelectorElementContext ¶ added in v0.26.0
func NewSelectorElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorElementContext
func (*SelectorElementContext) Accept ¶ added in v0.26.0
func (s *SelectorElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SelectorElementContext) Alias ¶ added in v0.26.0
func (s *SelectorElementContext) Alias() IAliasContext
func (*SelectorElementContext) EnterRule ¶ added in v0.26.0
func (s *SelectorElementContext) EnterRule(listener antlr.ParseTreeListener)
func (*SelectorElementContext) ExitRule ¶ added in v0.26.0
func (s *SelectorElementContext) ExitRule(listener antlr.ParseTreeListener)
func (*SelectorElementContext) GetParser ¶ added in v0.26.0
func (s *SelectorElementContext) GetParser() antlr.Parser
func (*SelectorElementContext) GetRuleContext ¶ added in v0.26.0
func (s *SelectorElementContext) GetRuleContext() antlr.RuleContext
func (*SelectorElementContext) IsSelectorElementContext ¶ added in v0.26.0
func (*SelectorElementContext) IsSelectorElementContext()
func (*SelectorElementContext) Selector ¶ added in v0.26.0
func (s *SelectorElementContext) Selector() ISelectorContext
func (*SelectorElementContext) ToStringTree ¶ added in v0.26.0
func (s *SelectorElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StmtListContext ¶
type StmtListContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtListContext ¶
func NewEmptyStmtListContext() *StmtListContext
func NewStmtListContext ¶
func NewStmtListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtListContext
func (*StmtListContext) Accept ¶
func (s *StmtListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StmtListContext) AllQuery ¶
func (s *StmtListContext) AllQuery() []IQueryContext
func (*StmtListContext) EnterRule ¶
func (s *StmtListContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtListContext) ExitRule ¶
func (s *StmtListContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtListContext) GetParser ¶
func (s *StmtListContext) GetParser() antlr.Parser
func (*StmtListContext) GetRuleContext ¶
func (s *StmtListContext) GetRuleContext() antlr.RuleContext
func (*StmtListContext) IsStmtListContext ¶
func (*StmtListContext) IsStmtListContext()
func (*StmtListContext) Query ¶
func (s *StmtListContext) Query(i int) IQueryContext
func (*StmtListContext) ToStringTree ¶
func (s *StmtListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UnaryOperatorContext ¶
type UnaryOperatorContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnaryOperatorContext ¶
func NewEmptyUnaryOperatorContext() *UnaryOperatorContext
func NewUnaryOperatorContext ¶
func NewUnaryOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnaryOperatorContext
func (*UnaryOperatorContext) Accept ¶
func (s *UnaryOperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*UnaryOperatorContext) EnterRule ¶
func (s *UnaryOperatorContext) EnterRule(listener antlr.ParseTreeListener)
func (*UnaryOperatorContext) ExitRule ¶
func (s *UnaryOperatorContext) ExitRule(listener antlr.ParseTreeListener)
func (*UnaryOperatorContext) GetParser ¶
func (s *UnaryOperatorContext) GetParser() antlr.Parser
func (*UnaryOperatorContext) GetRuleContext ¶
func (s *UnaryOperatorContext) GetRuleContext() antlr.RuleContext
func (*UnaryOperatorContext) IsUnaryOperatorContext ¶
func (*UnaryOperatorContext) IsUnaryOperatorContext()
func (*UnaryOperatorContext) ToStringTree ¶
func (s *UnaryOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type UniqueFuncContext ¶ added in v0.30.0
type UniqueFuncContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUniqueFuncContext ¶ added in v0.30.0
func NewEmptyUniqueFuncContext() *UniqueFuncContext
func NewUniqueFuncContext ¶ added in v0.30.0
func NewUniqueFuncContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UniqueFuncContext
func (*UniqueFuncContext) Accept ¶ added in v0.30.0
func (s *UniqueFuncContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*UniqueFuncContext) EnterRule ¶ added in v0.30.0
func (s *UniqueFuncContext) EnterRule(listener antlr.ParseTreeListener)
func (*UniqueFuncContext) ExitRule ¶ added in v0.30.0
func (s *UniqueFuncContext) ExitRule(listener antlr.ParseTreeListener)
func (*UniqueFuncContext) GetParser ¶ added in v0.30.0
func (s *UniqueFuncContext) GetParser() antlr.Parser
func (*UniqueFuncContext) GetRuleContext ¶ added in v0.30.0
func (s *UniqueFuncContext) GetRuleContext() antlr.RuleContext
func (*UniqueFuncContext) IsUniqueFuncContext ¶ added in v0.30.0
func (*UniqueFuncContext) IsUniqueFuncContext()
func (*UniqueFuncContext) ToStringTree ¶ added in v0.30.0
func (s *UniqueFuncContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type WhereContext ¶ added in v0.38.0
type WhereContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWhereContext ¶ added in v0.38.0
func NewEmptyWhereContext() *WhereContext
func NewWhereContext ¶ added in v0.38.0
func NewWhereContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WhereContext
func (*WhereContext) Accept ¶ added in v0.38.0
func (s *WhereContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*WhereContext) EnterRule ¶ added in v0.38.0
func (s *WhereContext) EnterRule(listener antlr.ParseTreeListener)
func (*WhereContext) ExitRule ¶ added in v0.38.0
func (s *WhereContext) ExitRule(listener antlr.ParseTreeListener)
func (*WhereContext) Expr ¶ added in v0.38.0
func (s *WhereContext) Expr() IExprContext
func (*WhereContext) GetParser ¶ added in v0.38.0
func (s *WhereContext) GetParser() antlr.Parser
func (*WhereContext) GetRuleContext ¶ added in v0.38.0
func (s *WhereContext) GetRuleContext() antlr.RuleContext
func (*WhereContext) IsWhereContext ¶ added in v0.38.0
func (*WhereContext) IsWhereContext()
func (*WhereContext) LPAR ¶ added in v0.38.0
func (s *WhereContext) LPAR() antlr.TerminalNode
func (*WhereContext) RPAR ¶ added in v0.38.0
func (s *WhereContext) RPAR() antlr.TerminalNode
func (*WhereContext) ToStringTree ¶ added in v0.38.0
func (s *WhereContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*WhereContext) WHERE ¶ added in v0.38.0
func (s *WhereContext) WHERE() antlr.TerminalNode