gen

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

Filter Grammar

The filter grammar is based on the list filtering syntax supported by Google Cloud Logging's Advanced Filters.

The Antlr4 toolchain was used to model the grammar and generate go sources for walking the parse tree (see the installation instructions). When updating a grammar file (*.g4), be sure to regenerate the source:

.../gen>antlr4 -no-listener -visitor -Dlanguage=Go -package gen FilterExpressionLexer.g4 FilterExpression.g4

Documentation

Index

Constants

View Source
const (
	FilterExpressionLexerDOT            = 1
	FilterExpressionLexerHAS            = 2
	FilterExpressionLexerOR             = 3
	FilterExpressionLexerAND            = 4
	FilterExpressionLexerNOT            = 5
	FilterExpressionLexerLPAREN         = 6
	FilterExpressionLexerRPAREN         = 7
	FilterExpressionLexerLBRACE         = 8
	FilterExpressionLexerRBRACE         = 9
	FilterExpressionLexerLBRACKET       = 10
	FilterExpressionLexerRBRACKET       = 11
	FilterExpressionLexerCOMMA          = 12
	FilterExpressionLexerLESS_THAN      = 13
	FilterExpressionLexerLESS_EQUALS    = 14
	FilterExpressionLexerGREATER_THAN   = 15
	FilterExpressionLexerGREATER_EQUALS = 16
	FilterExpressionLexerNOT_EQUALS     = 17
	FilterExpressionLexerEQUALS         = 18
	FilterExpressionLexerEXCLAIM        = 19
	FilterExpressionLexerMINUS          = 20
	FilterExpressionLexerPLUS           = 21
	FilterExpressionLexerSTRING         = 22
	FilterExpressionLexerWS             = 23
	FilterExpressionLexerDIGIT          = 24
	FilterExpressionLexerHEX_DIGIT      = 25
	FilterExpressionLexerEXPONENT       = 26
	FilterExpressionLexerTEXT           = 27
	FilterExpressionLexerBACKSLASH      = 28
)

FilterExpressionLexer tokens.

View Source
const (
	FilterExpressionEOF            = antlr.TokenEOF
	FilterExpressionDOT            = 1
	FilterExpressionHAS            = 2
	FilterExpressionOR             = 3
	FilterExpressionAND            = 4
	FilterExpressionNOT            = 5
	FilterExpressionLPAREN         = 6
	FilterExpressionRPAREN         = 7
	FilterExpressionLBRACE         = 8
	FilterExpressionRBRACE         = 9
	FilterExpressionLBRACKET       = 10
	FilterExpressionRBRACKET       = 11
	FilterExpressionCOMMA          = 12
	FilterExpressionLESS_THAN      = 13
	FilterExpressionLESS_EQUALS    = 14
	FilterExpressionGREATER_THAN   = 15
	FilterExpressionGREATER_EQUALS = 16
	FilterExpressionNOT_EQUALS     = 17
	FilterExpressionEQUALS         = 18
	FilterExpressionEXCLAIM        = 19
	FilterExpressionMINUS          = 20
	FilterExpressionPLUS           = 21
	FilterExpressionSTRING         = 22
	FilterExpressionWS             = 23
	FilterExpressionDIGIT          = 24
	FilterExpressionHEX_DIGIT      = 25
	FilterExpressionEXPONENT       = 26
	FilterExpressionTEXT           = 27
	FilterExpressionBACKSLASH      = 28
)

FilterExpression tokens.

View Source
const (
	FilterExpressionRULE_filter      = 0
	FilterExpressionRULE_expression  = 1
	FilterExpressionRULE_sequence    = 2
	FilterExpressionRULE_factor      = 3
	FilterExpressionRULE_term        = 4
	FilterExpressionRULE_restriction = 5
	FilterExpressionRULE_comparable  = 6
	FilterExpressionRULE_comparator  = 7
	FilterExpressionRULE_value       = 8
	FilterExpressionRULE_primary     = 9
	FilterExpressionRULE_argList     = 10
	FilterExpressionRULE_composite   = 11
	FilterExpressionRULE_text        = 12
	FilterExpressionRULE_field       = 13
	FilterExpressionRULE_number      = 14
	FilterExpressionRULE_intVal      = 15
	FilterExpressionRULE_floatVal    = 16
	FilterExpressionRULE_keyword     = 17
	FilterExpressionRULE_notOp       = 18
	FilterExpressionRULE_andOp       = 19
	FilterExpressionRULE_orOp        = 20
	FilterExpressionRULE_sep         = 21
)

FilterExpression rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndOpContext

type AndOpContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAndOpContext

func NewAndOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AndOpContext

func NewEmptyAndOpContext

func NewEmptyAndOpContext() *AndOpContext

func (*AndOpContext) AND

func (s *AndOpContext) AND() antlr.TerminalNode

func (*AndOpContext) Accept

func (s *AndOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*AndOpContext) AllWS

func (s *AndOpContext) AllWS() []antlr.TerminalNode

func (*AndOpContext) GetParser

func (s *AndOpContext) GetParser() antlr.Parser

func (*AndOpContext) GetRuleContext

func (s *AndOpContext) GetRuleContext() antlr.RuleContext

func (*AndOpContext) IsAndOpContext

func (*AndOpContext) IsAndOpContext()

func (*AndOpContext) ToStringTree

func (s *AndOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*AndOpContext) WS

type ArgListContext

type ArgListContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewArgListContext

func NewArgListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgListContext

func NewEmptyArgListContext

func NewEmptyArgListContext() *ArgListContext

func (*ArgListContext) Accept

func (s *ArgListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ArgListContext) AllComparable

func (s *ArgListContext) AllComparable() []IComparableContext

func (*ArgListContext) AllSep

func (s *ArgListContext) AllSep() []ISepContext

func (*ArgListContext) AllWS

func (s *ArgListContext) AllWS() []antlr.TerminalNode

func (*ArgListContext) Comparable

func (s *ArgListContext) Comparable(i int) IComparableContext

func (*ArgListContext) GetArgs

func (s *ArgListContext) GetArgs() []IComparableContext

func (*ArgListContext) GetParser

func (s *ArgListContext) GetParser() antlr.Parser

func (*ArgListContext) GetRuleContext

func (s *ArgListContext) GetRuleContext() antlr.RuleContext

func (*ArgListContext) Get_comparable

func (s *ArgListContext) Get_comparable() IComparableContext

func (*ArgListContext) IsArgListContext

func (*ArgListContext) IsArgListContext()

func (*ArgListContext) Sep

func (s *ArgListContext) Sep(i int) ISepContext

func (*ArgListContext) SetArgs

func (s *ArgListContext) SetArgs(v []IComparableContext)

func (*ArgListContext) Set_comparable

func (s *ArgListContext) Set_comparable(v IComparableContext)

func (*ArgListContext) ToStringTree

func (s *ArgListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ArgListContext) WS

type BaseFilterExpressionVisitor

type BaseFilterExpressionVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseFilterExpressionVisitor) VisitAndOp

func (v *BaseFilterExpressionVisitor) VisitAndOp(ctx *AndOpContext) interface{}

func (*BaseFilterExpressionVisitor) VisitArgList

func (v *BaseFilterExpressionVisitor) VisitArgList(ctx *ArgListContext) interface{}

func (*BaseFilterExpressionVisitor) VisitComparable

func (v *BaseFilterExpressionVisitor) VisitComparable(ctx *ComparableContext) interface{}

func (*BaseFilterExpressionVisitor) VisitComparator

func (v *BaseFilterExpressionVisitor) VisitComparator(ctx *ComparatorContext) interface{}

func (*BaseFilterExpressionVisitor) VisitComposite

func (v *BaseFilterExpressionVisitor) VisitComposite(ctx *CompositeContext) interface{}

func (*BaseFilterExpressionVisitor) VisitDynamicIndex

func (v *BaseFilterExpressionVisitor) VisitDynamicIndex(ctx *DynamicIndexContext) interface{}

func (*BaseFilterExpressionVisitor) VisitExpression

func (v *BaseFilterExpressionVisitor) VisitExpression(ctx *ExpressionContext) interface{}

func (*BaseFilterExpressionVisitor) VisitFactor

func (v *BaseFilterExpressionVisitor) VisitFactor(ctx *FactorContext) interface{}

func (*BaseFilterExpressionVisitor) VisitField

func (v *BaseFilterExpressionVisitor) VisitField(ctx *FieldContext) interface{}

func (*BaseFilterExpressionVisitor) VisitFilter

func (v *BaseFilterExpressionVisitor) VisitFilter(ctx *FilterContext) interface{}

func (*BaseFilterExpressionVisitor) VisitFloatVal

func (v *BaseFilterExpressionVisitor) VisitFloatVal(ctx *FloatValContext) interface{}

func (*BaseFilterExpressionVisitor) VisitIdentOrGlobalCall

func (v *BaseFilterExpressionVisitor) VisitIdentOrGlobalCall(ctx *IdentOrGlobalCallContext) interface{}

func (*BaseFilterExpressionVisitor) VisitIntVal

func (v *BaseFilterExpressionVisitor) VisitIntVal(ctx *IntValContext) interface{}

func (*BaseFilterExpressionVisitor) VisitKeyword

func (v *BaseFilterExpressionVisitor) VisitKeyword(ctx *KeywordContext) interface{}

func (*BaseFilterExpressionVisitor) VisitNestedExpr

func (v *BaseFilterExpressionVisitor) VisitNestedExpr(ctx *NestedExprContext) interface{}

func (*BaseFilterExpressionVisitor) VisitNotOp

func (v *BaseFilterExpressionVisitor) VisitNotOp(ctx *NotOpContext) interface{}

func (*BaseFilterExpressionVisitor) VisitNumber

func (v *BaseFilterExpressionVisitor) VisitNumber(ctx *NumberContext) interface{}

func (*BaseFilterExpressionVisitor) VisitOrOp

func (v *BaseFilterExpressionVisitor) VisitOrOp(ctx *OrOpContext) interface{}

func (*BaseFilterExpressionVisitor) VisitPrimaryExpr

func (v *BaseFilterExpressionVisitor) VisitPrimaryExpr(ctx *PrimaryExprContext) interface{}

func (*BaseFilterExpressionVisitor) VisitRestriction

func (v *BaseFilterExpressionVisitor) VisitRestriction(ctx *RestrictionContext) interface{}

func (*BaseFilterExpressionVisitor) VisitSelectOrCall

func (v *BaseFilterExpressionVisitor) VisitSelectOrCall(ctx *SelectOrCallContext) interface{}

func (*BaseFilterExpressionVisitor) VisitSep

func (v *BaseFilterExpressionVisitor) VisitSep(ctx *SepContext) interface{}

func (*BaseFilterExpressionVisitor) VisitSequence

func (v *BaseFilterExpressionVisitor) VisitSequence(ctx *SequenceContext) interface{}

func (*BaseFilterExpressionVisitor) VisitStringVal

func (v *BaseFilterExpressionVisitor) VisitStringVal(ctx *StringValContext) interface{}

func (*BaseFilterExpressionVisitor) VisitTerm

func (v *BaseFilterExpressionVisitor) VisitTerm(ctx *TermContext) interface{}

func (*BaseFilterExpressionVisitor) VisitText

func (v *BaseFilterExpressionVisitor) VisitText(ctx *TextContext) interface{}

type ComparableContext

type ComparableContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewComparableContext

func NewComparableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparableContext

func NewEmptyComparableContext

func NewEmptyComparableContext() *ComparableContext

func (*ComparableContext) Accept

func (s *ComparableContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ComparableContext) GetParser

func (s *ComparableContext) GetParser() antlr.Parser

func (*ComparableContext) GetRuleContext

func (s *ComparableContext) GetRuleContext() antlr.RuleContext

func (*ComparableContext) IsComparableContext

func (*ComparableContext) IsComparableContext()

func (*ComparableContext) Number

func (s *ComparableContext) Number() INumberContext

func (*ComparableContext) ToStringTree

func (s *ComparableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ComparableContext) Value

func (s *ComparableContext) Value() IValueContext

type ComparatorContext

type ComparatorContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewComparatorContext

func NewComparatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ComparatorContext

func NewEmptyComparatorContext

func NewEmptyComparatorContext() *ComparatorContext

func (*ComparatorContext) Accept

func (s *ComparatorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ComparatorContext) EQUALS

func (s *ComparatorContext) EQUALS() antlr.TerminalNode

func (*ComparatorContext) GREATER_EQUALS

func (s *ComparatorContext) GREATER_EQUALS() antlr.TerminalNode

func (*ComparatorContext) GREATER_THAN

func (s *ComparatorContext) GREATER_THAN() antlr.TerminalNode

func (*ComparatorContext) GetParser

func (s *ComparatorContext) GetParser() antlr.Parser

func (*ComparatorContext) GetRuleContext

func (s *ComparatorContext) GetRuleContext() antlr.RuleContext

func (*ComparatorContext) HAS

func (*ComparatorContext) IsComparatorContext

func (*ComparatorContext) IsComparatorContext()

func (*ComparatorContext) LESS_EQUALS

func (s *ComparatorContext) LESS_EQUALS() antlr.TerminalNode

func (*ComparatorContext) LESS_THAN

func (s *ComparatorContext) LESS_THAN() antlr.TerminalNode

func (*ComparatorContext) NOT_EQUALS

func (s *ComparatorContext) NOT_EQUALS() antlr.TerminalNode

func (*ComparatorContext) ToStringTree

func (s *ComparatorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CompositeContext

type CompositeContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCompositeContext

func NewCompositeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompositeContext

func NewEmptyCompositeContext

func NewEmptyCompositeContext() *CompositeContext

func (*CompositeContext) Accept

func (s *CompositeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*CompositeContext) AllWS

func (s *CompositeContext) AllWS() []antlr.TerminalNode

func (*CompositeContext) Expression

func (s *CompositeContext) Expression() IExpressionContext

func (*CompositeContext) GetParser

func (s *CompositeContext) GetParser() antlr.Parser

func (*CompositeContext) GetRuleContext

func (s *CompositeContext) GetRuleContext() antlr.RuleContext

func (*CompositeContext) IsCompositeContext

func (*CompositeContext) IsCompositeContext()

func (*CompositeContext) LPAREN

func (s *CompositeContext) LPAREN() antlr.TerminalNode

func (*CompositeContext) RPAREN

func (s *CompositeContext) RPAREN() antlr.TerminalNode

func (*CompositeContext) ToStringTree

func (s *CompositeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*CompositeContext) WS

type DynamicIndexContext

type DynamicIndexContext struct {
	*ValueContext
	// contains filtered or unexported fields
}

func NewDynamicIndexContext

func NewDynamicIndexContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DynamicIndexContext

func (*DynamicIndexContext) Accept

func (s *DynamicIndexContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*DynamicIndexContext) AllWS

func (s *DynamicIndexContext) AllWS() []antlr.TerminalNode

func (*DynamicIndexContext) Comparable

func (s *DynamicIndexContext) Comparable() IComparableContext

func (*DynamicIndexContext) GetIndex

func (*DynamicIndexContext) GetOp

func (s *DynamicIndexContext) GetOp() antlr.Token

func (*DynamicIndexContext) GetRuleContext

func (s *DynamicIndexContext) GetRuleContext() antlr.RuleContext

func (*DynamicIndexContext) LBRACE

func (*DynamicIndexContext) RBRACE

func (*DynamicIndexContext) SetIndex

func (s *DynamicIndexContext) SetIndex(v IComparableContext)

func (*DynamicIndexContext) SetOp

func (s *DynamicIndexContext) SetOp(v antlr.Token)

func (*DynamicIndexContext) Value

func (*DynamicIndexContext) WS

type ExpressionContext

type ExpressionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExpressionContext

func NewEmptyExpressionContext() *ExpressionContext

func NewExpressionContext

func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext

func (*ExpressionContext) Accept

func (s *ExpressionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*ExpressionContext) AllAndOp

func (s *ExpressionContext) AllAndOp() []IAndOpContext

func (*ExpressionContext) AllSequence

func (s *ExpressionContext) AllSequence() []ISequenceContext

func (*ExpressionContext) AndOp

func (s *ExpressionContext) AndOp(i int) IAndOpContext

func (*ExpressionContext) GetExpr

func (s *ExpressionContext) GetExpr() ISequenceContext

func (*ExpressionContext) GetOp

func (s *ExpressionContext) GetOp() []IAndOpContext

func (*ExpressionContext) GetParser

func (s *ExpressionContext) GetParser() antlr.Parser

func (*ExpressionContext) GetRest

func (s *ExpressionContext) GetRest() []ISequenceContext

func (*ExpressionContext) GetRuleContext

func (s *ExpressionContext) GetRuleContext() antlr.RuleContext

func (*ExpressionContext) Get_andOp

func (s *ExpressionContext) Get_andOp() IAndOpContext

func (*ExpressionContext) Get_sequence

func (s *ExpressionContext) Get_sequence() ISequenceContext

func (*ExpressionContext) IsExpressionContext

func (*ExpressionContext) IsExpressionContext()

func (*ExpressionContext) Sequence

func (s *ExpressionContext) Sequence(i int) ISequenceContext

func (*ExpressionContext) SetExpr

func (s *ExpressionContext) SetExpr(v ISequenceContext)

func (*ExpressionContext) SetOp

func (s *ExpressionContext) SetOp(v []IAndOpContext)

func (*ExpressionContext) SetRest

func (s *ExpressionContext) SetRest(v []ISequenceContext)

func (*ExpressionContext) Set_andOp

func (s *ExpressionContext) Set_andOp(v IAndOpContext)

func (*ExpressionContext) Set_sequence

func (s *ExpressionContext) Set_sequence(v ISequenceContext)

func (*ExpressionContext) ToStringTree

func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FactorContext

type FactorContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFactorContext

func NewEmptyFactorContext() *FactorContext

func NewFactorContext

func NewFactorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FactorContext

func (*FactorContext) Accept

func (s *FactorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FactorContext) AllOrOp

func (s *FactorContext) AllOrOp() []IOrOpContext

func (*FactorContext) AllTerm

func (s *FactorContext) AllTerm() []ITermContext

func (*FactorContext) GetExpr

func (s *FactorContext) GetExpr() ITermContext

func (*FactorContext) GetOp

func (s *FactorContext) GetOp() []IOrOpContext

func (*FactorContext) GetParser

func (s *FactorContext) GetParser() antlr.Parser

func (*FactorContext) GetRest

func (s *FactorContext) GetRest() []ITermContext

func (*FactorContext) GetRuleContext

func (s *FactorContext) GetRuleContext() antlr.RuleContext

func (*FactorContext) Get_orOp

func (s *FactorContext) Get_orOp() IOrOpContext

func (*FactorContext) Get_term

func (s *FactorContext) Get_term() ITermContext

func (*FactorContext) IsFactorContext

func (*FactorContext) IsFactorContext()

func (*FactorContext) OrOp

func (s *FactorContext) OrOp(i int) IOrOpContext

func (*FactorContext) SetExpr

func (s *FactorContext) SetExpr(v ITermContext)

func (*FactorContext) SetOp

func (s *FactorContext) SetOp(v []IOrOpContext)

func (*FactorContext) SetRest

func (s *FactorContext) SetRest(v []ITermContext)

func (*FactorContext) Set_orOp

func (s *FactorContext) Set_orOp(v IOrOpContext)

func (*FactorContext) Set_term

func (s *FactorContext) Set_term(v ITermContext)

func (*FactorContext) Term

func (s *FactorContext) Term(i int) ITermContext

func (*FactorContext) ToStringTree

func (s *FactorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FieldContext

type FieldContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFieldContext

func NewEmptyFieldContext() *FieldContext

func NewFieldContext

func NewFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldContext

func (*FieldContext) Accept

func (s *FieldContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FieldContext) GetId

func (s *FieldContext) GetId() ITextContext

func (*FieldContext) GetParser

func (s *FieldContext) GetParser() antlr.Parser

func (*FieldContext) GetQuotedText

func (s *FieldContext) GetQuotedText() antlr.Token

func (*FieldContext) GetRuleContext

func (s *FieldContext) GetRuleContext() antlr.RuleContext

func (*FieldContext) IsFieldContext

func (*FieldContext) IsFieldContext()

func (*FieldContext) Keyword

func (s *FieldContext) Keyword() IKeywordContext

func (*FieldContext) STRING

func (s *FieldContext) STRING() antlr.TerminalNode

func (*FieldContext) SetId

func (s *FieldContext) SetId(v ITextContext)

func (*FieldContext) SetQuotedText

func (s *FieldContext) SetQuotedText(v antlr.Token)

func (*FieldContext) Text

func (s *FieldContext) Text() ITextContext

func (*FieldContext) ToStringTree

func (s *FieldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FilterContext

type FilterContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFilterContext

func NewEmptyFilterContext() *FilterContext

func NewFilterContext

func NewFilterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilterContext

func (*FilterContext) Accept

func (s *FilterContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FilterContext) AllWS

func (s *FilterContext) AllWS() []antlr.TerminalNode

func (*FilterContext) EOF

func (s *FilterContext) EOF() antlr.TerminalNode

func (*FilterContext) Expression

func (s *FilterContext) Expression() IExpressionContext

func (*FilterContext) GetParser

func (s *FilterContext) GetParser() antlr.Parser

func (*FilterContext) GetRuleContext

func (s *FilterContext) GetRuleContext() antlr.RuleContext

func (*FilterContext) IsFilterContext

func (*FilterContext) IsFilterContext()

func (*FilterContext) ToStringTree

func (s *FilterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*FilterContext) WS

type FilterExpression

type FilterExpression struct {
	*antlr.BaseParser
}

func NewFilterExpression

func NewFilterExpression(input antlr.TokenStream) *FilterExpression

func (*FilterExpression) AndOp

func (p *FilterExpression) AndOp() (localctx IAndOpContext)

func (*FilterExpression) ArgList

func (p *FilterExpression) ArgList() (localctx IArgListContext)

func (*FilterExpression) Comparable

func (p *FilterExpression) Comparable() (localctx IComparableContext)

func (*FilterExpression) Comparator

func (p *FilterExpression) Comparator() (localctx IComparatorContext)

func (*FilterExpression) Composite

func (p *FilterExpression) Composite() (localctx ICompositeContext)

func (*FilterExpression) Expression

func (p *FilterExpression) Expression() (localctx IExpressionContext)

func (*FilterExpression) Factor

func (p *FilterExpression) Factor() (localctx IFactorContext)

func (*FilterExpression) Field

func (p *FilterExpression) Field() (localctx IFieldContext)

func (*FilterExpression) Filter

func (p *FilterExpression) Filter() (localctx IFilterContext)

func (*FilterExpression) FloatVal

func (p *FilterExpression) FloatVal() (localctx IFloatValContext)

func (*FilterExpression) IntVal

func (p *FilterExpression) IntVal() (localctx IIntValContext)

func (*FilterExpression) Keyword

func (p *FilterExpression) Keyword() (localctx IKeywordContext)

func (*FilterExpression) NotOp

func (p *FilterExpression) NotOp() (localctx INotOpContext)

func (*FilterExpression) Number

func (p *FilterExpression) Number() (localctx INumberContext)

func (*FilterExpression) OrOp

func (p *FilterExpression) OrOp() (localctx IOrOpContext)

func (*FilterExpression) Primary

func (p *FilterExpression) Primary() (localctx IPrimaryContext)

func (*FilterExpression) Restriction

func (p *FilterExpression) Restriction() (localctx IRestrictionContext)

func (*FilterExpression) Sempred

func (p *FilterExpression) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool

func (*FilterExpression) Sep

func (p *FilterExpression) Sep() (localctx ISepContext)

func (*FilterExpression) Sequence

func (p *FilterExpression) Sequence() (localctx ISequenceContext)

func (*FilterExpression) Term

func (p *FilterExpression) Term() (localctx ITermContext)

func (*FilterExpression) Text

func (p *FilterExpression) Text() (localctx ITextContext)

func (*FilterExpression) Value

func (p *FilterExpression) Value() (localctx IValueContext)

func (*FilterExpression) Value_Sempred

func (p *FilterExpression) Value_Sempred(localctx antlr.RuleContext, predIndex int) bool

type FilterExpressionLexer

type FilterExpressionLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewFilterExpressionLexer

func NewFilterExpressionLexer(input antlr.CharStream) *FilterExpressionLexer

type FilterExpressionVisitor

type FilterExpressionVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by FilterExpression#filter.
	VisitFilter(ctx *FilterContext) interface{}

	// Visit a parse tree produced by FilterExpression#expression.
	VisitExpression(ctx *ExpressionContext) interface{}

	// Visit a parse tree produced by FilterExpression#sequence.
	VisitSequence(ctx *SequenceContext) interface{}

	// Visit a parse tree produced by FilterExpression#factor.
	VisitFactor(ctx *FactorContext) interface{}

	// Visit a parse tree produced by FilterExpression#term.
	VisitTerm(ctx *TermContext) interface{}

	// Visit a parse tree produced by FilterExpression#restriction.
	VisitRestriction(ctx *RestrictionContext) interface{}

	// Visit a parse tree produced by FilterExpression#comparable.
	VisitComparable(ctx *ComparableContext) interface{}

	// Visit a parse tree produced by FilterExpression#comparator.
	VisitComparator(ctx *ComparatorContext) interface{}

	// Visit a parse tree produced by FilterExpression#SelectOrCall.
	VisitSelectOrCall(ctx *SelectOrCallContext) interface{}

	// Visit a parse tree produced by FilterExpression#DynamicIndex.
	VisitDynamicIndex(ctx *DynamicIndexContext) interface{}

	// Visit a parse tree produced by FilterExpression#PrimaryExpr.
	VisitPrimaryExpr(ctx *PrimaryExprContext) interface{}

	// Visit a parse tree produced by FilterExpression#NestedExpr.
	VisitNestedExpr(ctx *NestedExprContext) interface{}

	// Visit a parse tree produced by FilterExpression#IdentOrGlobalCall.
	VisitIdentOrGlobalCall(ctx *IdentOrGlobalCallContext) interface{}

	// Visit a parse tree produced by FilterExpression#StringVal.
	VisitStringVal(ctx *StringValContext) interface{}

	// Visit a parse tree produced by FilterExpression#argList.
	VisitArgList(ctx *ArgListContext) interface{}

	// Visit a parse tree produced by FilterExpression#composite.
	VisitComposite(ctx *CompositeContext) interface{}

	// Visit a parse tree produced by FilterExpression#text.
	VisitText(ctx *TextContext) interface{}

	// Visit a parse tree produced by FilterExpression#field.
	VisitField(ctx *FieldContext) interface{}

	// Visit a parse tree produced by FilterExpression#number.
	VisitNumber(ctx *NumberContext) interface{}

	// Visit a parse tree produced by FilterExpression#intVal.
	VisitIntVal(ctx *IntValContext) interface{}

	// Visit a parse tree produced by FilterExpression#floatVal.
	VisitFloatVal(ctx *FloatValContext) interface{}

	// Visit a parse tree produced by FilterExpression#keyword.
	VisitKeyword(ctx *KeywordContext) interface{}

	// Visit a parse tree produced by FilterExpression#notOp.
	VisitNotOp(ctx *NotOpContext) interface{}

	// Visit a parse tree produced by FilterExpression#andOp.
	VisitAndOp(ctx *AndOpContext) interface{}

	// Visit a parse tree produced by FilterExpression#orOp.
	VisitOrOp(ctx *OrOpContext) interface{}

	// Visit a parse tree produced by FilterExpression#sep.
	VisitSep(ctx *SepContext) interface{}
}

A complete Visitor for a parse tree produced by FilterExpression.

type FloatValContext

type FloatValContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFloatValContext

func NewEmptyFloatValContext() *FloatValContext

func NewFloatValContext

func NewFloatValContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FloatValContext

func (*FloatValContext) Accept

func (s *FloatValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*FloatValContext) AllDIGIT

func (s *FloatValContext) AllDIGIT() []antlr.TerminalNode

func (*FloatValContext) DIGIT

func (s *FloatValContext) DIGIT(i int) antlr.TerminalNode

func (*FloatValContext) DOT

func (*FloatValContext) EXPONENT

func (s *FloatValContext) EXPONENT() antlr.TerminalNode

func (*FloatValContext) GetParser

func (s *FloatValContext) GetParser() antlr.Parser

func (*FloatValContext) GetRuleContext

func (s *FloatValContext) GetRuleContext() antlr.RuleContext

func (*FloatValContext) IsFloatValContext

func (*FloatValContext) IsFloatValContext()

func (*FloatValContext) MINUS

func (s *FloatValContext) MINUS() antlr.TerminalNode

func (*FloatValContext) ToStringTree

func (s *FloatValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IAndOpContext

type IAndOpContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsAndOpContext differentiates from other interfaces.
	IsAndOpContext()
}

IAndOpContext is an interface to support dynamic dispatch.

type IArgListContext

type IArgListContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Get_comparable returns the _comparable rule contexts.
	Get_comparable() IComparableContext

	// Set_comparable sets the _comparable rule contexts.
	Set_comparable(IComparableContext)

	// GetArgs returns the args rule context list.
	GetArgs() []IComparableContext

	// SetArgs sets the args rule context list.
	SetArgs([]IComparableContext)

	// IsArgListContext differentiates from other interfaces.
	IsArgListContext()
}

IArgListContext is an interface to support dynamic dispatch.

type IComparableContext

type IComparableContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsComparableContext differentiates from other interfaces.
	IsComparableContext()
}

IComparableContext is an interface to support dynamic dispatch.

type IComparatorContext

type IComparatorContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsComparatorContext differentiates from other interfaces.
	IsComparatorContext()
}

IComparatorContext is an interface to support dynamic dispatch.

type ICompositeContext

type ICompositeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsCompositeContext differentiates from other interfaces.
	IsCompositeContext()
}

ICompositeContext is an interface to support dynamic dispatch.

type IExpressionContext

type IExpressionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetExpr returns the expr rule contexts.
	GetExpr() ISequenceContext

	// Get_andOp returns the _andOp rule contexts.
	Get_andOp() IAndOpContext

	// Get_sequence returns the _sequence rule contexts.
	Get_sequence() ISequenceContext

	// SetExpr sets the expr rule contexts.
	SetExpr(ISequenceContext)

	// Set_andOp sets the _andOp rule contexts.
	Set_andOp(IAndOpContext)

	// Set_sequence sets the _sequence rule contexts.
	Set_sequence(ISequenceContext)

	// GetOp returns the op rule context list.
	GetOp() []IAndOpContext

	// GetRest returns the rest rule context list.
	GetRest() []ISequenceContext

	// SetOp sets the op rule context list.
	SetOp([]IAndOpContext)

	// SetRest sets the rest rule context list.
	SetRest([]ISequenceContext)

	// IsExpressionContext differentiates from other interfaces.
	IsExpressionContext()
}

IExpressionContext is an interface to support dynamic dispatch.

type IFactorContext

type IFactorContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetExpr returns the expr rule contexts.
	GetExpr() ITermContext

	// Get_orOp returns the _orOp rule contexts.
	Get_orOp() IOrOpContext

	// Get_term returns the _term rule contexts.
	Get_term() ITermContext

	// SetExpr sets the expr rule contexts.
	SetExpr(ITermContext)

	// Set_orOp sets the _orOp rule contexts.
	Set_orOp(IOrOpContext)

	// Set_term sets the _term rule contexts.
	Set_term(ITermContext)

	// GetOp returns the op rule context list.
	GetOp() []IOrOpContext

	// GetRest returns the rest rule context list.
	GetRest() []ITermContext

	// SetOp sets the op rule context list.
	SetOp([]IOrOpContext)

	// SetRest sets the rest rule context list.
	SetRest([]ITermContext)

	// IsFactorContext differentiates from other interfaces.
	IsFactorContext()
}

IFactorContext is an interface to support dynamic dispatch.

type IFieldContext

type IFieldContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetQuotedText returns the quotedText token.
	GetQuotedText() antlr.Token

	// SetQuotedText sets the quotedText token.
	SetQuotedText(antlr.Token)

	// GetId returns the id rule contexts.
	GetId() ITextContext

	// SetId sets the id rule contexts.
	SetId(ITextContext)

	// IsFieldContext differentiates from other interfaces.
	IsFieldContext()
}

IFieldContext is an interface to support dynamic dispatch.

type IFilterContext

type IFilterContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFilterContext differentiates from other interfaces.
	IsFilterContext()
}

IFilterContext is an interface to support dynamic dispatch.

type IFloatValContext

type IFloatValContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFloatValContext differentiates from other interfaces.
	IsFloatValContext()
}

IFloatValContext is an interface to support dynamic dispatch.

type IIntValContext

type IIntValContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsIntValContext differentiates from other interfaces.
	IsIntValContext()
}

IIntValContext is an interface to support dynamic dispatch.

type IKeywordContext

type IKeywordContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsKeywordContext differentiates from other interfaces.
	IsKeywordContext()
}

IKeywordContext is an interface to support dynamic dispatch.

type INotOpContext

type INotOpContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNotOpContext differentiates from other interfaces.
	IsNotOpContext()
}

INotOpContext is an interface to support dynamic dispatch.

type INumberContext

type INumberContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsNumberContext differentiates from other interfaces.
	IsNumberContext()
}

INumberContext is an interface to support dynamic dispatch.

type IOrOpContext

type IOrOpContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsOrOpContext differentiates from other interfaces.
	IsOrOpContext()
}

IOrOpContext is an interface to support dynamic dispatch.

type IPrimaryContext

type IPrimaryContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsPrimaryContext differentiates from other interfaces.
	IsPrimaryContext()
}

IPrimaryContext is an interface to support dynamic dispatch.

type IRestrictionContext

type IRestrictionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetExpr returns the expr rule contexts.
	GetExpr() IComparableContext

	// GetOp returns the op rule contexts.
	GetOp() IComparatorContext

	// GetRest returns the rest rule contexts.
	GetRest() IComparableContext

	// SetExpr sets the expr rule contexts.
	SetExpr(IComparableContext)

	// SetOp sets the op rule contexts.
	SetOp(IComparatorContext)

	// SetRest sets the rest rule contexts.
	SetRest(IComparableContext)

	// IsRestrictionContext differentiates from other interfaces.
	IsRestrictionContext()
}

IRestrictionContext is an interface to support dynamic dispatch.

type ISepContext

type ISepContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSepContext differentiates from other interfaces.
	IsSepContext()
}

ISepContext is an interface to support dynamic dispatch.

type ISequenceContext

type ISequenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetExpr returns the expr rule contexts.
	GetExpr() IFactorContext

	// Get_factor returns the _factor rule contexts.
	Get_factor() IFactorContext

	// SetExpr sets the expr rule contexts.
	SetExpr(IFactorContext)

	// Set_factor sets the _factor rule contexts.
	Set_factor(IFactorContext)

	// GetRest returns the rest rule context list.
	GetRest() []IFactorContext

	// SetRest sets the rest rule context list.
	SetRest([]IFactorContext)

	// IsSequenceContext differentiates from other interfaces.
	IsSequenceContext()
}

ISequenceContext is an interface to support dynamic dispatch.

type ITermContext

type ITermContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetOp returns the op rule contexts.
	GetOp() INotOpContext

	// GetExpr returns the expr rule contexts.
	GetExpr() IRestrictionContext

	// SetOp sets the op rule contexts.
	SetOp(INotOpContext)

	// SetExpr sets the expr rule contexts.
	SetExpr(IRestrictionContext)

	// IsTermContext differentiates from other interfaces.
	IsTermContext()
}

ITermContext is an interface to support dynamic dispatch.

type ITextContext

type ITextContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTextContext differentiates from other interfaces.
	IsTextContext()
}

ITextContext is an interface to support dynamic dispatch.

type IValueContext

type IValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsValueContext differentiates from other interfaces.
	IsValueContext()
}

IValueContext is an interface to support dynamic dispatch.

type IdentOrGlobalCallContext

type IdentOrGlobalCallContext struct {
	*PrimaryContext
	// contains filtered or unexported fields
}

func NewIdentOrGlobalCallContext

func NewIdentOrGlobalCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentOrGlobalCallContext

func (*IdentOrGlobalCallContext) Accept

func (s *IdentOrGlobalCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*IdentOrGlobalCallContext) ArgList

func (*IdentOrGlobalCallContext) GetId

func (*IdentOrGlobalCallContext) GetOpen

func (s *IdentOrGlobalCallContext) GetOpen() antlr.Token

func (*IdentOrGlobalCallContext) GetRuleContext

func (s *IdentOrGlobalCallContext) GetRuleContext() antlr.RuleContext

func (*IdentOrGlobalCallContext) LPAREN

func (*IdentOrGlobalCallContext) RPAREN

func (*IdentOrGlobalCallContext) SetId

func (*IdentOrGlobalCallContext) SetOpen

func (s *IdentOrGlobalCallContext) SetOpen(v antlr.Token)

func (*IdentOrGlobalCallContext) Text

type IntValContext

type IntValContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyIntValContext

func NewEmptyIntValContext() *IntValContext

func NewIntValContext

func NewIntValContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IntValContext

func (*IntValContext) Accept

func (s *IntValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*IntValContext) AllDIGIT

func (s *IntValContext) AllDIGIT() []antlr.TerminalNode

func (*IntValContext) DIGIT

func (s *IntValContext) DIGIT(i int) antlr.TerminalNode

func (*IntValContext) GetParser

func (s *IntValContext) GetParser() antlr.Parser

func (*IntValContext) GetRuleContext

func (s *IntValContext) GetRuleContext() antlr.RuleContext

func (*IntValContext) HEX_DIGIT

func (s *IntValContext) HEX_DIGIT() antlr.TerminalNode

func (*IntValContext) IsIntValContext

func (*IntValContext) IsIntValContext()

func (*IntValContext) MINUS

func (s *IntValContext) MINUS() antlr.TerminalNode

func (*IntValContext) ToStringTree

func (s *IntValContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type KeywordContext

type KeywordContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyKeywordContext

func NewEmptyKeywordContext() *KeywordContext

func NewKeywordContext

func NewKeywordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KeywordContext

func (*KeywordContext) AND

func (*KeywordContext) Accept

func (s *KeywordContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*KeywordContext) GetParser

func (s *KeywordContext) GetParser() antlr.Parser

func (*KeywordContext) GetRuleContext

func (s *KeywordContext) GetRuleContext() antlr.RuleContext

func (*KeywordContext) IsKeywordContext

func (*KeywordContext) IsKeywordContext()

func (*KeywordContext) NOT

func (*KeywordContext) OR

func (*KeywordContext) ToStringTree

func (s *KeywordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NestedExprContext

type NestedExprContext struct {
	*PrimaryContext
}

func NewNestedExprContext

func NewNestedExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NestedExprContext

func (*NestedExprContext) Accept

func (s *NestedExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NestedExprContext) Composite

func (s *NestedExprContext) Composite() ICompositeContext

func (*NestedExprContext) GetRuleContext

func (s *NestedExprContext) GetRuleContext() antlr.RuleContext

type NotOpContext

type NotOpContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNotOpContext

func NewEmptyNotOpContext() *NotOpContext

func NewNotOpContext

func NewNotOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NotOpContext

func (*NotOpContext) Accept

func (s *NotOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NotOpContext) AllWS

func (s *NotOpContext) AllWS() []antlr.TerminalNode

func (*NotOpContext) GetParser

func (s *NotOpContext) GetParser() antlr.Parser

func (*NotOpContext) GetRuleContext

func (s *NotOpContext) GetRuleContext() antlr.RuleContext

func (*NotOpContext) IsNotOpContext

func (*NotOpContext) IsNotOpContext()

func (*NotOpContext) MINUS

func (s *NotOpContext) MINUS() antlr.TerminalNode

func (*NotOpContext) NOT

func (s *NotOpContext) NOT() antlr.TerminalNode

func (*NotOpContext) ToStringTree

func (s *NotOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*NotOpContext) WS

type NumberContext

type NumberContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNumberContext

func NewEmptyNumberContext() *NumberContext

func NewNumberContext

func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext

func (*NumberContext) Accept

func (s *NumberContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*NumberContext) FloatVal

func (s *NumberContext) FloatVal() IFloatValContext

func (*NumberContext) GetParser

func (s *NumberContext) GetParser() antlr.Parser

func (*NumberContext) GetRuleContext

func (s *NumberContext) GetRuleContext() antlr.RuleContext

func (*NumberContext) IntVal

func (s *NumberContext) IntVal() IIntValContext

func (*NumberContext) IsNumberContext

func (*NumberContext) IsNumberContext()

func (*NumberContext) ToStringTree

func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OrOpContext

type OrOpContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOrOpContext

func NewEmptyOrOpContext() *OrOpContext

func NewOrOpContext

func NewOrOpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OrOpContext

func (*OrOpContext) Accept

func (s *OrOpContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*OrOpContext) AllWS

func (s *OrOpContext) AllWS() []antlr.TerminalNode

func (*OrOpContext) GetParser

func (s *OrOpContext) GetParser() antlr.Parser

func (*OrOpContext) GetRuleContext

func (s *OrOpContext) GetRuleContext() antlr.RuleContext

func (*OrOpContext) IsOrOpContext

func (*OrOpContext) IsOrOpContext()

func (*OrOpContext) OR

func (s *OrOpContext) OR() antlr.TerminalNode

func (*OrOpContext) ToStringTree

func (s *OrOpContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*OrOpContext) WS

func (s *OrOpContext) WS(i int) antlr.TerminalNode

type PrimaryContext

type PrimaryContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyPrimaryContext

func NewEmptyPrimaryContext() *PrimaryContext

func NewPrimaryContext

func NewPrimaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryContext

func (*PrimaryContext) CopyFrom

func (s *PrimaryContext) CopyFrom(ctx *PrimaryContext)

func (*PrimaryContext) GetParser

func (s *PrimaryContext) GetParser() antlr.Parser

func (*PrimaryContext) GetRuleContext

func (s *PrimaryContext) GetRuleContext() antlr.RuleContext

func (*PrimaryContext) IsPrimaryContext

func (*PrimaryContext) IsPrimaryContext()

func (*PrimaryContext) ToStringTree

func (s *PrimaryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type PrimaryExprContext

type PrimaryExprContext struct {
	*ValueContext
}

func NewPrimaryExprContext

func NewPrimaryExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PrimaryExprContext

func (*PrimaryExprContext) Accept

func (s *PrimaryExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*PrimaryExprContext) GetRuleContext

func (s *PrimaryExprContext) GetRuleContext() antlr.RuleContext

func (*PrimaryExprContext) Primary

func (s *PrimaryExprContext) Primary() IPrimaryContext

type RestrictionContext

type RestrictionContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyRestrictionContext

func NewEmptyRestrictionContext() *RestrictionContext

func NewRestrictionContext

func NewRestrictionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RestrictionContext

func (*RestrictionContext) Accept

func (s *RestrictionContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*RestrictionContext) AllComparable

func (s *RestrictionContext) AllComparable() []IComparableContext

func (*RestrictionContext) AllWS

func (s *RestrictionContext) AllWS() []antlr.TerminalNode

func (*RestrictionContext) Comparable

func (s *RestrictionContext) Comparable(i int) IComparableContext

func (*RestrictionContext) Comparator

func (s *RestrictionContext) Comparator() IComparatorContext

func (*RestrictionContext) GetExpr

func (*RestrictionContext) GetOp

func (*RestrictionContext) GetParser

func (s *RestrictionContext) GetParser() antlr.Parser

func (*RestrictionContext) GetRest

func (*RestrictionContext) GetRuleContext

func (s *RestrictionContext) GetRuleContext() antlr.RuleContext

func (*RestrictionContext) IsRestrictionContext

func (*RestrictionContext) IsRestrictionContext()

func (*RestrictionContext) SetExpr

func (s *RestrictionContext) SetExpr(v IComparableContext)

func (*RestrictionContext) SetOp

func (*RestrictionContext) SetRest

func (s *RestrictionContext) SetRest(v IComparableContext)

func (*RestrictionContext) ToStringTree

func (s *RestrictionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*RestrictionContext) WS

type SelectOrCallContext

type SelectOrCallContext struct {
	*ValueContext
	// contains filtered or unexported fields
}

func NewSelectOrCallContext

func NewSelectOrCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SelectOrCallContext

func (*SelectOrCallContext) Accept

func (s *SelectOrCallContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*SelectOrCallContext) ArgList

func (s *SelectOrCallContext) ArgList() IArgListContext

func (*SelectOrCallContext) DOT

func (*SelectOrCallContext) Field

func (*SelectOrCallContext) GetOp

func (s *SelectOrCallContext) GetOp() antlr.Token

func (*SelectOrCallContext) GetOpen

func (s *SelectOrCallContext) GetOpen() antlr.Token

func (*SelectOrCallContext) GetRuleContext

func (s *SelectOrCallContext) GetRuleContext() antlr.RuleContext

func (*SelectOrCallContext) LPAREN

func (*SelectOrCallContext) RPAREN

func (*SelectOrCallContext) SetOp

func (s *SelectOrCallContext) SetOp(v antlr.Token)

func (*SelectOrCallContext) SetOpen

func (s *SelectOrCallContext) SetOpen(v antlr.Token)

func (*SelectOrCallContext) Value

type SepContext

type SepContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySepContext

func NewEmptySepContext() *SepContext

func NewSepContext

func NewSepContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SepContext

func (*SepContext) Accept

func (s *SepContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*SepContext) AllWS

func (s *SepContext) AllWS() []antlr.TerminalNode

func (*SepContext) COMMA

func (s *SepContext) COMMA() antlr.TerminalNode

func (*SepContext) GetParser

func (s *SepContext) GetParser() antlr.Parser

func (*SepContext) GetRuleContext

func (s *SepContext) GetRuleContext() antlr.RuleContext

func (*SepContext) IsSepContext

func (*SepContext) IsSepContext()

func (*SepContext) ToStringTree

func (s *SepContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*SepContext) WS

func (s *SepContext) WS(i int) antlr.TerminalNode

type SequenceContext

type SequenceContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySequenceContext

func NewEmptySequenceContext() *SequenceContext

func NewSequenceContext

func NewSequenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SequenceContext

func (*SequenceContext) Accept

func (s *SequenceContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*SequenceContext) AllFactor

func (s *SequenceContext) AllFactor() []IFactorContext

func (*SequenceContext) AllWS

func (s *SequenceContext) AllWS() []antlr.TerminalNode

func (*SequenceContext) Factor

func (s *SequenceContext) Factor(i int) IFactorContext

func (*SequenceContext) GetExpr

func (s *SequenceContext) GetExpr() IFactorContext

func (*SequenceContext) GetParser

func (s *SequenceContext) GetParser() antlr.Parser

func (*SequenceContext) GetRest

func (s *SequenceContext) GetRest() []IFactorContext

func (*SequenceContext) GetRuleContext

func (s *SequenceContext) GetRuleContext() antlr.RuleContext

func (*SequenceContext) Get_factor

func (s *SequenceContext) Get_factor() IFactorContext

func (*SequenceContext) IsSequenceContext

func (*SequenceContext) IsSequenceContext()

func (*SequenceContext) SetExpr

func (s *SequenceContext) SetExpr(v IFactorContext)

func (*SequenceContext) SetRest

func (s *SequenceContext) SetRest(v []IFactorContext)

func (*SequenceContext) Set_factor

func (s *SequenceContext) Set_factor(v IFactorContext)

func (*SequenceContext) ToStringTree

func (s *SequenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*SequenceContext) WS

type StringValContext

type StringValContext struct {
	*PrimaryContext
	// contains filtered or unexported fields
}

func NewStringValContext

func NewStringValContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringValContext

func (*StringValContext) Accept

func (s *StringValContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*StringValContext) GetQuotedText

func (s *StringValContext) GetQuotedText() antlr.Token

func (*StringValContext) GetRuleContext

func (s *StringValContext) GetRuleContext() antlr.RuleContext

func (*StringValContext) STRING

func (s *StringValContext) STRING() antlr.TerminalNode

func (*StringValContext) SetQuotedText

func (s *StringValContext) SetQuotedText(v antlr.Token)

type TermContext

type TermContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTermContext

func NewEmptyTermContext() *TermContext

func NewTermContext

func NewTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TermContext

func (*TermContext) Accept

func (s *TermContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TermContext) GetExpr

func (s *TermContext) GetExpr() IRestrictionContext

func (*TermContext) GetOp

func (s *TermContext) GetOp() INotOpContext

func (*TermContext) GetParser

func (s *TermContext) GetParser() antlr.Parser

func (*TermContext) GetRuleContext

func (s *TermContext) GetRuleContext() antlr.RuleContext

func (*TermContext) IsTermContext

func (*TermContext) IsTermContext()

func (*TermContext) NotOp

func (s *TermContext) NotOp() INotOpContext

func (*TermContext) Restriction

func (s *TermContext) Restriction() IRestrictionContext

func (*TermContext) SetExpr

func (s *TermContext) SetExpr(v IRestrictionContext)

func (*TermContext) SetOp

func (s *TermContext) SetOp(v INotOpContext)

func (*TermContext) ToStringTree

func (s *TermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type TextContext

type TextContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTextContext

func NewEmptyTextContext() *TextContext

func NewTextContext

func NewTextContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TextContext

func (*TextContext) Accept

func (s *TextContext) Accept(visitor antlr.ParseTreeVisitor) interface{}

func (*TextContext) AllDIGIT

func (s *TextContext) AllDIGIT() []antlr.TerminalNode

func (*TextContext) AllEXCLAIM

func (s *TextContext) AllEXCLAIM() []antlr.TerminalNode

func (*TextContext) AllMINUS

func (s *TextContext) AllMINUS() []antlr.TerminalNode

func (*TextContext) AllTEXT

func (s *TextContext) AllTEXT() []antlr.TerminalNode

func (*TextContext) DIGIT

func (s *TextContext) DIGIT(i int) antlr.TerminalNode

func (*TextContext) EXCLAIM

func (s *TextContext) EXCLAIM(i int) antlr.TerminalNode

func (*TextContext) GetParser

func (s *TextContext) GetParser() antlr.Parser

func (*TextContext) GetRuleContext

func (s *TextContext) GetRuleContext() antlr.RuleContext

func (*TextContext) IsTextContext

func (*TextContext) IsTextContext()

func (*TextContext) MINUS

func (s *TextContext) MINUS(i int) antlr.TerminalNode

func (*TextContext) TEXT

func (s *TextContext) TEXT(i int) antlr.TerminalNode

func (*TextContext) ToStringTree

func (s *TextContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ValueContext

type ValueContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyValueContext

func NewEmptyValueContext() *ValueContext

func NewValueContext

func NewValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ValueContext

func (*ValueContext) CopyFrom

func (s *ValueContext) CopyFrom(ctx *ValueContext)

func (*ValueContext) GetParser

func (s *ValueContext) GetParser() antlr.Parser

func (*ValueContext) GetRuleContext

func (s *ValueContext) GetRuleContext() antlr.RuleContext

func (*ValueContext) IsValueContext

func (*ValueContext) IsValueContext()

func (*ValueContext) ToStringTree

func (s *ValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL