Documentation ¶
Index ¶
- Constants
- func FilterExpressionInit()
- func FilterExpressionLexerInit()
- type AndOpContext
- func (s *AndOpContext) AND() antlr.TerminalNode
- func (s *AndOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AndOpContext) AllWS() []antlr.TerminalNode
- func (s *AndOpContext) GetParser() antlr.Parser
- func (s *AndOpContext) GetRuleContext() antlr.RuleContext
- func (*AndOpContext) IsAndOpContext()
- func (s *AndOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AndOpContext) WS(i int) antlr.TerminalNode
- type ArgListContext
- func (s *ArgListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ArgListContext) AllComparable() []IComparableContext
- func (s *ArgListContext) AllSep() []ISepContext
- func (s *ArgListContext) AllWS() []antlr.TerminalNode
- func (s *ArgListContext) Comparable(i int) IComparableContext
- func (s *ArgListContext) GetArgs() []IComparableContext
- func (s *ArgListContext) GetParser() antlr.Parser
- func (s *ArgListContext) GetRuleContext() antlr.RuleContext
- func (s *ArgListContext) Get_comparable() IComparableContext
- func (*ArgListContext) IsArgListContext()
- func (s *ArgListContext) Sep(i int) ISepContext
- func (s *ArgListContext) SetArgs(v []IComparableContext)
- func (s *ArgListContext) Set_comparable(v IComparableContext)
- func (s *ArgListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ArgListContext) WS(i int) antlr.TerminalNode
- type BaseFilterExpressionVisitor
- func (v *BaseFilterExpressionVisitor) VisitAndOp(ctx *AndOpContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitArgList(ctx *ArgListContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitComparable(ctx *ComparableContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitComparator(ctx *ComparatorContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitComposite(ctx *CompositeContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitDynamicIndex(ctx *DynamicIndexContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitExpression(ctx *ExpressionContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitFactor(ctx *FactorContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitField(ctx *FieldContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitFilter(ctx *FilterContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitFloatVal(ctx *FloatValContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitIdentOrGlobalCall(ctx *IdentOrGlobalCallContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitIntVal(ctx *IntValContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitKeyword(ctx *KeywordContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitNestedExpr(ctx *NestedExprContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitNotOp(ctx *NotOpContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitNumber(ctx *NumberContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitOrOp(ctx *OrOpContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitPrimaryExpr(ctx *PrimaryExprContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitRestriction(ctx *RestrictionContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitSelectOrCall(ctx *SelectOrCallContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitSep(ctx *SepContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitSequence(ctx *SequenceContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitStringVal(ctx *StringValContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitTerm(ctx *TermContext) interface{}
- func (v *BaseFilterExpressionVisitor) VisitText(ctx *TextContext) interface{}
- type ComparableContext
- func (s *ComparableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ComparableContext) GetParser() antlr.Parser
- func (s *ComparableContext) GetRuleContext() antlr.RuleContext
- func (*ComparableContext) IsComparableContext()
- func (s *ComparableContext) Number() INumberContext
- func (s *ComparableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ComparableContext) Value() IValueContext
- type ComparatorContext
- func (s *ComparatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ComparatorContext) EQUALS() antlr.TerminalNode
- func (s *ComparatorContext) GREATER_EQUALS() antlr.TerminalNode
- func (s *ComparatorContext) GREATER_THAN() antlr.TerminalNode
- func (s *ComparatorContext) GetParser() antlr.Parser
- func (s *ComparatorContext) GetRuleContext() antlr.RuleContext
- func (s *ComparatorContext) HAS() antlr.TerminalNode
- func (*ComparatorContext) IsComparatorContext()
- func (s *ComparatorContext) LESS_EQUALS() antlr.TerminalNode
- func (s *ComparatorContext) LESS_THAN() antlr.TerminalNode
- func (s *ComparatorContext) NOT_EQUALS() antlr.TerminalNode
- func (s *ComparatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CompositeContext
- func (s *CompositeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CompositeContext) AllWS() []antlr.TerminalNode
- func (s *CompositeContext) Expression() IExpressionContext
- func (s *CompositeContext) GetParser() antlr.Parser
- func (s *CompositeContext) GetRuleContext() antlr.RuleContext
- func (*CompositeContext) IsCompositeContext()
- func (s *CompositeContext) LPAREN() antlr.TerminalNode
- func (s *CompositeContext) RPAREN() antlr.TerminalNode
- func (s *CompositeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CompositeContext) WS(i int) antlr.TerminalNode
- type DynamicIndexContext
- func (s *DynamicIndexContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DynamicIndexContext) AllWS() []antlr.TerminalNode
- func (s *DynamicIndexContext) Comparable() IComparableContext
- func (s *DynamicIndexContext) GetIndex() IComparableContext
- func (s *DynamicIndexContext) GetOp() antlr.Token
- func (s *DynamicIndexContext) GetRuleContext() antlr.RuleContext
- func (s *DynamicIndexContext) LBRACE() antlr.TerminalNode
- func (s *DynamicIndexContext) RBRACE() antlr.TerminalNode
- func (s *DynamicIndexContext) SetIndex(v IComparableContext)
- func (s *DynamicIndexContext) SetOp(v antlr.Token)
- func (s *DynamicIndexContext) Value() IValueContext
- func (s *DynamicIndexContext) WS(i int) antlr.TerminalNode
- type ExpressionContext
- func (s *ExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpressionContext) AllAndOp() []IAndOpContext
- func (s *ExpressionContext) AllSequence() []ISequenceContext
- func (s *ExpressionContext) AndOp(i int) IAndOpContext
- func (s *ExpressionContext) GetExpr() ISequenceContext
- func (s *ExpressionContext) GetOp() []IAndOpContext
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRest() []ISequenceContext
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ExpressionContext) Get_andOp() IAndOpContext
- func (s *ExpressionContext) Get_sequence() ISequenceContext
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) Sequence(i int) ISequenceContext
- func (s *ExpressionContext) SetExpr(v ISequenceContext)
- func (s *ExpressionContext) SetOp(v []IAndOpContext)
- func (s *ExpressionContext) SetRest(v []ISequenceContext)
- func (s *ExpressionContext) Set_andOp(v IAndOpContext)
- func (s *ExpressionContext) Set_sequence(v ISequenceContext)
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FactorContext
- func (s *FactorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FactorContext) AllOrOp() []IOrOpContext
- func (s *FactorContext) AllTerm() []ITermContext
- func (s *FactorContext) GetExpr() ITermContext
- func (s *FactorContext) GetOp() []IOrOpContext
- func (s *FactorContext) GetParser() antlr.Parser
- func (s *FactorContext) GetRest() []ITermContext
- func (s *FactorContext) GetRuleContext() antlr.RuleContext
- func (s *FactorContext) Get_orOp() IOrOpContext
- func (s *FactorContext) Get_term() ITermContext
- func (*FactorContext) IsFactorContext()
- func (s *FactorContext) OrOp(i int) IOrOpContext
- func (s *FactorContext) SetExpr(v ITermContext)
- func (s *FactorContext) SetOp(v []IOrOpContext)
- func (s *FactorContext) SetRest(v []ITermContext)
- func (s *FactorContext) Set_orOp(v IOrOpContext)
- func (s *FactorContext) Set_term(v ITermContext)
- func (s *FactorContext) Term(i int) ITermContext
- func (s *FactorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldContext
- func (s *FieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FieldContext) GetId() ITextContext
- func (s *FieldContext) GetParser() antlr.Parser
- func (s *FieldContext) GetQuotedText() antlr.Token
- func (s *FieldContext) GetRuleContext() antlr.RuleContext
- func (*FieldContext) IsFieldContext()
- func (s *FieldContext) Keyword() IKeywordContext
- func (s *FieldContext) STRING() antlr.TerminalNode
- func (s *FieldContext) SetId(v ITextContext)
- func (s *FieldContext) SetQuotedText(v antlr.Token)
- func (s *FieldContext) Text() ITextContext
- func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FilterContext
- func (s *FilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterContext) AllWS() []antlr.TerminalNode
- func (s *FilterContext) EOF() antlr.TerminalNode
- func (s *FilterContext) Expression() IExpressionContext
- func (s *FilterContext) GetParser() antlr.Parser
- func (s *FilterContext) GetRuleContext() antlr.RuleContext
- func (*FilterContext) IsFilterContext()
- func (s *FilterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FilterContext) WS(i int) antlr.TerminalNode
- type FilterExpression
- func (p *FilterExpression) AndOp() (localctx IAndOpContext)
- func (p *FilterExpression) ArgList() (localctx IArgListContext)
- func (p *FilterExpression) Comparable() (localctx IComparableContext)
- func (p *FilterExpression) Comparator() (localctx IComparatorContext)
- func (p *FilterExpression) Composite() (localctx ICompositeContext)
- func (p *FilterExpression) Expression() (localctx IExpressionContext)
- func (p *FilterExpression) Factor() (localctx IFactorContext)
- func (p *FilterExpression) Field() (localctx IFieldContext)
- func (p *FilterExpression) Filter() (localctx IFilterContext)
- func (p *FilterExpression) FloatVal() (localctx IFloatValContext)
- func (p *FilterExpression) IntVal() (localctx IIntValContext)
- func (p *FilterExpression) Keyword() (localctx IKeywordContext)
- func (p *FilterExpression) NotOp() (localctx INotOpContext)
- func (p *FilterExpression) Number() (localctx INumberContext)
- func (p *FilterExpression) OrOp() (localctx IOrOpContext)
- func (p *FilterExpression) Primary() (localctx IPrimaryContext)
- func (p *FilterExpression) Restriction() (localctx IRestrictionContext)
- func (p *FilterExpression) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *FilterExpression) Sep() (localctx ISepContext)
- func (p *FilterExpression) Sequence() (localctx ISequenceContext)
- func (p *FilterExpression) Term() (localctx ITermContext)
- func (p *FilterExpression) Text() (localctx ITextContext)
- func (p *FilterExpression) Value() (localctx IValueContext)
- func (p *FilterExpression) Value_Sempred(localctx antlr.RuleContext, predIndex int) bool
- type FilterExpressionLexer
- type FilterExpressionVisitor
- type FloatValContext
- func (s *FloatValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FloatValContext) AllDIGIT() []antlr.TerminalNode
- func (s *FloatValContext) DIGIT(i int) antlr.TerminalNode
- func (s *FloatValContext) DOT() antlr.TerminalNode
- func (s *FloatValContext) EXPONENT() antlr.TerminalNode
- func (s *FloatValContext) GetParser() antlr.Parser
- func (s *FloatValContext) GetRuleContext() antlr.RuleContext
- func (*FloatValContext) IsFloatValContext()
- func (s *FloatValContext) MINUS() antlr.TerminalNode
- func (s *FloatValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAndOpContext
- type IArgListContext
- type IComparableContext
- type IComparatorContext
- type ICompositeContext
- type IExpressionContext
- type IFactorContext
- type IFieldContext
- type IFilterContext
- type IFloatValContext
- type IIntValContext
- type IKeywordContext
- type INotOpContext
- type INumberContext
- type IOrOpContext
- type IPrimaryContext
- type IRestrictionContext
- type ISepContext
- type ISequenceContext
- type ITermContext
- type ITextContext
- type IValueContext
- type IdentOrGlobalCallContext
- func (s *IdentOrGlobalCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentOrGlobalCallContext) ArgList() IArgListContext
- func (s *IdentOrGlobalCallContext) GetId() ITextContext
- func (s *IdentOrGlobalCallContext) GetOpen() antlr.Token
- func (s *IdentOrGlobalCallContext) GetRuleContext() antlr.RuleContext
- func (s *IdentOrGlobalCallContext) LPAREN() antlr.TerminalNode
- func (s *IdentOrGlobalCallContext) RPAREN() antlr.TerminalNode
- func (s *IdentOrGlobalCallContext) SetId(v ITextContext)
- func (s *IdentOrGlobalCallContext) SetOpen(v antlr.Token)
- func (s *IdentOrGlobalCallContext) Text() ITextContext
- type IntValContext
- func (s *IntValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IntValContext) AllDIGIT() []antlr.TerminalNode
- func (s *IntValContext) DIGIT(i int) antlr.TerminalNode
- func (s *IntValContext) GetParser() antlr.Parser
- func (s *IntValContext) GetRuleContext() antlr.RuleContext
- func (s *IntValContext) HEX_DIGIT() antlr.TerminalNode
- func (*IntValContext) IsIntValContext()
- func (s *IntValContext) MINUS() antlr.TerminalNode
- func (s *IntValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type KeywordContext
- func (s *KeywordContext) AND() antlr.TerminalNode
- func (s *KeywordContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *KeywordContext) GetParser() antlr.Parser
- func (s *KeywordContext) GetRuleContext() antlr.RuleContext
- func (*KeywordContext) IsKeywordContext()
- func (s *KeywordContext) NOT() antlr.TerminalNode
- func (s *KeywordContext) OR() antlr.TerminalNode
- func (s *KeywordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NestedExprContext
- type NotOpContext
- func (s *NotOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NotOpContext) AllWS() []antlr.TerminalNode
- func (s *NotOpContext) GetParser() antlr.Parser
- func (s *NotOpContext) GetRuleContext() antlr.RuleContext
- func (*NotOpContext) IsNotOpContext()
- func (s *NotOpContext) MINUS() antlr.TerminalNode
- func (s *NotOpContext) NOT() antlr.TerminalNode
- func (s *NotOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *NotOpContext) WS(i int) antlr.TerminalNode
- type NumberContext
- func (s *NumberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NumberContext) FloatVal() IFloatValContext
- func (s *NumberContext) GetParser() antlr.Parser
- func (s *NumberContext) GetRuleContext() antlr.RuleContext
- func (s *NumberContext) IntVal() IIntValContext
- func (*NumberContext) IsNumberContext()
- func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OrOpContext
- func (s *OrOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OrOpContext) AllWS() []antlr.TerminalNode
- func (s *OrOpContext) GetParser() antlr.Parser
- func (s *OrOpContext) GetRuleContext() antlr.RuleContext
- func (*OrOpContext) IsOrOpContext()
- func (s *OrOpContext) OR() antlr.TerminalNode
- func (s *OrOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *OrOpContext) WS(i int) antlr.TerminalNode
- type PrimaryContext
- type PrimaryExprContext
- type RestrictionContext
- func (s *RestrictionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RestrictionContext) AllComparable() []IComparableContext
- func (s *RestrictionContext) AllWS() []antlr.TerminalNode
- func (s *RestrictionContext) Comparable(i int) IComparableContext
- func (s *RestrictionContext) Comparator() IComparatorContext
- func (s *RestrictionContext) GetExpr() IComparableContext
- func (s *RestrictionContext) GetOp() IComparatorContext
- func (s *RestrictionContext) GetParser() antlr.Parser
- func (s *RestrictionContext) GetRest() IComparableContext
- func (s *RestrictionContext) GetRuleContext() antlr.RuleContext
- func (*RestrictionContext) IsRestrictionContext()
- func (s *RestrictionContext) SetExpr(v IComparableContext)
- func (s *RestrictionContext) SetOp(v IComparatorContext)
- func (s *RestrictionContext) SetRest(v IComparableContext)
- func (s *RestrictionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RestrictionContext) WS(i int) antlr.TerminalNode
- type SelectOrCallContext
- func (s *SelectOrCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SelectOrCallContext) ArgList() IArgListContext
- func (s *SelectOrCallContext) DOT() antlr.TerminalNode
- func (s *SelectOrCallContext) Field() IFieldContext
- func (s *SelectOrCallContext) GetOp() antlr.Token
- func (s *SelectOrCallContext) GetOpen() antlr.Token
- func (s *SelectOrCallContext) GetRuleContext() antlr.RuleContext
- func (s *SelectOrCallContext) LPAREN() antlr.TerminalNode
- func (s *SelectOrCallContext) RPAREN() antlr.TerminalNode
- func (s *SelectOrCallContext) SetOp(v antlr.Token)
- func (s *SelectOrCallContext) SetOpen(v antlr.Token)
- func (s *SelectOrCallContext) Value() IValueContext
- type SepContext
- func (s *SepContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SepContext) AllWS() []antlr.TerminalNode
- func (s *SepContext) COMMA() antlr.TerminalNode
- func (s *SepContext) GetParser() antlr.Parser
- func (s *SepContext) GetRuleContext() antlr.RuleContext
- func (*SepContext) IsSepContext()
- func (s *SepContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SepContext) WS(i int) antlr.TerminalNode
- type SequenceContext
- func (s *SequenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SequenceContext) AllFactor() []IFactorContext
- func (s *SequenceContext) AllWS() []antlr.TerminalNode
- func (s *SequenceContext) Factor(i int) IFactorContext
- func (s *SequenceContext) GetExpr() IFactorContext
- func (s *SequenceContext) GetParser() antlr.Parser
- func (s *SequenceContext) GetRest() []IFactorContext
- func (s *SequenceContext) GetRuleContext() antlr.RuleContext
- func (s *SequenceContext) Get_factor() IFactorContext
- func (*SequenceContext) IsSequenceContext()
- func (s *SequenceContext) SetExpr(v IFactorContext)
- func (s *SequenceContext) SetRest(v []IFactorContext)
- func (s *SequenceContext) Set_factor(v IFactorContext)
- func (s *SequenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SequenceContext) WS(i int) antlr.TerminalNode
- type StringValContext
- func (s *StringValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StringValContext) GetQuotedText() antlr.Token
- func (s *StringValContext) GetRuleContext() antlr.RuleContext
- func (s *StringValContext) STRING() antlr.TerminalNode
- func (s *StringValContext) SetQuotedText(v antlr.Token)
- type TermContext
- func (s *TermContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TermContext) GetExpr() IRestrictionContext
- func (s *TermContext) GetOp() INotOpContext
- func (s *TermContext) GetParser() antlr.Parser
- func (s *TermContext) GetRuleContext() antlr.RuleContext
- func (*TermContext) IsTermContext()
- func (s *TermContext) NotOp() INotOpContext
- func (s *TermContext) Restriction() IRestrictionContext
- func (s *TermContext) SetExpr(v IRestrictionContext)
- func (s *TermContext) SetOp(v INotOpContext)
- func (s *TermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TextContext
- func (s *TextContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TextContext) AllDIGIT() []antlr.TerminalNode
- func (s *TextContext) AllEXCLAIM() []antlr.TerminalNode
- func (s *TextContext) AllMINUS() []antlr.TerminalNode
- func (s *TextContext) AllTEXT() []antlr.TerminalNode
- func (s *TextContext) DIGIT(i int) antlr.TerminalNode
- func (s *TextContext) EXCLAIM(i int) antlr.TerminalNode
- func (s *TextContext) GetParser() antlr.Parser
- func (s *TextContext) GetRuleContext() antlr.RuleContext
- func (*TextContext) IsTextContext()
- func (s *TextContext) MINUS(i int) antlr.TerminalNode
- func (s *TextContext) TEXT(i int) antlr.TerminalNode
- func (s *TextContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ValueContext
Constants ¶
const ( FilterExpressionLexerDOT = 1 FilterExpressionLexerHAS = 2 FilterExpressionLexerOR = 3 FilterExpressionLexerAND = 4 FilterExpressionLexerNOT = 5 FilterExpressionLexerLPAREN = 6 FilterExpressionLexerRPAREN = 7 FilterExpressionLexerLBRACE = 8 FilterExpressionLexerRBRACE = 9 FilterExpressionLexerLBRACKET = 10 FilterExpressionLexerRBRACKET = 11 FilterExpressionLexerCOMMA = 12 FilterExpressionLexerLESS_THAN = 13 FilterExpressionLexerLESS_EQUALS = 14 FilterExpressionLexerGREATER_THAN = 15 FilterExpressionLexerGREATER_EQUALS = 16 FilterExpressionLexerNOT_EQUALS = 17 FilterExpressionLexerEQUALS = 18 FilterExpressionLexerEXCLAIM = 19 FilterExpressionLexerMINUS = 20 FilterExpressionLexerPLUS = 21 FilterExpressionLexerSTRING = 22 FilterExpressionLexerWS = 23 FilterExpressionLexerDIGIT = 24 FilterExpressionLexerHEX_DIGIT = 25 FilterExpressionLexerEXPONENT = 26 FilterExpressionLexerTEXT = 27 FilterExpressionLexerBACKSLASH = 28 )
FilterExpressionLexer tokens.
const ( FilterExpressionEOF = antlr.TokenEOF FilterExpressionDOT = 1 FilterExpressionHAS = 2 FilterExpressionOR = 3 FilterExpressionAND = 4 FilterExpressionNOT = 5 FilterExpressionLPAREN = 6 FilterExpressionRPAREN = 7 FilterExpressionLBRACE = 8 FilterExpressionRBRACE = 9 FilterExpressionLBRACKET = 10 FilterExpressionRBRACKET = 11 FilterExpressionCOMMA = 12 FilterExpressionLESS_THAN = 13 FilterExpressionLESS_EQUALS = 14 FilterExpressionGREATER_THAN = 15 FilterExpressionGREATER_EQUALS = 16 FilterExpressionNOT_EQUALS = 17 FilterExpressionEQUALS = 18 FilterExpressionEXCLAIM = 19 FilterExpressionMINUS = 20 FilterExpressionPLUS = 21 FilterExpressionSTRING = 22 FilterExpressionWS = 23 FilterExpressionDIGIT = 24 FilterExpressionHEX_DIGIT = 25 FilterExpressionEXPONENT = 26 FilterExpressionTEXT = 27 FilterExpressionBACKSLASH = 28 )
FilterExpression tokens.
const ( FilterExpressionRULE_filter = 0 FilterExpressionRULE_expression = 1 FilterExpressionRULE_sequence = 2 FilterExpressionRULE_factor = 3 FilterExpressionRULE_term = 4 FilterExpressionRULE_restriction = 5 FilterExpressionRULE_comparable = 6 FilterExpressionRULE_comparator = 7 FilterExpressionRULE_value = 8 FilterExpressionRULE_primary = 9 FilterExpressionRULE_argList = 10 FilterExpressionRULE_composite = 11 FilterExpressionRULE_text = 12 FilterExpressionRULE_field = 13 FilterExpressionRULE_number = 14 FilterExpressionRULE_intVal = 15 FilterExpressionRULE_floatVal = 16 FilterExpressionRULE_notOp = 17 FilterExpressionRULE_andOp = 18 FilterExpressionRULE_orOp = 19 FilterExpressionRULE_sep = 20 FilterExpressionRULE_keyword = 21 )
FilterExpression rules.
Variables ¶
This section is empty.
Functions ¶
func FilterExpressionInit ¶ added in v0.2.2
func FilterExpressionInit()
FilterExpressionInit initializes any static state used to implement FilterExpression. By default the static state used to implement the parser is lazily initialized during the first call to NewFilterExpression(). You can call this function if you wish to initialize the static state ahead of time.
func FilterExpressionLexerInit ¶ added in v0.2.2
func FilterExpressionLexerInit()
FilterExpressionLexerInit initializes any static state used to implement FilterExpressionLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewFilterExpressionLexer(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type AndOpContext ¶
type AndOpContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAndOpContext ¶
func NewAndOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AndOpContext
func NewEmptyAndOpContext ¶
func NewEmptyAndOpContext() *AndOpContext
func (*AndOpContext) AND ¶
func (s *AndOpContext) AND() antlr.TerminalNode
func (*AndOpContext) Accept ¶
func (s *AndOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AndOpContext) AllWS ¶
func (s *AndOpContext) AllWS() []antlr.TerminalNode
func (*AndOpContext) GetParser ¶
func (s *AndOpContext) GetParser() antlr.Parser
func (*AndOpContext) GetRuleContext ¶
func (s *AndOpContext) GetRuleContext() antlr.RuleContext
func (*AndOpContext) IsAndOpContext ¶
func (*AndOpContext) IsAndOpContext()
func (*AndOpContext) ToStringTree ¶
func (s *AndOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AndOpContext) WS ¶
func (s *AndOpContext) WS(i int) antlr.TerminalNode
type ArgListContext ¶
type ArgListContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgListContext ¶
func NewArgListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgListContext
func NewEmptyArgListContext ¶
func NewEmptyArgListContext() *ArgListContext
func (*ArgListContext) Accept ¶
func (s *ArgListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ArgListContext) AllComparable ¶
func (s *ArgListContext) AllComparable() []IComparableContext
func (*ArgListContext) AllSep ¶
func (s *ArgListContext) AllSep() []ISepContext
func (*ArgListContext) AllWS ¶
func (s *ArgListContext) AllWS() []antlr.TerminalNode
func (*ArgListContext) Comparable ¶
func (s *ArgListContext) Comparable(i int) IComparableContext
func (*ArgListContext) GetArgs ¶
func (s *ArgListContext) GetArgs() []IComparableContext
func (*ArgListContext) GetParser ¶
func (s *ArgListContext) GetParser() antlr.Parser
func (*ArgListContext) GetRuleContext ¶
func (s *ArgListContext) GetRuleContext() antlr.RuleContext
func (*ArgListContext) Get_comparable ¶
func (s *ArgListContext) Get_comparable() IComparableContext
func (*ArgListContext) IsArgListContext ¶
func (*ArgListContext) IsArgListContext()
func (*ArgListContext) Sep ¶
func (s *ArgListContext) Sep(i int) ISepContext
func (*ArgListContext) SetArgs ¶
func (s *ArgListContext) SetArgs(v []IComparableContext)
func (*ArgListContext) Set_comparable ¶
func (s *ArgListContext) Set_comparable(v IComparableContext)
func (*ArgListContext) ToStringTree ¶
func (s *ArgListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ArgListContext) WS ¶
func (s *ArgListContext) WS(i int) antlr.TerminalNode
type BaseFilterExpressionVisitor ¶
type BaseFilterExpressionVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseFilterExpressionVisitor) VisitAndOp ¶
func (v *BaseFilterExpressionVisitor) VisitAndOp(ctx *AndOpContext) interface{}
func (*BaseFilterExpressionVisitor) VisitArgList ¶
func (v *BaseFilterExpressionVisitor) VisitArgList(ctx *ArgListContext) interface{}
func (*BaseFilterExpressionVisitor) VisitComparable ¶
func (v *BaseFilterExpressionVisitor) VisitComparable(ctx *ComparableContext) interface{}
func (*BaseFilterExpressionVisitor) VisitComparator ¶
func (v *BaseFilterExpressionVisitor) VisitComparator(ctx *ComparatorContext) interface{}
func (*BaseFilterExpressionVisitor) VisitComposite ¶
func (v *BaseFilterExpressionVisitor) VisitComposite(ctx *CompositeContext) interface{}
func (*BaseFilterExpressionVisitor) VisitDynamicIndex ¶
func (v *BaseFilterExpressionVisitor) VisitDynamicIndex(ctx *DynamicIndexContext) interface{}
func (*BaseFilterExpressionVisitor) VisitExpression ¶
func (v *BaseFilterExpressionVisitor) VisitExpression(ctx *ExpressionContext) interface{}
func (*BaseFilterExpressionVisitor) VisitFactor ¶
func (v *BaseFilterExpressionVisitor) VisitFactor(ctx *FactorContext) interface{}
func (*BaseFilterExpressionVisitor) VisitField ¶
func (v *BaseFilterExpressionVisitor) VisitField(ctx *FieldContext) interface{}
func (*BaseFilterExpressionVisitor) VisitFilter ¶
func (v *BaseFilterExpressionVisitor) VisitFilter(ctx *FilterContext) interface{}
func (*BaseFilterExpressionVisitor) VisitFloatVal ¶
func (v *BaseFilterExpressionVisitor) VisitFloatVal(ctx *FloatValContext) interface{}
func (*BaseFilterExpressionVisitor) VisitIdentOrGlobalCall ¶
func (v *BaseFilterExpressionVisitor) VisitIdentOrGlobalCall(ctx *IdentOrGlobalCallContext) interface{}
func (*BaseFilterExpressionVisitor) VisitIntVal ¶
func (v *BaseFilterExpressionVisitor) VisitIntVal(ctx *IntValContext) interface{}
func (*BaseFilterExpressionVisitor) VisitKeyword ¶
func (v *BaseFilterExpressionVisitor) VisitKeyword(ctx *KeywordContext) interface{}
func (*BaseFilterExpressionVisitor) VisitNestedExpr ¶
func (v *BaseFilterExpressionVisitor) VisitNestedExpr(ctx *NestedExprContext) interface{}
func (*BaseFilterExpressionVisitor) VisitNotOp ¶
func (v *BaseFilterExpressionVisitor) VisitNotOp(ctx *NotOpContext) interface{}
func (*BaseFilterExpressionVisitor) VisitNumber ¶
func (v *BaseFilterExpressionVisitor) VisitNumber(ctx *NumberContext) interface{}
func (*BaseFilterExpressionVisitor) VisitOrOp ¶
func (v *BaseFilterExpressionVisitor) VisitOrOp(ctx *OrOpContext) interface{}
func (*BaseFilterExpressionVisitor) VisitPrimaryExpr ¶
func (v *BaseFilterExpressionVisitor) VisitPrimaryExpr(ctx *PrimaryExprContext) interface{}
func (*BaseFilterExpressionVisitor) VisitRestriction ¶
func (v *BaseFilterExpressionVisitor) VisitRestriction(ctx *RestrictionContext) interface{}
func (*BaseFilterExpressionVisitor) VisitSelectOrCall ¶
func (v *BaseFilterExpressionVisitor) VisitSelectOrCall(ctx *SelectOrCallContext) interface{}
func (*BaseFilterExpressionVisitor) VisitSep ¶
func (v *BaseFilterExpressionVisitor) VisitSep(ctx *SepContext) interface{}
func (*BaseFilterExpressionVisitor) VisitSequence ¶
func (v *BaseFilterExpressionVisitor) VisitSequence(ctx *SequenceContext) interface{}
func (*BaseFilterExpressionVisitor) VisitStringVal ¶
func (v *BaseFilterExpressionVisitor) VisitStringVal(ctx *StringValContext) interface{}
func (*BaseFilterExpressionVisitor) VisitTerm ¶
func (v *BaseFilterExpressionVisitor) VisitTerm(ctx *TermContext) interface{}
func (*BaseFilterExpressionVisitor) VisitText ¶
func (v *BaseFilterExpressionVisitor) VisitText(ctx *TextContext) interface{}
type ComparableContext ¶
type ComparableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewComparableContext ¶
func NewComparableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparableContext
func NewEmptyComparableContext ¶
func NewEmptyComparableContext() *ComparableContext
func (*ComparableContext) Accept ¶
func (s *ComparableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ComparableContext) GetParser ¶
func (s *ComparableContext) GetParser() antlr.Parser
func (*ComparableContext) GetRuleContext ¶
func (s *ComparableContext) GetRuleContext() antlr.RuleContext
func (*ComparableContext) IsComparableContext ¶
func (*ComparableContext) IsComparableContext()
func (*ComparableContext) Number ¶
func (s *ComparableContext) Number() INumberContext
func (*ComparableContext) ToStringTree ¶
func (s *ComparableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ComparableContext) Value ¶
func (s *ComparableContext) Value() IValueContext
type ComparatorContext ¶
type ComparatorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewComparatorContext ¶
func NewComparatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparatorContext
func NewEmptyComparatorContext ¶
func NewEmptyComparatorContext() *ComparatorContext
func (*ComparatorContext) Accept ¶
func (s *ComparatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ComparatorContext) EQUALS ¶
func (s *ComparatorContext) EQUALS() antlr.TerminalNode
func (*ComparatorContext) GREATER_EQUALS ¶
func (s *ComparatorContext) GREATER_EQUALS() antlr.TerminalNode
func (*ComparatorContext) GREATER_THAN ¶
func (s *ComparatorContext) GREATER_THAN() antlr.TerminalNode
func (*ComparatorContext) GetParser ¶
func (s *ComparatorContext) GetParser() antlr.Parser
func (*ComparatorContext) GetRuleContext ¶
func (s *ComparatorContext) GetRuleContext() antlr.RuleContext
func (*ComparatorContext) HAS ¶
func (s *ComparatorContext) HAS() antlr.TerminalNode
func (*ComparatorContext) IsComparatorContext ¶
func (*ComparatorContext) IsComparatorContext()
func (*ComparatorContext) LESS_EQUALS ¶
func (s *ComparatorContext) LESS_EQUALS() antlr.TerminalNode
func (*ComparatorContext) LESS_THAN ¶
func (s *ComparatorContext) LESS_THAN() antlr.TerminalNode
func (*ComparatorContext) NOT_EQUALS ¶
func (s *ComparatorContext) NOT_EQUALS() antlr.TerminalNode
func (*ComparatorContext) ToStringTree ¶
func (s *ComparatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CompositeContext ¶
type CompositeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCompositeContext ¶
func NewCompositeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompositeContext
func NewEmptyCompositeContext ¶
func NewEmptyCompositeContext() *CompositeContext
func (*CompositeContext) Accept ¶
func (s *CompositeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CompositeContext) AllWS ¶
func (s *CompositeContext) AllWS() []antlr.TerminalNode
func (*CompositeContext) Expression ¶
func (s *CompositeContext) Expression() IExpressionContext
func (*CompositeContext) GetParser ¶
func (s *CompositeContext) GetParser() antlr.Parser
func (*CompositeContext) GetRuleContext ¶
func (s *CompositeContext) GetRuleContext() antlr.RuleContext
func (*CompositeContext) IsCompositeContext ¶
func (*CompositeContext) IsCompositeContext()
func (*CompositeContext) LPAREN ¶
func (s *CompositeContext) LPAREN() antlr.TerminalNode
func (*CompositeContext) RPAREN ¶
func (s *CompositeContext) RPAREN() antlr.TerminalNode
func (*CompositeContext) ToStringTree ¶
func (s *CompositeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CompositeContext) WS ¶
func (s *CompositeContext) WS(i int) antlr.TerminalNode
type DynamicIndexContext ¶
type DynamicIndexContext struct { *ValueContext // contains filtered or unexported fields }
func NewDynamicIndexContext ¶
func NewDynamicIndexContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DynamicIndexContext
func (*DynamicIndexContext) Accept ¶
func (s *DynamicIndexContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DynamicIndexContext) AllWS ¶
func (s *DynamicIndexContext) AllWS() []antlr.TerminalNode
func (*DynamicIndexContext) Comparable ¶
func (s *DynamicIndexContext) Comparable() IComparableContext
func (*DynamicIndexContext) GetIndex ¶
func (s *DynamicIndexContext) GetIndex() IComparableContext
func (*DynamicIndexContext) GetOp ¶
func (s *DynamicIndexContext) GetOp() antlr.Token
func (*DynamicIndexContext) GetRuleContext ¶
func (s *DynamicIndexContext) GetRuleContext() antlr.RuleContext
func (*DynamicIndexContext) LBRACE ¶
func (s *DynamicIndexContext) LBRACE() antlr.TerminalNode
func (*DynamicIndexContext) RBRACE ¶
func (s *DynamicIndexContext) RBRACE() antlr.TerminalNode
func (*DynamicIndexContext) SetIndex ¶
func (s *DynamicIndexContext) SetIndex(v IComparableContext)
func (*DynamicIndexContext) SetOp ¶
func (s *DynamicIndexContext) SetOp(v antlr.Token)
func (*DynamicIndexContext) Value ¶
func (s *DynamicIndexContext) Value() IValueContext
func (*DynamicIndexContext) WS ¶
func (s *DynamicIndexContext) WS(i int) antlr.TerminalNode
type ExpressionContext ¶
type ExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionContext ¶
func NewEmptyExpressionContext() *ExpressionContext
func NewExpressionContext ¶
func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext
func (*ExpressionContext) Accept ¶
func (s *ExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExpressionContext) AllAndOp ¶
func (s *ExpressionContext) AllAndOp() []IAndOpContext
func (*ExpressionContext) AllSequence ¶
func (s *ExpressionContext) AllSequence() []ISequenceContext
func (*ExpressionContext) AndOp ¶
func (s *ExpressionContext) AndOp(i int) IAndOpContext
func (*ExpressionContext) GetExpr ¶
func (s *ExpressionContext) GetExpr() ISequenceContext
func (*ExpressionContext) GetOp ¶
func (s *ExpressionContext) GetOp() []IAndOpContext
func (*ExpressionContext) GetParser ¶
func (s *ExpressionContext) GetParser() antlr.Parser
func (*ExpressionContext) GetRest ¶
func (s *ExpressionContext) GetRest() []ISequenceContext
func (*ExpressionContext) GetRuleContext ¶
func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
func (*ExpressionContext) Get_andOp ¶
func (s *ExpressionContext) Get_andOp() IAndOpContext
func (*ExpressionContext) Get_sequence ¶
func (s *ExpressionContext) Get_sequence() ISequenceContext
func (*ExpressionContext) IsExpressionContext ¶
func (*ExpressionContext) IsExpressionContext()
func (*ExpressionContext) Sequence ¶
func (s *ExpressionContext) Sequence(i int) ISequenceContext
func (*ExpressionContext) SetExpr ¶
func (s *ExpressionContext) SetExpr(v ISequenceContext)
func (*ExpressionContext) SetOp ¶
func (s *ExpressionContext) SetOp(v []IAndOpContext)
func (*ExpressionContext) SetRest ¶
func (s *ExpressionContext) SetRest(v []ISequenceContext)
func (*ExpressionContext) Set_andOp ¶
func (s *ExpressionContext) Set_andOp(v IAndOpContext)
func (*ExpressionContext) Set_sequence ¶
func (s *ExpressionContext) Set_sequence(v ISequenceContext)
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FactorContext ¶
type FactorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFactorContext ¶
func NewEmptyFactorContext() *FactorContext
func NewFactorContext ¶
func NewFactorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FactorContext
func (*FactorContext) Accept ¶
func (s *FactorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FactorContext) AllOrOp ¶
func (s *FactorContext) AllOrOp() []IOrOpContext
func (*FactorContext) AllTerm ¶
func (s *FactorContext) AllTerm() []ITermContext
func (*FactorContext) GetExpr ¶
func (s *FactorContext) GetExpr() ITermContext
func (*FactorContext) GetOp ¶
func (s *FactorContext) GetOp() []IOrOpContext
func (*FactorContext) GetParser ¶
func (s *FactorContext) GetParser() antlr.Parser
func (*FactorContext) GetRest ¶
func (s *FactorContext) GetRest() []ITermContext
func (*FactorContext) GetRuleContext ¶
func (s *FactorContext) GetRuleContext() antlr.RuleContext
func (*FactorContext) Get_orOp ¶
func (s *FactorContext) Get_orOp() IOrOpContext
func (*FactorContext) Get_term ¶
func (s *FactorContext) Get_term() ITermContext
func (*FactorContext) IsFactorContext ¶
func (*FactorContext) IsFactorContext()
func (*FactorContext) OrOp ¶
func (s *FactorContext) OrOp(i int) IOrOpContext
func (*FactorContext) SetExpr ¶
func (s *FactorContext) SetExpr(v ITermContext)
func (*FactorContext) SetOp ¶
func (s *FactorContext) SetOp(v []IOrOpContext)
func (*FactorContext) SetRest ¶
func (s *FactorContext) SetRest(v []ITermContext)
func (*FactorContext) Set_orOp ¶
func (s *FactorContext) Set_orOp(v IOrOpContext)
func (*FactorContext) Set_term ¶
func (s *FactorContext) Set_term(v ITermContext)
func (*FactorContext) Term ¶
func (s *FactorContext) Term(i int) ITermContext
func (*FactorContext) ToStringTree ¶
func (s *FactorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FieldContext ¶
type FieldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFieldContext ¶
func NewEmptyFieldContext() *FieldContext
func NewFieldContext ¶
func NewFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldContext
func (*FieldContext) Accept ¶
func (s *FieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FieldContext) GetId ¶
func (s *FieldContext) GetId() ITextContext
func (*FieldContext) GetParser ¶
func (s *FieldContext) GetParser() antlr.Parser
func (*FieldContext) GetQuotedText ¶
func (s *FieldContext) GetQuotedText() antlr.Token
func (*FieldContext) GetRuleContext ¶
func (s *FieldContext) GetRuleContext() antlr.RuleContext
func (*FieldContext) IsFieldContext ¶
func (*FieldContext) IsFieldContext()
func (*FieldContext) Keyword ¶
func (s *FieldContext) Keyword() IKeywordContext
func (*FieldContext) STRING ¶
func (s *FieldContext) STRING() antlr.TerminalNode
func (*FieldContext) SetId ¶
func (s *FieldContext) SetId(v ITextContext)
func (*FieldContext) SetQuotedText ¶
func (s *FieldContext) SetQuotedText(v antlr.Token)
func (*FieldContext) Text ¶
func (s *FieldContext) Text() ITextContext
func (*FieldContext) ToStringTree ¶
func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FilterContext ¶
type FilterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFilterContext ¶
func NewEmptyFilterContext() *FilterContext
func NewFilterContext ¶
func NewFilterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterContext
func (*FilterContext) Accept ¶
func (s *FilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterContext) AllWS ¶
func (s *FilterContext) AllWS() []antlr.TerminalNode
func (*FilterContext) EOF ¶
func (s *FilterContext) EOF() antlr.TerminalNode
func (*FilterContext) Expression ¶
func (s *FilterContext) Expression() IExpressionContext
func (*FilterContext) GetParser ¶
func (s *FilterContext) GetParser() antlr.Parser
func (*FilterContext) GetRuleContext ¶
func (s *FilterContext) GetRuleContext() antlr.RuleContext
func (*FilterContext) IsFilterContext ¶
func (*FilterContext) IsFilterContext()
func (*FilterContext) ToStringTree ¶
func (s *FilterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*FilterContext) WS ¶
func (s *FilterContext) WS(i int) antlr.TerminalNode
type FilterExpression ¶
type FilterExpression struct {
*antlr.BaseParser
}
func NewFilterExpression ¶
func NewFilterExpression(input antlr.TokenStream) *FilterExpression
NewFilterExpression produces a new parser instance for the optional input antlr.TokenStream.
func (*FilterExpression) AndOp ¶
func (p *FilterExpression) AndOp() (localctx IAndOpContext)
func (*FilterExpression) ArgList ¶
func (p *FilterExpression) ArgList() (localctx IArgListContext)
func (*FilterExpression) Comparable ¶
func (p *FilterExpression) Comparable() (localctx IComparableContext)
func (*FilterExpression) Comparator ¶
func (p *FilterExpression) Comparator() (localctx IComparatorContext)
func (*FilterExpression) Composite ¶
func (p *FilterExpression) Composite() (localctx ICompositeContext)
func (*FilterExpression) Expression ¶
func (p *FilterExpression) Expression() (localctx IExpressionContext)
func (*FilterExpression) Factor ¶
func (p *FilterExpression) Factor() (localctx IFactorContext)
func (*FilterExpression) Field ¶
func (p *FilterExpression) Field() (localctx IFieldContext)
func (*FilterExpression) Filter ¶
func (p *FilterExpression) Filter() (localctx IFilterContext)
func (*FilterExpression) FloatVal ¶
func (p *FilterExpression) FloatVal() (localctx IFloatValContext)
func (*FilterExpression) IntVal ¶
func (p *FilterExpression) IntVal() (localctx IIntValContext)
func (*FilterExpression) Keyword ¶
func (p *FilterExpression) Keyword() (localctx IKeywordContext)
func (*FilterExpression) NotOp ¶
func (p *FilterExpression) NotOp() (localctx INotOpContext)
func (*FilterExpression) Number ¶
func (p *FilterExpression) Number() (localctx INumberContext)
func (*FilterExpression) OrOp ¶
func (p *FilterExpression) OrOp() (localctx IOrOpContext)
func (*FilterExpression) Primary ¶
func (p *FilterExpression) Primary() (localctx IPrimaryContext)
func (*FilterExpression) Restriction ¶
func (p *FilterExpression) Restriction() (localctx IRestrictionContext)
func (*FilterExpression) Sempred ¶
func (p *FilterExpression) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*FilterExpression) Sep ¶
func (p *FilterExpression) Sep() (localctx ISepContext)
func (*FilterExpression) Sequence ¶
func (p *FilterExpression) Sequence() (localctx ISequenceContext)
func (*FilterExpression) Term ¶
func (p *FilterExpression) Term() (localctx ITermContext)
func (*FilterExpression) Text ¶
func (p *FilterExpression) Text() (localctx ITextContext)
func (*FilterExpression) Value ¶
func (p *FilterExpression) Value() (localctx IValueContext)
func (*FilterExpression) Value_Sempred ¶
func (p *FilterExpression) Value_Sempred(localctx antlr.RuleContext, predIndex int) bool
type FilterExpressionLexer ¶
type FilterExpressionLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewFilterExpressionLexer ¶
func NewFilterExpressionLexer(input antlr.CharStream) *FilterExpressionLexer
NewFilterExpressionLexer produces a new lexer instance for the optional input antlr.CharStream.
type FilterExpressionVisitor ¶
type FilterExpressionVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by FilterExpression#filter. VisitFilter(ctx *FilterContext) interface{} // Visit a parse tree produced by FilterExpression#expression. VisitExpression(ctx *ExpressionContext) interface{} // Visit a parse tree produced by FilterExpression#sequence. VisitSequence(ctx *SequenceContext) interface{} // Visit a parse tree produced by FilterExpression#factor. VisitFactor(ctx *FactorContext) interface{} // Visit a parse tree produced by FilterExpression#term. VisitTerm(ctx *TermContext) interface{} // Visit a parse tree produced by FilterExpression#restriction. VisitRestriction(ctx *RestrictionContext) interface{} // Visit a parse tree produced by FilterExpression#comparable. VisitComparable(ctx *ComparableContext) interface{} // Visit a parse tree produced by FilterExpression#comparator. VisitComparator(ctx *ComparatorContext) interface{} // Visit a parse tree produced by FilterExpression#SelectOrCall. VisitSelectOrCall(ctx *SelectOrCallContext) interface{} // Visit a parse tree produced by FilterExpression#DynamicIndex. VisitDynamicIndex(ctx *DynamicIndexContext) interface{} // Visit a parse tree produced by FilterExpression#PrimaryExpr. VisitPrimaryExpr(ctx *PrimaryExprContext) interface{} // Visit a parse tree produced by FilterExpression#NestedExpr. VisitNestedExpr(ctx *NestedExprContext) interface{} // Visit a parse tree produced by FilterExpression#IdentOrGlobalCall. VisitIdentOrGlobalCall(ctx *IdentOrGlobalCallContext) interface{} // Visit a parse tree produced by FilterExpression#StringVal. VisitStringVal(ctx *StringValContext) interface{} // Visit a parse tree produced by FilterExpression#argList. VisitArgList(ctx *ArgListContext) interface{} // Visit a parse tree produced by FilterExpression#composite. VisitComposite(ctx *CompositeContext) interface{} // Visit a parse tree produced by FilterExpression#text. VisitText(ctx *TextContext) interface{} // Visit a parse tree produced by FilterExpression#field. VisitField(ctx *FieldContext) interface{} // Visit a parse tree produced by FilterExpression#number. VisitNumber(ctx *NumberContext) interface{} // Visit a parse tree produced by FilterExpression#intVal. VisitIntVal(ctx *IntValContext) interface{} // Visit a parse tree produced by FilterExpression#floatVal. VisitFloatVal(ctx *FloatValContext) interface{} // Visit a parse tree produced by FilterExpression#notOp. VisitNotOp(ctx *NotOpContext) interface{} // Visit a parse tree produced by FilterExpression#andOp. VisitAndOp(ctx *AndOpContext) interface{} // Visit a parse tree produced by FilterExpression#orOp. VisitOrOp(ctx *OrOpContext) interface{} // Visit a parse tree produced by FilterExpression#sep. VisitSep(ctx *SepContext) interface{} // Visit a parse tree produced by FilterExpression#keyword. VisitKeyword(ctx *KeywordContext) interface{} }
A complete Visitor for a parse tree produced by FilterExpression.
type FloatValContext ¶
type FloatValContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFloatValContext ¶
func NewEmptyFloatValContext() *FloatValContext
func NewFloatValContext ¶
func NewFloatValContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FloatValContext
func (*FloatValContext) Accept ¶
func (s *FloatValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FloatValContext) AllDIGIT ¶
func (s *FloatValContext) AllDIGIT() []antlr.TerminalNode
func (*FloatValContext) DIGIT ¶
func (s *FloatValContext) DIGIT(i int) antlr.TerminalNode
func (*FloatValContext) DOT ¶
func (s *FloatValContext) DOT() antlr.TerminalNode
func (*FloatValContext) EXPONENT ¶
func (s *FloatValContext) EXPONENT() antlr.TerminalNode
func (*FloatValContext) GetParser ¶
func (s *FloatValContext) GetParser() antlr.Parser
func (*FloatValContext) GetRuleContext ¶
func (s *FloatValContext) GetRuleContext() antlr.RuleContext
func (*FloatValContext) IsFloatValContext ¶
func (*FloatValContext) IsFloatValContext()
func (*FloatValContext) MINUS ¶
func (s *FloatValContext) MINUS() antlr.TerminalNode
func (*FloatValContext) ToStringTree ¶
func (s *FloatValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAndOpContext ¶
type IAndOpContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAndOpContext differentiates from other interfaces. IsAndOpContext() }
IAndOpContext is an interface to support dynamic dispatch.
type IArgListContext ¶
type IArgListContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Get_comparable returns the _comparable rule contexts. Get_comparable() IComparableContext // Set_comparable sets the _comparable rule contexts. Set_comparable(IComparableContext) // GetArgs returns the args rule context list. GetArgs() []IComparableContext // SetArgs sets the args rule context list. SetArgs([]IComparableContext) // IsArgListContext differentiates from other interfaces. IsArgListContext() }
IArgListContext is an interface to support dynamic dispatch.
type IComparableContext ¶
type IComparableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsComparableContext differentiates from other interfaces. IsComparableContext() }
IComparableContext is an interface to support dynamic dispatch.
type IComparatorContext ¶
type IComparatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsComparatorContext differentiates from other interfaces. IsComparatorContext() }
IComparatorContext is an interface to support dynamic dispatch.
type ICompositeContext ¶
type ICompositeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCompositeContext differentiates from other interfaces. IsCompositeContext() }
ICompositeContext is an interface to support dynamic dispatch.
type IExpressionContext ¶
type IExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetExpr returns the expr rule contexts. GetExpr() ISequenceContext // Get_andOp returns the _andOp rule contexts. Get_andOp() IAndOpContext // Get_sequence returns the _sequence rule contexts. Get_sequence() ISequenceContext // SetExpr sets the expr rule contexts. SetExpr(ISequenceContext) // Set_andOp sets the _andOp rule contexts. Set_andOp(IAndOpContext) // Set_sequence sets the _sequence rule contexts. Set_sequence(ISequenceContext) // GetOp returns the op rule context list. GetOp() []IAndOpContext // GetRest returns the rest rule context list. GetRest() []ISequenceContext // SetOp sets the op rule context list. SetOp([]IAndOpContext) // SetRest sets the rest rule context list. SetRest([]ISequenceContext) // IsExpressionContext differentiates from other interfaces. IsExpressionContext() }
IExpressionContext is an interface to support dynamic dispatch.
type IFactorContext ¶
type IFactorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetExpr returns the expr rule contexts. GetExpr() ITermContext // Get_orOp returns the _orOp rule contexts. Get_orOp() IOrOpContext // Get_term returns the _term rule contexts. Get_term() ITermContext // SetExpr sets the expr rule contexts. SetExpr(ITermContext) // Set_orOp sets the _orOp rule contexts. Set_orOp(IOrOpContext) // Set_term sets the _term rule contexts. Set_term(ITermContext) // GetOp returns the op rule context list. GetOp() []IOrOpContext // GetRest returns the rest rule context list. GetRest() []ITermContext // SetOp sets the op rule context list. SetOp([]IOrOpContext) // SetRest sets the rest rule context list. SetRest([]ITermContext) // IsFactorContext differentiates from other interfaces. IsFactorContext() }
IFactorContext is an interface to support dynamic dispatch.
type IFieldContext ¶
type IFieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetQuotedText returns the quotedText token. GetQuotedText() antlr.Token // SetQuotedText sets the quotedText token. SetQuotedText(antlr.Token) // GetId returns the id rule contexts. GetId() ITextContext // SetId sets the id rule contexts. SetId(ITextContext) // IsFieldContext differentiates from other interfaces. IsFieldContext() }
IFieldContext is an interface to support dynamic dispatch.
type IFilterContext ¶
type IFilterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFilterContext differentiates from other interfaces. IsFilterContext() }
IFilterContext is an interface to support dynamic dispatch.
type IFloatValContext ¶
type IFloatValContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFloatValContext differentiates from other interfaces. IsFloatValContext() }
IFloatValContext is an interface to support dynamic dispatch.
type IIntValContext ¶
type IIntValContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIntValContext differentiates from other interfaces. IsIntValContext() }
IIntValContext is an interface to support dynamic dispatch.
type IKeywordContext ¶
type IKeywordContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsKeywordContext differentiates from other interfaces. IsKeywordContext() }
IKeywordContext is an interface to support dynamic dispatch.
type INotOpContext ¶
type INotOpContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNotOpContext differentiates from other interfaces. IsNotOpContext() }
INotOpContext is an interface to support dynamic dispatch.
type INumberContext ¶
type INumberContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNumberContext differentiates from other interfaces. IsNumberContext() }
INumberContext is an interface to support dynamic dispatch.
type IOrOpContext ¶
type IOrOpContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsOrOpContext differentiates from other interfaces. IsOrOpContext() }
IOrOpContext is an interface to support dynamic dispatch.
type IPrimaryContext ¶
type IPrimaryContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPrimaryContext differentiates from other interfaces. IsPrimaryContext() }
IPrimaryContext is an interface to support dynamic dispatch.
type IRestrictionContext ¶
type IRestrictionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetExpr returns the expr rule contexts. GetExpr() IComparableContext // GetOp returns the op rule contexts. GetOp() IComparatorContext // GetRest returns the rest rule contexts. GetRest() IComparableContext // SetExpr sets the expr rule contexts. SetExpr(IComparableContext) // SetOp sets the op rule contexts. SetOp(IComparatorContext) // SetRest sets the rest rule contexts. SetRest(IComparableContext) // IsRestrictionContext differentiates from other interfaces. IsRestrictionContext() }
IRestrictionContext is an interface to support dynamic dispatch.
type ISepContext ¶
type ISepContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSepContext differentiates from other interfaces. IsSepContext() }
ISepContext is an interface to support dynamic dispatch.
type ISequenceContext ¶
type ISequenceContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetExpr returns the expr rule contexts. GetExpr() IFactorContext // Get_factor returns the _factor rule contexts. Get_factor() IFactorContext // SetExpr sets the expr rule contexts. SetExpr(IFactorContext) // Set_factor sets the _factor rule contexts. Set_factor(IFactorContext) // GetRest returns the rest rule context list. GetRest() []IFactorContext // SetRest sets the rest rule context list. SetRest([]IFactorContext) // IsSequenceContext differentiates from other interfaces. IsSequenceContext() }
ISequenceContext is an interface to support dynamic dispatch.
type ITermContext ¶
type ITermContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetOp returns the op rule contexts. GetOp() INotOpContext // GetExpr returns the expr rule contexts. GetExpr() IRestrictionContext // SetOp sets the op rule contexts. SetOp(INotOpContext) // SetExpr sets the expr rule contexts. SetExpr(IRestrictionContext) // IsTermContext differentiates from other interfaces. IsTermContext() }
ITermContext is an interface to support dynamic dispatch.
type ITextContext ¶
type ITextContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTextContext differentiates from other interfaces. IsTextContext() }
ITextContext is an interface to support dynamic dispatch.
type IValueContext ¶
type IValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsValueContext differentiates from other interfaces. IsValueContext() }
IValueContext is an interface to support dynamic dispatch.
type IdentOrGlobalCallContext ¶
type IdentOrGlobalCallContext struct { *PrimaryContext // contains filtered or unexported fields }
func NewIdentOrGlobalCallContext ¶
func NewIdentOrGlobalCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentOrGlobalCallContext
func (*IdentOrGlobalCallContext) Accept ¶
func (s *IdentOrGlobalCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IdentOrGlobalCallContext) ArgList ¶
func (s *IdentOrGlobalCallContext) ArgList() IArgListContext
func (*IdentOrGlobalCallContext) GetId ¶
func (s *IdentOrGlobalCallContext) GetId() ITextContext
func (*IdentOrGlobalCallContext) GetOpen ¶
func (s *IdentOrGlobalCallContext) GetOpen() antlr.Token
func (*IdentOrGlobalCallContext) GetRuleContext ¶
func (s *IdentOrGlobalCallContext) GetRuleContext() antlr.RuleContext
func (*IdentOrGlobalCallContext) LPAREN ¶
func (s *IdentOrGlobalCallContext) LPAREN() antlr.TerminalNode
func (*IdentOrGlobalCallContext) RPAREN ¶
func (s *IdentOrGlobalCallContext) RPAREN() antlr.TerminalNode
func (*IdentOrGlobalCallContext) SetId ¶
func (s *IdentOrGlobalCallContext) SetId(v ITextContext)
func (*IdentOrGlobalCallContext) SetOpen ¶
func (s *IdentOrGlobalCallContext) SetOpen(v antlr.Token)
func (*IdentOrGlobalCallContext) Text ¶
func (s *IdentOrGlobalCallContext) Text() ITextContext
type IntValContext ¶
type IntValContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIntValContext ¶
func NewEmptyIntValContext() *IntValContext
func NewIntValContext ¶
func NewIntValContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntValContext
func (*IntValContext) Accept ¶
func (s *IntValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IntValContext) AllDIGIT ¶
func (s *IntValContext) AllDIGIT() []antlr.TerminalNode
func (*IntValContext) DIGIT ¶
func (s *IntValContext) DIGIT(i int) antlr.TerminalNode
func (*IntValContext) GetParser ¶
func (s *IntValContext) GetParser() antlr.Parser
func (*IntValContext) GetRuleContext ¶
func (s *IntValContext) GetRuleContext() antlr.RuleContext
func (*IntValContext) HEX_DIGIT ¶
func (s *IntValContext) HEX_DIGIT() antlr.TerminalNode
func (*IntValContext) IsIntValContext ¶
func (*IntValContext) IsIntValContext()
func (*IntValContext) MINUS ¶
func (s *IntValContext) MINUS() antlr.TerminalNode
func (*IntValContext) ToStringTree ¶
func (s *IntValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type KeywordContext ¶
type KeywordContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKeywordContext ¶
func NewEmptyKeywordContext() *KeywordContext
func NewKeywordContext ¶
func NewKeywordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeywordContext
func (*KeywordContext) AND ¶
func (s *KeywordContext) AND() antlr.TerminalNode
func (*KeywordContext) Accept ¶
func (s *KeywordContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*KeywordContext) GetParser ¶
func (s *KeywordContext) GetParser() antlr.Parser
func (*KeywordContext) GetRuleContext ¶
func (s *KeywordContext) GetRuleContext() antlr.RuleContext
func (*KeywordContext) IsKeywordContext ¶
func (*KeywordContext) IsKeywordContext()
func (*KeywordContext) NOT ¶
func (s *KeywordContext) NOT() antlr.TerminalNode
func (*KeywordContext) OR ¶
func (s *KeywordContext) OR() antlr.TerminalNode
func (*KeywordContext) ToStringTree ¶
func (s *KeywordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NestedExprContext ¶
type NestedExprContext struct {
*PrimaryContext
}
func NewNestedExprContext ¶
func NewNestedExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NestedExprContext
func (*NestedExprContext) Accept ¶
func (s *NestedExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NestedExprContext) Composite ¶
func (s *NestedExprContext) Composite() ICompositeContext
func (*NestedExprContext) GetRuleContext ¶
func (s *NestedExprContext) GetRuleContext() antlr.RuleContext
type NotOpContext ¶
type NotOpContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNotOpContext ¶
func NewEmptyNotOpContext() *NotOpContext
func NewNotOpContext ¶
func NewNotOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NotOpContext
func (*NotOpContext) Accept ¶
func (s *NotOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NotOpContext) AllWS ¶
func (s *NotOpContext) AllWS() []antlr.TerminalNode
func (*NotOpContext) GetParser ¶
func (s *NotOpContext) GetParser() antlr.Parser
func (*NotOpContext) GetRuleContext ¶
func (s *NotOpContext) GetRuleContext() antlr.RuleContext
func (*NotOpContext) IsNotOpContext ¶
func (*NotOpContext) IsNotOpContext()
func (*NotOpContext) MINUS ¶
func (s *NotOpContext) MINUS() antlr.TerminalNode
func (*NotOpContext) NOT ¶
func (s *NotOpContext) NOT() antlr.TerminalNode
func (*NotOpContext) ToStringTree ¶
func (s *NotOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*NotOpContext) WS ¶
func (s *NotOpContext) WS(i int) antlr.TerminalNode
type NumberContext ¶
type NumberContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNumberContext ¶
func NewEmptyNumberContext() *NumberContext
func NewNumberContext ¶
func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext
func (*NumberContext) Accept ¶
func (s *NumberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NumberContext) FloatVal ¶
func (s *NumberContext) FloatVal() IFloatValContext
func (*NumberContext) GetParser ¶
func (s *NumberContext) GetParser() antlr.Parser
func (*NumberContext) GetRuleContext ¶
func (s *NumberContext) GetRuleContext() antlr.RuleContext
func (*NumberContext) IntVal ¶
func (s *NumberContext) IntVal() IIntValContext
func (*NumberContext) IsNumberContext ¶
func (*NumberContext) IsNumberContext()
func (*NumberContext) ToStringTree ¶
func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OrOpContext ¶
type OrOpContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOrOpContext ¶
func NewEmptyOrOpContext() *OrOpContext
func NewOrOpContext ¶
func NewOrOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OrOpContext
func (*OrOpContext) Accept ¶
func (s *OrOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OrOpContext) AllWS ¶
func (s *OrOpContext) AllWS() []antlr.TerminalNode
func (*OrOpContext) GetParser ¶
func (s *OrOpContext) GetParser() antlr.Parser
func (*OrOpContext) GetRuleContext ¶
func (s *OrOpContext) GetRuleContext() antlr.RuleContext
func (*OrOpContext) IsOrOpContext ¶
func (*OrOpContext) IsOrOpContext()
func (*OrOpContext) OR ¶
func (s *OrOpContext) OR() antlr.TerminalNode
func (*OrOpContext) ToStringTree ¶
func (s *OrOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*OrOpContext) WS ¶
func (s *OrOpContext) WS(i int) antlr.TerminalNode
type PrimaryContext ¶
type PrimaryContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPrimaryContext ¶
func NewEmptyPrimaryContext() *PrimaryContext
func NewPrimaryContext ¶
func NewPrimaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryContext
func (*PrimaryContext) CopyFrom ¶
func (s *PrimaryContext) CopyFrom(ctx *PrimaryContext)
func (*PrimaryContext) GetParser ¶
func (s *PrimaryContext) GetParser() antlr.Parser
func (*PrimaryContext) GetRuleContext ¶
func (s *PrimaryContext) GetRuleContext() antlr.RuleContext
func (*PrimaryContext) IsPrimaryContext ¶
func (*PrimaryContext) IsPrimaryContext()
func (*PrimaryContext) ToStringTree ¶
func (s *PrimaryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PrimaryExprContext ¶
type PrimaryExprContext struct {
*ValueContext
}
func NewPrimaryExprContext ¶
func NewPrimaryExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PrimaryExprContext
func (*PrimaryExprContext) Accept ¶
func (s *PrimaryExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PrimaryExprContext) GetRuleContext ¶
func (s *PrimaryExprContext) GetRuleContext() antlr.RuleContext
func (*PrimaryExprContext) Primary ¶
func (s *PrimaryExprContext) Primary() IPrimaryContext
type RestrictionContext ¶
type RestrictionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRestrictionContext ¶
func NewEmptyRestrictionContext() *RestrictionContext
func NewRestrictionContext ¶
func NewRestrictionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RestrictionContext
func (*RestrictionContext) Accept ¶
func (s *RestrictionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RestrictionContext) AllComparable ¶
func (s *RestrictionContext) AllComparable() []IComparableContext
func (*RestrictionContext) AllWS ¶
func (s *RestrictionContext) AllWS() []antlr.TerminalNode
func (*RestrictionContext) Comparable ¶
func (s *RestrictionContext) Comparable(i int) IComparableContext
func (*RestrictionContext) Comparator ¶
func (s *RestrictionContext) Comparator() IComparatorContext
func (*RestrictionContext) GetExpr ¶
func (s *RestrictionContext) GetExpr() IComparableContext
func (*RestrictionContext) GetOp ¶
func (s *RestrictionContext) GetOp() IComparatorContext
func (*RestrictionContext) GetParser ¶
func (s *RestrictionContext) GetParser() antlr.Parser
func (*RestrictionContext) GetRest ¶
func (s *RestrictionContext) GetRest() IComparableContext
func (*RestrictionContext) GetRuleContext ¶
func (s *RestrictionContext) GetRuleContext() antlr.RuleContext
func (*RestrictionContext) IsRestrictionContext ¶
func (*RestrictionContext) IsRestrictionContext()
func (*RestrictionContext) SetExpr ¶
func (s *RestrictionContext) SetExpr(v IComparableContext)
func (*RestrictionContext) SetOp ¶
func (s *RestrictionContext) SetOp(v IComparatorContext)
func (*RestrictionContext) SetRest ¶
func (s *RestrictionContext) SetRest(v IComparableContext)
func (*RestrictionContext) ToStringTree ¶
func (s *RestrictionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RestrictionContext) WS ¶
func (s *RestrictionContext) WS(i int) antlr.TerminalNode
type SelectOrCallContext ¶
type SelectOrCallContext struct { *ValueContext // contains filtered or unexported fields }
func NewSelectOrCallContext ¶
func NewSelectOrCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SelectOrCallContext
func (*SelectOrCallContext) Accept ¶
func (s *SelectOrCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SelectOrCallContext) ArgList ¶
func (s *SelectOrCallContext) ArgList() IArgListContext
func (*SelectOrCallContext) DOT ¶
func (s *SelectOrCallContext) DOT() antlr.TerminalNode
func (*SelectOrCallContext) Field ¶
func (s *SelectOrCallContext) Field() IFieldContext
func (*SelectOrCallContext) GetOp ¶
func (s *SelectOrCallContext) GetOp() antlr.Token
func (*SelectOrCallContext) GetOpen ¶
func (s *SelectOrCallContext) GetOpen() antlr.Token
func (*SelectOrCallContext) GetRuleContext ¶
func (s *SelectOrCallContext) GetRuleContext() antlr.RuleContext
func (*SelectOrCallContext) LPAREN ¶
func (s *SelectOrCallContext) LPAREN() antlr.TerminalNode
func (*SelectOrCallContext) RPAREN ¶
func (s *SelectOrCallContext) RPAREN() antlr.TerminalNode
func (*SelectOrCallContext) SetOp ¶
func (s *SelectOrCallContext) SetOp(v antlr.Token)
func (*SelectOrCallContext) SetOpen ¶
func (s *SelectOrCallContext) SetOpen(v antlr.Token)
func (*SelectOrCallContext) Value ¶
func (s *SelectOrCallContext) Value() IValueContext
type SepContext ¶
type SepContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySepContext ¶
func NewEmptySepContext() *SepContext
func NewSepContext ¶
func NewSepContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SepContext
func (*SepContext) Accept ¶
func (s *SepContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SepContext) AllWS ¶
func (s *SepContext) AllWS() []antlr.TerminalNode
func (*SepContext) COMMA ¶
func (s *SepContext) COMMA() antlr.TerminalNode
func (*SepContext) GetParser ¶
func (s *SepContext) GetParser() antlr.Parser
func (*SepContext) GetRuleContext ¶
func (s *SepContext) GetRuleContext() antlr.RuleContext
func (*SepContext) IsSepContext ¶
func (*SepContext) IsSepContext()
func (*SepContext) ToStringTree ¶
func (s *SepContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SepContext) WS ¶
func (s *SepContext) WS(i int) antlr.TerminalNode
type SequenceContext ¶
type SequenceContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySequenceContext ¶
func NewEmptySequenceContext() *SequenceContext
func NewSequenceContext ¶
func NewSequenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SequenceContext
func (*SequenceContext) Accept ¶
func (s *SequenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SequenceContext) AllFactor ¶
func (s *SequenceContext) AllFactor() []IFactorContext
func (*SequenceContext) AllWS ¶
func (s *SequenceContext) AllWS() []antlr.TerminalNode
func (*SequenceContext) Factor ¶
func (s *SequenceContext) Factor(i int) IFactorContext
func (*SequenceContext) GetExpr ¶
func (s *SequenceContext) GetExpr() IFactorContext
func (*SequenceContext) GetParser ¶
func (s *SequenceContext) GetParser() antlr.Parser
func (*SequenceContext) GetRest ¶
func (s *SequenceContext) GetRest() []IFactorContext
func (*SequenceContext) GetRuleContext ¶
func (s *SequenceContext) GetRuleContext() antlr.RuleContext
func (*SequenceContext) Get_factor ¶
func (s *SequenceContext) Get_factor() IFactorContext
func (*SequenceContext) IsSequenceContext ¶
func (*SequenceContext) IsSequenceContext()
func (*SequenceContext) SetExpr ¶
func (s *SequenceContext) SetExpr(v IFactorContext)
func (*SequenceContext) SetRest ¶
func (s *SequenceContext) SetRest(v []IFactorContext)
func (*SequenceContext) Set_factor ¶
func (s *SequenceContext) Set_factor(v IFactorContext)
func (*SequenceContext) ToStringTree ¶
func (s *SequenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SequenceContext) WS ¶
func (s *SequenceContext) WS(i int) antlr.TerminalNode
type StringValContext ¶
type StringValContext struct { *PrimaryContext // contains filtered or unexported fields }
func NewStringValContext ¶
func NewStringValContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringValContext
func (*StringValContext) Accept ¶
func (s *StringValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StringValContext) GetQuotedText ¶
func (s *StringValContext) GetQuotedText() antlr.Token
func (*StringValContext) GetRuleContext ¶
func (s *StringValContext) GetRuleContext() antlr.RuleContext
func (*StringValContext) STRING ¶
func (s *StringValContext) STRING() antlr.TerminalNode
func (*StringValContext) SetQuotedText ¶
func (s *StringValContext) SetQuotedText(v antlr.Token)
type TermContext ¶
type TermContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTermContext ¶
func NewEmptyTermContext() *TermContext
func NewTermContext ¶
func NewTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TermContext
func (*TermContext) Accept ¶
func (s *TermContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TermContext) GetExpr ¶
func (s *TermContext) GetExpr() IRestrictionContext
func (*TermContext) GetOp ¶
func (s *TermContext) GetOp() INotOpContext
func (*TermContext) GetParser ¶
func (s *TermContext) GetParser() antlr.Parser
func (*TermContext) GetRuleContext ¶
func (s *TermContext) GetRuleContext() antlr.RuleContext
func (*TermContext) IsTermContext ¶
func (*TermContext) IsTermContext()
func (*TermContext) NotOp ¶
func (s *TermContext) NotOp() INotOpContext
func (*TermContext) Restriction ¶
func (s *TermContext) Restriction() IRestrictionContext
func (*TermContext) SetExpr ¶
func (s *TermContext) SetExpr(v IRestrictionContext)
func (*TermContext) SetOp ¶
func (s *TermContext) SetOp(v INotOpContext)
func (*TermContext) ToStringTree ¶
func (s *TermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TextContext ¶
type TextContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTextContext ¶
func NewEmptyTextContext() *TextContext
func NewTextContext ¶
func NewTextContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TextContext
func (*TextContext) Accept ¶
func (s *TextContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TextContext) AllDIGIT ¶
func (s *TextContext) AllDIGIT() []antlr.TerminalNode
func (*TextContext) AllEXCLAIM ¶
func (s *TextContext) AllEXCLAIM() []antlr.TerminalNode
func (*TextContext) AllMINUS ¶
func (s *TextContext) AllMINUS() []antlr.TerminalNode
func (*TextContext) AllTEXT ¶
func (s *TextContext) AllTEXT() []antlr.TerminalNode
func (*TextContext) DIGIT ¶
func (s *TextContext) DIGIT(i int) antlr.TerminalNode
func (*TextContext) EXCLAIM ¶
func (s *TextContext) EXCLAIM(i int) antlr.TerminalNode
func (*TextContext) GetParser ¶
func (s *TextContext) GetParser() antlr.Parser
func (*TextContext) GetRuleContext ¶
func (s *TextContext) GetRuleContext() antlr.RuleContext
func (*TextContext) IsTextContext ¶
func (*TextContext) IsTextContext()
func (*TextContext) MINUS ¶
func (s *TextContext) MINUS(i int) antlr.TerminalNode
func (*TextContext) TEXT ¶
func (s *TextContext) TEXT(i int) antlr.TerminalNode
func (*TextContext) ToStringTree ¶
func (s *TextContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ValueContext ¶
type ValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyValueContext ¶
func NewEmptyValueContext() *ValueContext
func NewValueContext ¶
func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext
func (*ValueContext) CopyFrom ¶
func (s *ValueContext) CopyFrom(ctx *ValueContext)
func (*ValueContext) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string