parser

package
v0.0.0-...-5e759bf Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryLexerAND_OP          = 1
	QueryLexerOR_OP           = 2
	QueryLexerSIMPLE_OP       = 3
	QueryLexerREP             = 4
	QueryLexerIN              = 5
	QueryLexerAS              = 6
	QueryLexerCBF             = 7
	QueryLexerSELECT          = 8
	QueryLexerFROM            = 9
	QueryLexerFILTER          = 10
	QueryLexerWILDCARD        = 11
	QueryLexerCLAUSE_SAME     = 12
	QueryLexerCLAUSE_DISTINCT = 13
	QueryLexerL_PAREN         = 14
	QueryLexerR_PAREN         = 15
	QueryLexerAT              = 16
	QueryLexerIDENT           = 17
	QueryLexerNUMBER1         = 18
	QueryLexerZERO            = 19
	QueryLexerSTRING          = 20
	QueryLexerWS              = 21
)

QueryLexer tokens.

View Source
const (
	QueryEOF             = antlr.TokenEOF
	QueryAND_OP          = 1
	QueryOR_OP           = 2
	QuerySIMPLE_OP       = 3
	QueryREP             = 4
	QueryIN              = 5
	QueryAS              = 6
	QueryCBF             = 7
	QuerySELECT          = 8
	QueryFROM            = 9
	QueryFILTER          = 10
	QueryWILDCARD        = 11
	QueryCLAUSE_SAME     = 12
	QueryCLAUSE_DISTINCT = 13
	QueryL_PAREN         = 14
	QueryR_PAREN         = 15
	QueryAT              = 16
	QueryIDENT           = 17
	QueryNUMBER1         = 18
	QueryZERO            = 19
	QuerySTRING          = 20
	QueryWS              = 21
)

Query tokens.

View Source
const (
	QueryRULE_policy      = 0
	QueryRULE_repStmt     = 1
	QueryRULE_cbfStmt     = 2
	QueryRULE_selectStmt  = 3
	QueryRULE_clause      = 4
	QueryRULE_filterExpr  = 5
	QueryRULE_filterStmt  = 6
	QueryRULE_expr        = 7
	QueryRULE_filterKey   = 8
	QueryRULE_filterValue = 9
	QueryRULE_number      = 10
	QueryRULE_keyword     = 11
	QueryRULE_ident       = 12
	QueryRULE_identWC     = 13
)

Query rules.

Variables

This section is empty.

Functions

func QueryInit

func QueryInit()

QueryInit initializes any static state used to implement Query. By default the static state used to implement the parser is lazily initialized during the first call to NewQuery(). You can call this function if you wish to initialize the static state ahead of time.

func QueryLexerInit

func QueryLexerInit()

QueryLexerInit initializes any static state used to implement QueryLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewQueryLexer(). You can call this function if you wish to initialize the static state ahead of time.

Types

type BaseQueryListener

type BaseQueryListener struct{}

BaseQueryListener is a complete listener for a parse tree produced by Query.

func (*BaseQueryListener) EnterCbfStmt

func (s *BaseQueryListener) EnterCbfStmt(ctx *CbfStmtContext)

EnterCbfStmt is called when production cbfStmt is entered.

func (*BaseQueryListener) EnterClause

func (s *BaseQueryListener) EnterClause(ctx *ClauseContext)

EnterClause is called when production clause is entered.

func (*BaseQueryListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseQueryListener) EnterExpr

func (s *BaseQueryListener) EnterExpr(ctx *ExprContext)

EnterExpr is called when production expr is entered.

func (*BaseQueryListener) EnterFilterExpr

func (s *BaseQueryListener) EnterFilterExpr(ctx *FilterExprContext)

EnterFilterExpr is called when production filterExpr is entered.

func (*BaseQueryListener) EnterFilterKey

func (s *BaseQueryListener) EnterFilterKey(ctx *FilterKeyContext)

EnterFilterKey is called when production filterKey is entered.

func (*BaseQueryListener) EnterFilterStmt

func (s *BaseQueryListener) EnterFilterStmt(ctx *FilterStmtContext)

EnterFilterStmt is called when production filterStmt is entered.

func (*BaseQueryListener) EnterFilterValue

func (s *BaseQueryListener) EnterFilterValue(ctx *FilterValueContext)

EnterFilterValue is called when production filterValue is entered.

func (*BaseQueryListener) EnterIdent

func (s *BaseQueryListener) EnterIdent(ctx *IdentContext)

EnterIdent is called when production ident is entered.

func (*BaseQueryListener) EnterIdentWC

func (s *BaseQueryListener) EnterIdentWC(ctx *IdentWCContext)

EnterIdentWC is called when production identWC is entered.

func (*BaseQueryListener) EnterKeyword

func (s *BaseQueryListener) EnterKeyword(ctx *KeywordContext)

EnterKeyword is called when production keyword is entered.

func (*BaseQueryListener) EnterNumber

func (s *BaseQueryListener) EnterNumber(ctx *NumberContext)

EnterNumber is called when production number is entered.

func (*BaseQueryListener) EnterPolicy

func (s *BaseQueryListener) EnterPolicy(ctx *PolicyContext)

EnterPolicy is called when production policy is entered.

func (*BaseQueryListener) EnterRepStmt

func (s *BaseQueryListener) EnterRepStmt(ctx *RepStmtContext)

EnterRepStmt is called when production repStmt is entered.

func (*BaseQueryListener) EnterSelectStmt

func (s *BaseQueryListener) EnterSelectStmt(ctx *SelectStmtContext)

EnterSelectStmt is called when production selectStmt is entered.

func (*BaseQueryListener) ExitCbfStmt

func (s *BaseQueryListener) ExitCbfStmt(ctx *CbfStmtContext)

ExitCbfStmt is called when production cbfStmt is exited.

func (*BaseQueryListener) ExitClause

func (s *BaseQueryListener) ExitClause(ctx *ClauseContext)

ExitClause is called when production clause is exited.

func (*BaseQueryListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseQueryListener) ExitExpr

func (s *BaseQueryListener) ExitExpr(ctx *ExprContext)

ExitExpr is called when production expr is exited.

func (*BaseQueryListener) ExitFilterExpr

func (s *BaseQueryListener) ExitFilterExpr(ctx *FilterExprContext)

ExitFilterExpr is called when production filterExpr is exited.

func (*BaseQueryListener) ExitFilterKey

func (s *BaseQueryListener) ExitFilterKey(ctx *FilterKeyContext)

ExitFilterKey is called when production filterKey is exited.

func (*BaseQueryListener) ExitFilterStmt

func (s *BaseQueryListener) ExitFilterStmt(ctx *FilterStmtContext)

ExitFilterStmt is called when production filterStmt is exited.

func (*BaseQueryListener) ExitFilterValue

func (s *BaseQueryListener) ExitFilterValue(ctx *FilterValueContext)

ExitFilterValue is called when production filterValue is exited.

func (*BaseQueryListener) ExitIdent

func (s *BaseQueryListener) ExitIdent(ctx *IdentContext)

ExitIdent is called when production ident is exited.

func (*BaseQueryListener) ExitIdentWC

func (s *BaseQueryListener) ExitIdentWC(ctx *IdentWCContext)

ExitIdentWC is called when production identWC is exited.

func (*BaseQueryListener) ExitKeyword

func (s *BaseQueryListener) ExitKeyword(ctx *KeywordContext)

ExitKeyword is called when production keyword is exited.

func (*BaseQueryListener) ExitNumber

func (s *BaseQueryListener) ExitNumber(ctx *NumberContext)

ExitNumber is called when production number is exited.

func (*BaseQueryListener) ExitPolicy

func (s *BaseQueryListener) ExitPolicy(ctx *PolicyContext)

ExitPolicy is called when production policy is exited.

func (*BaseQueryListener) ExitRepStmt

func (s *BaseQueryListener) ExitRepStmt(ctx *RepStmtContext)

ExitRepStmt is called when production repStmt is exited.

func (*BaseQueryListener) ExitSelectStmt

func (s *BaseQueryListener) ExitSelectStmt(ctx *SelectStmtContext)

ExitSelectStmt is called when production selectStmt is exited.

func (*BaseQueryListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseQueryListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BaseQueryVisitor

type BaseQueryVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseQueryVisitor) VisitCbfStmt

func (v *BaseQueryVisitor) VisitCbfStmt(ctx *CbfStmtContext) interface{}

func (*BaseQueryVisitor) VisitClause

func (v *BaseQueryVisitor) VisitClause(ctx *ClauseContext) interface{}

func (*BaseQueryVisitor) VisitExpr

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

func (*BaseQueryVisitor) VisitFilterExpr

func (v *BaseQueryVisitor) VisitFilterExpr(ctx *FilterExprContext) interface{}

func (*BaseQueryVisitor) VisitFilterKey

func (v *BaseQueryVisitor) VisitFilterKey(ctx *FilterKeyContext) interface{}

func (*BaseQueryVisitor) VisitFilterStmt

func (v *BaseQueryVisitor) VisitFilterStmt(ctx *FilterStmtContext) interface{}

func (*BaseQueryVisitor) VisitFilterValue

func (v *BaseQueryVisitor) VisitFilterValue(ctx *FilterValueContext) interface{}

func (*BaseQueryVisitor) VisitIdent

func (v *BaseQueryVisitor) VisitIdent(ctx *IdentContext) interface{}

func (*BaseQueryVisitor) VisitIdentWC

func (v *BaseQueryVisitor) VisitIdentWC(ctx *IdentWCContext) interface{}

func (*BaseQueryVisitor) VisitKeyword

func (v *BaseQueryVisitor) VisitKeyword(ctx *KeywordContext) interface{}

func (*BaseQueryVisitor) VisitNumber

func (v *BaseQueryVisitor) VisitNumber(ctx *NumberContext) interface{}

func (*BaseQueryVisitor) VisitPolicy

func (v *BaseQueryVisitor) VisitPolicy(ctx *PolicyContext) interface{}

func (*BaseQueryVisitor) VisitRepStmt

func (v *BaseQueryVisitor) VisitRepStmt(ctx *RepStmtContext) interface{}

func (*BaseQueryVisitor) VisitSelectStmt

func (v *BaseQueryVisitor) VisitSelectStmt(ctx *SelectStmtContext) interface{}

type CbfStmtContext

type CbfStmtContext struct {
	*antlr.BaseParserRuleContext

	BackupFactor antlr.Token
	// contains filtered or unexported fields
}

func NewCbfStmtContext

func NewCbfStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CbfStmtContext

func NewEmptyCbfStmtContext

func NewEmptyCbfStmtContext() *CbfStmtContext

func (*CbfStmtContext) Accept

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

func (*CbfStmtContext) CBF

func (s *CbfStmtContext) CBF() antlr.TerminalNode

func (*CbfStmtContext) EnterRule

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

func (*CbfStmtContext) ExitRule

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

func (*CbfStmtContext) GetBackupFactor

func (s *CbfStmtContext) GetBackupFactor() antlr.Token

func (*CbfStmtContext) GetParser

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

func (*CbfStmtContext) GetRuleContext

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

func (*CbfStmtContext) IsCbfStmtContext

func (*CbfStmtContext) IsCbfStmtContext()

func (*CbfStmtContext) NUMBER1

func (s *CbfStmtContext) NUMBER1() antlr.TerminalNode

func (*CbfStmtContext) SetBackupFactor

func (s *CbfStmtContext) SetBackupFactor(v antlr.Token)

func (*CbfStmtContext) ToStringTree

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

type ClauseContext

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

func NewClauseContext

func NewClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClauseContext

func NewEmptyClauseContext

func NewEmptyClauseContext() *ClauseContext

func (*ClauseContext) Accept

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

func (*ClauseContext) CLAUSE_DISTINCT

func (s *ClauseContext) CLAUSE_DISTINCT() antlr.TerminalNode

func (*ClauseContext) CLAUSE_SAME

func (s *ClauseContext) CLAUSE_SAME() antlr.TerminalNode

func (*ClauseContext) EnterRule

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

func (*ClauseContext) ExitRule

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

func (*ClauseContext) GetParser

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

func (*ClauseContext) GetRuleContext

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

func (*ClauseContext) IsClauseContext

func (*ClauseContext) IsClauseContext()

func (*ClauseContext) ToStringTree

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

type ExprContext

type ExprContext struct {
	*antlr.BaseParserRuleContext

	Filter IIdentContext
	Key    IFilterKeyContext
	Value  IFilterValueContext
	// 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) AT

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

func (*ExprContext) Accept

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

func (*ExprContext) EnterRule

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

func (*ExprContext) ExitRule

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

func (*ExprContext) FilterKey

func (s *ExprContext) FilterKey() IFilterKeyContext

func (*ExprContext) FilterValue

func (s *ExprContext) FilterValue() IFilterValueContext

func (*ExprContext) GetFilter

func (s *ExprContext) GetFilter() IIdentContext

func (*ExprContext) GetKey

func (s *ExprContext) GetKey() IFilterKeyContext

func (*ExprContext) GetParser

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

func (*ExprContext) GetRuleContext

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

func (*ExprContext) GetValue

func (s *ExprContext) GetValue() IFilterValueContext

func (*ExprContext) Ident

func (s *ExprContext) Ident() IIdentContext

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) SIMPLE_OP

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

func (*ExprContext) SetFilter

func (s *ExprContext) SetFilter(v IIdentContext)

func (*ExprContext) SetKey

func (s *ExprContext) SetKey(v IFilterKeyContext)

func (*ExprContext) SetValue

func (s *ExprContext) SetValue(v IFilterValueContext)

func (*ExprContext) ToStringTree

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

type FilterExprContext

type FilterExprContext struct {
	*antlr.BaseParserRuleContext

	F1    IFilterExprContext
	Inner IFilterExprContext
	Op    antlr.Token
	F2    IFilterExprContext
	// contains filtered or unexported fields
}

func NewEmptyFilterExprContext

func NewEmptyFilterExprContext() *FilterExprContext

func NewFilterExprContext

func NewFilterExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterExprContext

func (*FilterExprContext) AND_OP

func (s *FilterExprContext) AND_OP() antlr.TerminalNode

func (*FilterExprContext) Accept

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

func (*FilterExprContext) AllFilterExpr

func (s *FilterExprContext) AllFilterExpr() []IFilterExprContext

func (*FilterExprContext) EnterRule

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

func (*FilterExprContext) ExitRule

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

func (*FilterExprContext) Expr

func (s *FilterExprContext) Expr() IExprContext

func (*FilterExprContext) FilterExpr

func (s *FilterExprContext) FilterExpr(i int) IFilterExprContext

func (*FilterExprContext) GetF1

func (*FilterExprContext) GetF2

func (*FilterExprContext) GetInner

func (s *FilterExprContext) GetInner() IFilterExprContext

func (*FilterExprContext) GetOp

func (s *FilterExprContext) GetOp() antlr.Token

func (*FilterExprContext) GetParser

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

func (*FilterExprContext) GetRuleContext

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

func (*FilterExprContext) IsFilterExprContext

func (*FilterExprContext) IsFilterExprContext()

func (*FilterExprContext) L_PAREN

func (s *FilterExprContext) L_PAREN() antlr.TerminalNode

func (*FilterExprContext) OR_OP

func (s *FilterExprContext) OR_OP() antlr.TerminalNode

func (*FilterExprContext) R_PAREN

func (s *FilterExprContext) R_PAREN() antlr.TerminalNode

func (*FilterExprContext) SetF1

func (*FilterExprContext) SetF2

func (*FilterExprContext) SetInner

func (s *FilterExprContext) SetInner(v IFilterExprContext)

func (*FilterExprContext) SetOp

func (s *FilterExprContext) SetOp(v antlr.Token)

func (*FilterExprContext) ToStringTree

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

type FilterKeyContext

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

func NewEmptyFilterKeyContext

func NewEmptyFilterKeyContext() *FilterKeyContext

func NewFilterKeyContext

func NewFilterKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterKeyContext

func (*FilterKeyContext) Accept

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

func (*FilterKeyContext) EnterRule

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

func (*FilterKeyContext) ExitRule

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

func (*FilterKeyContext) GetParser

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

func (*FilterKeyContext) GetRuleContext

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

func (*FilterKeyContext) Ident

func (s *FilterKeyContext) Ident() IIdentContext

func (*FilterKeyContext) IsFilterKeyContext

func (*FilterKeyContext) IsFilterKeyContext()

func (*FilterKeyContext) STRING

func (s *FilterKeyContext) STRING() antlr.TerminalNode

func (*FilterKeyContext) ToStringTree

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

type FilterStmtContext

type FilterStmtContext struct {
	*antlr.BaseParserRuleContext

	Expr IFilterExprContext
	Name IIdentContext
	// contains filtered or unexported fields
}

func NewEmptyFilterStmtContext

func NewEmptyFilterStmtContext() *FilterStmtContext

func NewFilterStmtContext

func NewFilterStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterStmtContext

func (*FilterStmtContext) AS

func (s *FilterStmtContext) AS() antlr.TerminalNode

func (*FilterStmtContext) Accept

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

func (*FilterStmtContext) EnterRule

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

func (*FilterStmtContext) ExitRule

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

func (*FilterStmtContext) FILTER

func (s *FilterStmtContext) FILTER() antlr.TerminalNode

func (*FilterStmtContext) FilterExpr

func (s *FilterStmtContext) FilterExpr() IFilterExprContext

func (*FilterStmtContext) GetExpr

func (*FilterStmtContext) GetName

func (s *FilterStmtContext) GetName() IIdentContext

func (*FilterStmtContext) GetParser

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

func (*FilterStmtContext) GetRuleContext

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

func (*FilterStmtContext) Ident

func (s *FilterStmtContext) Ident() IIdentContext

func (*FilterStmtContext) IsFilterStmtContext

func (*FilterStmtContext) IsFilterStmtContext()

func (*FilterStmtContext) SetExpr

func (s *FilterStmtContext) SetExpr(v IFilterExprContext)

func (*FilterStmtContext) SetName

func (s *FilterStmtContext) SetName(v IIdentContext)

func (*FilterStmtContext) ToStringTree

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

type FilterValueContext

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

func NewEmptyFilterValueContext

func NewEmptyFilterValueContext() *FilterValueContext

func NewFilterValueContext

func NewFilterValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterValueContext

func (*FilterValueContext) Accept

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

func (*FilterValueContext) EnterRule

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

func (*FilterValueContext) ExitRule

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

func (*FilterValueContext) GetParser

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

func (*FilterValueContext) GetRuleContext

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

func (*FilterValueContext) Ident

func (s *FilterValueContext) Ident() IIdentContext

func (*FilterValueContext) IsFilterValueContext

func (*FilterValueContext) IsFilterValueContext()

func (*FilterValueContext) Number

func (s *FilterValueContext) Number() INumberContext

func (*FilterValueContext) STRING

func (s *FilterValueContext) STRING() antlr.TerminalNode

func (*FilterValueContext) ToStringTree

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

type ICbfStmtContext

type ICbfStmtContext interface {
	antlr.ParserRuleContext

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

	// GetBackupFactor returns the BackupFactor token.
	GetBackupFactor() antlr.Token

	// SetBackupFactor sets the BackupFactor token.
	SetBackupFactor(antlr.Token)

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

ICbfStmtContext is an interface to support dynamic dispatch.

type IClauseContext

type IClauseContext interface {
	antlr.ParserRuleContext

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

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

IClauseContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

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

	// GetFilter returns the Filter rule contexts.
	GetFilter() IIdentContext

	// GetKey returns the Key rule contexts.
	GetKey() IFilterKeyContext

	// GetValue returns the Value rule contexts.
	GetValue() IFilterValueContext

	// SetFilter sets the Filter rule contexts.
	SetFilter(IIdentContext)

	// SetKey sets the Key rule contexts.
	SetKey(IFilterKeyContext)

	// SetValue sets the Value rule contexts.
	SetValue(IFilterValueContext)

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

IExprContext is an interface to support dynamic dispatch.

type IFilterExprContext

type IFilterExprContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the Op token.
	GetOp() antlr.Token

	// SetOp sets the Op token.
	SetOp(antlr.Token)

	// GetF1 returns the F1 rule contexts.
	GetF1() IFilterExprContext

	// GetInner returns the Inner rule contexts.
	GetInner() IFilterExprContext

	// GetF2 returns the F2 rule contexts.
	GetF2() IFilterExprContext

	// SetF1 sets the F1 rule contexts.
	SetF1(IFilterExprContext)

	// SetInner sets the Inner rule contexts.
	SetInner(IFilterExprContext)

	// SetF2 sets the F2 rule contexts.
	SetF2(IFilterExprContext)

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

IFilterExprContext is an interface to support dynamic dispatch.

type IFilterKeyContext

type IFilterKeyContext interface {
	antlr.ParserRuleContext

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

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

IFilterKeyContext is an interface to support dynamic dispatch.

type IFilterStmtContext

type IFilterStmtContext interface {
	antlr.ParserRuleContext

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

	// GetExpr returns the Expr rule contexts.
	GetExpr() IFilterExprContext

	// GetName returns the Name rule contexts.
	GetName() IIdentContext

	// SetExpr sets the Expr rule contexts.
	SetExpr(IFilterExprContext)

	// SetName sets the Name rule contexts.
	SetName(IIdentContext)

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

IFilterStmtContext is an interface to support dynamic dispatch.

type IFilterValueContext

type IFilterValueContext interface {
	antlr.ParserRuleContext

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

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

IFilterValueContext is an interface to support dynamic dispatch.

type IIdentContext

type IIdentContext interface {
	antlr.ParserRuleContext

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

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

IIdentContext is an interface to support dynamic dispatch.

type IIdentWCContext

type IIdentWCContext interface {
	antlr.ParserRuleContext

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

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

IIdentWCContext is an interface to support dynamic dispatch.

type IKeywordContext

type IKeywordContext interface {
	antlr.ParserRuleContext

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

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

IKeywordContext is an interface to support dynamic dispatch.

type INumberContext

type INumberContext interface {
	antlr.ParserRuleContext

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

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

INumberContext is an interface to support dynamic dispatch.

type IPolicyContext

type IPolicyContext interface {
	antlr.ParserRuleContext

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

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

IPolicyContext is an interface to support dynamic dispatch.

type IRepStmtContext

type IRepStmtContext interface {
	antlr.ParserRuleContext

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

	// GetCount returns the Count token.
	GetCount() antlr.Token

	// SetCount sets the Count token.
	SetCount(antlr.Token)

	// GetSelector returns the Selector rule contexts.
	GetSelector() IIdentContext

	// SetSelector sets the Selector rule contexts.
	SetSelector(IIdentContext)

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

IRepStmtContext is an interface to support dynamic dispatch.

type ISelectStmtContext

type ISelectStmtContext interface {
	antlr.ParserRuleContext

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

	// GetCount returns the Count token.
	GetCount() antlr.Token

	// SetCount sets the Count token.
	SetCount(antlr.Token)

	// GetBucket returns the Bucket rule contexts.
	GetBucket() IIdentContext

	// GetFilter returns the Filter rule contexts.
	GetFilter() IIdentWCContext

	// GetName returns the Name rule contexts.
	GetName() IIdentContext

	// SetBucket sets the Bucket rule contexts.
	SetBucket(IIdentContext)

	// SetFilter sets the Filter rule contexts.
	SetFilter(IIdentWCContext)

	// SetName sets the Name rule contexts.
	SetName(IIdentContext)

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

ISelectStmtContext is an interface to support dynamic dispatch.

type IdentContext

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

func NewEmptyIdentContext

func NewEmptyIdentContext() *IdentContext

func NewIdentContext

func NewIdentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentContext

func (*IdentContext) Accept

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

func (*IdentContext) EnterRule

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

func (*IdentContext) ExitRule

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

func (*IdentContext) GetParser

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

func (*IdentContext) GetRuleContext

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

func (*IdentContext) IDENT

func (s *IdentContext) IDENT() antlr.TerminalNode

func (*IdentContext) IsIdentContext

func (*IdentContext) IsIdentContext()

func (*IdentContext) Keyword

func (s *IdentContext) Keyword() IKeywordContext

func (*IdentContext) ToStringTree

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

type IdentWCContext

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

func NewEmptyIdentWCContext

func NewEmptyIdentWCContext() *IdentWCContext

func NewIdentWCContext

func NewIdentWCContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentWCContext

func (*IdentWCContext) Accept

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

func (*IdentWCContext) EnterRule

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

func (*IdentWCContext) ExitRule

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

func (*IdentWCContext) GetParser

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

func (*IdentWCContext) GetRuleContext

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

func (*IdentWCContext) Ident

func (s *IdentWCContext) Ident() IIdentContext

func (*IdentWCContext) IsIdentWCContext

func (*IdentWCContext) IsIdentWCContext()

func (*IdentWCContext) ToStringTree

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

func (*IdentWCContext) WILDCARD

func (s *IdentWCContext) WILDCARD() antlr.TerminalNode

type KeywordContext

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

func NewEmptyKeywordContext

func NewEmptyKeywordContext() *KeywordContext

func NewKeywordContext

func NewKeywordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeywordContext

func (*KeywordContext) AS

func (s *KeywordContext) AS() antlr.TerminalNode

func (*KeywordContext) Accept

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

func (*KeywordContext) EnterRule

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

func (*KeywordContext) ExitRule

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

func (*KeywordContext) FILTER

func (s *KeywordContext) FILTER() antlr.TerminalNode

func (*KeywordContext) FROM

func (s *KeywordContext) FROM() antlr.TerminalNode

func (*KeywordContext) GetParser

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

func (*KeywordContext) GetRuleContext

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

func (*KeywordContext) IN

func (s *KeywordContext) IN() antlr.TerminalNode

func (*KeywordContext) IsKeywordContext

func (*KeywordContext) IsKeywordContext()

func (*KeywordContext) REP

func (s *KeywordContext) REP() antlr.TerminalNode

func (*KeywordContext) SELECT

func (s *KeywordContext) SELECT() antlr.TerminalNode

func (*KeywordContext) ToStringTree

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

type NumberContext

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

func NewEmptyNumberContext

func NewEmptyNumberContext() *NumberContext

func NewNumberContext

func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext

func (*NumberContext) Accept

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

func (*NumberContext) EnterRule

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

func (*NumberContext) ExitRule

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

func (*NumberContext) GetParser

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

func (*NumberContext) GetRuleContext

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

func (*NumberContext) IsNumberContext

func (*NumberContext) IsNumberContext()

func (*NumberContext) NUMBER1

func (s *NumberContext) NUMBER1() antlr.TerminalNode

func (*NumberContext) ToStringTree

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

func (*NumberContext) ZERO

func (s *NumberContext) ZERO() antlr.TerminalNode

type PolicyContext

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

func NewEmptyPolicyContext

func NewEmptyPolicyContext() *PolicyContext

func NewPolicyContext

func NewPolicyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PolicyContext

func (*PolicyContext) Accept

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

func (*PolicyContext) AllFilterStmt

func (s *PolicyContext) AllFilterStmt() []IFilterStmtContext

func (*PolicyContext) AllRepStmt

func (s *PolicyContext) AllRepStmt() []IRepStmtContext

func (*PolicyContext) AllSelectStmt

func (s *PolicyContext) AllSelectStmt() []ISelectStmtContext

func (*PolicyContext) CbfStmt

func (s *PolicyContext) CbfStmt() ICbfStmtContext

func (*PolicyContext) EOF

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

func (*PolicyContext) EnterRule

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

func (*PolicyContext) ExitRule

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

func (*PolicyContext) FilterStmt

func (s *PolicyContext) FilterStmt(i int) IFilterStmtContext

func (*PolicyContext) GetParser

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

func (*PolicyContext) GetRuleContext

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

func (*PolicyContext) IsPolicyContext

func (*PolicyContext) IsPolicyContext()

func (*PolicyContext) RepStmt

func (s *PolicyContext) RepStmt(i int) IRepStmtContext

func (*PolicyContext) SelectStmt

func (s *PolicyContext) SelectStmt(i int) ISelectStmtContext

func (*PolicyContext) ToStringTree

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

type Query

type Query struct {
	*antlr.BaseParser
}

func NewQuery

func NewQuery(input antlr.TokenStream) *Query

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

func (*Query) CbfStmt

func (p *Query) CbfStmt() (localctx ICbfStmtContext)

func (*Query) Clause

func (p *Query) Clause() (localctx IClauseContext)

func (*Query) Expr

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

func (*Query) FilterExpr

func (p *Query) FilterExpr() (localctx IFilterExprContext)

func (*Query) FilterExpr_Sempred

func (p *Query) FilterExpr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*Query) FilterKey

func (p *Query) FilterKey() (localctx IFilterKeyContext)

func (*Query) FilterStmt

func (p *Query) FilterStmt() (localctx IFilterStmtContext)

func (*Query) FilterValue

func (p *Query) FilterValue() (localctx IFilterValueContext)

func (*Query) Ident

func (p *Query) Ident() (localctx IIdentContext)

func (*Query) IdentWC

func (p *Query) IdentWC() (localctx IIdentWCContext)

func (*Query) Keyword

func (p *Query) Keyword() (localctx IKeywordContext)

func (*Query) Number

func (p *Query) Number() (localctx INumberContext)

func (*Query) Policy

func (p *Query) Policy() (localctx IPolicyContext)

func (*Query) RepStmt

func (p *Query) RepStmt() (localctx IRepStmtContext)

func (*Query) SelectStmt

func (p *Query) SelectStmt() (localctx ISelectStmtContext)

func (*Query) Sempred

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

type QueryLexer

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

func NewQueryLexer

func NewQueryLexer(input antlr.CharStream) *QueryLexer

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

type QueryListener

type QueryListener interface {
	antlr.ParseTreeListener

	// EnterPolicy is called when entering the policy production.
	EnterPolicy(c *PolicyContext)

	// EnterRepStmt is called when entering the repStmt production.
	EnterRepStmt(c *RepStmtContext)

	// EnterCbfStmt is called when entering the cbfStmt production.
	EnterCbfStmt(c *CbfStmtContext)

	// EnterSelectStmt is called when entering the selectStmt production.
	EnterSelectStmt(c *SelectStmtContext)

	// EnterClause is called when entering the clause production.
	EnterClause(c *ClauseContext)

	// EnterFilterExpr is called when entering the filterExpr production.
	EnterFilterExpr(c *FilterExprContext)

	// EnterFilterStmt is called when entering the filterStmt production.
	EnterFilterStmt(c *FilterStmtContext)

	// EnterExpr is called when entering the expr production.
	EnterExpr(c *ExprContext)

	// EnterFilterKey is called when entering the filterKey production.
	EnterFilterKey(c *FilterKeyContext)

	// EnterFilterValue is called when entering the filterValue production.
	EnterFilterValue(c *FilterValueContext)

	// EnterNumber is called when entering the number production.
	EnterNumber(c *NumberContext)

	// EnterKeyword is called when entering the keyword production.
	EnterKeyword(c *KeywordContext)

	// EnterIdent is called when entering the ident production.
	EnterIdent(c *IdentContext)

	// EnterIdentWC is called when entering the identWC production.
	EnterIdentWC(c *IdentWCContext)

	// ExitPolicy is called when exiting the policy production.
	ExitPolicy(c *PolicyContext)

	// ExitRepStmt is called when exiting the repStmt production.
	ExitRepStmt(c *RepStmtContext)

	// ExitCbfStmt is called when exiting the cbfStmt production.
	ExitCbfStmt(c *CbfStmtContext)

	// ExitSelectStmt is called when exiting the selectStmt production.
	ExitSelectStmt(c *SelectStmtContext)

	// ExitClause is called when exiting the clause production.
	ExitClause(c *ClauseContext)

	// ExitFilterExpr is called when exiting the filterExpr production.
	ExitFilterExpr(c *FilterExprContext)

	// ExitFilterStmt is called when exiting the filterStmt production.
	ExitFilterStmt(c *FilterStmtContext)

	// ExitExpr is called when exiting the expr production.
	ExitExpr(c *ExprContext)

	// ExitFilterKey is called when exiting the filterKey production.
	ExitFilterKey(c *FilterKeyContext)

	// ExitFilterValue is called when exiting the filterValue production.
	ExitFilterValue(c *FilterValueContext)

	// ExitNumber is called when exiting the number production.
	ExitNumber(c *NumberContext)

	// ExitKeyword is called when exiting the keyword production.
	ExitKeyword(c *KeywordContext)

	// ExitIdent is called when exiting the ident production.
	ExitIdent(c *IdentContext)

	// ExitIdentWC is called when exiting the identWC production.
	ExitIdentWC(c *IdentWCContext)
}

QueryListener is a complete listener for a parse tree produced by Query.

type QueryVisitor

type QueryVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by Query#policy.
	VisitPolicy(ctx *PolicyContext) interface{}

	// Visit a parse tree produced by Query#repStmt.
	VisitRepStmt(ctx *RepStmtContext) interface{}

	// Visit a parse tree produced by Query#cbfStmt.
	VisitCbfStmt(ctx *CbfStmtContext) interface{}

	// Visit a parse tree produced by Query#selectStmt.
	VisitSelectStmt(ctx *SelectStmtContext) interface{}

	// Visit a parse tree produced by Query#clause.
	VisitClause(ctx *ClauseContext) interface{}

	// Visit a parse tree produced by Query#filterExpr.
	VisitFilterExpr(ctx *FilterExprContext) interface{}

	// Visit a parse tree produced by Query#filterStmt.
	VisitFilterStmt(ctx *FilterStmtContext) interface{}

	// Visit a parse tree produced by Query#expr.
	VisitExpr(ctx *ExprContext) interface{}

	// Visit a parse tree produced by Query#filterKey.
	VisitFilterKey(ctx *FilterKeyContext) interface{}

	// Visit a parse tree produced by Query#filterValue.
	VisitFilterValue(ctx *FilterValueContext) interface{}

	// Visit a parse tree produced by Query#number.
	VisitNumber(ctx *NumberContext) interface{}

	// Visit a parse tree produced by Query#keyword.
	VisitKeyword(ctx *KeywordContext) interface{}

	// Visit a parse tree produced by Query#ident.
	VisitIdent(ctx *IdentContext) interface{}

	// Visit a parse tree produced by Query#identWC.
	VisitIdentWC(ctx *IdentWCContext) interface{}
}

A complete Visitor for a parse tree produced by Query.

type RepStmtContext

type RepStmtContext struct {
	*antlr.BaseParserRuleContext

	Count    antlr.Token
	Selector IIdentContext
	// contains filtered or unexported fields
}

func NewEmptyRepStmtContext

func NewEmptyRepStmtContext() *RepStmtContext

func NewRepStmtContext

func NewRepStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RepStmtContext

func (*RepStmtContext) Accept

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

func (*RepStmtContext) EnterRule

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

func (*RepStmtContext) ExitRule

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

func (*RepStmtContext) GetCount

func (s *RepStmtContext) GetCount() antlr.Token

func (*RepStmtContext) GetParser

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

func (*RepStmtContext) GetRuleContext

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

func (*RepStmtContext) GetSelector

func (s *RepStmtContext) GetSelector() IIdentContext

func (*RepStmtContext) IN

func (s *RepStmtContext) IN() antlr.TerminalNode

func (*RepStmtContext) Ident

func (s *RepStmtContext) Ident() IIdentContext

func (*RepStmtContext) IsRepStmtContext

func (*RepStmtContext) IsRepStmtContext()

func (*RepStmtContext) NUMBER1

func (s *RepStmtContext) NUMBER1() antlr.TerminalNode

func (*RepStmtContext) REP

func (s *RepStmtContext) REP() antlr.TerminalNode

func (*RepStmtContext) SetCount

func (s *RepStmtContext) SetCount(v antlr.Token)

func (*RepStmtContext) SetSelector

func (s *RepStmtContext) SetSelector(v IIdentContext)

func (*RepStmtContext) ToStringTree

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

type SelectStmtContext

type SelectStmtContext struct {
	*antlr.BaseParserRuleContext

	Count  antlr.Token
	Bucket IIdentContext
	Filter IIdentWCContext
	Name   IIdentContext
	// contains filtered or unexported fields
}

func NewEmptySelectStmtContext

func NewEmptySelectStmtContext() *SelectStmtContext

func NewSelectStmtContext

func NewSelectStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectStmtContext

func (*SelectStmtContext) AS

func (s *SelectStmtContext) AS() antlr.TerminalNode

func (*SelectStmtContext) Accept

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

func (*SelectStmtContext) AllIdent

func (s *SelectStmtContext) AllIdent() []IIdentContext

func (*SelectStmtContext) Clause

func (s *SelectStmtContext) Clause() IClauseContext

func (*SelectStmtContext) EnterRule

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

func (*SelectStmtContext) ExitRule

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

func (*SelectStmtContext) FROM

func (s *SelectStmtContext) FROM() antlr.TerminalNode

func (*SelectStmtContext) GetBucket

func (s *SelectStmtContext) GetBucket() IIdentContext

func (*SelectStmtContext) GetCount

func (s *SelectStmtContext) GetCount() antlr.Token

func (*SelectStmtContext) GetFilter

func (s *SelectStmtContext) GetFilter() IIdentWCContext

func (*SelectStmtContext) GetName

func (s *SelectStmtContext) GetName() IIdentContext

func (*SelectStmtContext) GetParser

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

func (*SelectStmtContext) GetRuleContext

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

func (*SelectStmtContext) IN

func (s *SelectStmtContext) IN() antlr.TerminalNode

func (*SelectStmtContext) Ident

func (s *SelectStmtContext) Ident(i int) IIdentContext

func (*SelectStmtContext) IdentWC

func (s *SelectStmtContext) IdentWC() IIdentWCContext

func (*SelectStmtContext) IsSelectStmtContext

func (*SelectStmtContext) IsSelectStmtContext()

func (*SelectStmtContext) NUMBER1

func (s *SelectStmtContext) NUMBER1() antlr.TerminalNode

func (*SelectStmtContext) SELECT

func (s *SelectStmtContext) SELECT() antlr.TerminalNode

func (*SelectStmtContext) SetBucket

func (s *SelectStmtContext) SetBucket(v IIdentContext)

func (*SelectStmtContext) SetCount

func (s *SelectStmtContext) SetCount(v antlr.Token)

func (*SelectStmtContext) SetFilter

func (s *SelectStmtContext) SetFilter(v IIdentWCContext)

func (*SelectStmtContext) SetName

func (s *SelectStmtContext) SetName(v IIdentContext)

func (*SelectStmtContext) ToStringTree

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