Documentation ¶
Overview ¶
Package parser contains the files for the CCL Parser
Index ¶
- Constants
- type AssetTypeContext
- func (s *AssetTypeContext) GetParser() antlr.Parser
- func (s *AssetTypeContext) GetRuleContext() antlr.RuleContext
- func (*AssetTypeContext) IsAssetTypeContext()
- func (s *AssetTypeContext) SimpleAssetType() ISimpleAssetTypeContext
- func (s *AssetTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BinaryComparisonContext
- func (s *BinaryComparisonContext) Field() IFieldContext
- func (s *BinaryComparisonContext) GetParser() antlr.Parser
- func (s *BinaryComparisonContext) GetRuleContext() antlr.RuleContext
- func (*BinaryComparisonContext) IsBinaryComparisonContext()
- func (s *BinaryComparisonContext) Operator() IOperatorContext
- func (s *BinaryComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *BinaryComparisonContext) Value() IValueContext
- type CCLLexer
- type CCLParser
- func (p *CCLParser) AssetType() (localctx IAssetTypeContext)
- func (p *CCLParser) BinaryComparison() (localctx IBinaryComparisonContext)
- func (p *CCLParser) Comparison() (localctx IComparisonContext)
- func (p *CCLParser) Condition() (localctx IConditionContext)
- func (p *CCLParser) Duration() (localctx IDurationContext)
- func (p *CCLParser) Expression() (localctx IExpressionContext)
- func (p *CCLParser) Field() (localctx IFieldContext)
- func (p *CCLParser) InExpression() (localctx IInExpressionContext)
- func (p *CCLParser) IsEmptyExpression() (localctx IIsEmptyExpressionContext)
- func (p *CCLParser) NotExpression() (localctx INotExpressionContext)
- func (p *CCLParser) NowOperator() (localctx INowOperatorContext)
- func (p *CCLParser) Operator() (localctx IOperatorContext)
- func (p *CCLParser) Scope() (localctx IScopeContext)
- func (p *CCLParser) SimpleAssetType() (localctx ISimpleAssetTypeContext)
- func (p *CCLParser) SimpleExpression() (localctx ISimpleExpressionContext)
- func (p *CCLParser) TimeComparison() (localctx ITimeComparisonContext)
- func (p *CCLParser) TimeOperator() (localctx ITimeOperatorContext)
- func (p *CCLParser) Unit() (localctx IUnitContext)
- func (p *CCLParser) Value() (localctx IValueContext)
- func (p *CCLParser) WithinExpression() (localctx IWithinExpressionContext)
- type ComparisonContext
- func (s *ComparisonContext) BinaryComparison() IBinaryComparisonContext
- func (s *ComparisonContext) GetParser() antlr.Parser
- func (s *ComparisonContext) GetRuleContext() antlr.RuleContext
- func (*ComparisonContext) IsComparisonContext()
- func (s *ComparisonContext) TimeComparison() ITimeComparisonContext
- func (s *ComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ConditionContext
- func (s *ConditionContext) AssetType() IAssetTypeContext
- func (s *ConditionContext) EOF() antlr.TerminalNode
- func (s *ConditionContext) Expression() IExpressionContext
- func (s *ConditionContext) GetParser() antlr.Parser
- func (s *ConditionContext) GetRuleContext() antlr.RuleContext
- func (*ConditionContext) IsConditionContext()
- func (s *ConditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DurationContext
- func (s *DurationContext) GetParser() antlr.Parser
- func (s *DurationContext) GetRuleContext() antlr.RuleContext
- func (s *DurationContext) IntNumber() antlr.TerminalNode
- func (*DurationContext) IsDurationContext()
- func (s *DurationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *DurationContext) Unit() IUnitContext
- type ExpressionContext
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ExpressionContext) InExpression() IInExpressionContext
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) NotExpression() INotExpressionContext
- func (s *ExpressionContext) SimpleExpression() ISimpleExpressionContext
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FieldContext
- type IAssetTypeContext
- type IBinaryComparisonContext
- type IComparisonContext
- type IConditionContext
- type IDurationContext
- type IExpressionContext
- type IFieldContext
- type IInExpressionContext
- type IIsEmptyExpressionContext
- type INotExpressionContext
- type INowOperatorContext
- type IOperatorContext
- type IScopeContext
- type ISimpleAssetTypeContext
- type ISimpleExpressionContext
- type ITimeComparisonContext
- type ITimeOperatorContext
- type IUnitContext
- type IValueContext
- type IWithinExpressionContext
- type InExpressionContext
- func (s *InExpressionContext) Field() IFieldContext
- func (s *InExpressionContext) GetParser() antlr.Parser
- func (s *InExpressionContext) GetRuleContext() antlr.RuleContext
- func (*InExpressionContext) IsInExpressionContext()
- func (s *InExpressionContext) Scope() IScopeContext
- func (s *InExpressionContext) SimpleExpression() ISimpleExpressionContext
- func (s *InExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IsEmptyExpressionContext
- func (s *IsEmptyExpressionContext) Field() IFieldContext
- func (s *IsEmptyExpressionContext) GetParser() antlr.Parser
- func (s *IsEmptyExpressionContext) GetRuleContext() antlr.RuleContext
- func (*IsEmptyExpressionContext) IsIsEmptyExpressionContext()
- func (s *IsEmptyExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NotExpressionContext
- func (s *NotExpressionContext) Expression() IExpressionContext
- func (s *NotExpressionContext) GetParser() antlr.Parser
- func (s *NotExpressionContext) GetRuleContext() antlr.RuleContext
- func (*NotExpressionContext) IsNotExpressionContext()
- func (s *NotExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NowOperatorContext
- type OperatorContext
- func (s *OperatorContext) ContainsOperator() antlr.TerminalNode
- func (s *OperatorContext) EqualsOperator() antlr.TerminalNode
- func (s *OperatorContext) GetParser() antlr.Parser
- func (s *OperatorContext) GetRuleContext() antlr.RuleContext
- func (*OperatorContext) IsOperatorContext()
- func (s *OperatorContext) LessOrEqualsThanOperator() antlr.TerminalNode
- func (s *OperatorContext) LessThanOperator() antlr.TerminalNode
- func (s *OperatorContext) MoreOrEqualsThanOperator() antlr.TerminalNode
- func (s *OperatorContext) MoreThanOperator() antlr.TerminalNode
- func (s *OperatorContext) NotEqualsOperator() antlr.TerminalNode
- func (s *OperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ScopeContext
- type SimpleAssetTypeContext
- func (s *SimpleAssetTypeContext) Field() IFieldContext
- func (s *SimpleAssetTypeContext) GetParser() antlr.Parser
- func (s *SimpleAssetTypeContext) GetRuleContext() antlr.RuleContext
- func (*SimpleAssetTypeContext) IsSimpleAssetTypeContext()
- func (s *SimpleAssetTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SimpleExpressionContext
- func (s *SimpleExpressionContext) Comparison() IComparisonContext
- func (s *SimpleExpressionContext) Expression() IExpressionContext
- func (s *SimpleExpressionContext) GetParser() antlr.Parser
- func (s *SimpleExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *SimpleExpressionContext) IsEmptyExpression() IIsEmptyExpressionContext
- func (*SimpleExpressionContext) IsSimpleExpressionContext()
- func (s *SimpleExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SimpleExpressionContext) WithinExpression() IWithinExpressionContext
- type TimeComparisonContext
- func (s *TimeComparisonContext) Duration() IDurationContext
- func (s *TimeComparisonContext) Field() IFieldContext
- func (s *TimeComparisonContext) GetParser() antlr.Parser
- func (s *TimeComparisonContext) GetRuleContext() antlr.RuleContext
- func (*TimeComparisonContext) IsTimeComparisonContext()
- func (s *TimeComparisonContext) NowOperator() INowOperatorContext
- func (s *TimeComparisonContext) TimeOperator() ITimeOperatorContext
- func (s *TimeComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TimeOperatorContext
- func (s *TimeOperatorContext) AfterOperator() antlr.TerminalNode
- func (s *TimeOperatorContext) BeforeOperator() antlr.TerminalNode
- func (s *TimeOperatorContext) GetParser() antlr.Parser
- func (s *TimeOperatorContext) GetRuleContext() antlr.RuleContext
- func (*TimeOperatorContext) IsTimeOperatorContext()
- func (s *TimeOperatorContext) OlderOperator() antlr.TerminalNode
- func (s *TimeOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TimeOperatorContext) YoungerOperator() antlr.TerminalNode
- type UnitContext
- type ValueContext
- func (s *ValueContext) BooleanLiteral() antlr.TerminalNode
- func (s *ValueContext) FloatNumber() antlr.TerminalNode
- func (s *ValueContext) GetParser() antlr.Parser
- func (s *ValueContext) GetRuleContext() antlr.RuleContext
- func (s *ValueContext) IntNumber() antlr.TerminalNode
- func (*ValueContext) IsValueContext()
- func (s *ValueContext) StringLiteral() antlr.TerminalNode
- func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type WithinExpressionContext
- func (s *WithinExpressionContext) AllValue() []IValueContext
- func (s *WithinExpressionContext) Field() IFieldContext
- func (s *WithinExpressionContext) GetParser() antlr.Parser
- func (s *WithinExpressionContext) GetRuleContext() antlr.RuleContext
- func (*WithinExpressionContext) IsWithinExpressionContext()
- func (s *WithinExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *WithinExpressionContext) Value(i int) IValueContext
Constants ¶
const ( CCLLexerT__0 = 1 CCLLexerT__1 = 2 CCLLexerT__2 = 3 CCLLexerT__3 = 4 CCLLexerT__4 = 5 CCLLexerT__5 = 6 CCLLexerT__6 = 7 CCLLexerT__7 = 8 CCLLexerT__8 = 9 CCLLexerT__9 = 10 CCLLexerT__10 = 11 CCLLexerT__11 = 12 CCLLexerT__12 = 13 CCLLexerT__13 = 14 CCLLexerEqualsOperator = 15 CCLLexerNotEqualsOperator = 16 CCLLexerLessOrEqualsThanOperator = 17 CCLLexerLessThanOperator = 18 CCLLexerMoreThanOperator = 19 CCLLexerMoreOrEqualsThanOperator = 20 CCLLexerContainsOperator = 21 CCLLexerBeforeOperator = 22 CCLLexerAfterOperator = 23 CCLLexerYoungerOperator = 24 CCLLexerOlderOperator = 25 CCLLexerBooleanLiteral = 26 CCLLexerTrue = 27 CCLLexerFalse = 28 CCLLexerIdentifier = 29 CCLLexerIntNumber = 30 CCLLexerFloatNumber = 31 CCLLexerStringLiteral = 32 CCLLexerWhitespace = 33 )
CCLLexer tokens.
const ( CCLParserEOF = antlr.TokenEOF CCLParserT__0 = 1 CCLParserT__1 = 2 CCLParserT__2 = 3 CCLParserT__3 = 4 CCLParserT__4 = 5 CCLParserT__5 = 6 CCLParserT__6 = 7 CCLParserT__7 = 8 CCLParserT__8 = 9 CCLParserT__9 = 10 CCLParserT__10 = 11 CCLParserT__11 = 12 CCLParserT__12 = 13 CCLParserT__13 = 14 CCLParserEqualsOperator = 15 CCLParserNotEqualsOperator = 16 CCLParserLessOrEqualsThanOperator = 17 CCLParserLessThanOperator = 18 CCLParserMoreThanOperator = 19 CCLParserMoreOrEqualsThanOperator = 20 CCLParserContainsOperator = 21 CCLParserBeforeOperator = 22 CCLParserAfterOperator = 23 CCLParserYoungerOperator = 24 CCLParserOlderOperator = 25 CCLParserBooleanLiteral = 26 CCLParserTrue = 27 CCLParserFalse = 28 CCLParserIdentifier = 29 CCLParserIntNumber = 30 CCLParserFloatNumber = 31 CCLParserStringLiteral = 32 CCLParserWhitespace = 33 )
CCLParser tokens.
const ( CCLParserRULE_condition = 0 CCLParserRULE_assetType = 1 CCLParserRULE_simpleAssetType = 2 CCLParserRULE_field = 3 CCLParserRULE_expression = 4 CCLParserRULE_simpleExpression = 5 CCLParserRULE_notExpression = 6 CCLParserRULE_isEmptyExpression = 7 CCLParserRULE_comparison = 8 CCLParserRULE_binaryComparison = 9 CCLParserRULE_timeComparison = 10 CCLParserRULE_timeOperator = 11 CCLParserRULE_nowOperator = 12 CCLParserRULE_duration = 13 CCLParserRULE_unit = 14 CCLParserRULE_inExpression = 15 CCLParserRULE_scope = 16 CCLParserRULE_withinExpression = 17 CCLParserRULE_value = 18 CCLParserRULE_operator = 19 )
CCLParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetTypeContext ¶
type AssetTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssetTypeContext ¶
func NewAssetTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssetTypeContext
func NewEmptyAssetTypeContext ¶
func NewEmptyAssetTypeContext() *AssetTypeContext
func (*AssetTypeContext) GetParser ¶
func (s *AssetTypeContext) GetParser() antlr.Parser
func (*AssetTypeContext) GetRuleContext ¶
func (s *AssetTypeContext) GetRuleContext() antlr.RuleContext
func (*AssetTypeContext) IsAssetTypeContext ¶
func (*AssetTypeContext) IsAssetTypeContext()
func (*AssetTypeContext) SimpleAssetType ¶
func (s *AssetTypeContext) SimpleAssetType() ISimpleAssetTypeContext
func (*AssetTypeContext) ToStringTree ¶
func (s *AssetTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BinaryComparisonContext ¶
type BinaryComparisonContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBinaryComparisonContext ¶
func NewBinaryComparisonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BinaryComparisonContext
func NewEmptyBinaryComparisonContext ¶
func NewEmptyBinaryComparisonContext() *BinaryComparisonContext
func (*BinaryComparisonContext) Field ¶
func (s *BinaryComparisonContext) Field() IFieldContext
func (*BinaryComparisonContext) GetParser ¶
func (s *BinaryComparisonContext) GetParser() antlr.Parser
func (*BinaryComparisonContext) GetRuleContext ¶
func (s *BinaryComparisonContext) GetRuleContext() antlr.RuleContext
func (*BinaryComparisonContext) IsBinaryComparisonContext ¶
func (*BinaryComparisonContext) IsBinaryComparisonContext()
func (*BinaryComparisonContext) Operator ¶
func (s *BinaryComparisonContext) Operator() IOperatorContext
func (*BinaryComparisonContext) ToStringTree ¶
func (s *BinaryComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*BinaryComparisonContext) Value ¶
func (s *BinaryComparisonContext) Value() IValueContext
type CCLLexer ¶
func NewCCLLexer ¶
func NewCCLLexer(input antlr.CharStream) *CCLLexer
NewCCLLexer produces a new lexer instance for the optional input antlr.CharStream.
The *CCLLexer instance produced may be reused by calling the SetInputStream method. The initial lexer configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
type CCLParser ¶
type CCLParser struct {
*antlr.BaseParser
}
func NewCCLParser ¶
func NewCCLParser(input antlr.TokenStream) *CCLParser
NewCCLParser produces a new parser instance for the optional input antlr.TokenStream.
The *CCLParser instance produced may be reused by calling the SetInputStream method. The initial parser configuration is expensive to construct, and the object is not thread-safe; however, if used within a Golang sync.Pool, the construction cost amortizes well and the objects can be used in a thread-safe manner.
func (*CCLParser) AssetType ¶
func (p *CCLParser) AssetType() (localctx IAssetTypeContext)
func (*CCLParser) BinaryComparison ¶
func (p *CCLParser) BinaryComparison() (localctx IBinaryComparisonContext)
func (*CCLParser) Comparison ¶
func (p *CCLParser) Comparison() (localctx IComparisonContext)
func (*CCLParser) Condition ¶
func (p *CCLParser) Condition() (localctx IConditionContext)
func (*CCLParser) Duration ¶
func (p *CCLParser) Duration() (localctx IDurationContext)
func (*CCLParser) Expression ¶
func (p *CCLParser) Expression() (localctx IExpressionContext)
func (*CCLParser) Field ¶
func (p *CCLParser) Field() (localctx IFieldContext)
func (*CCLParser) InExpression ¶
func (p *CCLParser) InExpression() (localctx IInExpressionContext)
func (*CCLParser) IsEmptyExpression ¶
func (p *CCLParser) IsEmptyExpression() (localctx IIsEmptyExpressionContext)
func (*CCLParser) NotExpression ¶
func (p *CCLParser) NotExpression() (localctx INotExpressionContext)
func (*CCLParser) NowOperator ¶
func (p *CCLParser) NowOperator() (localctx INowOperatorContext)
func (*CCLParser) Operator ¶
func (p *CCLParser) Operator() (localctx IOperatorContext)
func (*CCLParser) Scope ¶
func (p *CCLParser) Scope() (localctx IScopeContext)
func (*CCLParser) SimpleAssetType ¶
func (p *CCLParser) SimpleAssetType() (localctx ISimpleAssetTypeContext)
func (*CCLParser) SimpleExpression ¶
func (p *CCLParser) SimpleExpression() (localctx ISimpleExpressionContext)
func (*CCLParser) TimeComparison ¶
func (p *CCLParser) TimeComparison() (localctx ITimeComparisonContext)
func (*CCLParser) TimeOperator ¶
func (p *CCLParser) TimeOperator() (localctx ITimeOperatorContext)
func (*CCLParser) Unit ¶
func (p *CCLParser) Unit() (localctx IUnitContext)
func (*CCLParser) Value ¶
func (p *CCLParser) Value() (localctx IValueContext)
func (*CCLParser) WithinExpression ¶
func (p *CCLParser) WithinExpression() (localctx IWithinExpressionContext)
type ComparisonContext ¶
type ComparisonContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewComparisonContext ¶
func NewComparisonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparisonContext
func NewEmptyComparisonContext ¶
func NewEmptyComparisonContext() *ComparisonContext
func (*ComparisonContext) BinaryComparison ¶
func (s *ComparisonContext) BinaryComparison() IBinaryComparisonContext
func (*ComparisonContext) GetParser ¶
func (s *ComparisonContext) GetParser() antlr.Parser
func (*ComparisonContext) GetRuleContext ¶
func (s *ComparisonContext) GetRuleContext() antlr.RuleContext
func (*ComparisonContext) IsComparisonContext ¶
func (*ComparisonContext) IsComparisonContext()
func (*ComparisonContext) TimeComparison ¶
func (s *ComparisonContext) TimeComparison() ITimeComparisonContext
func (*ComparisonContext) ToStringTree ¶
func (s *ComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ConditionContext ¶
type ConditionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConditionContext ¶
func NewConditionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionContext
func NewEmptyConditionContext ¶
func NewEmptyConditionContext() *ConditionContext
func (*ConditionContext) AssetType ¶
func (s *ConditionContext) AssetType() IAssetTypeContext
func (*ConditionContext) EOF ¶
func (s *ConditionContext) EOF() antlr.TerminalNode
func (*ConditionContext) Expression ¶
func (s *ConditionContext) Expression() IExpressionContext
func (*ConditionContext) GetParser ¶
func (s *ConditionContext) GetParser() antlr.Parser
func (*ConditionContext) GetRuleContext ¶
func (s *ConditionContext) GetRuleContext() antlr.RuleContext
func (*ConditionContext) IsConditionContext ¶
func (*ConditionContext) IsConditionContext()
func (*ConditionContext) ToStringTree ¶
func (s *ConditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DurationContext ¶
type DurationContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDurationContext ¶
func NewDurationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DurationContext
func NewEmptyDurationContext ¶
func NewEmptyDurationContext() *DurationContext
func (*DurationContext) GetParser ¶
func (s *DurationContext) GetParser() antlr.Parser
func (*DurationContext) GetRuleContext ¶
func (s *DurationContext) GetRuleContext() antlr.RuleContext
func (*DurationContext) IntNumber ¶
func (s *DurationContext) IntNumber() antlr.TerminalNode
func (*DurationContext) IsDurationContext ¶
func (*DurationContext) IsDurationContext()
func (*DurationContext) ToStringTree ¶
func (s *DurationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*DurationContext) Unit ¶
func (s *DurationContext) Unit() IUnitContext
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) GetParser ¶
func (s *ExpressionContext) GetParser() antlr.Parser
func (*ExpressionContext) GetRuleContext ¶
func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
func (*ExpressionContext) InExpression ¶
func (s *ExpressionContext) InExpression() IInExpressionContext
func (*ExpressionContext) IsExpressionContext ¶
func (*ExpressionContext) IsExpressionContext()
func (*ExpressionContext) NotExpression ¶
func (s *ExpressionContext) NotExpression() INotExpressionContext
func (*ExpressionContext) SimpleExpression ¶
func (s *ExpressionContext) SimpleExpression() ISimpleExpressionContext
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) 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) GetParser ¶
func (s *FieldContext) GetParser() antlr.Parser
func (*FieldContext) GetRuleContext ¶
func (s *FieldContext) GetRuleContext() antlr.RuleContext
func (*FieldContext) Identifier ¶
func (s *FieldContext) Identifier() antlr.TerminalNode
func (*FieldContext) IsFieldContext ¶
func (*FieldContext) IsFieldContext()
func (*FieldContext) ToStringTree ¶
func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IAssetTypeContext ¶
type IAssetTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAssetTypeContext differentiates from other interfaces. IsAssetTypeContext() }
IAssetTypeContext is an interface to support dynamic dispatch.
type IBinaryComparisonContext ¶
type IBinaryComparisonContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBinaryComparisonContext differentiates from other interfaces. IsBinaryComparisonContext() }
IBinaryComparisonContext is an interface to support dynamic dispatch.
type IComparisonContext ¶
type IComparisonContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsComparisonContext differentiates from other interfaces. IsComparisonContext() }
IComparisonContext is an interface to support dynamic dispatch.
type IConditionContext ¶
type IConditionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsConditionContext differentiates from other interfaces. IsConditionContext() }
IConditionContext is an interface to support dynamic dispatch.
type IDurationContext ¶
type IDurationContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDurationContext differentiates from other interfaces. IsDurationContext() }
IDurationContext is an interface to support dynamic dispatch.
type IExpressionContext ¶
type IExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpressionContext differentiates from other interfaces. IsExpressionContext() }
IExpressionContext is an interface to support dynamic dispatch.
type IFieldContext ¶
type IFieldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFieldContext differentiates from other interfaces. IsFieldContext() }
IFieldContext is an interface to support dynamic dispatch.
type IInExpressionContext ¶
type IInExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsInExpressionContext differentiates from other interfaces. IsInExpressionContext() }
IInExpressionContext is an interface to support dynamic dispatch.
type IIsEmptyExpressionContext ¶
type IIsEmptyExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIsEmptyExpressionContext differentiates from other interfaces. IsIsEmptyExpressionContext() }
IIsEmptyExpressionContext is an interface to support dynamic dispatch.
type INotExpressionContext ¶
type INotExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNotExpressionContext differentiates from other interfaces. IsNotExpressionContext() }
INotExpressionContext is an interface to support dynamic dispatch.
type INowOperatorContext ¶
type INowOperatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNowOperatorContext differentiates from other interfaces. IsNowOperatorContext() }
INowOperatorContext is an interface to support dynamic dispatch.
type IOperatorContext ¶
type IOperatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsOperatorContext differentiates from other interfaces. IsOperatorContext() }
IOperatorContext is an interface to support dynamic dispatch.
type IScopeContext ¶
type IScopeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsScopeContext differentiates from other interfaces. IsScopeContext() }
IScopeContext is an interface to support dynamic dispatch.
type ISimpleAssetTypeContext ¶
type ISimpleAssetTypeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSimpleAssetTypeContext differentiates from other interfaces. IsSimpleAssetTypeContext() }
ISimpleAssetTypeContext is an interface to support dynamic dispatch.
type ISimpleExpressionContext ¶
type ISimpleExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSimpleExpressionContext differentiates from other interfaces. IsSimpleExpressionContext() }
ISimpleExpressionContext is an interface to support dynamic dispatch.
type ITimeComparisonContext ¶
type ITimeComparisonContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTimeComparisonContext differentiates from other interfaces. IsTimeComparisonContext() }
ITimeComparisonContext is an interface to support dynamic dispatch.
type ITimeOperatorContext ¶
type ITimeOperatorContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTimeOperatorContext differentiates from other interfaces. IsTimeOperatorContext() }
ITimeOperatorContext is an interface to support dynamic dispatch.
type IUnitContext ¶
type IUnitContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsUnitContext differentiates from other interfaces. IsUnitContext() }
IUnitContext 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 IWithinExpressionContext ¶
type IWithinExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWithinExpressionContext differentiates from other interfaces. IsWithinExpressionContext() }
IWithinExpressionContext is an interface to support dynamic dispatch.
type InExpressionContext ¶
type InExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInExpressionContext ¶
func NewEmptyInExpressionContext() *InExpressionContext
func NewInExpressionContext ¶
func NewInExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InExpressionContext
func (*InExpressionContext) Field ¶
func (s *InExpressionContext) Field() IFieldContext
func (*InExpressionContext) GetParser ¶
func (s *InExpressionContext) GetParser() antlr.Parser
func (*InExpressionContext) GetRuleContext ¶
func (s *InExpressionContext) GetRuleContext() antlr.RuleContext
func (*InExpressionContext) IsInExpressionContext ¶
func (*InExpressionContext) IsInExpressionContext()
func (*InExpressionContext) Scope ¶
func (s *InExpressionContext) Scope() IScopeContext
func (*InExpressionContext) SimpleExpression ¶
func (s *InExpressionContext) SimpleExpression() ISimpleExpressionContext
func (*InExpressionContext) ToStringTree ¶
func (s *InExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IsEmptyExpressionContext ¶
type IsEmptyExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIsEmptyExpressionContext ¶
func NewEmptyIsEmptyExpressionContext() *IsEmptyExpressionContext
func NewIsEmptyExpressionContext ¶
func NewIsEmptyExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IsEmptyExpressionContext
func (*IsEmptyExpressionContext) Field ¶
func (s *IsEmptyExpressionContext) Field() IFieldContext
func (*IsEmptyExpressionContext) GetParser ¶
func (s *IsEmptyExpressionContext) GetParser() antlr.Parser
func (*IsEmptyExpressionContext) GetRuleContext ¶
func (s *IsEmptyExpressionContext) GetRuleContext() antlr.RuleContext
func (*IsEmptyExpressionContext) IsIsEmptyExpressionContext ¶
func (*IsEmptyExpressionContext) IsIsEmptyExpressionContext()
func (*IsEmptyExpressionContext) ToStringTree ¶
func (s *IsEmptyExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NotExpressionContext ¶
type NotExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNotExpressionContext ¶
func NewEmptyNotExpressionContext() *NotExpressionContext
func NewNotExpressionContext ¶
func NewNotExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NotExpressionContext
func (*NotExpressionContext) Expression ¶
func (s *NotExpressionContext) Expression() IExpressionContext
func (*NotExpressionContext) GetParser ¶
func (s *NotExpressionContext) GetParser() antlr.Parser
func (*NotExpressionContext) GetRuleContext ¶
func (s *NotExpressionContext) GetRuleContext() antlr.RuleContext
func (*NotExpressionContext) IsNotExpressionContext ¶
func (*NotExpressionContext) IsNotExpressionContext()
func (*NotExpressionContext) ToStringTree ¶
func (s *NotExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NowOperatorContext ¶
type NowOperatorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNowOperatorContext ¶
func NewEmptyNowOperatorContext() *NowOperatorContext
func NewNowOperatorContext ¶
func NewNowOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NowOperatorContext
func (*NowOperatorContext) GetParser ¶
func (s *NowOperatorContext) GetParser() antlr.Parser
func (*NowOperatorContext) GetRuleContext ¶
func (s *NowOperatorContext) GetRuleContext() antlr.RuleContext
func (*NowOperatorContext) IsNowOperatorContext ¶
func (*NowOperatorContext) IsNowOperatorContext()
func (*NowOperatorContext) ToStringTree ¶
func (s *NowOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OperatorContext ¶
type OperatorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOperatorContext ¶
func NewEmptyOperatorContext() *OperatorContext
func NewOperatorContext ¶
func NewOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OperatorContext
func (*OperatorContext) ContainsOperator ¶
func (s *OperatorContext) ContainsOperator() antlr.TerminalNode
func (*OperatorContext) EqualsOperator ¶
func (s *OperatorContext) EqualsOperator() antlr.TerminalNode
func (*OperatorContext) GetParser ¶
func (s *OperatorContext) GetParser() antlr.Parser
func (*OperatorContext) GetRuleContext ¶
func (s *OperatorContext) GetRuleContext() antlr.RuleContext
func (*OperatorContext) IsOperatorContext ¶
func (*OperatorContext) IsOperatorContext()
func (*OperatorContext) LessOrEqualsThanOperator ¶
func (s *OperatorContext) LessOrEqualsThanOperator() antlr.TerminalNode
func (*OperatorContext) LessThanOperator ¶
func (s *OperatorContext) LessThanOperator() antlr.TerminalNode
func (*OperatorContext) MoreOrEqualsThanOperator ¶
func (s *OperatorContext) MoreOrEqualsThanOperator() antlr.TerminalNode
func (*OperatorContext) MoreThanOperator ¶
func (s *OperatorContext) MoreThanOperator() antlr.TerminalNode
func (*OperatorContext) NotEqualsOperator ¶
func (s *OperatorContext) NotEqualsOperator() antlr.TerminalNode
func (*OperatorContext) ToStringTree ¶
func (s *OperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ScopeContext ¶
type ScopeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyScopeContext ¶
func NewEmptyScopeContext() *ScopeContext
func NewScopeContext ¶
func NewScopeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScopeContext
func (*ScopeContext) GetParser ¶
func (s *ScopeContext) GetParser() antlr.Parser
func (*ScopeContext) GetRuleContext ¶
func (s *ScopeContext) GetRuleContext() antlr.RuleContext
func (*ScopeContext) IsScopeContext ¶
func (*ScopeContext) IsScopeContext()
func (*ScopeContext) ToStringTree ¶
func (s *ScopeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SimpleAssetTypeContext ¶
type SimpleAssetTypeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimpleAssetTypeContext ¶
func NewEmptySimpleAssetTypeContext() *SimpleAssetTypeContext
func NewSimpleAssetTypeContext ¶
func NewSimpleAssetTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleAssetTypeContext
func (*SimpleAssetTypeContext) Field ¶
func (s *SimpleAssetTypeContext) Field() IFieldContext
func (*SimpleAssetTypeContext) GetParser ¶
func (s *SimpleAssetTypeContext) GetParser() antlr.Parser
func (*SimpleAssetTypeContext) GetRuleContext ¶
func (s *SimpleAssetTypeContext) GetRuleContext() antlr.RuleContext
func (*SimpleAssetTypeContext) IsSimpleAssetTypeContext ¶
func (*SimpleAssetTypeContext) IsSimpleAssetTypeContext()
func (*SimpleAssetTypeContext) ToStringTree ¶
func (s *SimpleAssetTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SimpleExpressionContext ¶
type SimpleExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimpleExpressionContext ¶
func NewEmptySimpleExpressionContext() *SimpleExpressionContext
func NewSimpleExpressionContext ¶
func NewSimpleExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleExpressionContext
func (*SimpleExpressionContext) Comparison ¶
func (s *SimpleExpressionContext) Comparison() IComparisonContext
func (*SimpleExpressionContext) Expression ¶
func (s *SimpleExpressionContext) Expression() IExpressionContext
func (*SimpleExpressionContext) GetParser ¶
func (s *SimpleExpressionContext) GetParser() antlr.Parser
func (*SimpleExpressionContext) GetRuleContext ¶
func (s *SimpleExpressionContext) GetRuleContext() antlr.RuleContext
func (*SimpleExpressionContext) IsEmptyExpression ¶
func (s *SimpleExpressionContext) IsEmptyExpression() IIsEmptyExpressionContext
func (*SimpleExpressionContext) IsSimpleExpressionContext ¶
func (*SimpleExpressionContext) IsSimpleExpressionContext()
func (*SimpleExpressionContext) ToStringTree ¶
func (s *SimpleExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SimpleExpressionContext) WithinExpression ¶
func (s *SimpleExpressionContext) WithinExpression() IWithinExpressionContext
type TimeComparisonContext ¶
type TimeComparisonContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTimeComparisonContext ¶
func NewEmptyTimeComparisonContext() *TimeComparisonContext
func NewTimeComparisonContext ¶
func NewTimeComparisonContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TimeComparisonContext
func (*TimeComparisonContext) Duration ¶
func (s *TimeComparisonContext) Duration() IDurationContext
func (*TimeComparisonContext) Field ¶
func (s *TimeComparisonContext) Field() IFieldContext
func (*TimeComparisonContext) GetParser ¶
func (s *TimeComparisonContext) GetParser() antlr.Parser
func (*TimeComparisonContext) GetRuleContext ¶
func (s *TimeComparisonContext) GetRuleContext() antlr.RuleContext
func (*TimeComparisonContext) IsTimeComparisonContext ¶
func (*TimeComparisonContext) IsTimeComparisonContext()
func (*TimeComparisonContext) NowOperator ¶
func (s *TimeComparisonContext) NowOperator() INowOperatorContext
func (*TimeComparisonContext) TimeOperator ¶
func (s *TimeComparisonContext) TimeOperator() ITimeOperatorContext
func (*TimeComparisonContext) ToStringTree ¶
func (s *TimeComparisonContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TimeOperatorContext ¶
type TimeOperatorContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTimeOperatorContext ¶
func NewEmptyTimeOperatorContext() *TimeOperatorContext
func NewTimeOperatorContext ¶
func NewTimeOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TimeOperatorContext
func (*TimeOperatorContext) AfterOperator ¶
func (s *TimeOperatorContext) AfterOperator() antlr.TerminalNode
func (*TimeOperatorContext) BeforeOperator ¶
func (s *TimeOperatorContext) BeforeOperator() antlr.TerminalNode
func (*TimeOperatorContext) GetParser ¶
func (s *TimeOperatorContext) GetParser() antlr.Parser
func (*TimeOperatorContext) GetRuleContext ¶
func (s *TimeOperatorContext) GetRuleContext() antlr.RuleContext
func (*TimeOperatorContext) IsTimeOperatorContext ¶
func (*TimeOperatorContext) IsTimeOperatorContext()
func (*TimeOperatorContext) OlderOperator ¶
func (s *TimeOperatorContext) OlderOperator() antlr.TerminalNode
func (*TimeOperatorContext) ToStringTree ¶
func (s *TimeOperatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TimeOperatorContext) YoungerOperator ¶
func (s *TimeOperatorContext) YoungerOperator() antlr.TerminalNode
type UnitContext ¶
type UnitContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUnitContext ¶
func NewEmptyUnitContext() *UnitContext
func NewUnitContext ¶
func NewUnitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnitContext
func (*UnitContext) GetParser ¶
func (s *UnitContext) GetParser() antlr.Parser
func (*UnitContext) GetRuleContext ¶
func (s *UnitContext) GetRuleContext() antlr.RuleContext
func (*UnitContext) IsUnitContext ¶
func (*UnitContext) IsUnitContext()
func (*UnitContext) ToStringTree ¶
func (s *UnitContext) 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) BooleanLiteral ¶
func (s *ValueContext) BooleanLiteral() antlr.TerminalNode
func (*ValueContext) FloatNumber ¶
func (s *ValueContext) FloatNumber() antlr.TerminalNode
func (*ValueContext) GetParser ¶
func (s *ValueContext) GetParser() antlr.Parser
func (*ValueContext) GetRuleContext ¶
func (s *ValueContext) GetRuleContext() antlr.RuleContext
func (*ValueContext) IntNumber ¶
func (s *ValueContext) IntNumber() antlr.TerminalNode
func (*ValueContext) IsValueContext ¶
func (*ValueContext) IsValueContext()
func (*ValueContext) StringLiteral ¶
func (s *ValueContext) StringLiteral() antlr.TerminalNode
func (*ValueContext) ToStringTree ¶
func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type WithinExpressionContext ¶
type WithinExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWithinExpressionContext ¶
func NewEmptyWithinExpressionContext() *WithinExpressionContext
func NewWithinExpressionContext ¶
func NewWithinExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WithinExpressionContext
func (*WithinExpressionContext) AllValue ¶
func (s *WithinExpressionContext) AllValue() []IValueContext
func (*WithinExpressionContext) Field ¶
func (s *WithinExpressionContext) Field() IFieldContext
func (*WithinExpressionContext) GetParser ¶
func (s *WithinExpressionContext) GetParser() antlr.Parser
func (*WithinExpressionContext) GetRuleContext ¶
func (s *WithinExpressionContext) GetRuleContext() antlr.RuleContext
func (*WithinExpressionContext) IsWithinExpressionContext ¶
func (*WithinExpressionContext) IsWithinExpressionContext()
func (*WithinExpressionContext) ToStringTree ¶
func (s *WithinExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*WithinExpressionContext) Value ¶
func (s *WithinExpressionContext) Value(i int) IValueContext