Documentation ¶
Index ¶
- Constants
- func SLQLexerInit()
- func SLQParserInit()
- type AliasContext
- 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) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseSLQListener
- func (s *BaseSLQListener) EnterAlias(ctx *AliasContext)
- func (s *BaseSLQListener) EnterCmpr(ctx *CmprContext)
- func (s *BaseSLQListener) EnterElement(ctx *ElementContext)
- func (s *BaseSLQListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseSLQListener) EnterExpr(ctx *ExprContext)
- 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) EnterJoin(ctx *JoinContext)
- func (s *BaseSLQListener) EnterJoinConstraint(ctx *JoinConstraintContext)
- 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) ExitAlias(ctx *AliasContext)
- func (s *BaseSLQListener) ExitCmpr(ctx *CmprContext)
- func (s *BaseSLQListener) ExitElement(ctx *ElementContext)
- func (s *BaseSLQListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseSLQListener) ExitExpr(ctx *ExprContext)
- 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) ExitJoin(ctx *JoinContext)
- func (s *BaseSLQListener) ExitJoinConstraint(ctx *JoinConstraintContext)
- 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) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseSLQListener) VisitTerminal(node antlr.TerminalNode)
- type BaseSLQVisitor
- func (v *BaseSLQVisitor) VisitAlias(ctx *AliasContext) interface{}
- func (v *BaseSLQVisitor) VisitCmpr(ctx *CmprContext) interface{}
- func (v *BaseSLQVisitor) VisitElement(ctx *ElementContext) interface{}
- func (v *BaseSLQVisitor) VisitExpr(ctx *ExprContext) 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) VisitJoin(ctx *JoinContext) interface{}
- func (v *BaseSLQVisitor) VisitJoinConstraint(ctx *JoinConstraintContext) 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{}
- type CmprContext
- func (s *CmprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CmprContext) EQ() antlr.TerminalNode
- func (s *CmprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CmprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CmprContext) GT() antlr.TerminalNode
- func (s *CmprContext) GT_EQ() antlr.TerminalNode
- func (s *CmprContext) GetParser() antlr.Parser
- func (s *CmprContext) GetRuleContext() antlr.RuleContext
- func (*CmprContext) IsCmprContext()
- func (s *CmprContext) LT() antlr.TerminalNode
- func (s *CmprContext) LT_EQ() antlr.TerminalNode
- func (s *CmprContext) NEQ() antlr.TerminalNode
- func (s *CmprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ElementContext
- func (s *ElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ElementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ElementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ElementContext) Expr() IExprContext
- 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 (*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
- type ExprContext
- func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExprContext) AllExpr() []IExprContext
- 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) LT() antlr.TerminalNode
- func (s *ExprContext) LT_EQ() antlr.TerminalNode
- func (s *ExprContext) Literal() ILiteralContext
- func (s *ExprContext) NEQ() antlr.TerminalNode
- func (s *ExprContext) ORDER_ASC() antlr.TerminalNode
- func (s *ExprContext) ORDER_DESC() antlr.TerminalNode
- func (s *ExprContext) Selector() ISelectorContext
- func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ExprContext) UnaryOperator() IUnaryOperatorContext
- 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 (s *FuncNameContext) ID() antlr.TerminalNode
- func (*FuncNameContext) IsFuncNameContext()
- 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 IAliasContext
- type ICmprContext
- type IElementContext
- type IExprContext
- type IFuncContext
- type IFuncElementContext
- type IFuncNameContext
- type IGroupByContext
- type IGroupByTermContext
- type IHandleContext
- type IHandleTableContext
- type IJoinConstraintContext
- type IJoinContext
- type ILiteralContext
- type IOrderByContext
- type IOrderByTermContext
- type IQueryContext
- type IRowRangeContext
- type ISegmentContext
- type ISelectorContext
- type ISelectorElementContext
- type IStmtListContext
- type IUnaryOperatorContext
- type JoinConstraintContext
- func (s *JoinConstraintContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *JoinConstraintContext) AllSelector() []ISelectorContext
- func (s *JoinConstraintContext) Cmpr() ICmprContext
- func (s *JoinConstraintContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JoinConstraintContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JoinConstraintContext) GetParser() antlr.Parser
- func (s *JoinConstraintContext) GetRuleContext() antlr.RuleContext
- func (*JoinConstraintContext) IsJoinConstraintContext()
- func (s *JoinConstraintContext) Selector(i int) ISelectorContext
- func (s *JoinConstraintContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type JoinContext
- func (s *JoinContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *JoinContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *JoinContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *JoinContext) GetParser() antlr.Parser
- func (s *JoinContext) GetRuleContext() antlr.RuleContext
- func (*JoinContext) IsJoinContext()
- func (s *JoinContext) JoinConstraint() IJoinConstraintContext
- func (s *JoinContext) LPAR() antlr.TerminalNode
- func (s *JoinContext) RPAR() antlr.TerminalNode
- func (s *JoinContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LiteralContext
- func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- 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) ORDER_ASC() antlr.TerminalNode
- func (s *OrderByTermContext) ORDER_DESC() antlr.TerminalNode
- 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) Cmpr() (localctx ICmprContext)
- func (p *SLQParser) Element() (localctx IElementContext)
- func (p *SLQParser) Expr() (localctx IExprContext)
- 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) Join() (localctx IJoinContext)
- func (p *SLQParser) JoinConstraint() (localctx IJoinConstraintContext)
- 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)
- 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) ORDER_ASC() antlr.TerminalNode
- func (s *UnaryOperatorContext) ORDER_DESC() antlr.TerminalNode
- func (s *UnaryOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
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 SLQLexerGROUP_BY = 14 SLQLexerORDER_ASC = 15 SLQLexerORDER_DESC = 16 SLQLexerORDER_BY = 17 SLQLexerID = 18 SLQLexerWS = 19 SLQLexerLPAR = 20 SLQLexerRPAR = 21 SLQLexerLBRA = 22 SLQLexerRBRA = 23 SLQLexerCOMMA = 24 SLQLexerPIPE = 25 SLQLexerCOLON = 26 SLQLexerNULL = 27 SLQLexerNN = 28 SLQLexerNUMBER = 29 SLQLexerLT_EQ = 30 SLQLexerLT = 31 SLQLexerGT_EQ = 32 SLQLexerGT = 33 SLQLexerNEQ = 34 SLQLexerEQ = 35 SLQLexerNAME = 36 SLQLexerHANDLE = 37 SLQLexerSTRING = 38 SLQLexerLINECOMMENT = 39 )
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 SLQParserGROUP_BY = 14 SLQParserORDER_ASC = 15 SLQParserORDER_DESC = 16 SLQParserORDER_BY = 17 SLQParserID = 18 SLQParserWS = 19 SLQParserLPAR = 20 SLQParserRPAR = 21 SLQParserLBRA = 22 SLQParserRBRA = 23 SLQParserCOMMA = 24 SLQParserPIPE = 25 SLQParserCOLON = 26 SLQParserNULL = 27 SLQParserNN = 28 SLQParserNUMBER = 29 SLQParserLT_EQ = 30 SLQParserLT = 31 SLQParserGT_EQ = 32 SLQParserGT = 33 SLQParserNEQ = 34 SLQParserEQ = 35 SLQParserNAME = 36 SLQParserHANDLE = 37 SLQParserSTRING = 38 SLQParserLINECOMMENT = 39 )
SLQParser tokens.
const ( SLQParserRULE_stmtList = 0 SLQParserRULE_query = 1 SLQParserRULE_segment = 2 SLQParserRULE_element = 3 SLQParserRULE_cmpr = 4 SLQParserRULE_funcElement = 5 SLQParserRULE_func = 6 SLQParserRULE_funcName = 7 SLQParserRULE_join = 8 SLQParserRULE_joinConstraint = 9 SLQParserRULE_groupByTerm = 10 SLQParserRULE_groupBy = 11 SLQParserRULE_orderByTerm = 12 SLQParserRULE_orderBy = 13 SLQParserRULE_selector = 14 SLQParserRULE_selectorElement = 15 SLQParserRULE_alias = 16 SLQParserRULE_handleTable = 17 SLQParserRULE_handle = 18 SLQParserRULE_rowRange = 19 SLQParserRULE_expr = 20 SLQParserRULE_literal = 21 SLQParserRULE_unaryOperator = 22 )
SLQParser rules.
Variables ¶
This section is empty.
Functions ¶
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) 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) ToStringTree ¶ added in v0.25.0
func (s *AliasContext) 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) EnterCmpr ¶
func (s *BaseSLQListener) EnterCmpr(ctx *CmprContext)
EnterCmpr is called when production cmpr 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) 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) EnterJoin ¶
func (s *BaseSLQListener) EnterJoin(ctx *JoinContext)
EnterJoin is called when production join is entered.
func (*BaseSLQListener) EnterJoinConstraint ¶
func (s *BaseSLQListener) EnterJoinConstraint(ctx *JoinConstraintContext)
EnterJoinConstraint is called when production joinConstraint 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) ExitAlias ¶ added in v0.25.0
func (s *BaseSLQListener) ExitAlias(ctx *AliasContext)
ExitAlias is called when production alias is exited.
func (*BaseSLQListener) ExitCmpr ¶
func (s *BaseSLQListener) ExitCmpr(ctx *CmprContext)
ExitCmpr is called when production cmpr 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) 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) ExitJoin ¶
func (s *BaseSLQListener) ExitJoin(ctx *JoinContext)
ExitJoin is called when production join is exited.
func (*BaseSLQListener) ExitJoinConstraint ¶
func (s *BaseSLQListener) ExitJoinConstraint(ctx *JoinConstraintContext)
ExitJoinConstraint is called when production joinConstraint 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) 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) VisitCmpr ¶
func (v *BaseSLQVisitor) VisitCmpr(ctx *CmprContext) interface{}
func (*BaseSLQVisitor) VisitElement ¶
func (v *BaseSLQVisitor) VisitElement(ctx *ElementContext) interface{}
func (*BaseSLQVisitor) VisitExpr ¶
func (v *BaseSLQVisitor) VisitExpr(ctx *ExprContext) 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) VisitJoin ¶
func (v *BaseSLQVisitor) VisitJoin(ctx *JoinContext) interface{}
func (*BaseSLQVisitor) VisitJoinConstraint ¶
func (v *BaseSLQVisitor) VisitJoinConstraint(ctx *JoinConstraintContext) 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{}
type CmprContext ¶
type CmprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCmprContext ¶
func NewCmprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CmprContext
func NewEmptyCmprContext ¶
func NewEmptyCmprContext() *CmprContext
func (*CmprContext) Accept ¶
func (s *CmprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CmprContext) EQ ¶
func (s *CmprContext) EQ() antlr.TerminalNode
func (*CmprContext) EnterRule ¶
func (s *CmprContext) EnterRule(listener antlr.ParseTreeListener)
func (*CmprContext) ExitRule ¶
func (s *CmprContext) ExitRule(listener antlr.ParseTreeListener)
func (*CmprContext) GT ¶
func (s *CmprContext) GT() antlr.TerminalNode
func (*CmprContext) GT_EQ ¶
func (s *CmprContext) GT_EQ() antlr.TerminalNode
func (*CmprContext) GetParser ¶
func (s *CmprContext) GetParser() antlr.Parser
func (*CmprContext) GetRuleContext ¶
func (s *CmprContext) GetRuleContext() antlr.RuleContext
func (*CmprContext) IsCmprContext ¶
func (*CmprContext) IsCmprContext()
func (*CmprContext) LT ¶
func (s *CmprContext) LT() antlr.TerminalNode
func (*CmprContext) LT_EQ ¶
func (s *CmprContext) LT_EQ() antlr.TerminalNode
func (*CmprContext) NEQ ¶
func (s *CmprContext) NEQ() antlr.TerminalNode
func (*CmprContext) ToStringTree ¶
func (s *CmprContext) 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) EnterRule ¶
func (s *ElementContext) EnterRule(listener antlr.ParseTreeListener)
func (*ElementContext) ExitRule ¶
func (s *ElementContext) ExitRule(listener antlr.ParseTreeListener)
func (*ElementContext) Expr ¶
func (s *ElementContext) Expr() IExprContext
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) 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
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) 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) 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) ORDER_ASC ¶ added in v0.27.0
func (s *ExprContext) ORDER_ASC() antlr.TerminalNode
func (*ExprContext) ORDER_DESC ¶ added in v0.27.0
func (s *ExprContext) ORDER_DESC() 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 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) ID ¶ added in v0.29.0
func (s *FuncNameContext) ID() antlr.TerminalNode
func (*FuncNameContext) IsFuncNameContext ¶ added in v0.29.0
func (*FuncNameContext) IsFuncNameContext()
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 IAliasContext ¶ added in v0.25.0
type IAliasContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures COLON() antlr.TerminalNode ID() antlr.TerminalNode // IsAliasContext differentiates from other interfaces. IsAliasContext() }
IAliasContext is an interface to support dynamic dispatch.
type ICmprContext ¶
type ICmprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LT_EQ() antlr.TerminalNode LT() antlr.TerminalNode GT_EQ() antlr.TerminalNode GT() antlr.TerminalNode EQ() antlr.TerminalNode NEQ() antlr.TerminalNode // IsCmprContext differentiates from other interfaces. IsCmprContext() }
ICmprContext 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 OrderBy() IOrderByContext RowRange() IRowRangeContext FuncElement() IFuncElementContext Expr() IExprContext // 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 Selector() ISelectorContext Literal() ILiteralContext UnaryOperator() IUnaryOperatorContext AllExpr() []IExprContext Expr(i int) IExprContext Func_() IFuncContext ORDER_ASC() antlr.TerminalNode ORDER_DESC() antlr.TerminalNode 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 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 ID() 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 IJoinConstraintContext ¶
type IJoinConstraintContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllSelector() []ISelectorContext Selector(i int) ISelectorContext Cmpr() ICmprContext // IsJoinConstraintContext differentiates from other interfaces. IsJoinConstraintContext() }
IJoinConstraintContext is an interface to support dynamic dispatch.
type IJoinContext ¶
type IJoinContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures LPAR() antlr.TerminalNode JoinConstraint() IJoinConstraintContext RPAR() antlr.TerminalNode // IsJoinContext differentiates from other interfaces. IsJoinContext() }
IJoinContext 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 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 ORDER_ASC() antlr.TerminalNode ORDER_DESC() antlr.TerminalNode // 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 // Getter signatures ORDER_DESC() antlr.TerminalNode ORDER_ASC() antlr.TerminalNode // IsUnaryOperatorContext differentiates from other interfaces. IsUnaryOperatorContext() }
IUnaryOperatorContext is an interface to support dynamic dispatch.
type JoinConstraintContext ¶
type JoinConstraintContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyJoinConstraintContext ¶
func NewEmptyJoinConstraintContext() *JoinConstraintContext
func NewJoinConstraintContext ¶
func NewJoinConstraintContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JoinConstraintContext
func (*JoinConstraintContext) Accept ¶
func (s *JoinConstraintContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*JoinConstraintContext) AllSelector ¶ added in v0.26.0
func (s *JoinConstraintContext) AllSelector() []ISelectorContext
func (*JoinConstraintContext) Cmpr ¶
func (s *JoinConstraintContext) Cmpr() ICmprContext
func (*JoinConstraintContext) EnterRule ¶
func (s *JoinConstraintContext) EnterRule(listener antlr.ParseTreeListener)
func (*JoinConstraintContext) ExitRule ¶
func (s *JoinConstraintContext) ExitRule(listener antlr.ParseTreeListener)
func (*JoinConstraintContext) GetParser ¶
func (s *JoinConstraintContext) GetParser() antlr.Parser
func (*JoinConstraintContext) GetRuleContext ¶
func (s *JoinConstraintContext) GetRuleContext() antlr.RuleContext
func (*JoinConstraintContext) IsJoinConstraintContext ¶
func (*JoinConstraintContext) IsJoinConstraintContext()
func (*JoinConstraintContext) Selector ¶ added in v0.26.0
func (s *JoinConstraintContext) Selector(i int) ISelectorContext
func (*JoinConstraintContext) ToStringTree ¶
func (s *JoinConstraintContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
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) EnterRule ¶
func (s *JoinContext) EnterRule(listener antlr.ParseTreeListener)
func (*JoinContext) ExitRule ¶
func (s *JoinContext) ExitRule(listener antlr.ParseTreeListener)
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) JoinConstraint ¶
func (s *JoinContext) JoinConstraint() IJoinConstraintContext
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 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) 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) ORDER_ASC ¶ added in v0.27.0
func (s *OrderByTermContext) ORDER_ASC() antlr.TerminalNode
func (*OrderByTermContext) ORDER_DESC ¶ added in v0.27.0
func (s *OrderByTermContext) ORDER_DESC() antlr.TerminalNode
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) // EnterCmpr is called when entering the cmpr production. EnterCmpr(c *CmprContext) // 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) // EnterJoinConstraint is called when entering the joinConstraint production. EnterJoinConstraint(c *JoinConstraintContext) // EnterGroupByTerm is called when entering the groupByTerm production. EnterGroupByTerm(c *GroupByTermContext) // EnterGroupBy is called when entering the groupBy production. EnterGroupBy(c *GroupByContext) // 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) // 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) // 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) // ExitCmpr is called when exiting the cmpr production. ExitCmpr(c *CmprContext) // 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) // ExitJoinConstraint is called when exiting the joinConstraint production. ExitJoinConstraint(c *JoinConstraintContext) // ExitGroupByTerm is called when exiting the groupByTerm production. ExitGroupByTerm(c *GroupByTermContext) // ExitGroupBy is called when exiting the groupBy production. ExitGroupBy(c *GroupByContext) // 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) // 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) // 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) Cmpr ¶
func (p *SLQParser) Cmpr() (localctx ICmprContext)
func (*SLQParser) Element ¶
func (p *SLQParser) Element() (localctx IElementContext)
func (*SLQParser) Expr ¶
func (p *SLQParser) Expr() (localctx IExprContext)
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) Join ¶
func (p *SLQParser) Join() (localctx IJoinContext)
func (*SLQParser) JoinConstraint ¶
func (p *SLQParser) JoinConstraint() (localctx IJoinConstraintContext)
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)
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#cmpr. VisitCmpr(ctx *CmprContext) 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#joinConstraint. VisitJoinConstraint(ctx *JoinConstraintContext) 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#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#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#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) ORDER_ASC ¶ added in v0.27.0
func (s *UnaryOperatorContext) ORDER_ASC() antlr.TerminalNode
func (*UnaryOperatorContext) ORDER_DESC ¶ added in v0.27.0
func (s *UnaryOperatorContext) ORDER_DESC() antlr.TerminalNode
func (*UnaryOperatorContext) ToStringTree ¶
func (s *UnaryOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string