Documentation
¶
Index ¶
- Constants
- func SyntaxFlowLexerInit()
- func SyntaxFlowParserInit()
- type AheadChainFilterContext
- func (s *AheadChainFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AheadChainFilterContext) ChainFilter() IChainFilterContext
- func (s *AheadChainFilterContext) Filter() antlr.TerminalNode
- func (s *AheadChainFilterContext) FilterExpr() IFilterExprContext
- func (s *AheadChainFilterContext) GetRuleContext() antlr.RuleContext
- type BaseSyntaxFlowVisitor
- func (v *BaseSyntaxFlowVisitor) VisitAheadChainFilter(ctx *AheadChainFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitBoolLiteral(ctx *BoolLiteralContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitBuildMap(ctx *BuildMapContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitCurrentRootFilter(ctx *CurrentRootFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitDeepChainFilter(ctx *DeepChainFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitDirectionFilter(ctx *DirectionFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitExistedRef(ctx *ExistedRefContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFieldChainFilter(ctx *FieldChainFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFieldFilter(ctx *FieldFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionAnd(ctx *FilterExpressionAndContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionCompare(ctx *FilterExpressionCompareContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionNot(ctx *FilterExpressionNotContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionNumber(ctx *FilterExpressionNumberContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionOr(ctx *FilterExpressionOrContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionParen(ctx *FilterExpressionParenContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionRegexp(ctx *FilterExpressionRegexpContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionRegexpMatch(ctx *FilterExpressionRegexpMatchContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionString(ctx *FilterExpressionStringContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterFieldMember(ctx *FilterFieldMemberContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilterStatement(ctx *FilterStatementContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFilters(ctx *FiltersContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFlat(ctx *FlatContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitFlow(ctx *FlowContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitIdentifier(ctx *IdentifierContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitListIndexFilter(ctx *ListIndexFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitNumberIndexFilter(ctx *NumberIndexFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitNumberLiteral(ctx *NumberLiteralContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitOptionalFilter(ctx *OptionalFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitOptionalRootFilter(ctx *OptionalRootFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitParenFilter(ctx *ParenFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitPrimaryFilter(ctx *PrimaryFilterContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitRefVariable(ctx *RefVariableContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitRegexpLiteral(ctx *RegexpLiteralContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitStringLiteral(ctx *StringLiteralContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitTypeCast(ctx *TypeCastContext) interface{}
- func (v *BaseSyntaxFlowVisitor) VisitTypes(ctx *TypesContext) interface{}
- type BoolLiteralContext
- func (s *BoolLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BoolLiteralContext) BoolLiteral() antlr.TerminalNode
- func (s *BoolLiteralContext) GetParser() antlr.Parser
- func (s *BoolLiteralContext) GetRuleContext() antlr.RuleContext
- func (*BoolLiteralContext) IsBoolLiteralContext()
- func (s *BoolLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BuildMapContext
- func (s *BuildMapContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BuildMapContext) AllColon() []antlr.TerminalNode
- func (s *BuildMapContext) AllFilters() []IFiltersContext
- func (s *BuildMapContext) AllIdentifier() []IIdentifierContext
- func (s *BuildMapContext) Colon(i int) antlr.TerminalNode
- func (s *BuildMapContext) Filters(i int) IFiltersContext
- func (s *BuildMapContext) GetRuleContext() antlr.RuleContext
- func (s *BuildMapContext) Identifier(i int) IIdentifierContext
- func (s *BuildMapContext) MapBuilderClose() antlr.TerminalNode
- func (s *BuildMapContext) MapBuilderOpen() antlr.TerminalNode
- type ChainFilterContext
- func (s *ChainFilterContext) CopyFrom(ctx *ChainFilterContext)
- func (s *ChainFilterContext) GetParser() antlr.Parser
- func (s *ChainFilterContext) GetRuleContext() antlr.RuleContext
- func (*ChainFilterContext) IsChainFilterContext()
- func (s *ChainFilterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ConditionExpressionContext
- func (s *ConditionExpressionContext) CopyFrom(ctx *ConditionExpressionContext)
- func (s *ConditionExpressionContext) GetParser() antlr.Parser
- func (s *ConditionExpressionContext) GetRuleContext() antlr.RuleContext
- func (*ConditionExpressionContext) IsConditionExpressionContext()
- func (s *ConditionExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CurrentRootFilterContext
- type DeepChainFilterContext
- func (s *DeepChainFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DeepChainFilterContext) ChainFilter() IChainFilterContext
- func (s *DeepChainFilterContext) DeepFilter() antlr.TerminalNode
- func (s *DeepChainFilterContext) FilterExpr() IFilterExprContext
- func (s *DeepChainFilterContext) GetRuleContext() antlr.RuleContext
- type DirectionFilterContext
- func (s *DirectionFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DirectionFilterContext) DoubleGt() antlr.TerminalNode
- func (s *DirectionFilterContext) DoubleLt() antlr.TerminalNode
- func (s *DirectionFilterContext) FilterExpr() IFilterExprContext
- func (s *DirectionFilterContext) GetOp() antlr.Token
- func (s *DirectionFilterContext) GetRuleContext() antlr.RuleContext
- func (s *DirectionFilterContext) SetOp(v antlr.Token)
- type ExistedRefContext
- func (s *ExistedRefContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExistedRefContext) GetParser() antlr.Parser
- func (s *ExistedRefContext) GetRuleContext() antlr.RuleContext
- func (*ExistedRefContext) IsExistedRefContext()
- func (s *ExistedRefContext) RefVariable() IRefVariableContext
- func (s *ExistedRefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldChainFilterContext
- func (s *FieldChainFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FieldChainFilterContext) Dot() antlr.TerminalNode
- func (s *FieldChainFilterContext) FilterExpr() IFilterExprContext
- func (s *FieldChainFilterContext) FilterFieldMember() IFilterFieldMemberContext
- func (s *FieldChainFilterContext) GetRuleContext() antlr.RuleContext
- type FieldFilterContext
- type FilterExprContext
- func (s *FilterExprContext) CopyFrom(ctx *FilterExprContext)
- func (s *FilterExprContext) GetParser() antlr.Parser
- func (s *FilterExprContext) GetRuleContext() antlr.RuleContext
- func (*FilterExprContext) IsFilterExprContext()
- func (s *FilterExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FilterExpressionAndContext
- func (s *FilterExpressionAndContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterExpressionAndContext) AllConditionExpression() []IConditionExpressionContext
- func (s *FilterExpressionAndContext) And() antlr.TerminalNode
- func (s *FilterExpressionAndContext) ConditionExpression(i int) IConditionExpressionContext
- func (s *FilterExpressionAndContext) GetRuleContext() antlr.RuleContext
- type FilterExpressionCompareContext
- func (s *FilterExpressionCompareContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterExpressionCompareContext) BoolLiteral() IBoolLiteralContext
- func (s *FilterExpressionCompareContext) Eq() antlr.TerminalNode
- func (s *FilterExpressionCompareContext) EqEq() antlr.TerminalNode
- func (s *FilterExpressionCompareContext) GetOp() antlr.Token
- func (s *FilterExpressionCompareContext) GetRuleContext() antlr.RuleContext
- func (s *FilterExpressionCompareContext) Gt() antlr.TerminalNode
- func (s *FilterExpressionCompareContext) GtEq() antlr.TerminalNode
- func (s *FilterExpressionCompareContext) Identifier() IIdentifierContext
- func (s *FilterExpressionCompareContext) Lt() antlr.TerminalNode
- func (s *FilterExpressionCompareContext) LtEq() antlr.TerminalNode
- func (s *FilterExpressionCompareContext) NotEq() antlr.TerminalNode
- func (s *FilterExpressionCompareContext) NumberLiteral() INumberLiteralContext
- func (s *FilterExpressionCompareContext) SetOp(v antlr.Token)
- type FilterExpressionNotContext
- func (s *FilterExpressionNotContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterExpressionNotContext) Bang() antlr.TerminalNode
- func (s *FilterExpressionNotContext) ConditionExpression() IConditionExpressionContext
- func (s *FilterExpressionNotContext) GetRuleContext() antlr.RuleContext
- type FilterExpressionNumberContext
- type FilterExpressionOrContext
- func (s *FilterExpressionOrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterExpressionOrContext) AllConditionExpression() []IConditionExpressionContext
- func (s *FilterExpressionOrContext) ConditionExpression(i int) IConditionExpressionContext
- func (s *FilterExpressionOrContext) GetRuleContext() antlr.RuleContext
- func (s *FilterExpressionOrContext) Or() antlr.TerminalNode
- type FilterExpressionParenContext
- func (s *FilterExpressionParenContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterExpressionParenContext) CloseParen() antlr.TerminalNode
- func (s *FilterExpressionParenContext) ConditionExpression() IConditionExpressionContext
- func (s *FilterExpressionParenContext) GetRuleContext() antlr.RuleContext
- func (s *FilterExpressionParenContext) OpenParen() antlr.TerminalNode
- type FilterExpressionRegexpContext
- type FilterExpressionRegexpMatchContext
- func (s *FilterExpressionRegexpMatchContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterExpressionRegexpMatchContext) GetOp() antlr.Token
- func (s *FilterExpressionRegexpMatchContext) GetRuleContext() antlr.RuleContext
- func (s *FilterExpressionRegexpMatchContext) NotRegexpMatch() antlr.TerminalNode
- func (s *FilterExpressionRegexpMatchContext) RegexpLiteral() IRegexpLiteralContext
- func (s *FilterExpressionRegexpMatchContext) RegexpMatch() antlr.TerminalNode
- func (s *FilterExpressionRegexpMatchContext) SetOp(v antlr.Token)
- func (s *FilterExpressionRegexpMatchContext) StringLiteral() IStringLiteralContext
- type FilterExpressionStringContext
- type FilterFieldMemberContext
- func (s *FilterFieldMemberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterFieldMemberContext) CloseParen() antlr.TerminalNode
- func (s *FilterFieldMemberContext) ConditionExpression() IConditionExpressionContext
- func (s *FilterFieldMemberContext) GetParser() antlr.Parser
- func (s *FilterFieldMemberContext) GetRuleContext() antlr.RuleContext
- func (s *FilterFieldMemberContext) Identifier() IIdentifierContext
- func (*FilterFieldMemberContext) IsFilterFieldMemberContext()
- func (s *FilterFieldMemberContext) NumberLiteral() INumberLiteralContext
- func (s *FilterFieldMemberContext) OpenParen() antlr.TerminalNode
- func (s *FilterFieldMemberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FilterFieldMemberContext) TypeCast() ITypeCastContext
- type FilterStatementContext
- func (s *FilterStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FilterStatementContext) DoubleGt() antlr.TerminalNode
- func (s *FilterStatementContext) DoubleLt() antlr.TerminalNode
- func (s *FilterStatementContext) ExistedRef() IExistedRefContext
- func (s *FilterStatementContext) Filter() antlr.TerminalNode
- func (s *FilterStatementContext) FilterExpr() IFilterExprContext
- func (s *FilterStatementContext) GetDirection() antlr.Token
- func (s *FilterStatementContext) GetParser() antlr.Parser
- func (s *FilterStatementContext) GetRuleContext() antlr.RuleContext
- func (*FilterStatementContext) IsFilterStatementContext()
- func (s *FilterStatementContext) RefVariable() IRefVariableContext
- func (s *FilterStatementContext) SetDirection(v antlr.Token)
- func (s *FilterStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FiltersContext
- func (s *FiltersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FiltersContext) AllFilterStatement() []IFilterStatementContext
- func (s *FiltersContext) FilterStatement(i int) IFilterStatementContext
- func (s *FiltersContext) GetParser() antlr.Parser
- func (s *FiltersContext) GetRuleContext() antlr.RuleContext
- func (*FiltersContext) IsFiltersContext()
- func (s *FiltersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FlatContext
- func (s *FlatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FlatContext) AllComma() []antlr.TerminalNode
- func (s *FlatContext) AllFilters() []IFiltersContext
- func (s *FlatContext) Comma(i int) antlr.TerminalNode
- func (s *FlatContext) Deep() antlr.TerminalNode
- func (s *FlatContext) Filters(i int) IFiltersContext
- func (s *FlatContext) GetRuleContext() antlr.RuleContext
- func (s *FlatContext) ListSelectClose() antlr.TerminalNode
- func (s *FlatContext) ListSelectOpen() antlr.TerminalNode
- type FlowContext
- func (s *FlowContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FlowContext) EOF() antlr.TerminalNode
- func (s *FlowContext) Filters() IFiltersContext
- func (s *FlowContext) GetParser() antlr.Parser
- func (s *FlowContext) GetRuleContext() antlr.RuleContext
- func (*FlowContext) IsFlowContext()
- func (s *FlowContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IBoolLiteralContext
- type IChainFilterContext
- type IConditionExpressionContext
- type IExistedRefContext
- type IFilterExprContext
- type IFilterFieldMemberContext
- type IFilterStatementContext
- type IFiltersContext
- type IFlowContext
- type IIdentifierContext
- type INumberLiteralContext
- type IRefVariableContext
- type IRegexpLiteralContext
- type IStringLiteralContext
- type ITypeCastContext
- type ITypesContext
- type IdentifierContext
- func (s *IdentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentifierContext) GetParser() antlr.Parser
- func (s *IdentifierContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierContext) Identifier() antlr.TerminalNode
- func (*IdentifierContext) IsIdentifierContext()
- func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *IdentifierContext) Types() ITypesContext
- type ListIndexFilterContext
- func (s *ListIndexFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ListIndexFilterContext) GetRuleContext() antlr.RuleContext
- func (s *ListIndexFilterContext) ListSelectClose() antlr.TerminalNode
- func (s *ListIndexFilterContext) ListSelectOpen() antlr.TerminalNode
- func (s *ListIndexFilterContext) NumberLiteral() INumberLiteralContext
- type NumberIndexFilterContext
- type NumberLiteralContext
- func (s *NumberLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *NumberLiteralContext) BinaryNumber() antlr.TerminalNode
- func (s *NumberLiteralContext) GetParser() antlr.Parser
- func (s *NumberLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *NumberLiteralContext) HexNumber() antlr.TerminalNode
- func (*NumberLiteralContext) IsNumberLiteralContext()
- func (s *NumberLiteralContext) Number() antlr.TerminalNode
- func (s *NumberLiteralContext) OctalNumber() antlr.TerminalNode
- func (s *NumberLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OptionalFilterContext
- func (s *OptionalFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OptionalFilterContext) ConditionExpression() IConditionExpressionContext
- func (s *OptionalFilterContext) FilterExpr() IFilterExprContext
- func (s *OptionalFilterContext) GetRuleContext() antlr.RuleContext
- func (s *OptionalFilterContext) Question() antlr.TerminalNode
- type OptionalRootFilterContext
- func (s *OptionalRootFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *OptionalRootFilterContext) ConditionExpression() IConditionExpressionContext
- func (s *OptionalRootFilterContext) GetRuleContext() antlr.RuleContext
- func (s *OptionalRootFilterContext) Question() antlr.TerminalNode
- type ParenFilterContext
- func (s *ParenFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ParenFilterContext) CloseParen() antlr.TerminalNode
- func (s *ParenFilterContext) FilterExpr() IFilterExprContext
- func (s *ParenFilterContext) GetRuleContext() antlr.RuleContext
- func (s *ParenFilterContext) OpenParen() antlr.TerminalNode
- type PrimaryFilterContext
- type RefVariableContext
- func (s *RefVariableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RefVariableContext) CloseParen() antlr.TerminalNode
- func (s *RefVariableContext) DollarOutput() antlr.TerminalNode
- func (s *RefVariableContext) GetParser() antlr.Parser
- func (s *RefVariableContext) GetRuleContext() antlr.RuleContext
- func (s *RefVariableContext) Identifier() IIdentifierContext
- func (*RefVariableContext) IsRefVariableContext()
- func (s *RefVariableContext) OpenParen() antlr.TerminalNode
- func (s *RefVariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RegexpLiteralContext
- func (s *RegexpLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *RegexpLiteralContext) GetParser() antlr.Parser
- func (s *RegexpLiteralContext) GetRuleContext() antlr.RuleContext
- func (*RegexpLiteralContext) IsRegexpLiteralContext()
- func (s *RegexpLiteralContext) RegexpLiteral() antlr.TerminalNode
- func (s *RegexpLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StringLiteralContext
- func (s *StringLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StringLiteralContext) GetParser() antlr.Parser
- func (s *StringLiteralContext) GetRuleContext() antlr.RuleContext
- func (s *StringLiteralContext) Identifier() IIdentifierContext
- func (*StringLiteralContext) IsStringLiteralContext()
- func (s *StringLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SyntaxFlowLexer
- type SyntaxFlowParser
- func (p *SyntaxFlowParser) BoolLiteral() (localctx IBoolLiteralContext)
- func (p *SyntaxFlowParser) ChainFilter() (localctx IChainFilterContext)
- func (p *SyntaxFlowParser) ConditionExpression() (localctx IConditionExpressionContext)
- func (p *SyntaxFlowParser) ConditionExpression_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *SyntaxFlowParser) ExistedRef() (localctx IExistedRefContext)
- func (p *SyntaxFlowParser) FilterExpr() (localctx IFilterExprContext)
- func (p *SyntaxFlowParser) FilterExpr_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *SyntaxFlowParser) FilterFieldMember() (localctx IFilterFieldMemberContext)
- func (p *SyntaxFlowParser) FilterStatement() (localctx IFilterStatementContext)
- func (p *SyntaxFlowParser) Filters() (localctx IFiltersContext)
- func (p *SyntaxFlowParser) Flow() (localctx IFlowContext)
- func (p *SyntaxFlowParser) Identifier() (localctx IIdentifierContext)
- func (p *SyntaxFlowParser) NumberLiteral() (localctx INumberLiteralContext)
- func (p *SyntaxFlowParser) RefVariable() (localctx IRefVariableContext)
- func (p *SyntaxFlowParser) RegexpLiteral() (localctx IRegexpLiteralContext)
- func (p *SyntaxFlowParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *SyntaxFlowParser) StringLiteral() (localctx IStringLiteralContext)
- func (p *SyntaxFlowParser) TypeCast() (localctx ITypeCastContext)
- func (p *SyntaxFlowParser) Types() (localctx ITypesContext)
- type SyntaxFlowVisitor
- type TypeCastContext
- func (s *TypeCastContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypeCastContext) CloseParen() antlr.TerminalNode
- func (s *TypeCastContext) GetParser() antlr.Parser
- func (s *TypeCastContext) GetRuleContext() antlr.RuleContext
- func (*TypeCastContext) IsTypeCastContext()
- func (s *TypeCastContext) OpenParen() antlr.TerminalNode
- func (s *TypeCastContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TypeCastContext) Types() ITypesContext
- type TypesContext
- func (s *TypesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *TypesContext) BoolType() antlr.TerminalNode
- func (s *TypesContext) DictType() antlr.TerminalNode
- func (s *TypesContext) GetParser() antlr.Parser
- func (s *TypesContext) GetRuleContext() antlr.RuleContext
- func (*TypesContext) IsTypesContext()
- func (s *TypesContext) ListType() antlr.TerminalNode
- func (s *TypesContext) NumberType() antlr.TerminalNode
- func (s *TypesContext) StringType() antlr.TerminalNode
- func (s *TypesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
const ( SyntaxFlowLexerT__0 = 1 SyntaxFlowLexerDeepFilter = 2 SyntaxFlowLexerDeep = 3 SyntaxFlowLexerPercent = 4 SyntaxFlowLexerDeepDot = 5 SyntaxFlowLexerLtEq = 6 SyntaxFlowLexerGtEq = 7 SyntaxFlowLexerDoubleLt = 8 SyntaxFlowLexerDoubleGt = 9 SyntaxFlowLexerFilter = 10 SyntaxFlowLexerEqEq = 11 SyntaxFlowLexerRegexpMatch = 12 SyntaxFlowLexerNotRegexpMatch = 13 SyntaxFlowLexerAnd = 14 SyntaxFlowLexerOr = 15 SyntaxFlowLexerNotEq = 16 SyntaxFlowLexerGt = 17 SyntaxFlowLexerDot = 18 SyntaxFlowLexerLt = 19 SyntaxFlowLexerEq = 20 SyntaxFlowLexerQuestion = 21 SyntaxFlowLexerOpenParen = 22 SyntaxFlowLexerComma = 23 SyntaxFlowLexerCloseParen = 24 SyntaxFlowLexerListSelectOpen = 25 SyntaxFlowLexerListSelectClose = 26 SyntaxFlowLexerMapBuilderOpen = 27 SyntaxFlowLexerMapBuilderClose = 28 SyntaxFlowLexerListStart = 29 SyntaxFlowLexerDollarOutput = 30 SyntaxFlowLexerColon = 31 SyntaxFlowLexerSearch = 32 SyntaxFlowLexerBang = 33 SyntaxFlowLexerWhiteSpace = 34 SyntaxFlowLexerNumber = 35 SyntaxFlowLexerOctalNumber = 36 SyntaxFlowLexerBinaryNumber = 37 SyntaxFlowLexerHexNumber = 38 SyntaxFlowLexerStringLiteral = 39 SyntaxFlowLexerStringType = 40 SyntaxFlowLexerListType = 41 SyntaxFlowLexerDictType = 42 SyntaxFlowLexerNumberType = 43 SyntaxFlowLexerBoolType = 44 SyntaxFlowLexerBoolLiteral = 45 SyntaxFlowLexerIdentifier = 46 SyntaxFlowLexerRegexpLiteral = 47 )
SyntaxFlowLexer tokens.
const ( SyntaxFlowParserEOF = antlr.TokenEOF SyntaxFlowParserT__0 = 1 SyntaxFlowParserDeepFilter = 2 SyntaxFlowParserDeep = 3 SyntaxFlowParserPercent = 4 SyntaxFlowParserDeepDot = 5 SyntaxFlowParserLtEq = 6 SyntaxFlowParserGtEq = 7 SyntaxFlowParserDoubleLt = 8 SyntaxFlowParserDoubleGt = 9 SyntaxFlowParserFilter = 10 SyntaxFlowParserEqEq = 11 SyntaxFlowParserRegexpMatch = 12 SyntaxFlowParserNotRegexpMatch = 13 SyntaxFlowParserAnd = 14 SyntaxFlowParserOr = 15 SyntaxFlowParserNotEq = 16 SyntaxFlowParserGt = 17 SyntaxFlowParserDot = 18 SyntaxFlowParserLt = 19 SyntaxFlowParserEq = 20 SyntaxFlowParserQuestion = 21 SyntaxFlowParserOpenParen = 22 SyntaxFlowParserComma = 23 SyntaxFlowParserCloseParen = 24 SyntaxFlowParserListSelectOpen = 25 SyntaxFlowParserListSelectClose = 26 SyntaxFlowParserMapBuilderOpen = 27 SyntaxFlowParserMapBuilderClose = 28 SyntaxFlowParserListStart = 29 SyntaxFlowParserDollarOutput = 30 SyntaxFlowParserColon = 31 SyntaxFlowParserSearch = 32 SyntaxFlowParserBang = 33 SyntaxFlowParserWhiteSpace = 34 SyntaxFlowParserNumber = 35 SyntaxFlowParserOctalNumber = 36 SyntaxFlowParserBinaryNumber = 37 SyntaxFlowParserHexNumber = 38 SyntaxFlowParserStringLiteral = 39 SyntaxFlowParserStringType = 40 SyntaxFlowParserListType = 41 SyntaxFlowParserDictType = 42 SyntaxFlowParserNumberType = 43 SyntaxFlowParserBoolType = 44 SyntaxFlowParserBoolLiteral = 45 SyntaxFlowParserIdentifier = 46 SyntaxFlowParserRegexpLiteral = 47 )
SyntaxFlowParser tokens.
const ( SyntaxFlowParserRULE_flow = 0 SyntaxFlowParserRULE_filters = 1 SyntaxFlowParserRULE_filterStatement = 2 SyntaxFlowParserRULE_existedRef = 3 SyntaxFlowParserRULE_refVariable = 4 SyntaxFlowParserRULE_filterExpr = 5 SyntaxFlowParserRULE_chainFilter = 6 SyntaxFlowParserRULE_filterFieldMember = 7 SyntaxFlowParserRULE_conditionExpression = 8 SyntaxFlowParserRULE_numberLiteral = 9 SyntaxFlowParserRULE_stringLiteral = 10 SyntaxFlowParserRULE_regexpLiteral = 11 SyntaxFlowParserRULE_typeCast = 12 SyntaxFlowParserRULE_identifier = 13 SyntaxFlowParserRULE_types = 14 SyntaxFlowParserRULE_boolLiteral = 15 )
SyntaxFlowParser rules.
Variables ¶
This section is empty.
Functions ¶
func SyntaxFlowLexerInit ¶
func SyntaxFlowLexerInit()
SyntaxFlowLexerInit initializes any static state used to implement SyntaxFlowLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewSyntaxFlowLexer(). You can call this function if you wish to initialize the static state ahead of time.
func SyntaxFlowParserInit ¶
func SyntaxFlowParserInit()
SyntaxFlowParserInit initializes any static state used to implement SyntaxFlowParser. By default the static state used to implement the parser is lazily initialized during the first call to NewSyntaxFlowParser(). You can call this function if you wish to initialize the static state ahead of time.
Types ¶
type AheadChainFilterContext ¶
type AheadChainFilterContext struct {
*FilterExprContext
}
func NewAheadChainFilterContext ¶
func NewAheadChainFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AheadChainFilterContext
func (*AheadChainFilterContext) Accept ¶
func (s *AheadChainFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AheadChainFilterContext) ChainFilter ¶
func (s *AheadChainFilterContext) ChainFilter() IChainFilterContext
func (*AheadChainFilterContext) Filter ¶
func (s *AheadChainFilterContext) Filter() antlr.TerminalNode
func (*AheadChainFilterContext) FilterExpr ¶
func (s *AheadChainFilterContext) FilterExpr() IFilterExprContext
func (*AheadChainFilterContext) GetRuleContext ¶
func (s *AheadChainFilterContext) GetRuleContext() antlr.RuleContext
type BaseSyntaxFlowVisitor ¶
type BaseSyntaxFlowVisitor struct {
*antlr.BaseParseTreeVisitor
}
func (*BaseSyntaxFlowVisitor) VisitAheadChainFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitAheadChainFilter(ctx *AheadChainFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitBoolLiteral ¶
func (v *BaseSyntaxFlowVisitor) VisitBoolLiteral(ctx *BoolLiteralContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitBuildMap ¶
func (v *BaseSyntaxFlowVisitor) VisitBuildMap(ctx *BuildMapContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitCurrentRootFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitCurrentRootFilter(ctx *CurrentRootFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitDeepChainFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitDeepChainFilter(ctx *DeepChainFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitDirectionFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitDirectionFilter(ctx *DirectionFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitExistedRef ¶
func (v *BaseSyntaxFlowVisitor) VisitExistedRef(ctx *ExistedRefContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFieldChainFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitFieldChainFilter(ctx *FieldChainFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFieldFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitFieldFilter(ctx *FieldFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionAnd ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionAnd(ctx *FilterExpressionAndContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionCompare ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionCompare(ctx *FilterExpressionCompareContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionNot ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionNot(ctx *FilterExpressionNotContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionNumber ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionNumber(ctx *FilterExpressionNumberContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionOr ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionOr(ctx *FilterExpressionOrContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionParen ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionParen(ctx *FilterExpressionParenContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionRegexp ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionRegexp(ctx *FilterExpressionRegexpContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionRegexpMatch ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionRegexpMatch(ctx *FilterExpressionRegexpMatchContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterExpressionString ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterExpressionString(ctx *FilterExpressionStringContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterFieldMember ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterFieldMember(ctx *FilterFieldMemberContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilterStatement ¶
func (v *BaseSyntaxFlowVisitor) VisitFilterStatement(ctx *FilterStatementContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFilters ¶
func (v *BaseSyntaxFlowVisitor) VisitFilters(ctx *FiltersContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFlat ¶
func (v *BaseSyntaxFlowVisitor) VisitFlat(ctx *FlatContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitFlow ¶
func (v *BaseSyntaxFlowVisitor) VisitFlow(ctx *FlowContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitIdentifier ¶
func (v *BaseSyntaxFlowVisitor) VisitIdentifier(ctx *IdentifierContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitListIndexFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitListIndexFilter(ctx *ListIndexFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitNumberIndexFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitNumberIndexFilter(ctx *NumberIndexFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitNumberLiteral ¶
func (v *BaseSyntaxFlowVisitor) VisitNumberLiteral(ctx *NumberLiteralContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitOptionalFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitOptionalFilter(ctx *OptionalFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitOptionalRootFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitOptionalRootFilter(ctx *OptionalRootFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitParenFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitParenFilter(ctx *ParenFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitPrimaryFilter ¶
func (v *BaseSyntaxFlowVisitor) VisitPrimaryFilter(ctx *PrimaryFilterContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitRefVariable ¶
func (v *BaseSyntaxFlowVisitor) VisitRefVariable(ctx *RefVariableContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitRegexpLiteral ¶
func (v *BaseSyntaxFlowVisitor) VisitRegexpLiteral(ctx *RegexpLiteralContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitStringLiteral ¶
func (v *BaseSyntaxFlowVisitor) VisitStringLiteral(ctx *StringLiteralContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitTypeCast ¶
func (v *BaseSyntaxFlowVisitor) VisitTypeCast(ctx *TypeCastContext) interface{}
func (*BaseSyntaxFlowVisitor) VisitTypes ¶
func (v *BaseSyntaxFlowVisitor) VisitTypes(ctx *TypesContext) interface{}
type BoolLiteralContext ¶
type BoolLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBoolLiteralContext ¶
func NewBoolLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoolLiteralContext
func NewEmptyBoolLiteralContext ¶
func NewEmptyBoolLiteralContext() *BoolLiteralContext
func (*BoolLiteralContext) Accept ¶
func (s *BoolLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BoolLiteralContext) BoolLiteral ¶
func (s *BoolLiteralContext) BoolLiteral() antlr.TerminalNode
func (*BoolLiteralContext) GetParser ¶
func (s *BoolLiteralContext) GetParser() antlr.Parser
func (*BoolLiteralContext) GetRuleContext ¶
func (s *BoolLiteralContext) GetRuleContext() antlr.RuleContext
func (*BoolLiteralContext) IsBoolLiteralContext ¶
func (*BoolLiteralContext) IsBoolLiteralContext()
func (*BoolLiteralContext) ToStringTree ¶
func (s *BoolLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BuildMapContext ¶
type BuildMapContext struct {
*ChainFilterContext
}
func NewBuildMapContext ¶
func NewBuildMapContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BuildMapContext
func (*BuildMapContext) Accept ¶
func (s *BuildMapContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*BuildMapContext) AllColon ¶
func (s *BuildMapContext) AllColon() []antlr.TerminalNode
func (*BuildMapContext) AllFilters ¶
func (s *BuildMapContext) AllFilters() []IFiltersContext
func (*BuildMapContext) AllIdentifier ¶
func (s *BuildMapContext) AllIdentifier() []IIdentifierContext
func (*BuildMapContext) Colon ¶
func (s *BuildMapContext) Colon(i int) antlr.TerminalNode
func (*BuildMapContext) Filters ¶
func (s *BuildMapContext) Filters(i int) IFiltersContext
func (*BuildMapContext) GetRuleContext ¶
func (s *BuildMapContext) GetRuleContext() antlr.RuleContext
func (*BuildMapContext) Identifier ¶
func (s *BuildMapContext) Identifier(i int) IIdentifierContext
func (*BuildMapContext) MapBuilderClose ¶
func (s *BuildMapContext) MapBuilderClose() antlr.TerminalNode
func (*BuildMapContext) MapBuilderOpen ¶
func (s *BuildMapContext) MapBuilderOpen() antlr.TerminalNode
type ChainFilterContext ¶
type ChainFilterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewChainFilterContext ¶
func NewChainFilterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ChainFilterContext
func NewEmptyChainFilterContext ¶
func NewEmptyChainFilterContext() *ChainFilterContext
func (*ChainFilterContext) CopyFrom ¶
func (s *ChainFilterContext) CopyFrom(ctx *ChainFilterContext)
func (*ChainFilterContext) GetParser ¶
func (s *ChainFilterContext) GetParser() antlr.Parser
func (*ChainFilterContext) GetRuleContext ¶
func (s *ChainFilterContext) GetRuleContext() antlr.RuleContext
func (*ChainFilterContext) IsChainFilterContext ¶
func (*ChainFilterContext) IsChainFilterContext()
func (*ChainFilterContext) ToStringTree ¶
func (s *ChainFilterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ConditionExpressionContext ¶
type ConditionExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConditionExpressionContext ¶
func NewConditionExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionExpressionContext
func NewEmptyConditionExpressionContext ¶
func NewEmptyConditionExpressionContext() *ConditionExpressionContext
func (*ConditionExpressionContext) CopyFrom ¶
func (s *ConditionExpressionContext) CopyFrom(ctx *ConditionExpressionContext)
func (*ConditionExpressionContext) GetParser ¶
func (s *ConditionExpressionContext) GetParser() antlr.Parser
func (*ConditionExpressionContext) GetRuleContext ¶
func (s *ConditionExpressionContext) GetRuleContext() antlr.RuleContext
func (*ConditionExpressionContext) IsConditionExpressionContext ¶
func (*ConditionExpressionContext) IsConditionExpressionContext()
func (*ConditionExpressionContext) ToStringTree ¶
func (s *ConditionExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CurrentRootFilterContext ¶
type CurrentRootFilterContext struct {
*FilterExprContext
}
func NewCurrentRootFilterContext ¶
func NewCurrentRootFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CurrentRootFilterContext
func (*CurrentRootFilterContext) Accept ¶
func (s *CurrentRootFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CurrentRootFilterContext) DollarOutput ¶
func (s *CurrentRootFilterContext) DollarOutput() antlr.TerminalNode
func (*CurrentRootFilterContext) GetRuleContext ¶
func (s *CurrentRootFilterContext) GetRuleContext() antlr.RuleContext
type DeepChainFilterContext ¶
type DeepChainFilterContext struct {
*FilterExprContext
}
func NewDeepChainFilterContext ¶
func NewDeepChainFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DeepChainFilterContext
func (*DeepChainFilterContext) Accept ¶
func (s *DeepChainFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DeepChainFilterContext) ChainFilter ¶
func (s *DeepChainFilterContext) ChainFilter() IChainFilterContext
func (*DeepChainFilterContext) DeepFilter ¶
func (s *DeepChainFilterContext) DeepFilter() antlr.TerminalNode
func (*DeepChainFilterContext) FilterExpr ¶
func (s *DeepChainFilterContext) FilterExpr() IFilterExprContext
func (*DeepChainFilterContext) GetRuleContext ¶
func (s *DeepChainFilterContext) GetRuleContext() antlr.RuleContext
type DirectionFilterContext ¶
type DirectionFilterContext struct { *FilterExprContext // contains filtered or unexported fields }
func NewDirectionFilterContext ¶
func NewDirectionFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DirectionFilterContext
func (*DirectionFilterContext) Accept ¶
func (s *DirectionFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*DirectionFilterContext) DoubleGt ¶
func (s *DirectionFilterContext) DoubleGt() antlr.TerminalNode
func (*DirectionFilterContext) DoubleLt ¶
func (s *DirectionFilterContext) DoubleLt() antlr.TerminalNode
func (*DirectionFilterContext) FilterExpr ¶
func (s *DirectionFilterContext) FilterExpr() IFilterExprContext
func (*DirectionFilterContext) GetOp ¶
func (s *DirectionFilterContext) GetOp() antlr.Token
func (*DirectionFilterContext) GetRuleContext ¶
func (s *DirectionFilterContext) GetRuleContext() antlr.RuleContext
func (*DirectionFilterContext) SetOp ¶
func (s *DirectionFilterContext) SetOp(v antlr.Token)
type ExistedRefContext ¶
type ExistedRefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExistedRefContext ¶
func NewEmptyExistedRefContext() *ExistedRefContext
func NewExistedRefContext ¶
func NewExistedRefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExistedRefContext
func (*ExistedRefContext) Accept ¶
func (s *ExistedRefContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ExistedRefContext) GetParser ¶
func (s *ExistedRefContext) GetParser() antlr.Parser
func (*ExistedRefContext) GetRuleContext ¶
func (s *ExistedRefContext) GetRuleContext() antlr.RuleContext
func (*ExistedRefContext) IsExistedRefContext ¶
func (*ExistedRefContext) IsExistedRefContext()
func (*ExistedRefContext) RefVariable ¶
func (s *ExistedRefContext) RefVariable() IRefVariableContext
func (*ExistedRefContext) ToStringTree ¶
func (s *ExistedRefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FieldChainFilterContext ¶
type FieldChainFilterContext struct {
*FilterExprContext
}
func NewFieldChainFilterContext ¶
func NewFieldChainFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldChainFilterContext
func (*FieldChainFilterContext) Accept ¶
func (s *FieldChainFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FieldChainFilterContext) Dot ¶
func (s *FieldChainFilterContext) Dot() antlr.TerminalNode
func (*FieldChainFilterContext) FilterExpr ¶
func (s *FieldChainFilterContext) FilterExpr() IFilterExprContext
func (*FieldChainFilterContext) FilterFieldMember ¶
func (s *FieldChainFilterContext) FilterFieldMember() IFilterFieldMemberContext
func (*FieldChainFilterContext) GetRuleContext ¶
func (s *FieldChainFilterContext) GetRuleContext() antlr.RuleContext
type FieldFilterContext ¶
type FieldFilterContext struct {
*FilterExprContext
}
func NewFieldFilterContext ¶
func NewFieldFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldFilterContext
func (*FieldFilterContext) Accept ¶
func (s *FieldFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FieldFilterContext) Dot ¶
func (s *FieldFilterContext) Dot() antlr.TerminalNode
func (*FieldFilterContext) FilterFieldMember ¶
func (s *FieldFilterContext) FilterFieldMember() IFilterFieldMemberContext
func (*FieldFilterContext) GetRuleContext ¶
func (s *FieldFilterContext) GetRuleContext() antlr.RuleContext
type FilterExprContext ¶
type FilterExprContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFilterExprContext ¶
func NewEmptyFilterExprContext() *FilterExprContext
func NewFilterExprContext ¶
func NewFilterExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterExprContext
func (*FilterExprContext) CopyFrom ¶
func (s *FilterExprContext) CopyFrom(ctx *FilterExprContext)
func (*FilterExprContext) GetParser ¶
func (s *FilterExprContext) GetParser() antlr.Parser
func (*FilterExprContext) GetRuleContext ¶
func (s *FilterExprContext) GetRuleContext() antlr.RuleContext
func (*FilterExprContext) IsFilterExprContext ¶
func (*FilterExprContext) IsFilterExprContext()
func (*FilterExprContext) ToStringTree ¶
func (s *FilterExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FilterExpressionAndContext ¶
type FilterExpressionAndContext struct {
*ConditionExpressionContext
}
func NewFilterExpressionAndContext ¶
func NewFilterExpressionAndContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionAndContext
func (*FilterExpressionAndContext) Accept ¶
func (s *FilterExpressionAndContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionAndContext) AllConditionExpression ¶
func (s *FilterExpressionAndContext) AllConditionExpression() []IConditionExpressionContext
func (*FilterExpressionAndContext) And ¶
func (s *FilterExpressionAndContext) And() antlr.TerminalNode
func (*FilterExpressionAndContext) ConditionExpression ¶
func (s *FilterExpressionAndContext) ConditionExpression(i int) IConditionExpressionContext
func (*FilterExpressionAndContext) GetRuleContext ¶
func (s *FilterExpressionAndContext) GetRuleContext() antlr.RuleContext
type FilterExpressionCompareContext ¶
type FilterExpressionCompareContext struct { *ConditionExpressionContext // contains filtered or unexported fields }
func NewFilterExpressionCompareContext ¶
func NewFilterExpressionCompareContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionCompareContext
func (*FilterExpressionCompareContext) Accept ¶
func (s *FilterExpressionCompareContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionCompareContext) BoolLiteral ¶
func (s *FilterExpressionCompareContext) BoolLiteral() IBoolLiteralContext
func (*FilterExpressionCompareContext) Eq ¶
func (s *FilterExpressionCompareContext) Eq() antlr.TerminalNode
func (*FilterExpressionCompareContext) EqEq ¶
func (s *FilterExpressionCompareContext) EqEq() antlr.TerminalNode
func (*FilterExpressionCompareContext) GetOp ¶
func (s *FilterExpressionCompareContext) GetOp() antlr.Token
func (*FilterExpressionCompareContext) GetRuleContext ¶
func (s *FilterExpressionCompareContext) GetRuleContext() antlr.RuleContext
func (*FilterExpressionCompareContext) Gt ¶
func (s *FilterExpressionCompareContext) Gt() antlr.TerminalNode
func (*FilterExpressionCompareContext) GtEq ¶
func (s *FilterExpressionCompareContext) GtEq() antlr.TerminalNode
func (*FilterExpressionCompareContext) Identifier ¶
func (s *FilterExpressionCompareContext) Identifier() IIdentifierContext
func (*FilterExpressionCompareContext) Lt ¶
func (s *FilterExpressionCompareContext) Lt() antlr.TerminalNode
func (*FilterExpressionCompareContext) LtEq ¶
func (s *FilterExpressionCompareContext) LtEq() antlr.TerminalNode
func (*FilterExpressionCompareContext) NotEq ¶
func (s *FilterExpressionCompareContext) NotEq() antlr.TerminalNode
func (*FilterExpressionCompareContext) NumberLiteral ¶
func (s *FilterExpressionCompareContext) NumberLiteral() INumberLiteralContext
func (*FilterExpressionCompareContext) SetOp ¶
func (s *FilterExpressionCompareContext) SetOp(v antlr.Token)
type FilterExpressionNotContext ¶
type FilterExpressionNotContext struct {
*ConditionExpressionContext
}
func NewFilterExpressionNotContext ¶
func NewFilterExpressionNotContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionNotContext
func (*FilterExpressionNotContext) Accept ¶
func (s *FilterExpressionNotContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionNotContext) Bang ¶
func (s *FilterExpressionNotContext) Bang() antlr.TerminalNode
func (*FilterExpressionNotContext) ConditionExpression ¶
func (s *FilterExpressionNotContext) ConditionExpression() IConditionExpressionContext
func (*FilterExpressionNotContext) GetRuleContext ¶
func (s *FilterExpressionNotContext) GetRuleContext() antlr.RuleContext
type FilterExpressionNumberContext ¶
type FilterExpressionNumberContext struct {
*ConditionExpressionContext
}
func NewFilterExpressionNumberContext ¶
func NewFilterExpressionNumberContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionNumberContext
func (*FilterExpressionNumberContext) Accept ¶
func (s *FilterExpressionNumberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionNumberContext) GetRuleContext ¶
func (s *FilterExpressionNumberContext) GetRuleContext() antlr.RuleContext
func (*FilterExpressionNumberContext) NumberLiteral ¶
func (s *FilterExpressionNumberContext) NumberLiteral() INumberLiteralContext
type FilterExpressionOrContext ¶
type FilterExpressionOrContext struct {
*ConditionExpressionContext
}
func NewFilterExpressionOrContext ¶
func NewFilterExpressionOrContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionOrContext
func (*FilterExpressionOrContext) Accept ¶
func (s *FilterExpressionOrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionOrContext) AllConditionExpression ¶
func (s *FilterExpressionOrContext) AllConditionExpression() []IConditionExpressionContext
func (*FilterExpressionOrContext) ConditionExpression ¶
func (s *FilterExpressionOrContext) ConditionExpression(i int) IConditionExpressionContext
func (*FilterExpressionOrContext) GetRuleContext ¶
func (s *FilterExpressionOrContext) GetRuleContext() antlr.RuleContext
func (*FilterExpressionOrContext) Or ¶
func (s *FilterExpressionOrContext) Or() antlr.TerminalNode
type FilterExpressionParenContext ¶
type FilterExpressionParenContext struct {
*ConditionExpressionContext
}
func NewFilterExpressionParenContext ¶
func NewFilterExpressionParenContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionParenContext
func (*FilterExpressionParenContext) Accept ¶
func (s *FilterExpressionParenContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionParenContext) CloseParen ¶
func (s *FilterExpressionParenContext) CloseParen() antlr.TerminalNode
func (*FilterExpressionParenContext) ConditionExpression ¶
func (s *FilterExpressionParenContext) ConditionExpression() IConditionExpressionContext
func (*FilterExpressionParenContext) GetRuleContext ¶
func (s *FilterExpressionParenContext) GetRuleContext() antlr.RuleContext
func (*FilterExpressionParenContext) OpenParen ¶
func (s *FilterExpressionParenContext) OpenParen() antlr.TerminalNode
type FilterExpressionRegexpContext ¶
type FilterExpressionRegexpContext struct {
*ConditionExpressionContext
}
func NewFilterExpressionRegexpContext ¶
func NewFilterExpressionRegexpContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionRegexpContext
func (*FilterExpressionRegexpContext) Accept ¶
func (s *FilterExpressionRegexpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionRegexpContext) GetRuleContext ¶
func (s *FilterExpressionRegexpContext) GetRuleContext() antlr.RuleContext
func (*FilterExpressionRegexpContext) RegexpLiteral ¶
func (s *FilterExpressionRegexpContext) RegexpLiteral() IRegexpLiteralContext
type FilterExpressionRegexpMatchContext ¶
type FilterExpressionRegexpMatchContext struct { *ConditionExpressionContext // contains filtered or unexported fields }
func NewFilterExpressionRegexpMatchContext ¶
func NewFilterExpressionRegexpMatchContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionRegexpMatchContext
func (*FilterExpressionRegexpMatchContext) Accept ¶
func (s *FilterExpressionRegexpMatchContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionRegexpMatchContext) GetOp ¶
func (s *FilterExpressionRegexpMatchContext) GetOp() antlr.Token
func (*FilterExpressionRegexpMatchContext) GetRuleContext ¶
func (s *FilterExpressionRegexpMatchContext) GetRuleContext() antlr.RuleContext
func (*FilterExpressionRegexpMatchContext) NotRegexpMatch ¶
func (s *FilterExpressionRegexpMatchContext) NotRegexpMatch() antlr.TerminalNode
func (*FilterExpressionRegexpMatchContext) RegexpLiteral ¶
func (s *FilterExpressionRegexpMatchContext) RegexpLiteral() IRegexpLiteralContext
func (*FilterExpressionRegexpMatchContext) RegexpMatch ¶
func (s *FilterExpressionRegexpMatchContext) RegexpMatch() antlr.TerminalNode
func (*FilterExpressionRegexpMatchContext) SetOp ¶
func (s *FilterExpressionRegexpMatchContext) SetOp(v antlr.Token)
func (*FilterExpressionRegexpMatchContext) StringLiteral ¶
func (s *FilterExpressionRegexpMatchContext) StringLiteral() IStringLiteralContext
type FilterExpressionStringContext ¶
type FilterExpressionStringContext struct {
*ConditionExpressionContext
}
func NewFilterExpressionStringContext ¶
func NewFilterExpressionStringContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FilterExpressionStringContext
func (*FilterExpressionStringContext) Accept ¶
func (s *FilterExpressionStringContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterExpressionStringContext) GetRuleContext ¶
func (s *FilterExpressionStringContext) GetRuleContext() antlr.RuleContext
func (*FilterExpressionStringContext) StringLiteral ¶
func (s *FilterExpressionStringContext) StringLiteral() IStringLiteralContext
type FilterFieldMemberContext ¶
type FilterFieldMemberContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFilterFieldMemberContext ¶
func NewEmptyFilterFieldMemberContext() *FilterFieldMemberContext
func NewFilterFieldMemberContext ¶
func NewFilterFieldMemberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterFieldMemberContext
func (*FilterFieldMemberContext) Accept ¶
func (s *FilterFieldMemberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterFieldMemberContext) CloseParen ¶
func (s *FilterFieldMemberContext) CloseParen() antlr.TerminalNode
func (*FilterFieldMemberContext) ConditionExpression ¶
func (s *FilterFieldMemberContext) ConditionExpression() IConditionExpressionContext
func (*FilterFieldMemberContext) GetParser ¶
func (s *FilterFieldMemberContext) GetParser() antlr.Parser
func (*FilterFieldMemberContext) GetRuleContext ¶
func (s *FilterFieldMemberContext) GetRuleContext() antlr.RuleContext
func (*FilterFieldMemberContext) Identifier ¶
func (s *FilterFieldMemberContext) Identifier() IIdentifierContext
func (*FilterFieldMemberContext) IsFilterFieldMemberContext ¶
func (*FilterFieldMemberContext) IsFilterFieldMemberContext()
func (*FilterFieldMemberContext) NumberLiteral ¶
func (s *FilterFieldMemberContext) NumberLiteral() INumberLiteralContext
func (*FilterFieldMemberContext) OpenParen ¶
func (s *FilterFieldMemberContext) OpenParen() antlr.TerminalNode
func (*FilterFieldMemberContext) ToStringTree ¶
func (s *FilterFieldMemberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*FilterFieldMemberContext) TypeCast ¶
func (s *FilterFieldMemberContext) TypeCast() ITypeCastContext
type FilterStatementContext ¶
type FilterStatementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFilterStatementContext ¶
func NewEmptyFilterStatementContext() *FilterStatementContext
func NewFilterStatementContext ¶
func NewFilterStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterStatementContext
func (*FilterStatementContext) Accept ¶
func (s *FilterStatementContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FilterStatementContext) DoubleGt ¶
func (s *FilterStatementContext) DoubleGt() antlr.TerminalNode
func (*FilterStatementContext) DoubleLt ¶
func (s *FilterStatementContext) DoubleLt() antlr.TerminalNode
func (*FilterStatementContext) ExistedRef ¶
func (s *FilterStatementContext) ExistedRef() IExistedRefContext
func (*FilterStatementContext) Filter ¶
func (s *FilterStatementContext) Filter() antlr.TerminalNode
func (*FilterStatementContext) FilterExpr ¶
func (s *FilterStatementContext) FilterExpr() IFilterExprContext
func (*FilterStatementContext) GetDirection ¶
func (s *FilterStatementContext) GetDirection() antlr.Token
func (*FilterStatementContext) GetParser ¶
func (s *FilterStatementContext) GetParser() antlr.Parser
func (*FilterStatementContext) GetRuleContext ¶
func (s *FilterStatementContext) GetRuleContext() antlr.RuleContext
func (*FilterStatementContext) IsFilterStatementContext ¶
func (*FilterStatementContext) IsFilterStatementContext()
func (*FilterStatementContext) RefVariable ¶
func (s *FilterStatementContext) RefVariable() IRefVariableContext
func (*FilterStatementContext) SetDirection ¶
func (s *FilterStatementContext) SetDirection(v antlr.Token)
func (*FilterStatementContext) ToStringTree ¶
func (s *FilterStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FiltersContext ¶
type FiltersContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFiltersContext ¶
func NewEmptyFiltersContext() *FiltersContext
func NewFiltersContext ¶
func NewFiltersContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FiltersContext
func (*FiltersContext) Accept ¶
func (s *FiltersContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FiltersContext) AllFilterStatement ¶
func (s *FiltersContext) AllFilterStatement() []IFilterStatementContext
func (*FiltersContext) FilterStatement ¶
func (s *FiltersContext) FilterStatement(i int) IFilterStatementContext
func (*FiltersContext) GetParser ¶
func (s *FiltersContext) GetParser() antlr.Parser
func (*FiltersContext) GetRuleContext ¶
func (s *FiltersContext) GetRuleContext() antlr.RuleContext
func (*FiltersContext) IsFiltersContext ¶
func (*FiltersContext) IsFiltersContext()
func (*FiltersContext) ToStringTree ¶
func (s *FiltersContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FlatContext ¶
type FlatContext struct {
*ChainFilterContext
}
func NewFlatContext ¶
func NewFlatContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FlatContext
func (*FlatContext) Accept ¶
func (s *FlatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FlatContext) AllComma ¶
func (s *FlatContext) AllComma() []antlr.TerminalNode
func (*FlatContext) AllFilters ¶
func (s *FlatContext) AllFilters() []IFiltersContext
func (*FlatContext) Comma ¶
func (s *FlatContext) Comma(i int) antlr.TerminalNode
func (*FlatContext) Deep ¶
func (s *FlatContext) Deep() antlr.TerminalNode
func (*FlatContext) Filters ¶
func (s *FlatContext) Filters(i int) IFiltersContext
func (*FlatContext) GetRuleContext ¶
func (s *FlatContext) GetRuleContext() antlr.RuleContext
func (*FlatContext) ListSelectClose ¶
func (s *FlatContext) ListSelectClose() antlr.TerminalNode
func (*FlatContext) ListSelectOpen ¶
func (s *FlatContext) ListSelectOpen() antlr.TerminalNode
type FlowContext ¶
type FlowContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFlowContext ¶
func NewEmptyFlowContext() *FlowContext
func NewFlowContext ¶
func NewFlowContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FlowContext
func (*FlowContext) Accept ¶
func (s *FlowContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FlowContext) EOF ¶
func (s *FlowContext) EOF() antlr.TerminalNode
func (*FlowContext) Filters ¶
func (s *FlowContext) Filters() IFiltersContext
func (*FlowContext) GetParser ¶
func (s *FlowContext) GetParser() antlr.Parser
func (*FlowContext) GetRuleContext ¶
func (s *FlowContext) GetRuleContext() antlr.RuleContext
func (*FlowContext) IsFlowContext ¶
func (*FlowContext) IsFlowContext()
func (*FlowContext) ToStringTree ¶
func (s *FlowContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IBoolLiteralContext ¶
type IBoolLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBoolLiteralContext differentiates from other interfaces. IsBoolLiteralContext() }
IBoolLiteralContext is an interface to support dynamic dispatch.
type IChainFilterContext ¶
type IChainFilterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsChainFilterContext differentiates from other interfaces. IsChainFilterContext() }
IChainFilterContext is an interface to support dynamic dispatch.
type IConditionExpressionContext ¶
type IConditionExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsConditionExpressionContext differentiates from other interfaces. IsConditionExpressionContext() }
IConditionExpressionContext is an interface to support dynamic dispatch.
type IExistedRefContext ¶
type IExistedRefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExistedRefContext differentiates from other interfaces. IsExistedRefContext() }
IExistedRefContext is an interface to support dynamic dispatch.
type IFilterExprContext ¶
type IFilterExprContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFilterExprContext differentiates from other interfaces. IsFilterExprContext() }
IFilterExprContext is an interface to support dynamic dispatch.
type IFilterFieldMemberContext ¶
type IFilterFieldMemberContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFilterFieldMemberContext differentiates from other interfaces. IsFilterFieldMemberContext() }
IFilterFieldMemberContext is an interface to support dynamic dispatch.
type IFilterStatementContext ¶
type IFilterStatementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // GetDirection returns the direction token. GetDirection() antlr.Token // SetDirection sets the direction token. SetDirection(antlr.Token) // IsFilterStatementContext differentiates from other interfaces. IsFilterStatementContext() }
IFilterStatementContext is an interface to support dynamic dispatch.
type IFiltersContext ¶
type IFiltersContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFiltersContext differentiates from other interfaces. IsFiltersContext() }
IFiltersContext is an interface to support dynamic dispatch.
type IFlowContext ¶
type IFlowContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFlowContext differentiates from other interfaces. IsFlowContext() }
IFlowContext is an interface to support dynamic dispatch.
type IIdentifierContext ¶
type IIdentifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIdentifierContext differentiates from other interfaces. IsIdentifierContext() }
IIdentifierContext is an interface to support dynamic dispatch.
type INumberLiteralContext ¶
type INumberLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNumberLiteralContext differentiates from other interfaces. IsNumberLiteralContext() }
INumberLiteralContext is an interface to support dynamic dispatch.
type IRefVariableContext ¶
type IRefVariableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRefVariableContext differentiates from other interfaces. IsRefVariableContext() }
IRefVariableContext is an interface to support dynamic dispatch.
type IRegexpLiteralContext ¶
type IRegexpLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRegexpLiteralContext differentiates from other interfaces. IsRegexpLiteralContext() }
IRegexpLiteralContext is an interface to support dynamic dispatch.
type IStringLiteralContext ¶
type IStringLiteralContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStringLiteralContext differentiates from other interfaces. IsStringLiteralContext() }
IStringLiteralContext is an interface to support dynamic dispatch.
type ITypeCastContext ¶
type ITypeCastContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypeCastContext differentiates from other interfaces. IsTypeCastContext() }
ITypeCastContext is an interface to support dynamic dispatch.
type ITypesContext ¶
type ITypesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTypesContext differentiates from other interfaces. IsTypesContext() }
ITypesContext is an interface to support dynamic dispatch.
type IdentifierContext ¶
type IdentifierContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIdentifierContext ¶
func NewEmptyIdentifierContext() *IdentifierContext
func NewIdentifierContext ¶
func NewIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierContext
func (*IdentifierContext) Accept ¶
func (s *IdentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IdentifierContext) GetParser ¶
func (s *IdentifierContext) GetParser() antlr.Parser
func (*IdentifierContext) GetRuleContext ¶
func (s *IdentifierContext) GetRuleContext() antlr.RuleContext
func (*IdentifierContext) Identifier ¶
func (s *IdentifierContext) Identifier() antlr.TerminalNode
func (*IdentifierContext) IsIdentifierContext ¶
func (*IdentifierContext) IsIdentifierContext()
func (*IdentifierContext) ToStringTree ¶
func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*IdentifierContext) Types ¶
func (s *IdentifierContext) Types() ITypesContext
type ListIndexFilterContext ¶
type ListIndexFilterContext struct {
*FilterExprContext
}
func NewListIndexFilterContext ¶
func NewListIndexFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ListIndexFilterContext
func (*ListIndexFilterContext) Accept ¶
func (s *ListIndexFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ListIndexFilterContext) GetRuleContext ¶
func (s *ListIndexFilterContext) GetRuleContext() antlr.RuleContext
func (*ListIndexFilterContext) ListSelectClose ¶
func (s *ListIndexFilterContext) ListSelectClose() antlr.TerminalNode
func (*ListIndexFilterContext) ListSelectOpen ¶
func (s *ListIndexFilterContext) ListSelectOpen() antlr.TerminalNode
func (*ListIndexFilterContext) NumberLiteral ¶
func (s *ListIndexFilterContext) NumberLiteral() INumberLiteralContext
type NumberIndexFilterContext ¶
type NumberIndexFilterContext struct {
*FilterExprContext
}
func NewNumberIndexFilterContext ¶
func NewNumberIndexFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NumberIndexFilterContext
func (*NumberIndexFilterContext) Accept ¶
func (s *NumberIndexFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NumberIndexFilterContext) GetRuleContext ¶
func (s *NumberIndexFilterContext) GetRuleContext() antlr.RuleContext
func (*NumberIndexFilterContext) NumberLiteral ¶
func (s *NumberIndexFilterContext) NumberLiteral() INumberLiteralContext
type NumberLiteralContext ¶
type NumberLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNumberLiteralContext ¶
func NewEmptyNumberLiteralContext() *NumberLiteralContext
func NewNumberLiteralContext ¶
func NewNumberLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberLiteralContext
func (*NumberLiteralContext) Accept ¶
func (s *NumberLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*NumberLiteralContext) BinaryNumber ¶
func (s *NumberLiteralContext) BinaryNumber() antlr.TerminalNode
func (*NumberLiteralContext) GetParser ¶
func (s *NumberLiteralContext) GetParser() antlr.Parser
func (*NumberLiteralContext) GetRuleContext ¶
func (s *NumberLiteralContext) GetRuleContext() antlr.RuleContext
func (*NumberLiteralContext) HexNumber ¶
func (s *NumberLiteralContext) HexNumber() antlr.TerminalNode
func (*NumberLiteralContext) IsNumberLiteralContext ¶
func (*NumberLiteralContext) IsNumberLiteralContext()
func (*NumberLiteralContext) Number ¶
func (s *NumberLiteralContext) Number() antlr.TerminalNode
func (*NumberLiteralContext) OctalNumber ¶
func (s *NumberLiteralContext) OctalNumber() antlr.TerminalNode
func (*NumberLiteralContext) ToStringTree ¶
func (s *NumberLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OptionalFilterContext ¶
type OptionalFilterContext struct {
*FilterExprContext
}
func NewOptionalFilterContext ¶
func NewOptionalFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OptionalFilterContext
func (*OptionalFilterContext) Accept ¶
func (s *OptionalFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OptionalFilterContext) ConditionExpression ¶
func (s *OptionalFilterContext) ConditionExpression() IConditionExpressionContext
func (*OptionalFilterContext) FilterExpr ¶
func (s *OptionalFilterContext) FilterExpr() IFilterExprContext
func (*OptionalFilterContext) GetRuleContext ¶
func (s *OptionalFilterContext) GetRuleContext() antlr.RuleContext
func (*OptionalFilterContext) Question ¶
func (s *OptionalFilterContext) Question() antlr.TerminalNode
type OptionalRootFilterContext ¶
type OptionalRootFilterContext struct {
*FilterExprContext
}
func NewOptionalRootFilterContext ¶
func NewOptionalRootFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *OptionalRootFilterContext
func (*OptionalRootFilterContext) Accept ¶
func (s *OptionalRootFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*OptionalRootFilterContext) ConditionExpression ¶
func (s *OptionalRootFilterContext) ConditionExpression() IConditionExpressionContext
func (*OptionalRootFilterContext) GetRuleContext ¶
func (s *OptionalRootFilterContext) GetRuleContext() antlr.RuleContext
func (*OptionalRootFilterContext) Question ¶
func (s *OptionalRootFilterContext) Question() antlr.TerminalNode
type ParenFilterContext ¶
type ParenFilterContext struct {
*FilterExprContext
}
func NewParenFilterContext ¶
func NewParenFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenFilterContext
func (*ParenFilterContext) Accept ¶
func (s *ParenFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ParenFilterContext) CloseParen ¶
func (s *ParenFilterContext) CloseParen() antlr.TerminalNode
func (*ParenFilterContext) FilterExpr ¶
func (s *ParenFilterContext) FilterExpr() IFilterExprContext
func (*ParenFilterContext) GetRuleContext ¶
func (s *ParenFilterContext) GetRuleContext() antlr.RuleContext
func (*ParenFilterContext) OpenParen ¶
func (s *ParenFilterContext) OpenParen() antlr.TerminalNode
type PrimaryFilterContext ¶
type PrimaryFilterContext struct {
*FilterExprContext
}
func NewPrimaryFilterContext ¶
func NewPrimaryFilterContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PrimaryFilterContext
func (*PrimaryFilterContext) Accept ¶
func (s *PrimaryFilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*PrimaryFilterContext) GetRuleContext ¶
func (s *PrimaryFilterContext) GetRuleContext() antlr.RuleContext
func (*PrimaryFilterContext) Identifier ¶
func (s *PrimaryFilterContext) Identifier() IIdentifierContext
type RefVariableContext ¶
type RefVariableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRefVariableContext ¶
func NewEmptyRefVariableContext() *RefVariableContext
func NewRefVariableContext ¶
func NewRefVariableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RefVariableContext
func (*RefVariableContext) Accept ¶
func (s *RefVariableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RefVariableContext) CloseParen ¶
func (s *RefVariableContext) CloseParen() antlr.TerminalNode
func (*RefVariableContext) DollarOutput ¶
func (s *RefVariableContext) DollarOutput() antlr.TerminalNode
func (*RefVariableContext) GetParser ¶
func (s *RefVariableContext) GetParser() antlr.Parser
func (*RefVariableContext) GetRuleContext ¶
func (s *RefVariableContext) GetRuleContext() antlr.RuleContext
func (*RefVariableContext) Identifier ¶
func (s *RefVariableContext) Identifier() IIdentifierContext
func (*RefVariableContext) IsRefVariableContext ¶
func (*RefVariableContext) IsRefVariableContext()
func (*RefVariableContext) OpenParen ¶
func (s *RefVariableContext) OpenParen() antlr.TerminalNode
func (*RefVariableContext) ToStringTree ¶
func (s *RefVariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RegexpLiteralContext ¶
type RegexpLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRegexpLiteralContext ¶
func NewEmptyRegexpLiteralContext() *RegexpLiteralContext
func NewRegexpLiteralContext ¶
func NewRegexpLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RegexpLiteralContext
func (*RegexpLiteralContext) Accept ¶
func (s *RegexpLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*RegexpLiteralContext) GetParser ¶
func (s *RegexpLiteralContext) GetParser() antlr.Parser
func (*RegexpLiteralContext) GetRuleContext ¶
func (s *RegexpLiteralContext) GetRuleContext() antlr.RuleContext
func (*RegexpLiteralContext) IsRegexpLiteralContext ¶
func (*RegexpLiteralContext) IsRegexpLiteralContext()
func (*RegexpLiteralContext) RegexpLiteral ¶
func (s *RegexpLiteralContext) RegexpLiteral() antlr.TerminalNode
func (*RegexpLiteralContext) ToStringTree ¶
func (s *RegexpLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StringLiteralContext ¶
type StringLiteralContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStringLiteralContext ¶
func NewEmptyStringLiteralContext() *StringLiteralContext
func NewStringLiteralContext ¶
func NewStringLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StringLiteralContext
func (*StringLiteralContext) Accept ¶
func (s *StringLiteralContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StringLiteralContext) GetParser ¶
func (s *StringLiteralContext) GetParser() antlr.Parser
func (*StringLiteralContext) GetRuleContext ¶
func (s *StringLiteralContext) GetRuleContext() antlr.RuleContext
func (*StringLiteralContext) Identifier ¶
func (s *StringLiteralContext) Identifier() IIdentifierContext
func (*StringLiteralContext) IsStringLiteralContext ¶
func (*StringLiteralContext) IsStringLiteralContext()
func (*StringLiteralContext) ToStringTree ¶
func (s *StringLiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SyntaxFlowLexer ¶
type SyntaxFlowLexer struct { *antlr.BaseLexer // contains filtered or unexported fields }
func NewSyntaxFlowLexer ¶
func NewSyntaxFlowLexer(input antlr.CharStream) *SyntaxFlowLexer
NewSyntaxFlowLexer produces a new lexer instance for the optional input antlr.CharStream.
type SyntaxFlowParser ¶
type SyntaxFlowParser struct {
*antlr.BaseParser
}
func NewSyntaxFlowParser ¶
func NewSyntaxFlowParser(input antlr.TokenStream) *SyntaxFlowParser
NewSyntaxFlowParser produces a new parser instance for the optional input antlr.TokenStream.
func (*SyntaxFlowParser) BoolLiteral ¶
func (p *SyntaxFlowParser) BoolLiteral() (localctx IBoolLiteralContext)
func (*SyntaxFlowParser) ChainFilter ¶
func (p *SyntaxFlowParser) ChainFilter() (localctx IChainFilterContext)
func (*SyntaxFlowParser) ConditionExpression ¶
func (p *SyntaxFlowParser) ConditionExpression() (localctx IConditionExpressionContext)
func (*SyntaxFlowParser) ConditionExpression_Sempred ¶
func (p *SyntaxFlowParser) ConditionExpression_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*SyntaxFlowParser) ExistedRef ¶
func (p *SyntaxFlowParser) ExistedRef() (localctx IExistedRefContext)
func (*SyntaxFlowParser) FilterExpr ¶
func (p *SyntaxFlowParser) FilterExpr() (localctx IFilterExprContext)
func (*SyntaxFlowParser) FilterExpr_Sempred ¶
func (p *SyntaxFlowParser) FilterExpr_Sempred(localctx antlr.RuleContext, predIndex int) bool
func (*SyntaxFlowParser) FilterFieldMember ¶
func (p *SyntaxFlowParser) FilterFieldMember() (localctx IFilterFieldMemberContext)
func (*SyntaxFlowParser) FilterStatement ¶
func (p *SyntaxFlowParser) FilterStatement() (localctx IFilterStatementContext)
func (*SyntaxFlowParser) Filters ¶
func (p *SyntaxFlowParser) Filters() (localctx IFiltersContext)
func (*SyntaxFlowParser) Flow ¶
func (p *SyntaxFlowParser) Flow() (localctx IFlowContext)
func (*SyntaxFlowParser) Identifier ¶
func (p *SyntaxFlowParser) Identifier() (localctx IIdentifierContext)
func (*SyntaxFlowParser) NumberLiteral ¶
func (p *SyntaxFlowParser) NumberLiteral() (localctx INumberLiteralContext)
func (*SyntaxFlowParser) RefVariable ¶
func (p *SyntaxFlowParser) RefVariable() (localctx IRefVariableContext)
func (*SyntaxFlowParser) RegexpLiteral ¶
func (p *SyntaxFlowParser) RegexpLiteral() (localctx IRegexpLiteralContext)
func (*SyntaxFlowParser) Sempred ¶
func (p *SyntaxFlowParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
func (*SyntaxFlowParser) StringLiteral ¶
func (p *SyntaxFlowParser) StringLiteral() (localctx IStringLiteralContext)
func (*SyntaxFlowParser) TypeCast ¶
func (p *SyntaxFlowParser) TypeCast() (localctx ITypeCastContext)
func (*SyntaxFlowParser) Types ¶
func (p *SyntaxFlowParser) Types() (localctx ITypesContext)
type SyntaxFlowVisitor ¶
type SyntaxFlowVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by SyntaxFlowParser#flow. VisitFlow(ctx *FlowContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#filters. VisitFilters(ctx *FiltersContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#filterStatement. VisitFilterStatement(ctx *FilterStatementContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#existedRef. VisitExistedRef(ctx *ExistedRefContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#refVariable. VisitRefVariable(ctx *RefVariableContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#DirectionFilter. VisitDirectionFilter(ctx *DirectionFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FieldFilter. VisitFieldFilter(ctx *FieldFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#AheadChainFilter. VisitAheadChainFilter(ctx *AheadChainFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#ParenFilter. VisitParenFilter(ctx *ParenFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#DeepChainFilter. VisitDeepChainFilter(ctx *DeepChainFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#CurrentRootFilter. VisitCurrentRootFilter(ctx *CurrentRootFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#OptionalFilter. VisitOptionalFilter(ctx *OptionalFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#PrimaryFilter. VisitPrimaryFilter(ctx *PrimaryFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#ListIndexFilter. VisitListIndexFilter(ctx *ListIndexFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#NumberIndexFilter. VisitNumberIndexFilter(ctx *NumberIndexFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FieldChainFilter. VisitFieldChainFilter(ctx *FieldChainFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#OptionalRootFilter. VisitOptionalRootFilter(ctx *OptionalRootFilterContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#Flat. VisitFlat(ctx *FlatContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#BuildMap. VisitBuildMap(ctx *BuildMapContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#filterFieldMember. VisitFilterFieldMember(ctx *FilterFieldMemberContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionString. VisitFilterExpressionString(ctx *FilterExpressionStringContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionOr. VisitFilterExpressionOr(ctx *FilterExpressionOrContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionParen. VisitFilterExpressionParen(ctx *FilterExpressionParenContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionAnd. VisitFilterExpressionAnd(ctx *FilterExpressionAndContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionCompare. VisitFilterExpressionCompare(ctx *FilterExpressionCompareContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionRegexpMatch. VisitFilterExpressionRegexpMatch(ctx *FilterExpressionRegexpMatchContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionNumber. VisitFilterExpressionNumber(ctx *FilterExpressionNumberContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionRegexp. VisitFilterExpressionRegexp(ctx *FilterExpressionRegexpContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#FilterExpressionNot. VisitFilterExpressionNot(ctx *FilterExpressionNotContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#numberLiteral. VisitNumberLiteral(ctx *NumberLiteralContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#stringLiteral. VisitStringLiteral(ctx *StringLiteralContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#regexpLiteral. VisitRegexpLiteral(ctx *RegexpLiteralContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#typeCast. VisitTypeCast(ctx *TypeCastContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#identifier. VisitIdentifier(ctx *IdentifierContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#types. VisitTypes(ctx *TypesContext) interface{} // Visit a parse tree produced by SyntaxFlowParser#boolLiteral. VisitBoolLiteral(ctx *BoolLiteralContext) interface{} }
A complete Visitor for a parse tree produced by SyntaxFlowParser.
type TypeCastContext ¶
type TypeCastContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypeCastContext ¶
func NewEmptyTypeCastContext() *TypeCastContext
func NewTypeCastContext ¶
func NewTypeCastContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeCastContext
func (*TypeCastContext) Accept ¶
func (s *TypeCastContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypeCastContext) CloseParen ¶
func (s *TypeCastContext) CloseParen() antlr.TerminalNode
func (*TypeCastContext) GetParser ¶
func (s *TypeCastContext) GetParser() antlr.Parser
func (*TypeCastContext) GetRuleContext ¶
func (s *TypeCastContext) GetRuleContext() antlr.RuleContext
func (*TypeCastContext) IsTypeCastContext ¶
func (*TypeCastContext) IsTypeCastContext()
func (*TypeCastContext) OpenParen ¶
func (s *TypeCastContext) OpenParen() antlr.TerminalNode
func (*TypeCastContext) ToStringTree ¶
func (s *TypeCastContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TypeCastContext) Types ¶
func (s *TypeCastContext) Types() ITypesContext
type TypesContext ¶
type TypesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTypesContext ¶
func NewEmptyTypesContext() *TypesContext
func NewTypesContext ¶
func NewTypesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypesContext
func (*TypesContext) Accept ¶
func (s *TypesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*TypesContext) BoolType ¶
func (s *TypesContext) BoolType() antlr.TerminalNode
func (*TypesContext) DictType ¶
func (s *TypesContext) DictType() antlr.TerminalNode
func (*TypesContext) GetParser ¶
func (s *TypesContext) GetParser() antlr.Parser
func (*TypesContext) GetRuleContext ¶
func (s *TypesContext) GetRuleContext() antlr.RuleContext
func (*TypesContext) IsTypesContext ¶
func (*TypesContext) IsTypesContext()
func (*TypesContext) ListType ¶
func (s *TypesContext) ListType() antlr.TerminalNode
func (*TypesContext) NumberType ¶
func (s *TypesContext) NumberType() antlr.TerminalNode
func (*TypesContext) StringType ¶
func (s *TypesContext) StringType() antlr.TerminalNode
func (*TypesContext) ToStringTree ¶
func (s *TypesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string