slq

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SLQLexerT__0        = 1
	SLQLexerT__1        = 2
	SLQLexerT__2        = 3
	SLQLexerT__3        = 4
	SLQLexerT__4        = 5
	SLQLexerT__5        = 6
	SLQLexerT__6        = 7
	SLQLexerT__7        = 8
	SLQLexerT__8        = 9
	SLQLexerT__9        = 10
	SLQLexerT__10       = 11
	SLQLexerT__11       = 12
	SLQLexerT__12       = 13
	SLQLexerT__13       = 14
	SLQLexerT__14       = 15
	SLQLexerT__15       = 16
	SLQLexerT__16       = 17
	SLQLexerT__17       = 18
	SLQLexerT__18       = 19
	SLQLexerT__19       = 20
	SLQLexerT__20       = 21
	SLQLexerT__21       = 22
	SLQLexerT__22       = 23
	SLQLexerT__23       = 24
	SLQLexerT__24       = 25
	SLQLexerT__25       = 26
	SLQLexerT__26       = 27
	SLQLexerT__27       = 28
	SLQLexerID          = 29
	SLQLexerWS          = 30
	SLQLexerLPAR        = 31
	SLQLexerRPAR        = 32
	SLQLexerLBRA        = 33
	SLQLexerRBRA        = 34
	SLQLexerCOMMA       = 35
	SLQLexerPIPE        = 36
	SLQLexerCOLON       = 37
	SLQLexerNULL        = 38
	SLQLexerNN          = 39
	SLQLexerNUMBER      = 40
	SLQLexerLT_EQ       = 41
	SLQLexerLT          = 42
	SLQLexerGT_EQ       = 43
	SLQLexerGT          = 44
	SLQLexerNEQ         = 45
	SLQLexerEQ          = 46
	SLQLexerSEL         = 47
	SLQLexerDATASOURCE  = 48
	SLQLexerSTRING      = 49
	SLQLexerLINECOMMENT = 50
)

SLQLexer tokens.

View Source
const (
	SLQParserEOF         = antlr.TokenEOF
	SLQParserT__0        = 1
	SLQParserT__1        = 2
	SLQParserT__2        = 3
	SLQParserT__3        = 4
	SLQParserT__4        = 5
	SLQParserT__5        = 6
	SLQParserT__6        = 7
	SLQParserT__7        = 8
	SLQParserT__8        = 9
	SLQParserT__9        = 10
	SLQParserT__10       = 11
	SLQParserT__11       = 12
	SLQParserT__12       = 13
	SLQParserT__13       = 14
	SLQParserT__14       = 15
	SLQParserT__15       = 16
	SLQParserT__16       = 17
	SLQParserT__17       = 18
	SLQParserT__18       = 19
	SLQParserT__19       = 20
	SLQParserT__20       = 21
	SLQParserT__21       = 22
	SLQParserT__22       = 23
	SLQParserT__23       = 24
	SLQParserT__24       = 25
	SLQParserT__25       = 26
	SLQParserT__26       = 27
	SLQParserT__27       = 28
	SLQParserID          = 29
	SLQParserWS          = 30
	SLQParserLPAR        = 31
	SLQParserRPAR        = 32
	SLQParserLBRA        = 33
	SLQParserRBRA        = 34
	SLQParserCOMMA       = 35
	SLQParserPIPE        = 36
	SLQParserCOLON       = 37
	SLQParserNULL        = 38
	SLQParserNN          = 39
	SLQParserNUMBER      = 40
	SLQParserLT_EQ       = 41
	SLQParserLT          = 42
	SLQParserGT_EQ       = 43
	SLQParserGT          = 44
	SLQParserNEQ         = 45
	SLQParserEQ          = 46
	SLQParserSEL         = 47
	SLQParserDATASOURCE  = 48
	SLQParserSTRING      = 49
	SLQParserLINECOMMENT = 50
)

SLQParser tokens.

View Source
const (
	SLQParserRULE_stmtList       = 0
	SLQParserRULE_query          = 1
	SLQParserRULE_segment        = 2
	SLQParserRULE_element        = 3
	SLQParserRULE_cmpr           = 4
	SLQParserRULE_fn             = 5
	SLQParserRULE_join           = 6
	SLQParserRULE_joinConstraint = 7
	SLQParserRULE_group          = 8
	SLQParserRULE_selElement     = 9
	SLQParserRULE_dsTblElement   = 10
	SLQParserRULE_dsElement      = 11
	SLQParserRULE_rowRange       = 12
	SLQParserRULE_fnName         = 13
	SLQParserRULE_expr           = 14
	SLQParserRULE_literal        = 15
	SLQParserRULE_unaryOperator  = 16
)

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 BaseSLQListener

type BaseSLQListener struct{}

BaseSLQListener is a complete listener for a parse tree produced by SLQParser.

func (*BaseSLQListener) EnterCmpr

func (s *BaseSLQListener) EnterCmpr(ctx *CmprContext)

EnterCmpr is called when production cmpr is entered.

func (*BaseSLQListener) EnterDsElement

func (s *BaseSLQListener) EnterDsElement(ctx *DsElementContext)

EnterDsElement is called when production dsElement is entered.

func (*BaseSLQListener) EnterDsTblElement

func (s *BaseSLQListener) EnterDsTblElement(ctx *DsTblElementContext)

EnterDsTblElement is called when production dsTblElement 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) EnterFn

func (s *BaseSLQListener) EnterFn(ctx *FnContext)

EnterFn is called when production fn is entered.

func (*BaseSLQListener) EnterFnName

func (s *BaseSLQListener) EnterFnName(ctx *FnNameContext)

EnterFnName is called when production fnName is entered.

func (*BaseSLQListener) EnterGroup

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

EnterGroup is called when production group 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) 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) EnterSelElement

func (s *BaseSLQListener) EnterSelElement(ctx *SelElementContext)

EnterSelElement is called when production selElement 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) ExitCmpr

func (s *BaseSLQListener) ExitCmpr(ctx *CmprContext)

ExitCmpr is called when production cmpr is exited.

func (*BaseSLQListener) ExitDsElement

func (s *BaseSLQListener) ExitDsElement(ctx *DsElementContext)

ExitDsElement is called when production dsElement is exited.

func (*BaseSLQListener) ExitDsTblElement

func (s *BaseSLQListener) ExitDsTblElement(ctx *DsTblElementContext)

ExitDsTblElement is called when production dsTblElement 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) ExitFn

func (s *BaseSLQListener) ExitFn(ctx *FnContext)

ExitFn is called when production fn is exited.

func (*BaseSLQListener) ExitFnName

func (s *BaseSLQListener) ExitFnName(ctx *FnNameContext)

ExitFnName is called when production fnName is exited.

func (*BaseSLQListener) ExitGroup

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

ExitGroup is called when production group 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) 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) ExitSelElement

func (s *BaseSLQListener) ExitSelElement(ctx *SelElementContext)

ExitSelElement is called when production selElement 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) VisitCmpr

func (v *BaseSLQVisitor) VisitCmpr(ctx *CmprContext) interface{}

func (*BaseSLQVisitor) VisitDsElement

func (v *BaseSLQVisitor) VisitDsElement(ctx *DsElementContext) interface{}

func (*BaseSLQVisitor) VisitDsTblElement

func (v *BaseSLQVisitor) VisitDsTblElement(ctx *DsTblElementContext) interface{}

func (*BaseSLQVisitor) VisitElement

func (v *BaseSLQVisitor) VisitElement(ctx *ElementContext) interface{}

func (*BaseSLQVisitor) VisitExpr

func (v *BaseSLQVisitor) VisitExpr(ctx *ExprContext) interface{}

func (*BaseSLQVisitor) VisitFn

func (v *BaseSLQVisitor) VisitFn(ctx *FnContext) interface{}

func (*BaseSLQVisitor) VisitFnName

func (v *BaseSLQVisitor) VisitFnName(ctx *FnNameContext) interface{}

func (*BaseSLQVisitor) VisitGroup

func (v *BaseSLQVisitor) VisitGroup(ctx *GroupContext) 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) 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) VisitSelElement

func (v *BaseSLQVisitor) VisitSelElement(ctx *SelElementContext) 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 DsElementContext

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

func NewDsElementContext

func NewDsElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DsElementContext

func NewEmptyDsElementContext

func NewEmptyDsElementContext() *DsElementContext

func (*DsElementContext) Accept

func (s *DsElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*DsElementContext) DATASOURCE

func (s *DsElementContext) DATASOURCE() antlr.TerminalNode

func (*DsElementContext) EnterRule

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

func (*DsElementContext) ExitRule

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

func (*DsElementContext) GetParser

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

func (*DsElementContext) GetRuleContext

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

func (*DsElementContext) IsDsElementContext

func (*DsElementContext) IsDsElementContext()

func (*DsElementContext) ToStringTree

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

type DsTblElementContext

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

func NewDsTblElementContext

func NewDsTblElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DsTblElementContext

func NewEmptyDsTblElementContext

func NewEmptyDsTblElementContext() *DsTblElementContext

func (*DsTblElementContext) Accept

func (s *DsTblElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*DsTblElementContext) DATASOURCE

func (s *DsTblElementContext) DATASOURCE() antlr.TerminalNode

func (*DsTblElementContext) EnterRule

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

func (*DsTblElementContext) ExitRule

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

func (*DsTblElementContext) GetParser

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

func (*DsTblElementContext) GetRuleContext

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

func (*DsTblElementContext) IsDsTblElementContext

func (*DsTblElementContext) IsDsTblElementContext()

func (*DsTblElementContext) SEL

func (s *DsTblElementContext) SEL() antlr.TerminalNode

func (*DsTblElementContext) ToStringTree

func (s *DsTblElementContext) 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) DsElement

func (s *ElementContext) DsElement() IDsElementContext

func (*ElementContext) DsTblElement

func (s *ElementContext) DsTblElement() IDsTblElementContext

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

func (s *ElementContext) Fn() IFnContext

func (*ElementContext) GetParser

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

func (*ElementContext) GetRuleContext

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

func (*ElementContext) Group

func (s *ElementContext) Group() IGroupContext

func (*ElementContext) IsElementContext

func (*ElementContext) IsElementContext()

func (*ElementContext) Join

func (s *ElementContext) Join() IJoinContext

func (*ElementContext) RowRange

func (s *ElementContext) RowRange() IRowRangeContext

func (*ElementContext) SelElement

func (s *ElementContext) SelElement() ISelElementContext

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

func (s *ExprContext) Fn() IFnContext

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

func (s *ExprContext) SEL() antlr.TerminalNode

func (*ExprContext) ToStringTree

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

func (*ExprContext) UnaryOperator

func (s *ExprContext) UnaryOperator() IUnaryOperatorContext

type FnContext

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

func NewEmptyFnContext

func NewEmptyFnContext() *FnContext

func NewFnContext

func NewFnContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FnContext

func (*FnContext) Accept

func (s *FnContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FnContext) AllCOMMA

func (s *FnContext) AllCOMMA() []antlr.TerminalNode

func (*FnContext) AllExpr

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

func (*FnContext) COMMA

func (s *FnContext) COMMA(i int) antlr.TerminalNode

func (*FnContext) EnterRule

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

func (*FnContext) ExitRule

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

func (*FnContext) Expr

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

func (*FnContext) FnName

func (s *FnContext) FnName() IFnNameContext

func (*FnContext) GetParser

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

func (*FnContext) GetRuleContext

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

func (*FnContext) IsFnContext

func (*FnContext) IsFnContext()

func (*FnContext) LPAR

func (s *FnContext) LPAR() antlr.TerminalNode

func (*FnContext) RPAR

func (s *FnContext) RPAR() antlr.TerminalNode

func (*FnContext) ToStringTree

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

type FnNameContext

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

func NewEmptyFnNameContext

func NewEmptyFnNameContext() *FnNameContext

func NewFnNameContext

func NewFnNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FnNameContext

func (*FnNameContext) Accept

func (s *FnNameContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FnNameContext) EnterRule

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

func (*FnNameContext) ExitRule

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

func (*FnNameContext) GetParser

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

func (*FnNameContext) GetRuleContext

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

func (*FnNameContext) IsFnNameContext

func (*FnNameContext) IsFnNameContext()

func (*FnNameContext) ToStringTree

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

type GroupContext

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

func NewEmptyGroupContext

func NewEmptyGroupContext() *GroupContext

func NewGroupContext

func NewGroupContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GroupContext

func (*GroupContext) Accept

func (s *GroupContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*GroupContext) AllCOMMA

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

func (*GroupContext) AllSEL

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

func (*GroupContext) COMMA

func (s *GroupContext) COMMA(i int) antlr.TerminalNode

func (*GroupContext) EnterRule

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

func (*GroupContext) ExitRule

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

func (*GroupContext) GetParser

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

func (*GroupContext) GetRuleContext

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

func (*GroupContext) IsGroupContext

func (*GroupContext) IsGroupContext()

func (*GroupContext) LPAR

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

func (*GroupContext) RPAR

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

func (*GroupContext) SEL

func (s *GroupContext) SEL(i int) antlr.TerminalNode

func (*GroupContext) ToStringTree

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

type ICmprContext

type ICmprContext interface {
	antlr.ParserRuleContext

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

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

ICmprContext is an interface to support dynamic dispatch.

type IDsElementContext

type IDsElementContext interface {
	antlr.ParserRuleContext

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

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

IDsElementContext is an interface to support dynamic dispatch.

type IDsTblElementContext

type IDsTblElementContext interface {
	antlr.ParserRuleContext

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

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

IDsTblElementContext is an interface to support dynamic dispatch.

type IElementContext

type IElementContext interface {
	antlr.ParserRuleContext

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

	// 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

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

IExprContext is an interface to support dynamic dispatch.

type IFnContext

type IFnContext interface {
	antlr.ParserRuleContext

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

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

IFnContext is an interface to support dynamic dispatch.

type IFnNameContext

type IFnNameContext interface {
	antlr.ParserRuleContext

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

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

IFnNameContext is an interface to support dynamic dispatch.

type IGroupContext

type IGroupContext interface {
	antlr.ParserRuleContext

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

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

IGroupContext is an interface to support dynamic dispatch.

type IJoinConstraintContext

type IJoinConstraintContext interface {
	antlr.ParserRuleContext

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

	// 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

	// 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

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

ILiteralContext is an interface to support dynamic dispatch.

type IQueryContext

type IQueryContext interface {
	antlr.ParserRuleContext

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

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

IQueryContext is an interface to support dynamic dispatch.

type IRowRangeContext

type IRowRangeContext interface {
	antlr.ParserRuleContext

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

	// 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

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

ISegmentContext is an interface to support dynamic dispatch.

type ISelElementContext

type ISelElementContext interface {
	antlr.ParserRuleContext

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

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

ISelElementContext is an interface to support dynamic dispatch.

type IStmtListContext

type IStmtListContext interface {
	antlr.ParserRuleContext

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

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

IStmtListContext is an interface to support dynamic dispatch.

type IUnaryOperatorContext

type IUnaryOperatorContext interface {
	antlr.ParserRuleContext

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

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

IUnaryOperatorContext is an interface to support dynamic dispatch.

type 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) AllSEL

func (s *JoinConstraintContext) AllSEL() []antlr.TerminalNode

func (*JoinConstraintContext) Cmpr

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

func (s *JoinConstraintContext) SEL(i int) antlr.TerminalNode

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

	// EnterFn is called when entering the fn production.
	EnterFn(c *FnContext)

	// EnterJoin is called when entering the join production.
	EnterJoin(c *JoinContext)

	// EnterJoinConstraint is called when entering the joinConstraint production.
	EnterJoinConstraint(c *JoinConstraintContext)

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

	// EnterSelElement is called when entering the selElement production.
	EnterSelElement(c *SelElementContext)

	// EnterDsTblElement is called when entering the dsTblElement production.
	EnterDsTblElement(c *DsTblElementContext)

	// EnterDsElement is called when entering the dsElement production.
	EnterDsElement(c *DsElementContext)

	// EnterRowRange is called when entering the rowRange production.
	EnterRowRange(c *RowRangeContext)

	// EnterFnName is called when entering the fnName production.
	EnterFnName(c *FnNameContext)

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

	// ExitFn is called when exiting the fn production.
	ExitFn(c *FnContext)

	// ExitJoin is called when exiting the join production.
	ExitJoin(c *JoinContext)

	// ExitJoinConstraint is called when exiting the joinConstraint production.
	ExitJoinConstraint(c *JoinConstraintContext)

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

	// ExitSelElement is called when exiting the selElement production.
	ExitSelElement(c *SelElementContext)

	// ExitDsTblElement is called when exiting the dsTblElement production.
	ExitDsTblElement(c *DsTblElementContext)

	// ExitDsElement is called when exiting the dsElement production.
	ExitDsElement(c *DsElementContext)

	// ExitRowRange is called when exiting the rowRange production.
	ExitRowRange(c *RowRangeContext)

	// ExitFnName is called when exiting the fnName production.
	ExitFnName(c *FnNameContext)

	// 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) Cmpr

func (p *SLQParser) Cmpr() (localctx ICmprContext)

func (*SLQParser) DsElement

func (p *SLQParser) DsElement() (localctx IDsElementContext)

func (*SLQParser) DsTblElement

func (p *SLQParser) DsTblElement() (localctx IDsTblElementContext)

func (*SLQParser) Element

func (p *SLQParser) Element() (localctx IElementContext)

func (*SLQParser) Expr

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

func (*SLQParser) Expr_Sempred

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

func (*SLQParser) Fn

func (p *SLQParser) Fn() (localctx IFnContext)

func (*SLQParser) FnName

func (p *SLQParser) FnName() (localctx IFnNameContext)

func (*SLQParser) Group

func (p *SLQParser) Group() (localctx IGroupContext)

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

func (p *SLQParser) SelElement() (localctx ISelElementContext)

func (*SLQParser) Sempred

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

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#fn.
	VisitFn(ctx *FnContext) 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#group.
	VisitGroup(ctx *GroupContext) interface{}

	// Visit a parse tree produced by SLQParser#selElement.
	VisitSelElement(ctx *SelElementContext) interface{}

	// Visit a parse tree produced by SLQParser#dsTblElement.
	VisitDsTblElement(ctx *DsTblElementContext) interface{}

	// Visit a parse tree produced by SLQParser#dsElement.
	VisitDsElement(ctx *DsElementContext) interface{}

	// Visit a parse tree produced by SLQParser#rowRange.
	VisitRowRange(ctx *RowRangeContext) interface{}

	// Visit a parse tree produced by SLQParser#fnName.
	VisitFnName(ctx *FnNameContext) 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 SelElementContext

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

func NewEmptySelElementContext

func NewEmptySelElementContext() *SelElementContext

func NewSelElementContext

func NewSelElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelElementContext

func (*SelElementContext) Accept

func (s *SelElementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*SelElementContext) EnterRule

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

func (*SelElementContext) ExitRule

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

func (*SelElementContext) GetParser

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

func (*SelElementContext) GetRuleContext

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

func (*SelElementContext) IsSelElementContext

func (*SelElementContext) IsSelElementContext()

func (*SelElementContext) SEL

func (s *SelElementContext) SEL() antlr.TerminalNode

func (*SelElementContext) ToStringTree

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

type StmtListContext

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

func NewEmptyStmtListContext

func NewEmptyStmtListContext() *StmtListContext

func NewStmtListContext

func NewStmtListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtListContext

func (*StmtListContext) Accept

func (s *StmtListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StmtListContext) AllQuery

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

func (*StmtListContext) EnterRule

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

func (*StmtListContext) ExitRule

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

func (*StmtListContext) GetParser

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

func (*StmtListContext) GetRuleContext

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

func (*StmtListContext) IsStmtListContext

func (*StmtListContext) IsStmtListContext()

func (*StmtListContext) Query

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

func (*StmtListContext) ToStringTree

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

type UnaryOperatorContext

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

func NewEmptyUnaryOperatorContext

func NewEmptyUnaryOperatorContext() *UnaryOperatorContext

func NewUnaryOperatorContext

func NewUnaryOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnaryOperatorContext

func (*UnaryOperatorContext) Accept

func (s *UnaryOperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*UnaryOperatorContext) EnterRule

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

func (*UnaryOperatorContext) ExitRule

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

func (*UnaryOperatorContext) GetParser

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

func (*UnaryOperatorContext) GetRuleContext

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

func (*UnaryOperatorContext) IsUnaryOperatorContext

func (*UnaryOperatorContext) IsUnaryOperatorContext()

func (*UnaryOperatorContext) ToStringTree

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

Jump to

Keyboard shortcuts

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