Documentation ¶
Index ¶
- Constants
- func JSONFilterLexerInit()
- func JSONFilterParserInit()
- type AWSJSONFilter
- type AwsjsonfilterContext
- func (s *AwsjsonfilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AwsjsonfilterContext) Dotnotation() IDotnotationContext
- func (s *AwsjsonfilterContext) GetParser() antlr.Parser
- func (s *AwsjsonfilterContext) GetRuleContext() antlr.RuleContext
- func (*AwsjsonfilterContext) IsAwsjsonfilterContext()
- func (s *AwsjsonfilterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseJSONFilterVisitor
- func (v *BaseJSONFilterVisitor) VisitAwsjsonfilter(ctx *AwsjsonfilterContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitDotnotation(ctx *DotnotationContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitExp(ctx *ExpContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitFilter_expr_and(ctx *Filter_expr_andContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitFilter_expr_exp(ctx *Filter_expr_expContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitFilter_expr_or(ctx *Filter_expr_orContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitFilter_expr_parenthesized(ctx *Filter_expr_parenthesizedContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitLiteral(ctx *LiteralContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitMember(ctx *MemberContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitOperator(ctx *OperatorContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitQualifiedidentifier(ctx *QualifiedidentifierContext) interface{}
- func (v *BaseJSONFilterVisitor) VisitSelector(ctx *SelectorContext) interface{}
- type CustomErrorListener
- type CustomSyntaxError
- type DotnotationContext
- func (s *DotnotationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DotnotationContext) Filter_expr() IFilter_exprContext
- func (s *DotnotationContext) GetParser() antlr.Parser
- func (s *DotnotationContext) GetRuleContext() antlr.RuleContext
- func (*DotnotationContext) IsDotnotationContext()
- func (s *DotnotationContext) LCURLY() antlr.TerminalNode
- func (s *DotnotationContext) RCURLY() antlr.TerminalNode
- func (s *DotnotationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpContext
- func (s *ExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpContext) GetParser() antlr.Parser
- func (s *ExpContext) GetRuleContext() antlr.RuleContext
- func (*ExpContext) IsExpContext()
- func (s *ExpContext) Literal() ILiteralContext
- func (s *ExpContext) Operator() IOperatorContext
- func (s *ExpContext) Qualifiedidentifier() IQualifiedidentifierContext
- func (s *ExpContext) Selector() ISelectorContext
- func (s *ExpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FilterExp
- type FilterSelector
- type Filter_exprContext
- func (s *Filter_exprContext) CopyFrom(ctx *Filter_exprContext)
- func (s *Filter_exprContext) GetParser() antlr.Parser
- func (s *Filter_exprContext) GetRuleContext() antlr.RuleContext
- func (*Filter_exprContext) IsFilter_exprContext()
- func (s *Filter_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Filter_expr_andContext
- func (s *Filter_expr_andContext) AND() antlr.TerminalNode
- func (s *Filter_expr_andContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Filter_expr_andContext) AllFilter_expr() []IFilter_exprContext
- func (s *Filter_expr_andContext) Filter_expr(i int) IFilter_exprContext
- func (s *Filter_expr_andContext) GetLhs() IFilter_exprContext
- func (s *Filter_expr_andContext) GetRhs() IFilter_exprContext
- func (s *Filter_expr_andContext) GetRuleContext() antlr.RuleContext
- func (s *Filter_expr_andContext) SetLhs(v IFilter_exprContext)
- func (s *Filter_expr_andContext) SetRhs(v IFilter_exprContext)
- type Filter_expr_expContext
- type Filter_expr_orContext
- func (s *Filter_expr_orContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Filter_expr_orContext) AllFilter_expr() []IFilter_exprContext
- func (s *Filter_expr_orContext) Filter_expr(i int) IFilter_exprContext
- func (s *Filter_expr_orContext) GetLhs() IFilter_exprContext
- func (s *Filter_expr_orContext) GetRhs() IFilter_exprContext
- func (s *Filter_expr_orContext) GetRuleContext() antlr.RuleContext
- func (s *Filter_expr_orContext) OR() antlr.TerminalNode
- func (s *Filter_expr_orContext) SetLhs(v IFilter_exprContext)
- func (s *Filter_expr_orContext) SetRhs(v IFilter_exprContext)
- type Filter_expr_parenthesizedContext
- func (s *Filter_expr_parenthesizedContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *Filter_expr_parenthesizedContext) Filter_expr() IFilter_exprContext
- func (s *Filter_expr_parenthesizedContext) GetRuleContext() antlr.RuleContext
- func (s *Filter_expr_parenthesizedContext) LPAREN() antlr.TerminalNode
- func (s *Filter_expr_parenthesizedContext) RPAREN() antlr.TerminalNode
- type IAwsjsonfilterContext
- type IDotnotationContext
- type IExpContext
- type IFilter_exprContext
- type ILiteralContext
- type IMemberContext
- type IOperatorContext
- type IQualifiedidentifierContext
- type ISelectorContext
- type JSONFilterLexer
- type JSONFilterParser
- func (p *JSONFilterParser) Awsjsonfilter() (localctx IAwsjsonfilterContext)
- func (p *JSONFilterParser) Dotnotation() (localctx IDotnotationContext)
- func (p *JSONFilterParser) Exp() (localctx IExpContext)
- func (p *JSONFilterParser) Filter_expr() (localctx IFilter_exprContext)
- func (p *JSONFilterParser) Filter_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *JSONFilterParser) Literal() (localctx ILiteralContext)
- func (p *JSONFilterParser) Member() (localctx IMemberContext)
- func (p *JSONFilterParser) Operator() (localctx IOperatorContext)
- func (p *JSONFilterParser) Qualifiedidentifier() (localctx IQualifiedidentifierContext)
- func (p *JSONFilterParser) Selector() (localctx ISelectorContext)
- func (p *JSONFilterParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- type JSONFilterTreeVisitor
- func (v *JSONFilterTreeVisitor) Visit(tree antlr.ParseTree) interface{}
- func (v *JSONFilterTreeVisitor) VisitAll(tree antlr.ParseTree) AWSJSONFilter
- func (v *JSONFilterTreeVisitor) VisitAwsjsonfilter(ctx *AwsjsonfilterContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitChildren(node antlr.RuleNode) interface{}
- func (v *JSONFilterTreeVisitor) VisitDotnotation(ctx *DotnotationContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitExp(ctx *ExpContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitFilter_expr_and(ctx *Filter_expr_andContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitFilter_expr_exp(ctx *Filter_expr_expContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitFilter_expr_or(ctx *Filter_expr_orContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitFilter_expr_parenthesized(ctx *Filter_expr_parenthesizedContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitLiteral(ctx *LiteralContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitMember(ctx *MemberContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitOperator(ctx *OperatorContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitQualifiedidentifier(ctx *QualifiedidentifierContext) interface{}
- func (v *JSONFilterTreeVisitor) VisitSelector(ctx *SelectorContext) interface{}
- type JSONFilterVisitor
- type LiteralContext
- func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *LiteralContext) AllDOT() []antlr.TerminalNode
- func (s *LiteralContext) AllNUMBER() []antlr.TerminalNode
- func (s *LiteralContext) AllSTAR() []antlr.TerminalNode
- func (s *LiteralContext) DOT(i int) antlr.TerminalNode
- func (s *LiteralContext) EXISTS() antlr.TerminalNode
- func (s *LiteralContext) FALSE() antlr.TerminalNode
- func (s *LiteralContext) GetParser() antlr.Parser
- func (s *LiteralContext) GetRuleContext() antlr.RuleContext
- func (s *LiteralContext) INDENTIFIER() antlr.TerminalNode
- func (*LiteralContext) IsLiteralContext()
- func (s *LiteralContext) NULL() antlr.TerminalNode
- func (s *LiteralContext) NUMBER(i int) antlr.TerminalNode
- func (s *LiteralContext) STAR(i int) antlr.TerminalNode
- func (s *LiteralContext) STRING() antlr.TerminalNode
- func (s *LiteralContext) TRUE() antlr.TerminalNode
- func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MemberContext
- func (s *MemberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *MemberContext) AllLBRACKET() []antlr.TerminalNode
- func (s *MemberContext) AllNUMBER() []antlr.TerminalNode
- func (s *MemberContext) AllRBRACKET() []antlr.TerminalNode
- func (s *MemberContext) GetParser() antlr.Parser
- func (s *MemberContext) GetRuleContext() antlr.RuleContext
- func (s *MemberContext) INDENTIFIER() antlr.TerminalNode
- func (*MemberContext) IsMemberContext()
- func (s *MemberContext) LBRACKET(i int) antlr.TerminalNode
- func (s *MemberContext) NUMBER(i int) antlr.TerminalNode
- func (s *MemberContext) RBRACKET(i int) antlr.TerminalNode
- func (s *MemberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OperatorContext
- func (s *OperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OperatorContext) EQUALS() antlr.TerminalNode
- func (s *OperatorContext) GE() antlr.TerminalNode
- func (s *OperatorContext) GT() antlr.TerminalNode
- func (s *OperatorContext) GetParser() antlr.Parser
- func (s *OperatorContext) GetRuleContext() antlr.RuleContext
- func (s *OperatorContext) IS() antlr.TerminalNode
- func (*OperatorContext) IsOperatorContext()
- func (s *OperatorContext) LE() antlr.TerminalNode
- func (s *OperatorContext) LT() antlr.TerminalNode
- func (s *OperatorContext) NOT() antlr.TerminalNode
- func (s *OperatorContext) NOT_EQUALS() antlr.TerminalNode
- func (s *OperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type QualifiedidentifierContext
- func (s *QualifiedidentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *QualifiedidentifierContext) AllDOT() []antlr.TerminalNode
- func (s *QualifiedidentifierContext) AllMember() []IMemberContext
- func (s *QualifiedidentifierContext) DOT(i int) antlr.TerminalNode
- func (s *QualifiedidentifierContext) GetParser() antlr.Parser
- func (s *QualifiedidentifierContext) GetRuleContext() antlr.RuleContext
- func (*QualifiedidentifierContext) IsQualifiedidentifierContext()
- func (s *QualifiedidentifierContext) Member(i int) IMemberContext
- func (s *QualifiedidentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SelectorContext
- func (s *SelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SelectorContext) GetParser() antlr.Parser
- func (s *SelectorContext) GetRuleContext() antlr.RuleContext
- func (*SelectorContext) IsSelectorContext()
- func (s *SelectorContext) Qualifiedidentifier() IQualifiedidentifierContext
- func (s *SelectorContext) SEL_START() antlr.TerminalNode
- func (s *SelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( JSONFilterLexerSEL_START = 1 JSONFilterLexerSTAR = 2 JSONFilterLexerLCURLY = 3 JSONFilterLexerRCURLY = 4 JSONFilterLexerLPAREN = 5 JSONFilterLexerRPAREN = 6 JSONFilterLexerLBRACKET = 7 JSONFilterLexerRBRACKET = 8 JSONFilterLexerDOT = 9 JSONFilterLexerAND = 10 JSONFilterLexerOR = 11 JSONFilterLexerEQUALS = 12 JSONFilterLexerNOT_EQUALS = 13 JSONFilterLexerGT = 14 JSONFilterLexerLT = 15 JSONFilterLexerGE = 16 JSONFilterLexerLE = 17 JSONFilterLexerIS = 18 JSONFilterLexerNOT = 19 JSONFilterLexerNULL = 20 JSONFilterLexerEXISTS = 21 JSONFilterLexerTRUE = 22 JSONFilterLexerFALSE = 23 JSONFilterLexerINDENTIFIER = 24 JSONFilterLexerSTRING = 25 JSONFilterLexerNUMBER = 26 JSONFilterLexerWS = 27 )
JSONFilterLexer tokens.
const ( JSONFilterParserEOF = antlr.TokenEOF JSONFilterParserSEL_START = 1 JSONFilterParserSTAR = 2 JSONFilterParserLCURLY = 3 JSONFilterParserRCURLY = 4 JSONFilterParserLPAREN = 5 JSONFilterParserRPAREN = 6 JSONFilterParserLBRACKET = 7 JSONFilterParserRBRACKET = 8 JSONFilterParserDOT = 9 JSONFilterParserAND = 10 JSONFilterParserOR = 11 JSONFilterParserEQUALS = 12 JSONFilterParserNOT_EQUALS = 13 JSONFilterParserGT = 14 JSONFilterParserLT = 15 JSONFilterParserGE = 16 JSONFilterParserLE = 17 JSONFilterParserIS = 18 JSONFilterParserNOT = 19 JSONFilterParserNULL = 20 JSONFilterParserEXISTS = 21 JSONFilterParserTRUE = 22 JSONFilterParserFALSE = 23 JSONFilterParserINDENTIFIER = 24 JSONFilterParserSTRING = 25 JSONFilterParserNUMBER = 26 JSONFilterParserWS = 27 )
JSONFilterParser tokens.
const ( JSONFilterParserRULE_awsjsonfilter = 0 JSONFilterParserRULE_dotnotation = 1 JSONFilterParserRULE_filter_expr = 2 JSONFilterParserRULE_exp = 3 JSONFilterParserRULE_selector = 4 JSONFilterParserRULE_qualifiedidentifier = 5 JSONFilterParserRULE_member = 6 JSONFilterParserRULE_operator = 7 JSONFilterParserRULE_literal = 8 )
JSONFilterParser rules.
const ( AND = "&&" OR = "||" )
Variables ¶
This section is empty.
Functions ¶
func JSONFilterLexerInit ¶ added in v1.6.7
func JSONFilterLexerInit()
JSONFilterLexerInit initializes any static state used to implement JSONFilterLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewJSONFilterLexer(). You can call this function if you wish to initialize the static state ahead of time.
func JSONFilterParserInit ¶ added in v1.6.7
func JSONFilterParserInit()
JSONFilterParserInit initializes any static state used to implement JSONFilterParser. By default the static state used to implement the parser is lazily initialized during the first call to NewJSONFilterParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type AWSJSONFilter ¶
type AWSJSONFilter struct {
FilterExpression interface{} `json:"_kics_filter_expr"`
}
type AwsjsonfilterContext ¶
type AwsjsonfilterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAwsjsonfilterContext ¶
func NewAwsjsonfilterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AwsjsonfilterContext
func NewEmptyAwsjsonfilterContext ¶
func NewEmptyAwsjsonfilterContext() *AwsjsonfilterContext
func (*AwsjsonfilterContext) Accept ¶
func (s *AwsjsonfilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AwsjsonfilterContext) Dotnotation ¶
func (s *AwsjsonfilterContext) Dotnotation() IDotnotationContext
func (*AwsjsonfilterContext) GetParser ¶
func (s *AwsjsonfilterContext) GetParser() antlr.Parser
func (*AwsjsonfilterContext) GetRuleContext ¶
func (s *AwsjsonfilterContext) GetRuleContext() antlr.RuleContext
func (*AwsjsonfilterContext) IsAwsjsonfilterContext ¶
func (*AwsjsonfilterContext) IsAwsjsonfilterContext()
func (*AwsjsonfilterContext) ToStringTree ¶
func (s *AwsjsonfilterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseJSONFilterVisitor ¶
type BaseJSONFilterVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseJSONFilterVisitor) VisitAwsjsonfilter ¶
func (v *BaseJSONFilterVisitor) VisitAwsjsonfilter(ctx *AwsjsonfilterContext) interface{}
func (*BaseJSONFilterVisitor) VisitDotnotation ¶
func (v *BaseJSONFilterVisitor) VisitDotnotation(ctx *DotnotationContext) interface{}
func (*BaseJSONFilterVisitor) VisitExp ¶
func (v *BaseJSONFilterVisitor) VisitExp(ctx *ExpContext) interface{}
func (*BaseJSONFilterVisitor) VisitFilter_expr_and ¶
func (v *BaseJSONFilterVisitor) VisitFilter_expr_and(ctx *Filter_expr_andContext) interface{}
func (*BaseJSONFilterVisitor) VisitFilter_expr_exp ¶
func (v *BaseJSONFilterVisitor) VisitFilter_expr_exp(ctx *Filter_expr_expContext) interface{}
func (*BaseJSONFilterVisitor) VisitFilter_expr_or ¶
func (v *BaseJSONFilterVisitor) VisitFilter_expr_or(ctx *Filter_expr_orContext) interface{}
func (*BaseJSONFilterVisitor) VisitFilter_expr_parenthesized ¶
func (v *BaseJSONFilterVisitor) VisitFilter_expr_parenthesized(ctx *Filter_expr_parenthesizedContext) interface{}
func (*BaseJSONFilterVisitor) VisitLiteral ¶
func (v *BaseJSONFilterVisitor) VisitLiteral(ctx *LiteralContext) interface{}
func (*BaseJSONFilterVisitor) VisitMember ¶
func (v *BaseJSONFilterVisitor) VisitMember(ctx *MemberContext) interface{}
func (*BaseJSONFilterVisitor) VisitOperator ¶
func (v *BaseJSONFilterVisitor) VisitOperator(ctx *OperatorContext) interface{}
func (*BaseJSONFilterVisitor) VisitQualifiedidentifier ¶
func (v *BaseJSONFilterVisitor) VisitQualifiedidentifier(ctx *QualifiedidentifierContext) interface{}
func (*BaseJSONFilterVisitor) VisitSelector ¶
func (v *BaseJSONFilterVisitor) VisitSelector(ctx *SelectorContext) interface{}
type CustomErrorListener ¶
type CustomErrorListener struct { *antlr.DefaultErrorListener Errors []*CustomSyntaxError }
func NewCustomErrorListener ¶
func NewCustomErrorListener() *CustomErrorListener
func (*CustomErrorListener) HasErrors ¶
func (c *CustomErrorListener) HasErrors() bool
func (*CustomErrorListener) SyntaxError ¶
func (c *CustomErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException)
type CustomSyntaxError ¶
type CustomSyntaxError struct {
// contains filtered or unexported fields
}
type DotnotationContext ¶
type DotnotationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDotnotationContext ¶
func NewDotnotationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DotnotationContext
func NewEmptyDotnotationContext ¶
func NewEmptyDotnotationContext() *DotnotationContext
func (*DotnotationContext) Accept ¶
func (s *DotnotationContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DotnotationContext) Filter_expr ¶
func (s *DotnotationContext) Filter_expr() IFilter_exprContext
func (*DotnotationContext) GetParser ¶
func (s *DotnotationContext) GetParser() antlr.Parser
func (*DotnotationContext) GetRuleContext ¶
func (s *DotnotationContext) GetRuleContext() antlr.RuleContext
func (*DotnotationContext) IsDotnotationContext ¶
func (*DotnotationContext) IsDotnotationContext()
func (*DotnotationContext) LCURLY ¶
func (s *DotnotationContext) LCURLY() antlr.TerminalNode
func (*DotnotationContext) RCURLY ¶
func (s *DotnotationContext) RCURLY() antlr.TerminalNode
func (*DotnotationContext) ToStringTree ¶
func (s *DotnotationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExpContext ¶
type ExpContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpContext ¶
func NewEmptyExpContext() *ExpContext
func NewExpContext ¶
func NewExpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpContext
func (*ExpContext) Accept ¶
func (s *ExpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExpContext) GetParser ¶
func (s *ExpContext) GetParser() antlr.Parser
func (*ExpContext) GetRuleContext ¶
func (s *ExpContext) GetRuleContext() antlr.RuleContext
func (*ExpContext) IsExpContext ¶
func (*ExpContext) IsExpContext()
func (*ExpContext) Literal ¶
func (s *ExpContext) Literal() ILiteralContext
func (*ExpContext) Operator ¶
func (s *ExpContext) Operator() IOperatorContext
func (*ExpContext) Qualifiedidentifier ¶
func (s *ExpContext) Qualifiedidentifier() IQualifiedidentifierContext
func (*ExpContext) Selector ¶
func (s *ExpContext) Selector() ISelectorContext
func (*ExpContext) ToStringTree ¶
func (s *ExpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FilterExp ¶
type FilterExp struct { Op interface{} `json:"_op"` Left interface{} `json:"_left"` Right interface{} `json:"_right"` }
type FilterSelector ¶
type FilterSelector struct { Selector interface{} `json:"_selector"` Op interface{} `json:"_op"` Value interface{} `json:"_value"` }
type Filter_exprContext ¶
type Filter_exprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFilter_exprContext ¶
func NewEmptyFilter_exprContext() *Filter_exprContext
func NewFilter_exprContext ¶
func NewFilter_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Filter_exprContext
func (*Filter_exprContext) CopyFrom ¶
func (s *Filter_exprContext) CopyFrom(ctx *Filter_exprContext)
func (*Filter_exprContext) GetParser ¶
func (s *Filter_exprContext) GetParser() antlr.Parser
func (*Filter_exprContext) GetRuleContext ¶
func (s *Filter_exprContext) GetRuleContext() antlr.RuleContext
func (*Filter_exprContext) IsFilter_exprContext ¶
func (*Filter_exprContext) IsFilter_exprContext()
func (*Filter_exprContext) ToStringTree ¶
func (s *Filter_exprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Filter_expr_andContext ¶
type Filter_expr_andContext struct { *Filter_exprContext // contains filtered or unexported fields }
func NewFilter_expr_andContext ¶
func NewFilter_expr_andContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Filter_expr_andContext
func (*Filter_expr_andContext) AND ¶
func (s *Filter_expr_andContext) AND() antlr.TerminalNode
func (*Filter_expr_andContext) Accept ¶
func (s *Filter_expr_andContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Filter_expr_andContext) AllFilter_expr ¶
func (s *Filter_expr_andContext) AllFilter_expr() []IFilter_exprContext
func (*Filter_expr_andContext) Filter_expr ¶
func (s *Filter_expr_andContext) Filter_expr(i int) IFilter_exprContext
func (*Filter_expr_andContext) GetLhs ¶
func (s *Filter_expr_andContext) GetLhs() IFilter_exprContext
func (*Filter_expr_andContext) GetRhs ¶
func (s *Filter_expr_andContext) GetRhs() IFilter_exprContext
func (*Filter_expr_andContext) GetRuleContext ¶
func (s *Filter_expr_andContext) GetRuleContext() antlr.RuleContext
func (*Filter_expr_andContext) SetLhs ¶
func (s *Filter_expr_andContext) SetLhs(v IFilter_exprContext)
func (*Filter_expr_andContext) SetRhs ¶
func (s *Filter_expr_andContext) SetRhs(v IFilter_exprContext)
type Filter_expr_expContext ¶
type Filter_expr_expContext struct {
*Filter_exprContext
}
func NewFilter_expr_expContext ¶
func NewFilter_expr_expContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Filter_expr_expContext
func (*Filter_expr_expContext) Accept ¶
func (s *Filter_expr_expContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Filter_expr_expContext) Exp ¶
func (s *Filter_expr_expContext) Exp() IExpContext
func (*Filter_expr_expContext) GetRuleContext ¶
func (s *Filter_expr_expContext) GetRuleContext() antlr.RuleContext
type Filter_expr_orContext ¶
type Filter_expr_orContext struct { *Filter_exprContext // contains filtered or unexported fields }
func NewFilter_expr_orContext ¶
func NewFilter_expr_orContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Filter_expr_orContext
func (*Filter_expr_orContext) Accept ¶
func (s *Filter_expr_orContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Filter_expr_orContext) AllFilter_expr ¶
func (s *Filter_expr_orContext) AllFilter_expr() []IFilter_exprContext
func (*Filter_expr_orContext) Filter_expr ¶
func (s *Filter_expr_orContext) Filter_expr(i int) IFilter_exprContext
func (*Filter_expr_orContext) GetLhs ¶
func (s *Filter_expr_orContext) GetLhs() IFilter_exprContext
func (*Filter_expr_orContext) GetRhs ¶
func (s *Filter_expr_orContext) GetRhs() IFilter_exprContext
func (*Filter_expr_orContext) GetRuleContext ¶
func (s *Filter_expr_orContext) GetRuleContext() antlr.RuleContext
func (*Filter_expr_orContext) OR ¶
func (s *Filter_expr_orContext) OR() antlr.TerminalNode
func (*Filter_expr_orContext) SetLhs ¶
func (s *Filter_expr_orContext) SetLhs(v IFilter_exprContext)
func (*Filter_expr_orContext) SetRhs ¶
func (s *Filter_expr_orContext) SetRhs(v IFilter_exprContext)
type Filter_expr_parenthesizedContext ¶
type Filter_expr_parenthesizedContext struct {
*Filter_exprContext
}
func NewFilter_expr_parenthesizedContext ¶
func NewFilter_expr_parenthesizedContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *Filter_expr_parenthesizedContext
func (*Filter_expr_parenthesizedContext) Accept ¶
func (s *Filter_expr_parenthesizedContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*Filter_expr_parenthesizedContext) Filter_expr ¶
func (s *Filter_expr_parenthesizedContext) Filter_expr() IFilter_exprContext
func (*Filter_expr_parenthesizedContext) GetRuleContext ¶
func (s *Filter_expr_parenthesizedContext) GetRuleContext() antlr.RuleContext
func (*Filter_expr_parenthesizedContext) LPAREN ¶
func (s *Filter_expr_parenthesizedContext) LPAREN() antlr.TerminalNode
func (*Filter_expr_parenthesizedContext) RPAREN ¶
func (s *Filter_expr_parenthesizedContext) RPAREN() antlr.TerminalNode
type IAwsjsonfilterContext ¶
type IAwsjsonfilterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAwsjsonfilterContext differentiates from other interfaces. IsAwsjsonfilterContext() }
IAwsjsonfilterContext is an interface to support dynamic dispatch.
type IDotnotationContext ¶
type IDotnotationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDotnotationContext differentiates from other interfaces. IsDotnotationContext() }
IDotnotationContext is an interface to support dynamic dispatch.
type IExpContext ¶
type IExpContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpContext differentiates from other interfaces. IsExpContext() }
IExpContext is an interface to support dynamic dispatch.
type IFilter_exprContext ¶
type IFilter_exprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFilter_exprContext differentiates from other interfaces. IsFilter_exprContext() }
IFilter_exprContext is an interface to support dynamic dispatch.
type ILiteralContext ¶
type ILiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLiteralContext differentiates from other interfaces. IsLiteralContext() }
ILiteralContext is an interface to support dynamic dispatch.
type IMemberContext ¶
type IMemberContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMemberContext differentiates from other interfaces. IsMemberContext() }
IMemberContext is an interface to support dynamic dispatch.
type IOperatorContext ¶
type IOperatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsOperatorContext differentiates from other interfaces. IsOperatorContext() }
IOperatorContext is an interface to support dynamic dispatch.
type IQualifiedidentifierContext ¶
type IQualifiedidentifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsQualifiedidentifierContext differentiates from other interfaces. IsQualifiedidentifierContext() }
IQualifiedidentifierContext is an interface to support dynamic dispatch.
type ISelectorContext ¶
type ISelectorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSelectorContext differentiates from other interfaces. IsSelectorContext() }
ISelectorContext is an interface to support dynamic dispatch.
type JSONFilterLexer ¶
type JSONFilterLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewJSONFilterLexer ¶
func NewJSONFilterLexer(input antlr.CharStream) *JSONFilterLexer
NewJSONFilterLexer produces a new lexer instance for the optional input antlr.CharStream.
type JSONFilterParser ¶
type JSONFilterParser struct {
*antlr.BaseParser
}
func NewJSONFilterParser ¶
func NewJSONFilterParser(input antlr.TokenStream) *JSONFilterParser
NewJSONFilterParser produces a new parser instance for the optional input antlr.TokenStream.
func (*JSONFilterParser) Awsjsonfilter ¶
func (p *JSONFilterParser) Awsjsonfilter() (localctx IAwsjsonfilterContext)
func (*JSONFilterParser) Dotnotation ¶
func (p *JSONFilterParser) Dotnotation() (localctx IDotnotationContext)
func (*JSONFilterParser) Exp ¶
func (p *JSONFilterParser) Exp() (localctx IExpContext)
func (*JSONFilterParser) Filter_expr ¶
func (p *JSONFilterParser) Filter_expr() (localctx IFilter_exprContext)
func (*JSONFilterParser) Filter_expr_Sempred ¶
func (p *JSONFilterParser) Filter_expr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*JSONFilterParser) Literal ¶
func (p *JSONFilterParser) Literal() (localctx ILiteralContext)
func (*JSONFilterParser) Member ¶
func (p *JSONFilterParser) Member() (localctx IMemberContext)
func (*JSONFilterParser) Operator ¶
func (p *JSONFilterParser) Operator() (localctx IOperatorContext)
func (*JSONFilterParser) Qualifiedidentifier ¶
func (p *JSONFilterParser) Qualifiedidentifier() (localctx IQualifiedidentifierContext)
func (*JSONFilterParser) Selector ¶
func (p *JSONFilterParser) Selector() (localctx ISelectorContext)
func (*JSONFilterParser) Sempred ¶
func (p *JSONFilterParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
type JSONFilterTreeVisitor ¶
type JSONFilterTreeVisitor struct {
*antlr.BaseParseTreeVisitor
}
func NewJSONFilterPrinterVisitor ¶
func NewJSONFilterPrinterVisitor() *JSONFilterTreeVisitor
func (*JSONFilterTreeVisitor) Visit ¶
func (v *JSONFilterTreeVisitor) Visit(tree antlr.ParseTree) interface{}
func (*JSONFilterTreeVisitor) VisitAll ¶
func (v *JSONFilterTreeVisitor) VisitAll(tree antlr.ParseTree) AWSJSONFilter
func (*JSONFilterTreeVisitor) VisitAwsjsonfilter ¶
func (v *JSONFilterTreeVisitor) VisitAwsjsonfilter(ctx *AwsjsonfilterContext) interface{}
func (*JSONFilterTreeVisitor) VisitChildren ¶
func (v *JSONFilterTreeVisitor) VisitChildren(node antlr.RuleNode) interface{}
func (*JSONFilterTreeVisitor) VisitDotnotation ¶
func (v *JSONFilterTreeVisitor) VisitDotnotation(ctx *DotnotationContext) interface{}
func (*JSONFilterTreeVisitor) VisitExp ¶
func (v *JSONFilterTreeVisitor) VisitExp(ctx *ExpContext) interface{}
func (*JSONFilterTreeVisitor) VisitFilter_expr_and ¶
func (v *JSONFilterTreeVisitor) VisitFilter_expr_and(ctx *Filter_expr_andContext) interface{}
func (*JSONFilterTreeVisitor) VisitFilter_expr_exp ¶
func (v *JSONFilterTreeVisitor) VisitFilter_expr_exp(ctx *Filter_expr_expContext) interface{}
func (*JSONFilterTreeVisitor) VisitFilter_expr_or ¶
func (v *JSONFilterTreeVisitor) VisitFilter_expr_or(ctx *Filter_expr_orContext) interface{}
func (*JSONFilterTreeVisitor) VisitFilter_expr_parenthesized ¶
func (v *JSONFilterTreeVisitor) VisitFilter_expr_parenthesized(ctx *Filter_expr_parenthesizedContext) interface{}
func (*JSONFilterTreeVisitor) VisitLiteral ¶
func (v *JSONFilterTreeVisitor) VisitLiteral(ctx *LiteralContext) interface{}
func (*JSONFilterTreeVisitor) VisitMember ¶
func (v *JSONFilterTreeVisitor) VisitMember(ctx *MemberContext) interface{}
func (*JSONFilterTreeVisitor) VisitOperator ¶
func (v *JSONFilterTreeVisitor) VisitOperator(ctx *OperatorContext) interface{}
func (*JSONFilterTreeVisitor) VisitQualifiedidentifier ¶
func (v *JSONFilterTreeVisitor) VisitQualifiedidentifier(ctx *QualifiedidentifierContext) interface{}
func (*JSONFilterTreeVisitor) VisitSelector ¶
func (v *JSONFilterTreeVisitor) VisitSelector(ctx *SelectorContext) interface{}
type JSONFilterVisitor ¶
type JSONFilterVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by JSONFilterParser#awsjsonfilter. VisitAwsjsonfilter(ctx *AwsjsonfilterContext) interface{} // Visit a parse tree produced by JSONFilterParser#dotnotation. VisitDotnotation(ctx *DotnotationContext) interface{} // Visit a parse tree produced by JSONFilterParser#filter_expr_parenthesized. VisitFilter_expr_parenthesized(ctx *Filter_expr_parenthesizedContext) interface{} // Visit a parse tree produced by JSONFilterParser#filter_expr_and. VisitFilter_expr_and(ctx *Filter_expr_andContext) interface{} // Visit a parse tree produced by JSONFilterParser#filter_expr_exp. VisitFilter_expr_exp(ctx *Filter_expr_expContext) interface{} // Visit a parse tree produced by JSONFilterParser#filter_expr_or. VisitFilter_expr_or(ctx *Filter_expr_orContext) interface{} // Visit a parse tree produced by JSONFilterParser#exp. VisitExp(ctx *ExpContext) interface{} // Visit a parse tree produced by JSONFilterParser#selector. VisitSelector(ctx *SelectorContext) interface{} // Visit a parse tree produced by JSONFilterParser#qualifiedidentifier. VisitQualifiedidentifier(ctx *QualifiedidentifierContext) interface{} // Visit a parse tree produced by JSONFilterParser#member. VisitMember(ctx *MemberContext) interface{} // Visit a parse tree produced by JSONFilterParser#operator. VisitOperator(ctx *OperatorContext) interface{} // Visit a parse tree produced by JSONFilterParser#literal. VisitLiteral(ctx *LiteralContext) interface{} }
A complete Visitor for a parse tree produced by JSONFilterParser.
type LiteralContext ¶
type LiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLiteralContext ¶
func NewEmptyLiteralContext() *LiteralContext
func NewLiteralContext ¶
func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext
func (*LiteralContext) Accept ¶
func (s *LiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*LiteralContext) AllDOT ¶
func (s *LiteralContext) AllDOT() []antlr.TerminalNode
func (*LiteralContext) AllNUMBER ¶
func (s *LiteralContext) AllNUMBER() []antlr.TerminalNode
func (*LiteralContext) AllSTAR ¶
func (s *LiteralContext) AllSTAR() []antlr.TerminalNode
func (*LiteralContext) DOT ¶
func (s *LiteralContext) DOT(i int) antlr.TerminalNode
func (*LiteralContext) EXISTS ¶
func (s *LiteralContext) EXISTS() antlr.TerminalNode
func (*LiteralContext) FALSE ¶
func (s *LiteralContext) FALSE() antlr.TerminalNode
func (*LiteralContext) GetParser ¶
func (s *LiteralContext) GetParser() antlr.Parser
func (*LiteralContext) GetRuleContext ¶
func (s *LiteralContext) GetRuleContext() antlr.RuleContext
func (*LiteralContext) INDENTIFIER ¶
func (s *LiteralContext) INDENTIFIER() antlr.TerminalNode
func (*LiteralContext) IsLiteralContext ¶
func (*LiteralContext) IsLiteralContext()
func (*LiteralContext) NULL ¶
func (s *LiteralContext) NULL() antlr.TerminalNode
func (*LiteralContext) NUMBER ¶
func (s *LiteralContext) NUMBER(i int) antlr.TerminalNode
func (*LiteralContext) STAR ¶
func (s *LiteralContext) STAR(i int) antlr.TerminalNode
func (*LiteralContext) STRING ¶
func (s *LiteralContext) STRING() antlr.TerminalNode
func (*LiteralContext) TRUE ¶
func (s *LiteralContext) TRUE() antlr.TerminalNode
func (*LiteralContext) ToStringTree ¶
func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MemberContext ¶
type MemberContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMemberContext ¶
func NewEmptyMemberContext() *MemberContext
func NewMemberContext ¶
func NewMemberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MemberContext
func (*MemberContext) Accept ¶
func (s *MemberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*MemberContext) AllLBRACKET ¶
func (s *MemberContext) AllLBRACKET() []antlr.TerminalNode
func (*MemberContext) AllNUMBER ¶
func (s *MemberContext) AllNUMBER() []antlr.TerminalNode
func (*MemberContext) AllRBRACKET ¶
func (s *MemberContext) AllRBRACKET() []antlr.TerminalNode
func (*MemberContext) GetParser ¶
func (s *MemberContext) GetParser() antlr.Parser
func (*MemberContext) GetRuleContext ¶
func (s *MemberContext) GetRuleContext() antlr.RuleContext
func (*MemberContext) INDENTIFIER ¶
func (s *MemberContext) INDENTIFIER() antlr.TerminalNode
func (*MemberContext) IsMemberContext ¶
func (*MemberContext) IsMemberContext()
func (*MemberContext) LBRACKET ¶
func (s *MemberContext) LBRACKET(i int) antlr.TerminalNode
func (*MemberContext) NUMBER ¶
func (s *MemberContext) NUMBER(i int) antlr.TerminalNode
func (*MemberContext) RBRACKET ¶
func (s *MemberContext) RBRACKET(i int) antlr.TerminalNode
func (*MemberContext) ToStringTree ¶
func (s *MemberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OperatorContext ¶
type OperatorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOperatorContext ¶
func NewEmptyOperatorContext() *OperatorContext
func NewOperatorContext ¶
func NewOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorContext
func (*OperatorContext) Accept ¶
func (s *OperatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OperatorContext) EQUALS ¶
func (s *OperatorContext) EQUALS() antlr.TerminalNode
func (*OperatorContext) GE ¶
func (s *OperatorContext) GE() antlr.TerminalNode
func (*OperatorContext) GT ¶
func (s *OperatorContext) GT() antlr.TerminalNode
func (*OperatorContext) GetParser ¶
func (s *OperatorContext) GetParser() antlr.Parser
func (*OperatorContext) GetRuleContext ¶
func (s *OperatorContext) GetRuleContext() antlr.RuleContext
func (*OperatorContext) IS ¶
func (s *OperatorContext) IS() antlr.TerminalNode
func (*OperatorContext) IsOperatorContext ¶
func (*OperatorContext) IsOperatorContext()
func (*OperatorContext) LE ¶
func (s *OperatorContext) LE() antlr.TerminalNode
func (*OperatorContext) LT ¶
func (s *OperatorContext) LT() antlr.TerminalNode
func (*OperatorContext) NOT ¶
func (s *OperatorContext) NOT() antlr.TerminalNode
func (*OperatorContext) NOT_EQUALS ¶
func (s *OperatorContext) NOT_EQUALS() antlr.TerminalNode
func (*OperatorContext) ToStringTree ¶
func (s *OperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type QualifiedidentifierContext ¶
type QualifiedidentifierContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQualifiedidentifierContext ¶
func NewEmptyQualifiedidentifierContext() *QualifiedidentifierContext
func NewQualifiedidentifierContext ¶
func NewQualifiedidentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QualifiedidentifierContext
func (*QualifiedidentifierContext) Accept ¶
func (s *QualifiedidentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*QualifiedidentifierContext) AllDOT ¶
func (s *QualifiedidentifierContext) AllDOT() []antlr.TerminalNode
func (*QualifiedidentifierContext) AllMember ¶
func (s *QualifiedidentifierContext) AllMember() []IMemberContext
func (*QualifiedidentifierContext) DOT ¶
func (s *QualifiedidentifierContext) DOT(i int) antlr.TerminalNode
func (*QualifiedidentifierContext) GetParser ¶
func (s *QualifiedidentifierContext) GetParser() antlr.Parser
func (*QualifiedidentifierContext) GetRuleContext ¶
func (s *QualifiedidentifierContext) GetRuleContext() antlr.RuleContext
func (*QualifiedidentifierContext) IsQualifiedidentifierContext ¶
func (*QualifiedidentifierContext) IsQualifiedidentifierContext()
func (*QualifiedidentifierContext) Member ¶
func (s *QualifiedidentifierContext) Member(i int) IMemberContext
func (*QualifiedidentifierContext) ToStringTree ¶
func (s *QualifiedidentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SelectorContext ¶
type SelectorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySelectorContext ¶
func NewEmptySelectorContext() *SelectorContext
func NewSelectorContext ¶
func NewSelectorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SelectorContext
func (*SelectorContext) Accept ¶
func (s *SelectorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SelectorContext) GetParser ¶
func (s *SelectorContext) GetParser() antlr.Parser
func (*SelectorContext) GetRuleContext ¶
func (s *SelectorContext) GetRuleContext() antlr.RuleContext
func (*SelectorContext) IsSelectorContext ¶
func (*SelectorContext) IsSelectorContext()
func (*SelectorContext) Qualifiedidentifier ¶
func (s *SelectorContext) Qualifiedidentifier() IQualifiedidentifierContext
func (*SelectorContext) SEL_START ¶
func (s *SelectorContext) SEL_START() antlr.TerminalNode
func (*SelectorContext) ToStringTree ¶
func (s *SelectorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string