Documentation ¶
Index ¶
- Constants
- Variables
- func InitEmptyAnd_opContext(p *And_opContext)
- func InitEmptyBin_opContext(p *Bin_opContext)
- func InitEmptyCol_exprContext(p *Col_exprContext)
- func InitEmptyExists_opContext(p *Exists_opContext)
- func InitEmptyImplicit_and_opContext(p *Implicit_and_opContext)
- func InitEmptyNegation_opContext(p *Negation_opContext)
- func InitEmptyOr_opContext(p *Or_opContext)
- func InitEmptySearch_exprContext(p *Search_exprContext)
- func InitEmptySearch_keyContext(p *Search_keyContext)
- func InitEmptySearch_queryContext(p *Search_queryContext)
- func InitEmptySearch_valueContext(p *Search_valueContext)
- func InitEmptyTop_col_exprContext(p *Top_col_exprContext)
- func SearchGrammarLexerInit()
- func SearchGrammarParserInit()
- type And_col_exprContext
- func (s *And_col_exprContext) AND() antlr.TerminalNode
- func (s *And_col_exprContext) AllCol_expr() []ICol_exprContext
- func (s *And_col_exprContext) Col_expr(i int) ICol_exprContext
- func (s *And_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *And_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *And_col_exprContext) GetRuleContext() antlr.RuleContext
- type And_opContext
- func (s *And_opContext) AND() antlr.TerminalNode
- func (s *And_opContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *And_opContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *And_opContext) GetParser() antlr.Parser
- func (s *And_opContext) GetRuleContext() antlr.RuleContext
- func (*And_opContext) IsAnd_opContext()
- func (s *And_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type And_search_exprContext
- func (s *And_search_exprContext) AllSearch_expr() []ISearch_exprContext
- func (s *And_search_exprContext) And_op() IAnd_opContext
- func (s *And_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *And_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *And_search_exprContext) GetRuleContext() antlr.RuleContext
- func (s *And_search_exprContext) Search_expr(i int) ISearch_exprContext
- type BaseSearchGrammarListener
- func (s *BaseSearchGrammarListener) EnterAnd_col_expr(ctx *And_col_exprContext)
- func (s *BaseSearchGrammarListener) EnterAnd_op(ctx *And_opContext)
- func (s *BaseSearchGrammarListener) EnterAnd_search_expr(ctx *And_search_exprContext)
- func (s *BaseSearchGrammarListener) EnterBin_op(ctx *Bin_opContext)
- func (s *BaseSearchGrammarListener) EnterBody_search_expr(ctx *Body_search_exprContext)
- func (s *BaseSearchGrammarListener) EnterCol_paren_expr(ctx *Col_paren_exprContext)
- func (s *BaseSearchGrammarListener) EnterCol_search_value(ctx *Col_search_valueContext)
- func (s *BaseSearchGrammarListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseSearchGrammarListener) EnterExists_op(ctx *Exists_opContext)
- func (s *BaseSearchGrammarListener) EnterExists_search_expr(ctx *Exists_search_exprContext)
- func (s *BaseSearchGrammarListener) EnterImplicit_and_op(ctx *Implicit_and_opContext)
- func (s *BaseSearchGrammarListener) EnterImplicit_and_search_expr(ctx *Implicit_and_search_exprContext)
- func (s *BaseSearchGrammarListener) EnterKey_val_search_expr(ctx *Key_val_search_exprContext)
- func (s *BaseSearchGrammarListener) EnterNegated_col_expr(ctx *Negated_col_exprContext)
- func (s *BaseSearchGrammarListener) EnterNegated_search_expr(ctx *Negated_search_exprContext)
- func (s *BaseSearchGrammarListener) EnterNegated_top_col_expr(ctx *Negated_top_col_exprContext)
- func (s *BaseSearchGrammarListener) EnterNegation_op(ctx *Negation_opContext)
- func (s *BaseSearchGrammarListener) EnterOr_col_expr(ctx *Or_col_exprContext)
- func (s *BaseSearchGrammarListener) EnterOr_op(ctx *Or_opContext)
- func (s *BaseSearchGrammarListener) EnterOr_search_expr(ctx *Or_search_exprContext)
- func (s *BaseSearchGrammarListener) EnterParen_search_expr(ctx *Paren_search_exprContext)
- func (s *BaseSearchGrammarListener) EnterSearch_key(ctx *Search_keyContext)
- func (s *BaseSearchGrammarListener) EnterSearch_query(ctx *Search_queryContext)
- func (s *BaseSearchGrammarListener) EnterSearch_value(ctx *Search_valueContext)
- func (s *BaseSearchGrammarListener) EnterTop_col_search_value(ctx *Top_col_search_valueContext)
- func (s *BaseSearchGrammarListener) EnterTop_paren_col_expr(ctx *Top_paren_col_exprContext)
- func (s *BaseSearchGrammarListener) ExitAnd_col_expr(ctx *And_col_exprContext)
- func (s *BaseSearchGrammarListener) ExitAnd_op(ctx *And_opContext)
- func (s *BaseSearchGrammarListener) ExitAnd_search_expr(ctx *And_search_exprContext)
- func (s *BaseSearchGrammarListener) ExitBin_op(ctx *Bin_opContext)
- func (s *BaseSearchGrammarListener) ExitBody_search_expr(ctx *Body_search_exprContext)
- func (s *BaseSearchGrammarListener) ExitCol_paren_expr(ctx *Col_paren_exprContext)
- func (s *BaseSearchGrammarListener) ExitCol_search_value(ctx *Col_search_valueContext)
- func (s *BaseSearchGrammarListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseSearchGrammarListener) ExitExists_op(ctx *Exists_opContext)
- func (s *BaseSearchGrammarListener) ExitExists_search_expr(ctx *Exists_search_exprContext)
- func (s *BaseSearchGrammarListener) ExitImplicit_and_op(ctx *Implicit_and_opContext)
- func (s *BaseSearchGrammarListener) ExitImplicit_and_search_expr(ctx *Implicit_and_search_exprContext)
- func (s *BaseSearchGrammarListener) ExitKey_val_search_expr(ctx *Key_val_search_exprContext)
- func (s *BaseSearchGrammarListener) ExitNegated_col_expr(ctx *Negated_col_exprContext)
- func (s *BaseSearchGrammarListener) ExitNegated_search_expr(ctx *Negated_search_exprContext)
- func (s *BaseSearchGrammarListener) ExitNegated_top_col_expr(ctx *Negated_top_col_exprContext)
- func (s *BaseSearchGrammarListener) ExitNegation_op(ctx *Negation_opContext)
- func (s *BaseSearchGrammarListener) ExitOr_col_expr(ctx *Or_col_exprContext)
- func (s *BaseSearchGrammarListener) ExitOr_op(ctx *Or_opContext)
- func (s *BaseSearchGrammarListener) ExitOr_search_expr(ctx *Or_search_exprContext)
- func (s *BaseSearchGrammarListener) ExitParen_search_expr(ctx *Paren_search_exprContext)
- func (s *BaseSearchGrammarListener) ExitSearch_key(ctx *Search_keyContext)
- func (s *BaseSearchGrammarListener) ExitSearch_query(ctx *Search_queryContext)
- func (s *BaseSearchGrammarListener) ExitSearch_value(ctx *Search_valueContext)
- func (s *BaseSearchGrammarListener) ExitTop_col_search_value(ctx *Top_col_search_valueContext)
- func (s *BaseSearchGrammarListener) ExitTop_paren_col_expr(ctx *Top_paren_col_exprContext)
- func (s *BaseSearchGrammarListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseSearchGrammarListener) VisitTerminal(node antlr.TerminalNode)
- type Bin_opContext
- func (s *Bin_opContext) AllWS() []antlr.TerminalNode
- func (s *Bin_opContext) BANG() antlr.TerminalNode
- func (s *Bin_opContext) COLON() antlr.TerminalNode
- func (s *Bin_opContext) EQ() antlr.TerminalNode
- func (s *Bin_opContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Bin_opContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Bin_opContext) GT() antlr.TerminalNode
- func (s *Bin_opContext) GTE() antlr.TerminalNode
- func (s *Bin_opContext) GetParser() antlr.Parser
- func (s *Bin_opContext) GetRuleContext() antlr.RuleContext
- func (*Bin_opContext) IsBin_opContext()
- func (s *Bin_opContext) LT() antlr.TerminalNode
- func (s *Bin_opContext) LTE() antlr.TerminalNode
- func (s *Bin_opContext) NEQ() antlr.TerminalNode
- func (s *Bin_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Bin_opContext) WS(i int) antlr.TerminalNode
- type Body_search_exprContext
- type Col_exprContext
- func (s *Col_exprContext) CopyAll(ctx *Col_exprContext)
- func (s *Col_exprContext) GetParser() antlr.Parser
- func (s *Col_exprContext) GetRuleContext() antlr.RuleContext
- func (*Col_exprContext) IsCol_exprContext()
- func (s *Col_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Col_paren_exprContext
- func (s *Col_paren_exprContext) Col_expr() ICol_exprContext
- func (s *Col_paren_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Col_paren_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Col_paren_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Col_paren_exprContext) LPAREN() antlr.TerminalNode
- func (s *Col_paren_exprContext) RPAREN() antlr.TerminalNode
- type Col_search_valueContext
- type Exists_opContext
- func (s *Exists_opContext) EXISTS() antlr.TerminalNode
- func (s *Exists_opContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Exists_opContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Exists_opContext) GetParser() antlr.Parser
- func (s *Exists_opContext) GetRuleContext() antlr.RuleContext
- func (*Exists_opContext) IsExists_opContext()
- func (s *Exists_opContext) NOT() antlr.TerminalNode
- func (s *Exists_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Exists_search_exprContext
- func (s *Exists_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Exists_search_exprContext) Exists_op() IExists_opContext
- func (s *Exists_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Exists_search_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Exists_search_exprContext) Search_key() ISearch_keyContext
- type IAnd_opContext
- type IBin_opContext
- type ICol_exprContext
- type IExists_opContext
- type IImplicit_and_opContext
- type INegation_opContext
- type IOr_opContext
- type ISearch_exprContext
- type ISearch_keyContext
- type ISearch_queryContext
- type ISearch_valueContext
- type ITop_col_exprContext
- type Implicit_and_opContext
- func (s *Implicit_and_opContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Implicit_and_opContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Implicit_and_opContext) GetParser() antlr.Parser
- func (s *Implicit_and_opContext) GetRuleContext() antlr.RuleContext
- func (*Implicit_and_opContext) IsImplicit_and_opContext()
- func (s *Implicit_and_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Implicit_and_search_exprContext
- func (s *Implicit_and_search_exprContext) AllSearch_expr() []ISearch_exprContext
- func (s *Implicit_and_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Implicit_and_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Implicit_and_search_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Implicit_and_search_exprContext) Implicit_and_op() IImplicit_and_opContext
- func (s *Implicit_and_search_exprContext) Search_expr(i int) ISearch_exprContext
- type Key_val_search_exprContext
- func (s *Key_val_search_exprContext) Bin_op() IBin_opContext
- func (s *Key_val_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Key_val_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Key_val_search_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Key_val_search_exprContext) Search_key() ISearch_keyContext
- func (s *Key_val_search_exprContext) Top_col_expr() ITop_col_exprContext
- type Negated_col_exprContext
- func (s *Negated_col_exprContext) Col_expr() ICol_exprContext
- func (s *Negated_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Negated_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Negated_col_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Negated_col_exprContext) Negation_op() INegation_opContext
- type Negated_search_exprContext
- func (s *Negated_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Negated_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Negated_search_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Negated_search_exprContext) Negation_op() INegation_opContext
- func (s *Negated_search_exprContext) Search_expr() ISearch_exprContext
- type Negated_top_col_exprContext
- func (s *Negated_top_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Negated_top_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Negated_top_col_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Negated_top_col_exprContext) Negation_op() INegation_opContext
- func (s *Negated_top_col_exprContext) Top_col_expr() ITop_col_exprContext
- type Negation_opContext
- func (s *Negation_opContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Negation_opContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Negation_opContext) GetParser() antlr.Parser
- func (s *Negation_opContext) GetRuleContext() antlr.RuleContext
- func (*Negation_opContext) IsNegation_opContext()
- func (s *Negation_opContext) NOT() antlr.TerminalNode
- func (s *Negation_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Or_col_exprContext
- func (s *Or_col_exprContext) AllCol_expr() []ICol_exprContext
- func (s *Or_col_exprContext) Col_expr(i int) ICol_exprContext
- func (s *Or_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Or_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Or_col_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Or_col_exprContext) OR() antlr.TerminalNode
- type Or_opContext
- func (s *Or_opContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Or_opContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Or_opContext) GetParser() antlr.Parser
- func (s *Or_opContext) GetRuleContext() antlr.RuleContext
- func (*Or_opContext) IsOr_opContext()
- func (s *Or_opContext) OR() antlr.TerminalNode
- func (s *Or_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Or_search_exprContext
- func (s *Or_search_exprContext) AllSearch_expr() []ISearch_exprContext
- func (s *Or_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Or_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Or_search_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Or_search_exprContext) Or_op() IOr_opContext
- func (s *Or_search_exprContext) Search_expr(i int) ISearch_exprContext
- type Paren_search_exprContext
- func (s *Paren_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Paren_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Paren_search_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Paren_search_exprContext) LPAREN() antlr.TerminalNode
- func (s *Paren_search_exprContext) RPAREN() antlr.TerminalNode
- func (s *Paren_search_exprContext) Search_expr() ISearch_exprContext
- type SearchGrammarLexer
- type SearchGrammarListener
- type SearchGrammarParser
- func (p *SearchGrammarParser) And_op() (localctx IAnd_opContext)
- func (p *SearchGrammarParser) Bin_op() (localctx IBin_opContext)
- func (p *SearchGrammarParser) Col_expr() (localctx ICol_exprContext)
- func (p *SearchGrammarParser) Col_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *SearchGrammarParser) Exists_op() (localctx IExists_opContext)
- func (p *SearchGrammarParser) Implicit_and_op() (localctx IImplicit_and_opContext)
- func (p *SearchGrammarParser) Negation_op() (localctx INegation_opContext)
- func (p *SearchGrammarParser) Or_op() (localctx IOr_opContext)
- func (p *SearchGrammarParser) Search_expr() (localctx ISearch_exprContext)
- func (p *SearchGrammarParser) Search_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *SearchGrammarParser) Search_key() (localctx ISearch_keyContext)
- func (p *SearchGrammarParser) Search_query() (localctx ISearch_queryContext)
- func (p *SearchGrammarParser) Search_value() (localctx ISearch_valueContext)
- func (p *SearchGrammarParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *SearchGrammarParser) Top_col_expr() (localctx ITop_col_exprContext)
- type Search_exprContext
- func (s *Search_exprContext) CopyAll(ctx *Search_exprContext)
- func (s *Search_exprContext) GetParser() antlr.Parser
- func (s *Search_exprContext) GetRuleContext() antlr.RuleContext
- func (*Search_exprContext) IsSearch_exprContext()
- func (s *Search_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Search_keyContext
- func (s *Search_keyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Search_keyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Search_keyContext) GetParser() antlr.Parser
- func (s *Search_keyContext) GetRuleContext() antlr.RuleContext
- func (s *Search_keyContext) ID() antlr.TerminalNode
- func (*Search_keyContext) IsSearch_keyContext()
- func (s *Search_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Search_queryContext
- func (s *Search_queryContext) EOF() antlr.TerminalNode
- func (s *Search_queryContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Search_queryContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Search_queryContext) GetParser() antlr.Parser
- func (s *Search_queryContext) GetRuleContext() antlr.RuleContext
- func (*Search_queryContext) IsSearch_queryContext()
- func (s *Search_queryContext) Search_expr() ISearch_exprContext
- func (s *Search_queryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Search_valueContext
- func (s *Search_valueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Search_valueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Search_valueContext) GetParser() antlr.Parser
- func (s *Search_valueContext) GetRuleContext() antlr.RuleContext
- func (s *Search_valueContext) ID() antlr.TerminalNode
- func (*Search_valueContext) IsSearch_valueContext()
- func (s *Search_valueContext) STRING() antlr.TerminalNode
- func (s *Search_valueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Search_valueContext) VALUE() antlr.TerminalNode
- type Top_col_exprContext
- func (s *Top_col_exprContext) CopyAll(ctx *Top_col_exprContext)
- func (s *Top_col_exprContext) GetParser() antlr.Parser
- func (s *Top_col_exprContext) GetRuleContext() antlr.RuleContext
- func (*Top_col_exprContext) IsTop_col_exprContext()
- func (s *Top_col_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Top_col_search_valueContext
- func (s *Top_col_search_valueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Top_col_search_valueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Top_col_search_valueContext) GetRuleContext() antlr.RuleContext
- func (s *Top_col_search_valueContext) Search_value() ISearch_valueContext
- type Top_paren_col_exprContext
- func (s *Top_paren_col_exprContext) Col_expr() ICol_exprContext
- func (s *Top_paren_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Top_paren_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Top_paren_col_exprContext) GetRuleContext() antlr.RuleContext
- func (s *Top_paren_col_exprContext) LPAREN() antlr.TerminalNode
- func (s *Top_paren_col_exprContext) RPAREN() antlr.TerminalNode
Constants ¶
const ( SearchGrammarLexerAND = 1 SearchGrammarLexerOR = 2 SearchGrammarLexerNOT = 3 SearchGrammarLexerEXISTS = 4 SearchGrammarLexerBANG = 5 SearchGrammarLexerEQ = 6 SearchGrammarLexerNEQ = 7 SearchGrammarLexerLT = 8 SearchGrammarLexerLTE = 9 SearchGrammarLexerGT = 10 SearchGrammarLexerGTE = 11 SearchGrammarLexerLPAREN = 12 SearchGrammarLexerRPAREN = 13 SearchGrammarLexerCOLON = 14 SearchGrammarLexerID = 15 SearchGrammarLexerSTRING = 16 SearchGrammarLexerVALUE = 17 SearchGrammarLexerWS = 18 SearchGrammarLexerERROR_CHARACTERS = 19 )
SearchGrammarLexer tokens.
const ( SearchGrammarParserEOF = antlr.TokenEOF SearchGrammarParserAND = 1 SearchGrammarParserOR = 2 SearchGrammarParserNOT = 3 SearchGrammarParserEXISTS = 4 SearchGrammarParserBANG = 5 SearchGrammarParserEQ = 6 SearchGrammarParserNEQ = 7 SearchGrammarParserLT = 8 SearchGrammarParserLTE = 9 SearchGrammarParserGT = 10 SearchGrammarParserGTE = 11 SearchGrammarParserLPAREN = 12 SearchGrammarParserRPAREN = 13 SearchGrammarParserCOLON = 14 SearchGrammarParserID = 15 SearchGrammarParserSTRING = 16 SearchGrammarParserVALUE = 17 SearchGrammarParserWS = 18 SearchGrammarParserERROR_CHARACTERS = 19 )
SearchGrammarParser tokens.
const ( SearchGrammarParserRULE_search_query = 0 SearchGrammarParserRULE_top_col_expr = 1 SearchGrammarParserRULE_col_expr = 2 SearchGrammarParserRULE_search_expr = 3 SearchGrammarParserRULE_search_key = 4 SearchGrammarParserRULE_and_op = 5 SearchGrammarParserRULE_implicit_and_op = 6 SearchGrammarParserRULE_or_op = 7 SearchGrammarParserRULE_exists_op = 8 SearchGrammarParserRULE_negation_op = 9 SearchGrammarParserRULE_bin_op = 10 SearchGrammarParserRULE_search_value = 11 )
SearchGrammarParser rules.
Variables ¶
var SearchGrammarLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
var SearchGrammarParserStaticData struct { LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
Functions ¶
func InitEmptyAnd_opContext ¶
func InitEmptyAnd_opContext(p *And_opContext)
func InitEmptyBin_opContext ¶
func InitEmptyBin_opContext(p *Bin_opContext)
func InitEmptyCol_exprContext ¶
func InitEmptyCol_exprContext(p *Col_exprContext)
func InitEmptyExists_opContext ¶
func InitEmptyExists_opContext(p *Exists_opContext)
func InitEmptyImplicit_and_opContext ¶
func InitEmptyImplicit_and_opContext(p *Implicit_and_opContext)
func InitEmptyNegation_opContext ¶
func InitEmptyNegation_opContext(p *Negation_opContext)
func InitEmptyOr_opContext ¶
func InitEmptyOr_opContext(p *Or_opContext)
func InitEmptySearch_exprContext ¶
func InitEmptySearch_exprContext(p *Search_exprContext)
func InitEmptySearch_keyContext ¶
func InitEmptySearch_keyContext(p *Search_keyContext)
func InitEmptySearch_queryContext ¶
func InitEmptySearch_queryContext(p *Search_queryContext)
func InitEmptySearch_valueContext ¶
func InitEmptySearch_valueContext(p *Search_valueContext)
func InitEmptyTop_col_exprContext ¶
func InitEmptyTop_col_exprContext(p *Top_col_exprContext)
func SearchGrammarLexerInit ¶
func SearchGrammarLexerInit()
SearchGrammarLexerInit initializes any static state used to implement SearchGrammarLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewSearchGrammarLexer(). You can call this function if you wish to initialize the static state ahead of time.
func SearchGrammarParserInit ¶
func SearchGrammarParserInit()
SearchGrammarParserInit initializes any static state used to implement SearchGrammarParser. By default the static state used to implement the parser is lazily initialized during the first call to NewSearchGrammarParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type And_col_exprContext ¶
type And_col_exprContext struct {
Col_exprContext
}
func NewAnd_col_exprContext ¶
func NewAnd_col_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *And_col_exprContext
func (*And_col_exprContext) AND ¶
func (s *And_col_exprContext) AND() antlr.TerminalNode
func (*And_col_exprContext) AllCol_expr ¶
func (s *And_col_exprContext) AllCol_expr() []ICol_exprContext
func (*And_col_exprContext) Col_expr ¶
func (s *And_col_exprContext) Col_expr(i int) ICol_exprContext
func (*And_col_exprContext) EnterRule ¶
func (s *And_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*And_col_exprContext) ExitRule ¶
func (s *And_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*And_col_exprContext) GetRuleContext ¶
func (s *And_col_exprContext) GetRuleContext() antlr.RuleContext
type And_opContext ¶
type And_opContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAnd_opContext ¶
func NewAnd_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *And_opContext
func NewEmptyAnd_opContext ¶
func NewEmptyAnd_opContext() *And_opContext
func (*And_opContext) AND ¶
func (s *And_opContext) AND() antlr.TerminalNode
func (*And_opContext) EnterRule ¶
func (s *And_opContext) EnterRule(listener antlr.ParseTreeListener)
func (*And_opContext) ExitRule ¶
func (s *And_opContext) ExitRule(listener antlr.ParseTreeListener)
func (*And_opContext) GetParser ¶
func (s *And_opContext) GetParser() antlr.Parser
func (*And_opContext) GetRuleContext ¶
func (s *And_opContext) GetRuleContext() antlr.RuleContext
func (*And_opContext) IsAnd_opContext ¶
func (*And_opContext) IsAnd_opContext()
func (*And_opContext) ToStringTree ¶
func (s *And_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type And_search_exprContext ¶
type And_search_exprContext struct {
Search_exprContext
}
func NewAnd_search_exprContext ¶
func NewAnd_search_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *And_search_exprContext
func (*And_search_exprContext) AllSearch_expr ¶
func (s *And_search_exprContext) AllSearch_expr() []ISearch_exprContext
func (*And_search_exprContext) And_op ¶
func (s *And_search_exprContext) And_op() IAnd_opContext
func (*And_search_exprContext) EnterRule ¶
func (s *And_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*And_search_exprContext) ExitRule ¶
func (s *And_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*And_search_exprContext) GetRuleContext ¶
func (s *And_search_exprContext) GetRuleContext() antlr.RuleContext
func (*And_search_exprContext) Search_expr ¶
func (s *And_search_exprContext) Search_expr(i int) ISearch_exprContext
type BaseSearchGrammarListener ¶
type BaseSearchGrammarListener struct{}
BaseSearchGrammarListener is a complete listener for a parse tree produced by SearchGrammarParser.
func (*BaseSearchGrammarListener) EnterAnd_col_expr ¶
func (s *BaseSearchGrammarListener) EnterAnd_col_expr(ctx *And_col_exprContext)
EnterAnd_col_expr is called when production and_col_expr is entered.
func (*BaseSearchGrammarListener) EnterAnd_op ¶
func (s *BaseSearchGrammarListener) EnterAnd_op(ctx *And_opContext)
EnterAnd_op is called when production and_op is entered.
func (*BaseSearchGrammarListener) EnterAnd_search_expr ¶
func (s *BaseSearchGrammarListener) EnterAnd_search_expr(ctx *And_search_exprContext)
EnterAnd_search_expr is called when production and_search_expr is entered.
func (*BaseSearchGrammarListener) EnterBin_op ¶
func (s *BaseSearchGrammarListener) EnterBin_op(ctx *Bin_opContext)
EnterBin_op is called when production bin_op is entered.
func (*BaseSearchGrammarListener) EnterBody_search_expr ¶
func (s *BaseSearchGrammarListener) EnterBody_search_expr(ctx *Body_search_exprContext)
EnterBody_search_expr is called when production body_search_expr is entered.
func (*BaseSearchGrammarListener) EnterCol_paren_expr ¶
func (s *BaseSearchGrammarListener) EnterCol_paren_expr(ctx *Col_paren_exprContext)
EnterCol_paren_expr is called when production col_paren_expr is entered.
func (*BaseSearchGrammarListener) EnterCol_search_value ¶
func (s *BaseSearchGrammarListener) EnterCol_search_value(ctx *Col_search_valueContext)
EnterCol_search_value is called when production col_search_value is entered.
func (*BaseSearchGrammarListener) EnterEveryRule ¶
func (s *BaseSearchGrammarListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseSearchGrammarListener) EnterExists_op ¶
func (s *BaseSearchGrammarListener) EnterExists_op(ctx *Exists_opContext)
EnterExists_op is called when production exists_op is entered.
func (*BaseSearchGrammarListener) EnterExists_search_expr ¶
func (s *BaseSearchGrammarListener) EnterExists_search_expr(ctx *Exists_search_exprContext)
EnterExists_search_expr is called when production exists_search_expr is entered.
func (*BaseSearchGrammarListener) EnterImplicit_and_op ¶
func (s *BaseSearchGrammarListener) EnterImplicit_and_op(ctx *Implicit_and_opContext)
EnterImplicit_and_op is called when production implicit_and_op is entered.
func (*BaseSearchGrammarListener) EnterImplicit_and_search_expr ¶
func (s *BaseSearchGrammarListener) EnterImplicit_and_search_expr(ctx *Implicit_and_search_exprContext)
EnterImplicit_and_search_expr is called when production implicit_and_search_expr is entered.
func (*BaseSearchGrammarListener) EnterKey_val_search_expr ¶
func (s *BaseSearchGrammarListener) EnterKey_val_search_expr(ctx *Key_val_search_exprContext)
EnterKey_val_search_expr is called when production key_val_search_expr is entered.
func (*BaseSearchGrammarListener) EnterNegated_col_expr ¶
func (s *BaseSearchGrammarListener) EnterNegated_col_expr(ctx *Negated_col_exprContext)
EnterNegated_col_expr is called when production negated_col_expr is entered.
func (*BaseSearchGrammarListener) EnterNegated_search_expr ¶
func (s *BaseSearchGrammarListener) EnterNegated_search_expr(ctx *Negated_search_exprContext)
EnterNegated_search_expr is called when production negated_search_expr is entered.
func (*BaseSearchGrammarListener) EnterNegated_top_col_expr ¶
func (s *BaseSearchGrammarListener) EnterNegated_top_col_expr(ctx *Negated_top_col_exprContext)
EnterNegated_top_col_expr is called when production negated_top_col_expr is entered.
func (*BaseSearchGrammarListener) EnterNegation_op ¶
func (s *BaseSearchGrammarListener) EnterNegation_op(ctx *Negation_opContext)
EnterNegation_op is called when production negation_op is entered.
func (*BaseSearchGrammarListener) EnterOr_col_expr ¶
func (s *BaseSearchGrammarListener) EnterOr_col_expr(ctx *Or_col_exprContext)
EnterOr_col_expr is called when production or_col_expr is entered.
func (*BaseSearchGrammarListener) EnterOr_op ¶
func (s *BaseSearchGrammarListener) EnterOr_op(ctx *Or_opContext)
EnterOr_op is called when production or_op is entered.
func (*BaseSearchGrammarListener) EnterOr_search_expr ¶
func (s *BaseSearchGrammarListener) EnterOr_search_expr(ctx *Or_search_exprContext)
EnterOr_search_expr is called when production or_search_expr is entered.
func (*BaseSearchGrammarListener) EnterParen_search_expr ¶
func (s *BaseSearchGrammarListener) EnterParen_search_expr(ctx *Paren_search_exprContext)
EnterParen_search_expr is called when production paren_search_expr is entered.
func (*BaseSearchGrammarListener) EnterSearch_key ¶
func (s *BaseSearchGrammarListener) EnterSearch_key(ctx *Search_keyContext)
EnterSearch_key is called when production search_key is entered.
func (*BaseSearchGrammarListener) EnterSearch_query ¶
func (s *BaseSearchGrammarListener) EnterSearch_query(ctx *Search_queryContext)
EnterSearch_query is called when production search_query is entered.
func (*BaseSearchGrammarListener) EnterSearch_value ¶
func (s *BaseSearchGrammarListener) EnterSearch_value(ctx *Search_valueContext)
EnterSearch_value is called when production search_value is entered.
func (*BaseSearchGrammarListener) EnterTop_col_search_value ¶
func (s *BaseSearchGrammarListener) EnterTop_col_search_value(ctx *Top_col_search_valueContext)
EnterTop_col_search_value is called when production top_col_search_value is entered.
func (*BaseSearchGrammarListener) EnterTop_paren_col_expr ¶
func (s *BaseSearchGrammarListener) EnterTop_paren_col_expr(ctx *Top_paren_col_exprContext)
EnterTop_paren_col_expr is called when production top_paren_col_expr is entered.
func (*BaseSearchGrammarListener) ExitAnd_col_expr ¶
func (s *BaseSearchGrammarListener) ExitAnd_col_expr(ctx *And_col_exprContext)
ExitAnd_col_expr is called when production and_col_expr is exited.
func (*BaseSearchGrammarListener) ExitAnd_op ¶
func (s *BaseSearchGrammarListener) ExitAnd_op(ctx *And_opContext)
ExitAnd_op is called when production and_op is exited.
func (*BaseSearchGrammarListener) ExitAnd_search_expr ¶
func (s *BaseSearchGrammarListener) ExitAnd_search_expr(ctx *And_search_exprContext)
ExitAnd_search_expr is called when production and_search_expr is exited.
func (*BaseSearchGrammarListener) ExitBin_op ¶
func (s *BaseSearchGrammarListener) ExitBin_op(ctx *Bin_opContext)
ExitBin_op is called when production bin_op is exited.
func (*BaseSearchGrammarListener) ExitBody_search_expr ¶
func (s *BaseSearchGrammarListener) ExitBody_search_expr(ctx *Body_search_exprContext)
ExitBody_search_expr is called when production body_search_expr is exited.
func (*BaseSearchGrammarListener) ExitCol_paren_expr ¶
func (s *BaseSearchGrammarListener) ExitCol_paren_expr(ctx *Col_paren_exprContext)
ExitCol_paren_expr is called when production col_paren_expr is exited.
func (*BaseSearchGrammarListener) ExitCol_search_value ¶
func (s *BaseSearchGrammarListener) ExitCol_search_value(ctx *Col_search_valueContext)
ExitCol_search_value is called when production col_search_value is exited.
func (*BaseSearchGrammarListener) ExitEveryRule ¶
func (s *BaseSearchGrammarListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseSearchGrammarListener) ExitExists_op ¶
func (s *BaseSearchGrammarListener) ExitExists_op(ctx *Exists_opContext)
ExitExists_op is called when production exists_op is exited.
func (*BaseSearchGrammarListener) ExitExists_search_expr ¶
func (s *BaseSearchGrammarListener) ExitExists_search_expr(ctx *Exists_search_exprContext)
ExitExists_search_expr is called when production exists_search_expr is exited.
func (*BaseSearchGrammarListener) ExitImplicit_and_op ¶
func (s *BaseSearchGrammarListener) ExitImplicit_and_op(ctx *Implicit_and_opContext)
ExitImplicit_and_op is called when production implicit_and_op is exited.
func (*BaseSearchGrammarListener) ExitImplicit_and_search_expr ¶
func (s *BaseSearchGrammarListener) ExitImplicit_and_search_expr(ctx *Implicit_and_search_exprContext)
ExitImplicit_and_search_expr is called when production implicit_and_search_expr is exited.
func (*BaseSearchGrammarListener) ExitKey_val_search_expr ¶
func (s *BaseSearchGrammarListener) ExitKey_val_search_expr(ctx *Key_val_search_exprContext)
ExitKey_val_search_expr is called when production key_val_search_expr is exited.
func (*BaseSearchGrammarListener) ExitNegated_col_expr ¶
func (s *BaseSearchGrammarListener) ExitNegated_col_expr(ctx *Negated_col_exprContext)
ExitNegated_col_expr is called when production negated_col_expr is exited.
func (*BaseSearchGrammarListener) ExitNegated_search_expr ¶
func (s *BaseSearchGrammarListener) ExitNegated_search_expr(ctx *Negated_search_exprContext)
ExitNegated_search_expr is called when production negated_search_expr is exited.
func (*BaseSearchGrammarListener) ExitNegated_top_col_expr ¶
func (s *BaseSearchGrammarListener) ExitNegated_top_col_expr(ctx *Negated_top_col_exprContext)
ExitNegated_top_col_expr is called when production negated_top_col_expr is exited.
func (*BaseSearchGrammarListener) ExitNegation_op ¶
func (s *BaseSearchGrammarListener) ExitNegation_op(ctx *Negation_opContext)
ExitNegation_op is called when production negation_op is exited.
func (*BaseSearchGrammarListener) ExitOr_col_expr ¶
func (s *BaseSearchGrammarListener) ExitOr_col_expr(ctx *Or_col_exprContext)
ExitOr_col_expr is called when production or_col_expr is exited.
func (*BaseSearchGrammarListener) ExitOr_op ¶
func (s *BaseSearchGrammarListener) ExitOr_op(ctx *Or_opContext)
ExitOr_op is called when production or_op is exited.
func (*BaseSearchGrammarListener) ExitOr_search_expr ¶
func (s *BaseSearchGrammarListener) ExitOr_search_expr(ctx *Or_search_exprContext)
ExitOr_search_expr is called when production or_search_expr is exited.
func (*BaseSearchGrammarListener) ExitParen_search_expr ¶
func (s *BaseSearchGrammarListener) ExitParen_search_expr(ctx *Paren_search_exprContext)
ExitParen_search_expr is called when production paren_search_expr is exited.
func (*BaseSearchGrammarListener) ExitSearch_key ¶
func (s *BaseSearchGrammarListener) ExitSearch_key(ctx *Search_keyContext)
ExitSearch_key is called when production search_key is exited.
func (*BaseSearchGrammarListener) ExitSearch_query ¶
func (s *BaseSearchGrammarListener) ExitSearch_query(ctx *Search_queryContext)
ExitSearch_query is called when production search_query is exited.
func (*BaseSearchGrammarListener) ExitSearch_value ¶
func (s *BaseSearchGrammarListener) ExitSearch_value(ctx *Search_valueContext)
ExitSearch_value is called when production search_value is exited.
func (*BaseSearchGrammarListener) ExitTop_col_search_value ¶
func (s *BaseSearchGrammarListener) ExitTop_col_search_value(ctx *Top_col_search_valueContext)
ExitTop_col_search_value is called when production top_col_search_value is exited.
func (*BaseSearchGrammarListener) ExitTop_paren_col_expr ¶
func (s *BaseSearchGrammarListener) ExitTop_paren_col_expr(ctx *Top_paren_col_exprContext)
ExitTop_paren_col_expr is called when production top_paren_col_expr is exited.
func (*BaseSearchGrammarListener) VisitErrorNode ¶
func (s *BaseSearchGrammarListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseSearchGrammarListener) VisitTerminal ¶
func (s *BaseSearchGrammarListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type Bin_opContext ¶
type Bin_opContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBin_opContext ¶
func NewBin_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Bin_opContext
func NewEmptyBin_opContext ¶
func NewEmptyBin_opContext() *Bin_opContext
func (*Bin_opContext) AllWS ¶
func (s *Bin_opContext) AllWS() []antlr.TerminalNode
func (*Bin_opContext) BANG ¶
func (s *Bin_opContext) BANG() antlr.TerminalNode
func (*Bin_opContext) COLON ¶
func (s *Bin_opContext) COLON() antlr.TerminalNode
func (*Bin_opContext) EQ ¶
func (s *Bin_opContext) EQ() antlr.TerminalNode
func (*Bin_opContext) EnterRule ¶
func (s *Bin_opContext) EnterRule(listener antlr.ParseTreeListener)
func (*Bin_opContext) ExitRule ¶
func (s *Bin_opContext) ExitRule(listener antlr.ParseTreeListener)
func (*Bin_opContext) GT ¶
func (s *Bin_opContext) GT() antlr.TerminalNode
func (*Bin_opContext) GTE ¶
func (s *Bin_opContext) GTE() antlr.TerminalNode
func (*Bin_opContext) GetParser ¶
func (s *Bin_opContext) GetParser() antlr.Parser
func (*Bin_opContext) GetRuleContext ¶
func (s *Bin_opContext) GetRuleContext() antlr.RuleContext
func (*Bin_opContext) IsBin_opContext ¶
func (*Bin_opContext) IsBin_opContext()
func (*Bin_opContext) LT ¶
func (s *Bin_opContext) LT() antlr.TerminalNode
func (*Bin_opContext) LTE ¶
func (s *Bin_opContext) LTE() antlr.TerminalNode
func (*Bin_opContext) NEQ ¶
func (s *Bin_opContext) NEQ() antlr.TerminalNode
func (*Bin_opContext) ToStringTree ¶
func (s *Bin_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Bin_opContext) WS ¶
func (s *Bin_opContext) WS(i int) antlr.TerminalNode
type Body_search_exprContext ¶
type Body_search_exprContext struct {
Search_exprContext
}
func NewBody_search_exprContext ¶
func NewBody_search_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Body_search_exprContext
func (*Body_search_exprContext) EnterRule ¶
func (s *Body_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Body_search_exprContext) ExitRule ¶
func (s *Body_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Body_search_exprContext) GetRuleContext ¶
func (s *Body_search_exprContext) GetRuleContext() antlr.RuleContext
func (*Body_search_exprContext) Top_col_expr ¶
func (s *Body_search_exprContext) Top_col_expr() ITop_col_exprContext
type Col_exprContext ¶
type Col_exprContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCol_exprContext ¶
func NewCol_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Col_exprContext
func NewEmptyCol_exprContext ¶
func NewEmptyCol_exprContext() *Col_exprContext
func (*Col_exprContext) CopyAll ¶
func (s *Col_exprContext) CopyAll(ctx *Col_exprContext)
func (*Col_exprContext) GetParser ¶
func (s *Col_exprContext) GetParser() antlr.Parser
func (*Col_exprContext) GetRuleContext ¶
func (s *Col_exprContext) GetRuleContext() antlr.RuleContext
func (*Col_exprContext) IsCol_exprContext ¶
func (*Col_exprContext) IsCol_exprContext()
func (*Col_exprContext) ToStringTree ¶
func (s *Col_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Col_paren_exprContext ¶
type Col_paren_exprContext struct {
Col_exprContext
}
func NewCol_paren_exprContext ¶
func NewCol_paren_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Col_paren_exprContext
func (*Col_paren_exprContext) Col_expr ¶
func (s *Col_paren_exprContext) Col_expr() ICol_exprContext
func (*Col_paren_exprContext) EnterRule ¶
func (s *Col_paren_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Col_paren_exprContext) ExitRule ¶
func (s *Col_paren_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Col_paren_exprContext) GetRuleContext ¶
func (s *Col_paren_exprContext) GetRuleContext() antlr.RuleContext
func (*Col_paren_exprContext) LPAREN ¶
func (s *Col_paren_exprContext) LPAREN() antlr.TerminalNode
func (*Col_paren_exprContext) RPAREN ¶
func (s *Col_paren_exprContext) RPAREN() antlr.TerminalNode
type Col_search_valueContext ¶
type Col_search_valueContext struct {
Col_exprContext
}
func NewCol_search_valueContext ¶
func NewCol_search_valueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Col_search_valueContext
func (*Col_search_valueContext) EnterRule ¶
func (s *Col_search_valueContext) EnterRule(listener antlr.ParseTreeListener)
func (*Col_search_valueContext) ExitRule ¶
func (s *Col_search_valueContext) ExitRule(listener antlr.ParseTreeListener)
func (*Col_search_valueContext) GetRuleContext ¶
func (s *Col_search_valueContext) GetRuleContext() antlr.RuleContext
func (*Col_search_valueContext) Search_value ¶
func (s *Col_search_valueContext) Search_value() ISearch_valueContext
type Exists_opContext ¶
type Exists_opContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExists_opContext ¶
func NewEmptyExists_opContext() *Exists_opContext
func NewExists_opContext ¶
func NewExists_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Exists_opContext
func (*Exists_opContext) EXISTS ¶
func (s *Exists_opContext) EXISTS() antlr.TerminalNode
func (*Exists_opContext) EnterRule ¶
func (s *Exists_opContext) EnterRule(listener antlr.ParseTreeListener)
func (*Exists_opContext) ExitRule ¶
func (s *Exists_opContext) ExitRule(listener antlr.ParseTreeListener)
func (*Exists_opContext) GetParser ¶
func (s *Exists_opContext) GetParser() antlr.Parser
func (*Exists_opContext) GetRuleContext ¶
func (s *Exists_opContext) GetRuleContext() antlr.RuleContext
func (*Exists_opContext) IsExists_opContext ¶
func (*Exists_opContext) IsExists_opContext()
func (*Exists_opContext) NOT ¶
func (s *Exists_opContext) NOT() antlr.TerminalNode
func (*Exists_opContext) ToStringTree ¶
func (s *Exists_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Exists_search_exprContext ¶
type Exists_search_exprContext struct {
Search_exprContext
}
func NewExists_search_exprContext ¶
func NewExists_search_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Exists_search_exprContext
func (*Exists_search_exprContext) EnterRule ¶
func (s *Exists_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Exists_search_exprContext) Exists_op ¶
func (s *Exists_search_exprContext) Exists_op() IExists_opContext
func (*Exists_search_exprContext) ExitRule ¶
func (s *Exists_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Exists_search_exprContext) GetRuleContext ¶
func (s *Exists_search_exprContext) GetRuleContext() antlr.RuleContext
func (*Exists_search_exprContext) Search_key ¶
func (s *Exists_search_exprContext) Search_key() ISearch_keyContext
type IAnd_opContext ¶
type IAnd_opContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AND() antlr.TerminalNode // IsAnd_opContext differentiates from other interfaces. IsAnd_opContext() }
IAnd_opContext is an interface to support dynamic dispatch.
type IBin_opContext ¶
type IBin_opContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures BANG() antlr.TerminalNode EQ() antlr.TerminalNode NEQ() antlr.TerminalNode GT() antlr.TerminalNode GTE() antlr.TerminalNode LT() antlr.TerminalNode LTE() antlr.TerminalNode COLON() antlr.TerminalNode AllWS() []antlr.TerminalNode WS(i int) antlr.TerminalNode // IsBin_opContext differentiates from other interfaces. IsBin_opContext() }
IBin_opContext is an interface to support dynamic dispatch.
type ICol_exprContext ¶
type ICol_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCol_exprContext differentiates from other interfaces. IsCol_exprContext() }
ICol_exprContext is an interface to support dynamic dispatch.
type IExists_opContext ¶
type IExists_opContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures EXISTS() antlr.TerminalNode NOT() antlr.TerminalNode // IsExists_opContext differentiates from other interfaces. IsExists_opContext() }
IExists_opContext is an interface to support dynamic dispatch.
type IImplicit_and_opContext ¶
type IImplicit_and_opContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImplicit_and_opContext differentiates from other interfaces. IsImplicit_and_opContext() }
IImplicit_and_opContext is an interface to support dynamic dispatch.
type INegation_opContext ¶
type INegation_opContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures NOT() antlr.TerminalNode // IsNegation_opContext differentiates from other interfaces. IsNegation_opContext() }
INegation_opContext is an interface to support dynamic dispatch.
type IOr_opContext ¶
type IOr_opContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures OR() antlr.TerminalNode // IsOr_opContext differentiates from other interfaces. IsOr_opContext() }
IOr_opContext is an interface to support dynamic dispatch.
type ISearch_exprContext ¶
type ISearch_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSearch_exprContext differentiates from other interfaces. IsSearch_exprContext() }
ISearch_exprContext is an interface to support dynamic dispatch.
type ISearch_keyContext ¶
type ISearch_keyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures ID() antlr.TerminalNode // IsSearch_keyContext differentiates from other interfaces. IsSearch_keyContext() }
ISearch_keyContext is an interface to support dynamic dispatch.
type ISearch_queryContext ¶
type ISearch_queryContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures EOF() antlr.TerminalNode Search_expr() ISearch_exprContext // IsSearch_queryContext differentiates from other interfaces. IsSearch_queryContext() }
ISearch_queryContext is an interface to support dynamic dispatch.
type ISearch_valueContext ¶
type ISearch_valueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures STRING() antlr.TerminalNode ID() antlr.TerminalNode VALUE() antlr.TerminalNode // IsSearch_valueContext differentiates from other interfaces. IsSearch_valueContext() }
ISearch_valueContext is an interface to support dynamic dispatch.
type ITop_col_exprContext ¶
type ITop_col_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTop_col_exprContext differentiates from other interfaces. IsTop_col_exprContext() }
ITop_col_exprContext is an interface to support dynamic dispatch.
type Implicit_and_opContext ¶
type Implicit_and_opContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImplicit_and_opContext ¶
func NewEmptyImplicit_and_opContext() *Implicit_and_opContext
func NewImplicit_and_opContext ¶
func NewImplicit_and_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Implicit_and_opContext
func (*Implicit_and_opContext) EnterRule ¶
func (s *Implicit_and_opContext) EnterRule(listener antlr.ParseTreeListener)
func (*Implicit_and_opContext) ExitRule ¶
func (s *Implicit_and_opContext) ExitRule(listener antlr.ParseTreeListener)
func (*Implicit_and_opContext) GetParser ¶
func (s *Implicit_and_opContext) GetParser() antlr.Parser
func (*Implicit_and_opContext) GetRuleContext ¶
func (s *Implicit_and_opContext) GetRuleContext() antlr.RuleContext
func (*Implicit_and_opContext) IsImplicit_and_opContext ¶
func (*Implicit_and_opContext) IsImplicit_and_opContext()
func (*Implicit_and_opContext) ToStringTree ¶
func (s *Implicit_and_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Implicit_and_search_exprContext ¶
type Implicit_and_search_exprContext struct {
Search_exprContext
}
func NewImplicit_and_search_exprContext ¶
func NewImplicit_and_search_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Implicit_and_search_exprContext
func (*Implicit_and_search_exprContext) AllSearch_expr ¶
func (s *Implicit_and_search_exprContext) AllSearch_expr() []ISearch_exprContext
func (*Implicit_and_search_exprContext) EnterRule ¶
func (s *Implicit_and_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Implicit_and_search_exprContext) ExitRule ¶
func (s *Implicit_and_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Implicit_and_search_exprContext) GetRuleContext ¶
func (s *Implicit_and_search_exprContext) GetRuleContext() antlr.RuleContext
func (*Implicit_and_search_exprContext) Implicit_and_op ¶
func (s *Implicit_and_search_exprContext) Implicit_and_op() IImplicit_and_opContext
func (*Implicit_and_search_exprContext) Search_expr ¶
func (s *Implicit_and_search_exprContext) Search_expr(i int) ISearch_exprContext
type Key_val_search_exprContext ¶
type Key_val_search_exprContext struct {
Search_exprContext
}
func NewKey_val_search_exprContext ¶
func NewKey_val_search_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Key_val_search_exprContext
func (*Key_val_search_exprContext) Bin_op ¶
func (s *Key_val_search_exprContext) Bin_op() IBin_opContext
func (*Key_val_search_exprContext) EnterRule ¶
func (s *Key_val_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Key_val_search_exprContext) ExitRule ¶
func (s *Key_val_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Key_val_search_exprContext) GetRuleContext ¶
func (s *Key_val_search_exprContext) GetRuleContext() antlr.RuleContext
func (*Key_val_search_exprContext) Search_key ¶
func (s *Key_val_search_exprContext) Search_key() ISearch_keyContext
func (*Key_val_search_exprContext) Top_col_expr ¶
func (s *Key_val_search_exprContext) Top_col_expr() ITop_col_exprContext
type Negated_col_exprContext ¶
type Negated_col_exprContext struct {
Col_exprContext
}
func NewNegated_col_exprContext ¶
func NewNegated_col_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Negated_col_exprContext
func (*Negated_col_exprContext) Col_expr ¶
func (s *Negated_col_exprContext) Col_expr() ICol_exprContext
func (*Negated_col_exprContext) EnterRule ¶
func (s *Negated_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Negated_col_exprContext) ExitRule ¶
func (s *Negated_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Negated_col_exprContext) GetRuleContext ¶
func (s *Negated_col_exprContext) GetRuleContext() antlr.RuleContext
func (*Negated_col_exprContext) Negation_op ¶
func (s *Negated_col_exprContext) Negation_op() INegation_opContext
type Negated_search_exprContext ¶
type Negated_search_exprContext struct {
Search_exprContext
}
func NewNegated_search_exprContext ¶
func NewNegated_search_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Negated_search_exprContext
func (*Negated_search_exprContext) EnterRule ¶
func (s *Negated_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Negated_search_exprContext) ExitRule ¶
func (s *Negated_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Negated_search_exprContext) GetRuleContext ¶
func (s *Negated_search_exprContext) GetRuleContext() antlr.RuleContext
func (*Negated_search_exprContext) Negation_op ¶
func (s *Negated_search_exprContext) Negation_op() INegation_opContext
func (*Negated_search_exprContext) Search_expr ¶
func (s *Negated_search_exprContext) Search_expr() ISearch_exprContext
type Negated_top_col_exprContext ¶
type Negated_top_col_exprContext struct {
Top_col_exprContext
}
func NewNegated_top_col_exprContext ¶
func NewNegated_top_col_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Negated_top_col_exprContext
func (*Negated_top_col_exprContext) EnterRule ¶
func (s *Negated_top_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Negated_top_col_exprContext) ExitRule ¶
func (s *Negated_top_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Negated_top_col_exprContext) GetRuleContext ¶
func (s *Negated_top_col_exprContext) GetRuleContext() antlr.RuleContext
func (*Negated_top_col_exprContext) Negation_op ¶
func (s *Negated_top_col_exprContext) Negation_op() INegation_opContext
func (*Negated_top_col_exprContext) Top_col_expr ¶
func (s *Negated_top_col_exprContext) Top_col_expr() ITop_col_exprContext
type Negation_opContext ¶
type Negation_opContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNegation_opContext ¶
func NewEmptyNegation_opContext() *Negation_opContext
func NewNegation_opContext ¶
func NewNegation_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Negation_opContext
func (*Negation_opContext) EnterRule ¶
func (s *Negation_opContext) EnterRule(listener antlr.ParseTreeListener)
func (*Negation_opContext) ExitRule ¶
func (s *Negation_opContext) ExitRule(listener antlr.ParseTreeListener)
func (*Negation_opContext) GetParser ¶
func (s *Negation_opContext) GetParser() antlr.Parser
func (*Negation_opContext) GetRuleContext ¶
func (s *Negation_opContext) GetRuleContext() antlr.RuleContext
func (*Negation_opContext) IsNegation_opContext ¶
func (*Negation_opContext) IsNegation_opContext()
func (*Negation_opContext) NOT ¶
func (s *Negation_opContext) NOT() antlr.TerminalNode
func (*Negation_opContext) ToStringTree ¶
func (s *Negation_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Or_col_exprContext ¶
type Or_col_exprContext struct {
Col_exprContext
}
func NewOr_col_exprContext ¶
func NewOr_col_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Or_col_exprContext
func (*Or_col_exprContext) AllCol_expr ¶
func (s *Or_col_exprContext) AllCol_expr() []ICol_exprContext
func (*Or_col_exprContext) Col_expr ¶
func (s *Or_col_exprContext) Col_expr(i int) ICol_exprContext
func (*Or_col_exprContext) EnterRule ¶
func (s *Or_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Or_col_exprContext) ExitRule ¶
func (s *Or_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Or_col_exprContext) GetRuleContext ¶
func (s *Or_col_exprContext) GetRuleContext() antlr.RuleContext
func (*Or_col_exprContext) OR ¶
func (s *Or_col_exprContext) OR() antlr.TerminalNode
type Or_opContext ¶
type Or_opContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOr_opContext ¶
func NewEmptyOr_opContext() *Or_opContext
func NewOr_opContext ¶
func NewOr_opContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Or_opContext
func (*Or_opContext) EnterRule ¶
func (s *Or_opContext) EnterRule(listener antlr.ParseTreeListener)
func (*Or_opContext) ExitRule ¶
func (s *Or_opContext) ExitRule(listener antlr.ParseTreeListener)
func (*Or_opContext) GetParser ¶
func (s *Or_opContext) GetParser() antlr.Parser
func (*Or_opContext) GetRuleContext ¶
func (s *Or_opContext) GetRuleContext() antlr.RuleContext
func (*Or_opContext) IsOr_opContext ¶
func (*Or_opContext) IsOr_opContext()
func (*Or_opContext) OR ¶
func (s *Or_opContext) OR() antlr.TerminalNode
func (*Or_opContext) ToStringTree ¶
func (s *Or_opContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Or_search_exprContext ¶
type Or_search_exprContext struct {
Search_exprContext
}
func NewOr_search_exprContext ¶
func NewOr_search_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Or_search_exprContext
func (*Or_search_exprContext) AllSearch_expr ¶
func (s *Or_search_exprContext) AllSearch_expr() []ISearch_exprContext
func (*Or_search_exprContext) EnterRule ¶
func (s *Or_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Or_search_exprContext) ExitRule ¶
func (s *Or_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Or_search_exprContext) GetRuleContext ¶
func (s *Or_search_exprContext) GetRuleContext() antlr.RuleContext
func (*Or_search_exprContext) Or_op ¶
func (s *Or_search_exprContext) Or_op() IOr_opContext
func (*Or_search_exprContext) Search_expr ¶
func (s *Or_search_exprContext) Search_expr(i int) ISearch_exprContext
type Paren_search_exprContext ¶
type Paren_search_exprContext struct {
Search_exprContext
}
func NewParen_search_exprContext ¶
func NewParen_search_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Paren_search_exprContext
func (*Paren_search_exprContext) EnterRule ¶
func (s *Paren_search_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Paren_search_exprContext) ExitRule ¶
func (s *Paren_search_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Paren_search_exprContext) GetRuleContext ¶
func (s *Paren_search_exprContext) GetRuleContext() antlr.RuleContext
func (*Paren_search_exprContext) LPAREN ¶
func (s *Paren_search_exprContext) LPAREN() antlr.TerminalNode
func (*Paren_search_exprContext) RPAREN ¶
func (s *Paren_search_exprContext) RPAREN() antlr.TerminalNode
func (*Paren_search_exprContext) Search_expr ¶
func (s *Paren_search_exprContext) Search_expr() ISearch_exprContext
type SearchGrammarLexer ¶
type SearchGrammarLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewSearchGrammarLexer ¶
func NewSearchGrammarLexer(input antlr.CharStream) *SearchGrammarLexer
NewSearchGrammarLexer produces a new lexer instance for the optional input antlr.CharStream.
type SearchGrammarListener ¶
type SearchGrammarListener interface { antlr.ParseTreeListener // EnterSearch_query is called when entering the search_query production. EnterSearch_query(c *Search_queryContext) // EnterTop_paren_col_expr is called when entering the top_paren_col_expr production. EnterTop_paren_col_expr(c *Top_paren_col_exprContext) // EnterNegated_top_col_expr is called when entering the negated_top_col_expr production. EnterNegated_top_col_expr(c *Negated_top_col_exprContext) // EnterTop_col_search_value is called when entering the top_col_search_value production. EnterTop_col_search_value(c *Top_col_search_valueContext) // EnterOr_col_expr is called when entering the or_col_expr production. EnterOr_col_expr(c *Or_col_exprContext) // EnterCol_paren_expr is called when entering the col_paren_expr production. EnterCol_paren_expr(c *Col_paren_exprContext) // EnterAnd_col_expr is called when entering the and_col_expr production. EnterAnd_col_expr(c *And_col_exprContext) // EnterNegated_col_expr is called when entering the negated_col_expr production. EnterNegated_col_expr(c *Negated_col_exprContext) // EnterCol_search_value is called when entering the col_search_value production. EnterCol_search_value(c *Col_search_valueContext) // EnterNegated_search_expr is called when entering the negated_search_expr production. EnterNegated_search_expr(c *Negated_search_exprContext) // EnterBody_search_expr is called when entering the body_search_expr production. EnterBody_search_expr(c *Body_search_exprContext) // EnterAnd_search_expr is called when entering the and_search_expr production. EnterAnd_search_expr(c *And_search_exprContext) // EnterOr_search_expr is called when entering the or_search_expr production. EnterOr_search_expr(c *Or_search_exprContext) // EnterImplicit_and_search_expr is called when entering the implicit_and_search_expr production. EnterImplicit_and_search_expr(c *Implicit_and_search_exprContext) // EnterExists_search_expr is called when entering the exists_search_expr production. EnterExists_search_expr(c *Exists_search_exprContext) // EnterKey_val_search_expr is called when entering the key_val_search_expr production. EnterKey_val_search_expr(c *Key_val_search_exprContext) // EnterParen_search_expr is called when entering the paren_search_expr production. EnterParen_search_expr(c *Paren_search_exprContext) // EnterSearch_key is called when entering the search_key production. EnterSearch_key(c *Search_keyContext) // EnterAnd_op is called when entering the and_op production. EnterAnd_op(c *And_opContext) // EnterImplicit_and_op is called when entering the implicit_and_op production. EnterImplicit_and_op(c *Implicit_and_opContext) // EnterOr_op is called when entering the or_op production. EnterOr_op(c *Or_opContext) // EnterExists_op is called when entering the exists_op production. EnterExists_op(c *Exists_opContext) // EnterNegation_op is called when entering the negation_op production. EnterNegation_op(c *Negation_opContext) // EnterBin_op is called when entering the bin_op production. EnterBin_op(c *Bin_opContext) // EnterSearch_value is called when entering the search_value production. EnterSearch_value(c *Search_valueContext) // ExitSearch_query is called when exiting the search_query production. ExitSearch_query(c *Search_queryContext) // ExitTop_paren_col_expr is called when exiting the top_paren_col_expr production. ExitTop_paren_col_expr(c *Top_paren_col_exprContext) // ExitNegated_top_col_expr is called when exiting the negated_top_col_expr production. ExitNegated_top_col_expr(c *Negated_top_col_exprContext) // ExitTop_col_search_value is called when exiting the top_col_search_value production. ExitTop_col_search_value(c *Top_col_search_valueContext) // ExitOr_col_expr is called when exiting the or_col_expr production. ExitOr_col_expr(c *Or_col_exprContext) // ExitCol_paren_expr is called when exiting the col_paren_expr production. ExitCol_paren_expr(c *Col_paren_exprContext) // ExitAnd_col_expr is called when exiting the and_col_expr production. ExitAnd_col_expr(c *And_col_exprContext) // ExitNegated_col_expr is called when exiting the negated_col_expr production. ExitNegated_col_expr(c *Negated_col_exprContext) // ExitCol_search_value is called when exiting the col_search_value production. ExitCol_search_value(c *Col_search_valueContext) // ExitNegated_search_expr is called when exiting the negated_search_expr production. ExitNegated_search_expr(c *Negated_search_exprContext) // ExitBody_search_expr is called when exiting the body_search_expr production. ExitBody_search_expr(c *Body_search_exprContext) // ExitAnd_search_expr is called when exiting the and_search_expr production. ExitAnd_search_expr(c *And_search_exprContext) // ExitOr_search_expr is called when exiting the or_search_expr production. ExitOr_search_expr(c *Or_search_exprContext) // ExitImplicit_and_search_expr is called when exiting the implicit_and_search_expr production. ExitImplicit_and_search_expr(c *Implicit_and_search_exprContext) // ExitExists_search_expr is called when exiting the exists_search_expr production. ExitExists_search_expr(c *Exists_search_exprContext) // ExitKey_val_search_expr is called when exiting the key_val_search_expr production. ExitKey_val_search_expr(c *Key_val_search_exprContext) // ExitParen_search_expr is called when exiting the paren_search_expr production. ExitParen_search_expr(c *Paren_search_exprContext) // ExitSearch_key is called when exiting the search_key production. ExitSearch_key(c *Search_keyContext) // ExitAnd_op is called when exiting the and_op production. ExitAnd_op(c *And_opContext) // ExitImplicit_and_op is called when exiting the implicit_and_op production. ExitImplicit_and_op(c *Implicit_and_opContext) // ExitOr_op is called when exiting the or_op production. ExitOr_op(c *Or_opContext) // ExitExists_op is called when exiting the exists_op production. ExitExists_op(c *Exists_opContext) // ExitNegation_op is called when exiting the negation_op production. ExitNegation_op(c *Negation_opContext) // ExitBin_op is called when exiting the bin_op production. ExitBin_op(c *Bin_opContext) // ExitSearch_value is called when exiting the search_value production. ExitSearch_value(c *Search_valueContext) }
SearchGrammarListener is a complete listener for a parse tree produced by SearchGrammarParser.
type SearchGrammarParser ¶
type SearchGrammarParser struct {
*antlr.BaseParser
}
func NewSearchGrammarParser ¶
func NewSearchGrammarParser(input antlr.TokenStream) *SearchGrammarParser
NewSearchGrammarParser produces a new parser instance for the optional input antlr.TokenStream.
func (*SearchGrammarParser) And_op ¶
func (p *SearchGrammarParser) And_op() (localctx IAnd_opContext)
func (*SearchGrammarParser) Bin_op ¶
func (p *SearchGrammarParser) Bin_op() (localctx IBin_opContext)
func (*SearchGrammarParser) Col_expr ¶
func (p *SearchGrammarParser) Col_expr() (localctx ICol_exprContext)
func (*SearchGrammarParser) Col_expr_Sempred ¶
func (p *SearchGrammarParser) Col_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*SearchGrammarParser) Exists_op ¶
func (p *SearchGrammarParser) Exists_op() (localctx IExists_opContext)
func (*SearchGrammarParser) Implicit_and_op ¶
func (p *SearchGrammarParser) Implicit_and_op() (localctx IImplicit_and_opContext)
func (*SearchGrammarParser) Negation_op ¶
func (p *SearchGrammarParser) Negation_op() (localctx INegation_opContext)
func (*SearchGrammarParser) Or_op ¶
func (p *SearchGrammarParser) Or_op() (localctx IOr_opContext)
func (*SearchGrammarParser) Search_expr ¶
func (p *SearchGrammarParser) Search_expr() (localctx ISearch_exprContext)
func (*SearchGrammarParser) Search_expr_Sempred ¶
func (p *SearchGrammarParser) Search_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*SearchGrammarParser) Search_key ¶
func (p *SearchGrammarParser) Search_key() (localctx ISearch_keyContext)
func (*SearchGrammarParser) Search_query ¶
func (p *SearchGrammarParser) Search_query() (localctx ISearch_queryContext)
func (*SearchGrammarParser) Search_value ¶
func (p *SearchGrammarParser) Search_value() (localctx ISearch_valueContext)
func (*SearchGrammarParser) Sempred ¶
func (p *SearchGrammarParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*SearchGrammarParser) Top_col_expr ¶
func (p *SearchGrammarParser) Top_col_expr() (localctx ITop_col_exprContext)
type Search_exprContext ¶
type Search_exprContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySearch_exprContext ¶
func NewEmptySearch_exprContext() *Search_exprContext
func NewSearch_exprContext ¶
func NewSearch_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Search_exprContext
func (*Search_exprContext) CopyAll ¶
func (s *Search_exprContext) CopyAll(ctx *Search_exprContext)
func (*Search_exprContext) GetParser ¶
func (s *Search_exprContext) GetParser() antlr.Parser
func (*Search_exprContext) GetRuleContext ¶
func (s *Search_exprContext) GetRuleContext() antlr.RuleContext
func (*Search_exprContext) IsSearch_exprContext ¶
func (*Search_exprContext) IsSearch_exprContext()
func (*Search_exprContext) ToStringTree ¶
func (s *Search_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Search_keyContext ¶
type Search_keyContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySearch_keyContext ¶
func NewEmptySearch_keyContext() *Search_keyContext
func NewSearch_keyContext ¶
func NewSearch_keyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Search_keyContext
func (*Search_keyContext) EnterRule ¶
func (s *Search_keyContext) EnterRule(listener antlr.ParseTreeListener)
func (*Search_keyContext) ExitRule ¶
func (s *Search_keyContext) ExitRule(listener antlr.ParseTreeListener)
func (*Search_keyContext) GetParser ¶
func (s *Search_keyContext) GetParser() antlr.Parser
func (*Search_keyContext) GetRuleContext ¶
func (s *Search_keyContext) GetRuleContext() antlr.RuleContext
func (*Search_keyContext) ID ¶
func (s *Search_keyContext) ID() antlr.TerminalNode
func (*Search_keyContext) IsSearch_keyContext ¶
func (*Search_keyContext) IsSearch_keyContext()
func (*Search_keyContext) ToStringTree ¶
func (s *Search_keyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Search_queryContext ¶
type Search_queryContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySearch_queryContext ¶
func NewEmptySearch_queryContext() *Search_queryContext
func NewSearch_queryContext ¶
func NewSearch_queryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Search_queryContext
func (*Search_queryContext) EOF ¶
func (s *Search_queryContext) EOF() antlr.TerminalNode
func (*Search_queryContext) EnterRule ¶
func (s *Search_queryContext) EnterRule(listener antlr.ParseTreeListener)
func (*Search_queryContext) ExitRule ¶
func (s *Search_queryContext) ExitRule(listener antlr.ParseTreeListener)
func (*Search_queryContext) GetParser ¶
func (s *Search_queryContext) GetParser() antlr.Parser
func (*Search_queryContext) GetRuleContext ¶
func (s *Search_queryContext) GetRuleContext() antlr.RuleContext
func (*Search_queryContext) IsSearch_queryContext ¶
func (*Search_queryContext) IsSearch_queryContext()
func (*Search_queryContext) Search_expr ¶
func (s *Search_queryContext) Search_expr() ISearch_exprContext
func (*Search_queryContext) ToStringTree ¶
func (s *Search_queryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Search_valueContext ¶
type Search_valueContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySearch_valueContext ¶
func NewEmptySearch_valueContext() *Search_valueContext
func NewSearch_valueContext ¶
func NewSearch_valueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Search_valueContext
func (*Search_valueContext) EnterRule ¶
func (s *Search_valueContext) EnterRule(listener antlr.ParseTreeListener)
func (*Search_valueContext) ExitRule ¶
func (s *Search_valueContext) ExitRule(listener antlr.ParseTreeListener)
func (*Search_valueContext) GetParser ¶
func (s *Search_valueContext) GetParser() antlr.Parser
func (*Search_valueContext) GetRuleContext ¶
func (s *Search_valueContext) GetRuleContext() antlr.RuleContext
func (*Search_valueContext) ID ¶
func (s *Search_valueContext) ID() antlr.TerminalNode
func (*Search_valueContext) IsSearch_valueContext ¶
func (*Search_valueContext) IsSearch_valueContext()
func (*Search_valueContext) STRING ¶
func (s *Search_valueContext) STRING() antlr.TerminalNode
func (*Search_valueContext) ToStringTree ¶
func (s *Search_valueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Search_valueContext) VALUE ¶
func (s *Search_valueContext) VALUE() antlr.TerminalNode
type Top_col_exprContext ¶
type Top_col_exprContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTop_col_exprContext ¶
func NewEmptyTop_col_exprContext() *Top_col_exprContext
func NewTop_col_exprContext ¶
func NewTop_col_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Top_col_exprContext
func (*Top_col_exprContext) CopyAll ¶
func (s *Top_col_exprContext) CopyAll(ctx *Top_col_exprContext)
func (*Top_col_exprContext) GetParser ¶
func (s *Top_col_exprContext) GetParser() antlr.Parser
func (*Top_col_exprContext) GetRuleContext ¶
func (s *Top_col_exprContext) GetRuleContext() antlr.RuleContext
func (*Top_col_exprContext) IsTop_col_exprContext ¶
func (*Top_col_exprContext) IsTop_col_exprContext()
func (*Top_col_exprContext) ToStringTree ¶
func (s *Top_col_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Top_col_search_valueContext ¶
type Top_col_search_valueContext struct {
Top_col_exprContext
}
func NewTop_col_search_valueContext ¶
func NewTop_col_search_valueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Top_col_search_valueContext
func (*Top_col_search_valueContext) EnterRule ¶
func (s *Top_col_search_valueContext) EnterRule(listener antlr.ParseTreeListener)
func (*Top_col_search_valueContext) ExitRule ¶
func (s *Top_col_search_valueContext) ExitRule(listener antlr.ParseTreeListener)
func (*Top_col_search_valueContext) GetRuleContext ¶
func (s *Top_col_search_valueContext) GetRuleContext() antlr.RuleContext
func (*Top_col_search_valueContext) Search_value ¶
func (s *Top_col_search_valueContext) Search_value() ISearch_valueContext
type Top_paren_col_exprContext ¶
type Top_paren_col_exprContext struct {
Top_col_exprContext
}
func NewTop_paren_col_exprContext ¶
func NewTop_paren_col_exprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Top_paren_col_exprContext
func (*Top_paren_col_exprContext) Col_expr ¶
func (s *Top_paren_col_exprContext) Col_expr() ICol_exprContext
func (*Top_paren_col_exprContext) EnterRule ¶
func (s *Top_paren_col_exprContext) EnterRule(listener antlr.ParseTreeListener)
func (*Top_paren_col_exprContext) ExitRule ¶
func (s *Top_paren_col_exprContext) ExitRule(listener antlr.ParseTreeListener)
func (*Top_paren_col_exprContext) GetRuleContext ¶
func (s *Top_paren_col_exprContext) GetRuleContext() antlr.RuleContext
func (*Top_paren_col_exprContext) LPAREN ¶
func (s *Top_paren_col_exprContext) LPAREN() antlr.TerminalNode
func (*Top_paren_col_exprContext) RPAREN ¶
func (s *Top_paren_col_exprContext) RPAREN() antlr.TerminalNode