parser

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TDTLLexerT__0        = 1
	TDTLLexerT__1        = 2
	TDTLLexerT__2        = 3
	TDTLLexerT__3        = 4
	TDTLLexerT__4        = 5
	TDTLLexerT__5        = 6
	TDTLLexerT__6        = 7
	TDTLLexerT__7        = 8
	TDTLLexerT__8        = 9
	TDTLLexerINSERT      = 10
	TDTLLexerINTO        = 11
	TDTLLexerAS          = 12
	TDTLLexerAND         = 13
	TDTLLexerCASE        = 14
	TDTLLexerELSE        = 15
	TDTLLexerEND         = 16
	TDTLLexerEQ          = 17
	TDTLLexerFROM        = 18
	TDTLLexerGT          = 19
	TDTLLexerGTE         = 20
	TDTLLexerLT          = 21
	TDTLLexerLTE         = 22
	TDTLLexerNE          = 23
	TDTLLexerNOT         = 24
	TDTLLexerNULL        = 25
	TDTLLexerOR          = 26
	TDTLLexerSELECT      = 27
	TDTLLexerTHEN        = 28
	TDTLLexerWHERE       = 29
	TDTLLexerWHEN        = 30
	TDTLLexerMUL         = 31
	TDTLLexerDIV         = 32
	TDTLLexerMOD         = 33
	TDTLLexerADD         = 34
	TDTLLexerSUB         = 35
	TDTLLexerDOT         = 36
	TDTLLexerTRUE        = 37
	TDTLLexerFALSE       = 38
	TDTLLexerINDENTIFIER = 39
	TDTLLexerNUMBER      = 40
	TDTLLexerINTEGER     = 41
	TDTLLexerFLOAT       = 42
	TDTLLexerTOPICITEM   = 43
	TDTLLexerPATHITEM    = 44
	TDTLLexerARRAYITEM   = 45
	TDTLLexerSTRING      = 46
	TDTLLexerWHITESPACE  = 47
)

TDTLLexer tokens.

View Source
const (
	TDTLParserEOF         = antlr.TokenEOF
	TDTLParserT__0        = 1
	TDTLParserT__1        = 2
	TDTLParserT__2        = 3
	TDTLParserT__3        = 4
	TDTLParserT__4        = 5
	TDTLParserT__5        = 6
	TDTLParserT__6        = 7
	TDTLParserT__7        = 8
	TDTLParserT__8        = 9
	TDTLParserINSERT      = 10
	TDTLParserINTO        = 11
	TDTLParserAS          = 12
	TDTLParserAND         = 13
	TDTLParserCASE        = 14
	TDTLParserELSE        = 15
	TDTLParserEND         = 16
	TDTLParserEQ          = 17
	TDTLParserFROM        = 18
	TDTLParserGT          = 19
	TDTLParserGTE         = 20
	TDTLParserLT          = 21
	TDTLParserLTE         = 22
	TDTLParserNE          = 23
	TDTLParserNOT         = 24
	TDTLParserNULL        = 25
	TDTLParserOR          = 26
	TDTLParserSELECT      = 27
	TDTLParserTHEN        = 28
	TDTLParserWHERE       = 29
	TDTLParserWHEN        = 30
	TDTLParserMUL         = 31
	TDTLParserDIV         = 32
	TDTLParserMOD         = 33
	TDTLParserADD         = 34
	TDTLParserSUB         = 35
	TDTLParserDOT         = 36
	TDTLParserTRUE        = 37
	TDTLParserFALSE       = 38
	TDTLParserINDENTIFIER = 39
	TDTLParserNUMBER      = 40
	TDTLParserINTEGER     = 41
	TDTLParserFLOAT       = 42
	TDTLParserTOPICITEM   = 43
	TDTLParserPATHITEM    = 44
	TDTLParserARRAYITEM   = 45
	TDTLParserSTRING      = 46
	TDTLParserWHITESPACE  = 47
)

TDTLParser tokens.

View Source
const (
	TDTLParserRULE_root                    = 0
	TDTLParserRULE_target                  = 1
	TDTLParserRULE_fields                  = 2
	TDTLParserRULE_field_elem              = 3
	TDTLParserRULE_field_elem_with_as      = 4
	TDTLParserRULE_filter                  = 5
	TDTLParserRULE_filter_condition        = 6
	TDTLParserRULE_filter_condition_or     = 7
	TDTLParserRULE_filter_condition_not    = 8
	TDTLParserRULE_expr                    = 9
	TDTLParserRULE_sourceEntity            = 10
	TDTLParserRULE_propertyEntity          = 11
	TDTLParserRULE_constant                = 12
	TDTLParserRULE_switch_stmt             = 13
	TDTLParserRULE_call_expr               = 14
	TDTLParserRULE_asterisk                = 15
	TDTLParserRULE_xpath_name              = 16
	TDTLParserRULE_target_name             = 17
	TDTLParserRULE_dotnotation             = 18
	TDTLParserRULE_identifierWithTOPICITEM = 19
	TDTLParserRULE_identifierWithQualifier = 20
)

TDTLParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsteriskContext

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

func NewAsteriskContext

func NewAsteriskContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AsteriskContext

func NewEmptyAsteriskContext

func NewEmptyAsteriskContext() *AsteriskContext

func (*AsteriskContext) EnterRule

func (s *AsteriskContext) EnterRule(listener antlr.ParseTreeListener)

func (*AsteriskContext) ExitRule

func (s *AsteriskContext) ExitRule(listener antlr.ParseTreeListener)

func (*AsteriskContext) GetParser

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

func (*AsteriskContext) GetRuleContext

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

func (*AsteriskContext) IsAsteriskContext

func (*AsteriskContext) IsAsteriskContext()

func (*AsteriskContext) ToStringTree

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

type BaseTDTLListener

type BaseTDTLListener struct{}

BaseTDTLListener is a complete listener for a parse tree produced by TDTLParser.

func (*BaseTDTLListener) EnterAsterisk

func (s *BaseTDTLListener) EnterAsterisk(ctx *AsteriskContext)

EnterAsterisk is called when production asterisk is entered.

func (*BaseTDTLListener) EnterBinary

func (s *BaseTDTLListener) EnterBinary(ctx *BinaryContext)

EnterBinary is called when production Binary is entered.

func (*BaseTDTLListener) EnterBoolean

func (s *BaseTDTLListener) EnterBoolean(ctx *BooleanContext)

EnterBoolean is called when production Boolean is entered.

func (*BaseTDTLListener) EnterBraces

func (s *BaseTDTLListener) EnterBraces(ctx *BracesContext)

EnterBraces is called when production Braces is entered.

func (*BaseTDTLListener) EnterCall_expr

func (s *BaseTDTLListener) EnterCall_expr(ctx *Call_exprContext)

EnterCall_expr is called when production call_expr is entered.

func (*BaseTDTLListener) EnterDotnotation

func (s *BaseTDTLListener) EnterDotnotation(ctx *DotnotationContext)

EnterDotnotation is called when production dotnotation is entered.

func (*BaseTDTLListener) EnterEveryRule

func (s *BaseTDTLListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseTDTLListener) EnterFieldElemAs

func (s *BaseTDTLListener) EnterFieldElemAs(ctx *FieldElemAsContext)

EnterFieldElemAs is called when production FieldElemAs is entered.

func (*BaseTDTLListener) EnterFieldElemExpr

func (s *BaseTDTLListener) EnterFieldElemExpr(ctx *FieldElemExprContext)

EnterFieldElemExpr is called when production FieldElemExpr is entered.

func (*BaseTDTLListener) EnterFieldElemSource

func (s *BaseTDTLListener) EnterFieldElemSource(ctx *FieldElemSourceContext)

EnterFieldElemSource is called when production FieldElemSource is entered.

func (*BaseTDTLListener) EnterFields

func (s *BaseTDTLListener) EnterFields(ctx *FieldsContext)

EnterFields is called when production fields is entered.

func (*BaseTDTLListener) EnterFilter

func (s *BaseTDTLListener) EnterFilter(ctx *FilterContext)

EnterFilter is called when production filter is entered.

func (*BaseTDTLListener) EnterFilter_condition

func (s *BaseTDTLListener) EnterFilter_condition(ctx *Filter_conditionContext)

EnterFilter_condition is called when production filter_condition is entered.

func (*BaseTDTLListener) EnterFilter_condition_not

func (s *BaseTDTLListener) EnterFilter_condition_not(ctx *Filter_condition_notContext)

EnterFilter_condition_not is called when production filter_condition_not is entered.

func (*BaseTDTLListener) EnterFilter_condition_or

func (s *BaseTDTLListener) EnterFilter_condition_or(ctx *Filter_condition_orContext)

EnterFilter_condition_or is called when production filter_condition_or is entered.

func (*BaseTDTLListener) EnterFloat

func (s *BaseTDTLListener) EnterFloat(ctx *FloatContext)

EnterFloat is called when production Float is entered.

func (*BaseTDTLListener) EnterFunction

func (s *BaseTDTLListener) EnterFunction(ctx *FunctionContext)

EnterFunction is called when production Function is entered.

func (*BaseTDTLListener) EnterIdentifierWithQualifier

func (s *BaseTDTLListener) EnterIdentifierWithQualifier(ctx *IdentifierWithQualifierContext)

EnterIdentifierWithQualifier is called when production identifierWithQualifier is entered.

func (*BaseTDTLListener) EnterIdentifierWithTOPICITEM

func (s *BaseTDTLListener) EnterIdentifierWithTOPICITEM(ctx *IdentifierWithTOPICITEMContext)

EnterIdentifierWithTOPICITEM is called when production identifierWithTOPICITEM is entered.

func (*BaseTDTLListener) EnterInteger

func (s *BaseTDTLListener) EnterInteger(ctx *IntegerContext)

EnterInteger is called when production Integer is entered.

func (*BaseTDTLListener) EnterPropertyEntity

func (s *BaseTDTLListener) EnterPropertyEntity(ctx *PropertyEntityContext)

EnterPropertyEntity is called when production propertyEntity is entered.

func (*BaseTDTLListener) EnterRoot

func (s *BaseTDTLListener) EnterRoot(ctx *RootContext)

EnterRoot is called when production root is entered.

func (*BaseTDTLListener) EnterSource

func (s *BaseTDTLListener) EnterSource(ctx *SourceContext)

EnterSource is called when production Source is entered.

func (*BaseTDTLListener) EnterSourceEntity

func (s *BaseTDTLListener) EnterSourceEntity(ctx *SourceEntityContext)

EnterSourceEntity is called when production sourceEntity is entered.

func (*BaseTDTLListener) EnterString

func (s *BaseTDTLListener) EnterString(ctx *StringContext)

EnterString is called when production String is entered.

func (*BaseTDTLListener) EnterSwitch

func (s *BaseTDTLListener) EnterSwitch(ctx *SwitchContext)

EnterSwitch is called when production Switch is entered.

func (*BaseTDTLListener) EnterSwitch_stmt

func (s *BaseTDTLListener) EnterSwitch_stmt(ctx *Switch_stmtContext)

EnterSwitch_stmt is called when production switch_stmt is entered.

func (*BaseTDTLListener) EnterTarget

func (s *BaseTDTLListener) EnterTarget(ctx *TargetContext)

EnterTarget is called when production target is entered.

func (*BaseTDTLListener) EnterTargetAsElem

func (s *BaseTDTLListener) EnterTargetAsElem(ctx *TargetAsElemContext)

EnterTargetAsElem is called when production TargetAsElem is entered.

func (*BaseTDTLListener) EnterTarget_name

func (s *BaseTDTLListener) EnterTarget_name(ctx *Target_nameContext)

EnterTarget_name is called when production target_name is entered.

func (*BaseTDTLListener) EnterXpath_name

func (s *BaseTDTLListener) EnterXpath_name(ctx *Xpath_nameContext)

EnterXpath_name is called when production xpath_name is entered.

func (*BaseTDTLListener) ExitAsterisk

func (s *BaseTDTLListener) ExitAsterisk(ctx *AsteriskContext)

ExitAsterisk is called when production asterisk is exited.

func (*BaseTDTLListener) ExitBinary

func (s *BaseTDTLListener) ExitBinary(ctx *BinaryContext)

ExitBinary is called when production Binary is exited.

func (*BaseTDTLListener) ExitBoolean

func (s *BaseTDTLListener) ExitBoolean(ctx *BooleanContext)

ExitBoolean is called when production Boolean is exited.

func (*BaseTDTLListener) ExitBraces

func (s *BaseTDTLListener) ExitBraces(ctx *BracesContext)

ExitBraces is called when production Braces is exited.

func (*BaseTDTLListener) ExitCall_expr

func (s *BaseTDTLListener) ExitCall_expr(ctx *Call_exprContext)

ExitCall_expr is called when production call_expr is exited.

func (*BaseTDTLListener) ExitDotnotation

func (s *BaseTDTLListener) ExitDotnotation(ctx *DotnotationContext)

ExitDotnotation is called when production dotnotation is exited.

func (*BaseTDTLListener) ExitEveryRule

func (s *BaseTDTLListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseTDTLListener) ExitFieldElemAs

func (s *BaseTDTLListener) ExitFieldElemAs(ctx *FieldElemAsContext)

ExitFieldElemAs is called when production FieldElemAs is exited.

func (*BaseTDTLListener) ExitFieldElemExpr

func (s *BaseTDTLListener) ExitFieldElemExpr(ctx *FieldElemExprContext)

ExitFieldElemExpr is called when production FieldElemExpr is exited.

func (*BaseTDTLListener) ExitFieldElemSource

func (s *BaseTDTLListener) ExitFieldElemSource(ctx *FieldElemSourceContext)

ExitFieldElemSource is called when production FieldElemSource is exited.

func (*BaseTDTLListener) ExitFields

func (s *BaseTDTLListener) ExitFields(ctx *FieldsContext)

ExitFields is called when production fields is exited.

func (*BaseTDTLListener) ExitFilter

func (s *BaseTDTLListener) ExitFilter(ctx *FilterContext)

ExitFilter is called when production filter is exited.

func (*BaseTDTLListener) ExitFilter_condition

func (s *BaseTDTLListener) ExitFilter_condition(ctx *Filter_conditionContext)

ExitFilter_condition is called when production filter_condition is exited.

func (*BaseTDTLListener) ExitFilter_condition_not

func (s *BaseTDTLListener) ExitFilter_condition_not(ctx *Filter_condition_notContext)

ExitFilter_condition_not is called when production filter_condition_not is exited.

func (*BaseTDTLListener) ExitFilter_condition_or

func (s *BaseTDTLListener) ExitFilter_condition_or(ctx *Filter_condition_orContext)

ExitFilter_condition_or is called when production filter_condition_or is exited.

func (*BaseTDTLListener) ExitFloat

func (s *BaseTDTLListener) ExitFloat(ctx *FloatContext)

ExitFloat is called when production Float is exited.

func (*BaseTDTLListener) ExitFunction

func (s *BaseTDTLListener) ExitFunction(ctx *FunctionContext)

ExitFunction is called when production Function is exited.

func (*BaseTDTLListener) ExitIdentifierWithQualifier

func (s *BaseTDTLListener) ExitIdentifierWithQualifier(ctx *IdentifierWithQualifierContext)

ExitIdentifierWithQualifier is called when production identifierWithQualifier is exited.

func (*BaseTDTLListener) ExitIdentifierWithTOPICITEM

func (s *BaseTDTLListener) ExitIdentifierWithTOPICITEM(ctx *IdentifierWithTOPICITEMContext)

ExitIdentifierWithTOPICITEM is called when production identifierWithTOPICITEM is exited.

func (*BaseTDTLListener) ExitInteger

func (s *BaseTDTLListener) ExitInteger(ctx *IntegerContext)

ExitInteger is called when production Integer is exited.

func (*BaseTDTLListener) ExitPropertyEntity

func (s *BaseTDTLListener) ExitPropertyEntity(ctx *PropertyEntityContext)

ExitPropertyEntity is called when production propertyEntity is exited.

func (*BaseTDTLListener) ExitRoot

func (s *BaseTDTLListener) ExitRoot(ctx *RootContext)

ExitRoot is called when production root is exited.

func (*BaseTDTLListener) ExitSource

func (s *BaseTDTLListener) ExitSource(ctx *SourceContext)

ExitSource is called when production Source is exited.

func (*BaseTDTLListener) ExitSourceEntity

func (s *BaseTDTLListener) ExitSourceEntity(ctx *SourceEntityContext)

ExitSourceEntity is called when production sourceEntity is exited.

func (*BaseTDTLListener) ExitString

func (s *BaseTDTLListener) ExitString(ctx *StringContext)

ExitString is called when production String is exited.

func (*BaseTDTLListener) ExitSwitch

func (s *BaseTDTLListener) ExitSwitch(ctx *SwitchContext)

ExitSwitch is called when production Switch is exited.

func (*BaseTDTLListener) ExitSwitch_stmt

func (s *BaseTDTLListener) ExitSwitch_stmt(ctx *Switch_stmtContext)

ExitSwitch_stmt is called when production switch_stmt is exited.

func (*BaseTDTLListener) ExitTarget

func (s *BaseTDTLListener) ExitTarget(ctx *TargetContext)

ExitTarget is called when production target is exited.

func (*BaseTDTLListener) ExitTargetAsElem

func (s *BaseTDTLListener) ExitTargetAsElem(ctx *TargetAsElemContext)

ExitTargetAsElem is called when production TargetAsElem is exited.

func (*BaseTDTLListener) ExitTarget_name

func (s *BaseTDTLListener) ExitTarget_name(ctx *Target_nameContext)

ExitTarget_name is called when production target_name is exited.

func (*BaseTDTLListener) ExitXpath_name

func (s *BaseTDTLListener) ExitXpath_name(ctx *Xpath_nameContext)

ExitXpath_name is called when production xpath_name is exited.

func (*BaseTDTLListener) VisitErrorNode

func (s *BaseTDTLListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseTDTLListener) VisitTerminal

func (s *BaseTDTLListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type BinaryContext

type BinaryContext struct {
	*ExprContext
	// contains filtered or unexported fields
}

func NewBinaryContext

func NewBinaryContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BinaryContext

func (*BinaryContext) AllExpr

func (s *BinaryContext) AllExpr() []IExprContext

func (*BinaryContext) EQ

func (*BinaryContext) EnterRule

func (s *BinaryContext) EnterRule(listener antlr.ParseTreeListener)

func (*BinaryContext) ExitRule

func (s *BinaryContext) ExitRule(listener antlr.ParseTreeListener)

func (*BinaryContext) Expr

func (s *BinaryContext) Expr(i int) IExprContext

func (*BinaryContext) GT

func (*BinaryContext) GTE

func (s *BinaryContext) GTE() antlr.TerminalNode

func (*BinaryContext) GetOp

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

func (*BinaryContext) GetRuleContext

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

func (*BinaryContext) LT

func (*BinaryContext) LTE

func (s *BinaryContext) LTE() antlr.TerminalNode

func (*BinaryContext) NE

func (*BinaryContext) SetOp

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

type BooleanContext

type BooleanContext struct {
	*ConstantContext
}

func NewBooleanContext

func NewBooleanContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BooleanContext

func (*BooleanContext) EnterRule

func (s *BooleanContext) EnterRule(listener antlr.ParseTreeListener)

func (*BooleanContext) ExitRule

func (s *BooleanContext) ExitRule(listener antlr.ParseTreeListener)

func (*BooleanContext) FALSE

func (s *BooleanContext) FALSE() antlr.TerminalNode

func (*BooleanContext) GetRuleContext

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

func (*BooleanContext) TRUE

func (s *BooleanContext) TRUE() antlr.TerminalNode

type BracesContext

type BracesContext struct {
	*ExprContext
}

func NewBracesContext

func NewBracesContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BracesContext

func (*BracesContext) Constant

func (s *BracesContext) Constant() IConstantContext

func (*BracesContext) EnterRule

func (s *BracesContext) EnterRule(listener antlr.ParseTreeListener)

func (*BracesContext) ExitRule

func (s *BracesContext) ExitRule(listener antlr.ParseTreeListener)

func (*BracesContext) Expr

func (s *BracesContext) Expr() IExprContext

func (*BracesContext) GetRuleContext

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

type Call_exprContext

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

func NewCall_exprContext

func NewCall_exprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Call_exprContext

func NewEmptyCall_exprContext

func NewEmptyCall_exprContext() *Call_exprContext

func (*Call_exprContext) AllExpr

func (s *Call_exprContext) AllExpr() []IExprContext

func (*Call_exprContext) EnterRule

func (s *Call_exprContext) EnterRule(listener antlr.ParseTreeListener)

func (*Call_exprContext) ExitRule

func (s *Call_exprContext) ExitRule(listener antlr.ParseTreeListener)

func (*Call_exprContext) Expr

func (s *Call_exprContext) Expr(i int) IExprContext

func (*Call_exprContext) GetKey

func (s *Call_exprContext) GetKey() antlr.Token

func (*Call_exprContext) GetParser

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

func (*Call_exprContext) GetRuleContext

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

func (*Call_exprContext) INDENTIFIER

func (s *Call_exprContext) INDENTIFIER() antlr.TerminalNode

func (*Call_exprContext) IsCall_exprContext

func (*Call_exprContext) IsCall_exprContext()

func (*Call_exprContext) SetKey

func (s *Call_exprContext) SetKey(v antlr.Token)

func (*Call_exprContext) ToStringTree

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

type ConstantContext

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

func NewConstantContext

func NewConstantContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConstantContext

func NewEmptyConstantContext

func NewEmptyConstantContext() *ConstantContext

func (*ConstantContext) CopyFrom

func (s *ConstantContext) CopyFrom(ctx *ConstantContext)

func (*ConstantContext) GetParser

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

func (*ConstantContext) GetRuleContext

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

func (*ConstantContext) IsConstantContext

func (*ConstantContext) IsConstantContext()

func (*ConstantContext) ToStringTree

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

type DotnotationContext

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

func NewDotnotationContext

func NewDotnotationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DotnotationContext

func NewEmptyDotnotationContext

func NewEmptyDotnotationContext() *DotnotationContext

func (*DotnotationContext) EnterRule

func (s *DotnotationContext) EnterRule(listener antlr.ParseTreeListener)

func (*DotnotationContext) ExitRule

func (s *DotnotationContext) ExitRule(listener antlr.ParseTreeListener)

func (*DotnotationContext) GetParser

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

func (*DotnotationContext) GetRuleContext

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

func (*DotnotationContext) INDENTIFIER

func (s *DotnotationContext) INDENTIFIER() antlr.TerminalNode

func (*DotnotationContext) IsDotnotationContext

func (*DotnotationContext) IsDotnotationContext()

func (*DotnotationContext) PATHITEM

func (s *DotnotationContext) PATHITEM() antlr.TerminalNode

func (*DotnotationContext) ToStringTree

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

type ExprContext

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

func NewEmptyExprContext

func NewEmptyExprContext() *ExprContext

func NewExprContext

func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext

func (*ExprContext) CopyFrom

func (s *ExprContext) CopyFrom(ctx *ExprContext)

func (*ExprContext) GetParser

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

func (*ExprContext) GetRuleContext

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

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) ToStringTree

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

type FieldElemAsContext

type FieldElemAsContext struct {
	*Field_elemContext
}

func NewFieldElemAsContext

func NewFieldElemAsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldElemAsContext

func (*FieldElemAsContext) EnterRule

func (s *FieldElemAsContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldElemAsContext) ExitRule

func (s *FieldElemAsContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldElemAsContext) Field_elem_with_as

func (s *FieldElemAsContext) Field_elem_with_as() IField_elem_with_asContext

func (*FieldElemAsContext) GetRuleContext

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

type FieldElemExprContext

type FieldElemExprContext struct {
	*Field_elemContext
}

func NewFieldElemExprContext

func NewFieldElemExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldElemExprContext

func (*FieldElemExprContext) EnterRule

func (s *FieldElemExprContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldElemExprContext) ExitRule

func (s *FieldElemExprContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldElemExprContext) Expr

func (*FieldElemExprContext) GetRuleContext

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

type FieldElemSourceContext

type FieldElemSourceContext struct {
	*Field_elemContext
}

func NewFieldElemSourceContext

func NewFieldElemSourceContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FieldElemSourceContext

func (*FieldElemSourceContext) Asterisk

func (*FieldElemSourceContext) EnterRule

func (s *FieldElemSourceContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldElemSourceContext) ExitRule

func (s *FieldElemSourceContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldElemSourceContext) GetRuleContext

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

func (*FieldElemSourceContext) SourceEntity

func (s *FieldElemSourceContext) SourceEntity() ISourceEntityContext

type Field_elemContext

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

func NewEmptyField_elemContext

func NewEmptyField_elemContext() *Field_elemContext

func NewField_elemContext

func NewField_elemContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Field_elemContext

func (*Field_elemContext) CopyFrom

func (s *Field_elemContext) CopyFrom(ctx *Field_elemContext)

func (*Field_elemContext) GetParser

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

func (*Field_elemContext) GetRuleContext

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

func (*Field_elemContext) IsField_elemContext

func (*Field_elemContext) IsField_elemContext()

func (*Field_elemContext) ToStringTree

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

type Field_elem_with_asContext

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

func NewEmptyField_elem_with_asContext

func NewEmptyField_elem_with_asContext() *Field_elem_with_asContext

func NewField_elem_with_asContext

func NewField_elem_with_asContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Field_elem_with_asContext

func (*Field_elem_with_asContext) CopyFrom

func (*Field_elem_with_asContext) GetParser

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

func (*Field_elem_with_asContext) GetRuleContext

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

func (*Field_elem_with_asContext) IsField_elem_with_asContext

func (*Field_elem_with_asContext) IsField_elem_with_asContext()

func (*Field_elem_with_asContext) ToStringTree

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

type FieldsContext

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

func NewEmptyFieldsContext

func NewEmptyFieldsContext() *FieldsContext

func NewFieldsContext

func NewFieldsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldsContext

func (*FieldsContext) AllField_elem

func (s *FieldsContext) AllField_elem() []IField_elemContext

func (*FieldsContext) EnterRule

func (s *FieldsContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldsContext) ExitRule

func (s *FieldsContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldsContext) Field_elem

func (s *FieldsContext) Field_elem(i int) IField_elemContext

func (*FieldsContext) GetParser

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

func (*FieldsContext) GetRuleContext

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

func (*FieldsContext) IsFieldsContext

func (*FieldsContext) IsFieldsContext()

func (*FieldsContext) ToStringTree

func (s *FieldsContext) 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) EnterRule

func (s *FilterContext) EnterRule(listener antlr.ParseTreeListener)

func (*FilterContext) ExitRule

func (s *FilterContext) ExitRule(listener antlr.ParseTreeListener)

func (*FilterContext) Filter_condition

func (s *FilterContext) Filter_condition() IFilter_conditionContext

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

type Filter_conditionContext

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

func NewEmptyFilter_conditionContext

func NewEmptyFilter_conditionContext() *Filter_conditionContext

func NewFilter_conditionContext

func NewFilter_conditionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Filter_conditionContext

func (*Filter_conditionContext) AND

func (*Filter_conditionContext) AllAND

func (*Filter_conditionContext) AllFilter_condition_or

func (s *Filter_conditionContext) AllFilter_condition_or() []IFilter_condition_orContext

func (*Filter_conditionContext) EnterRule

func (s *Filter_conditionContext) EnterRule(listener antlr.ParseTreeListener)

func (*Filter_conditionContext) ExitRule

func (s *Filter_conditionContext) ExitRule(listener antlr.ParseTreeListener)

func (*Filter_conditionContext) Filter_condition_or

func (s *Filter_conditionContext) Filter_condition_or(i int) IFilter_condition_orContext

func (*Filter_conditionContext) GetParser

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

func (*Filter_conditionContext) GetRuleContext

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

func (*Filter_conditionContext) IsFilter_conditionContext

func (*Filter_conditionContext) IsFilter_conditionContext()

func (*Filter_conditionContext) ToStringTree

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

type Filter_condition_notContext

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

func NewEmptyFilter_condition_notContext

func NewEmptyFilter_condition_notContext() *Filter_condition_notContext

func NewFilter_condition_notContext

func NewFilter_condition_notContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Filter_condition_notContext

func (*Filter_condition_notContext) EnterRule

func (s *Filter_condition_notContext) EnterRule(listener antlr.ParseTreeListener)

func (*Filter_condition_notContext) ExitRule

func (s *Filter_condition_notContext) ExitRule(listener antlr.ParseTreeListener)

func (*Filter_condition_notContext) Expr

func (*Filter_condition_notContext) GetParser

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

func (*Filter_condition_notContext) GetRuleContext

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

func (*Filter_condition_notContext) IsFilter_condition_notContext

func (*Filter_condition_notContext) IsFilter_condition_notContext()

func (*Filter_condition_notContext) NOT

func (*Filter_condition_notContext) ToStringTree

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

type Filter_condition_orContext

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

func NewEmptyFilter_condition_orContext

func NewEmptyFilter_condition_orContext() *Filter_condition_orContext

func NewFilter_condition_orContext

func NewFilter_condition_orContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Filter_condition_orContext

func (*Filter_condition_orContext) AllFilter_condition_not

func (s *Filter_condition_orContext) AllFilter_condition_not() []IFilter_condition_notContext

func (*Filter_condition_orContext) AllOR

func (*Filter_condition_orContext) EnterRule

func (s *Filter_condition_orContext) EnterRule(listener antlr.ParseTreeListener)

func (*Filter_condition_orContext) ExitRule

func (s *Filter_condition_orContext) ExitRule(listener antlr.ParseTreeListener)

func (*Filter_condition_orContext) Filter_condition_not

func (s *Filter_condition_orContext) Filter_condition_not(i int) IFilter_condition_notContext

func (*Filter_condition_orContext) GetParser

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

func (*Filter_condition_orContext) GetRuleContext

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

func (*Filter_condition_orContext) IsFilter_condition_orContext

func (*Filter_condition_orContext) IsFilter_condition_orContext()

func (*Filter_condition_orContext) OR

func (*Filter_condition_orContext) ToStringTree

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

type FloatContext

type FloatContext struct {
	*ConstantContext
}

func NewFloatContext

func NewFloatContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FloatContext

func (*FloatContext) EnterRule

func (s *FloatContext) EnterRule(listener antlr.ParseTreeListener)

func (*FloatContext) ExitRule

func (s *FloatContext) ExitRule(listener antlr.ParseTreeListener)

func (*FloatContext) FLOAT

func (s *FloatContext) FLOAT() antlr.TerminalNode

func (*FloatContext) GetRuleContext

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

type FunctionContext

type FunctionContext struct {
	*ExprContext
}

func NewFunctionContext

func NewFunctionContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *FunctionContext

func (*FunctionContext) Call_expr

func (s *FunctionContext) Call_expr() ICall_exprContext

func (*FunctionContext) EnterRule

func (s *FunctionContext) EnterRule(listener antlr.ParseTreeListener)

func (*FunctionContext) ExitRule

func (s *FunctionContext) ExitRule(listener antlr.ParseTreeListener)

func (*FunctionContext) GetRuleContext

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

type IAsteriskContext

type IAsteriskContext interface {
	antlr.ParserRuleContext

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

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

IAsteriskContext is an interface to support dynamic dispatch.

type ICall_exprContext

type ICall_exprContext interface {
	antlr.ParserRuleContext

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

	// GetKey returns the key token.
	GetKey() antlr.Token

	// SetKey sets the key token.
	SetKey(antlr.Token)

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

ICall_exprContext is an interface to support dynamic dispatch.

type IConstantContext

type IConstantContext interface {
	antlr.ParserRuleContext

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

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

IConstantContext is an interface to support dynamic dispatch.

type IDotnotationContext

type IDotnotationContext interface {
	antlr.ParserRuleContext

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

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

IDotnotationContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

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

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

IExprContext is an interface to support dynamic dispatch.

type IField_elemContext

type IField_elemContext interface {
	antlr.ParserRuleContext

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

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

IField_elemContext is an interface to support dynamic dispatch.

type IField_elem_with_asContext

type IField_elem_with_asContext interface {
	antlr.ParserRuleContext

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

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

IField_elem_with_asContext is an interface to support dynamic dispatch.

type IFieldsContext

type IFieldsContext interface {
	antlr.ParserRuleContext

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

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

IFieldsContext 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 IFilter_conditionContext

type IFilter_conditionContext interface {
	antlr.ParserRuleContext

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

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

IFilter_conditionContext is an interface to support dynamic dispatch.

type IFilter_condition_notContext

type IFilter_condition_notContext interface {
	antlr.ParserRuleContext

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

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

IFilter_condition_notContext is an interface to support dynamic dispatch.

type IFilter_condition_orContext

type IFilter_condition_orContext interface {
	antlr.ParserRuleContext

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

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

IFilter_condition_orContext is an interface to support dynamic dispatch.

type IIdentifierWithQualifierContext

type IIdentifierWithQualifierContext interface {
	antlr.ParserRuleContext

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

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

IIdentifierWithQualifierContext is an interface to support dynamic dispatch.

type IIdentifierWithTOPICITEMContext

type IIdentifierWithTOPICITEMContext interface {
	antlr.ParserRuleContext

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

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

IIdentifierWithTOPICITEMContext is an interface to support dynamic dispatch.

type IPropertyEntityContext

type IPropertyEntityContext interface {
	antlr.ParserRuleContext

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

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

IPropertyEntityContext is an interface to support dynamic dispatch.

type IRootContext

type IRootContext interface {
	antlr.ParserRuleContext

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

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

IRootContext is an interface to support dynamic dispatch.

type ISourceEntityContext

type ISourceEntityContext interface {
	antlr.ParserRuleContext

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

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

ISourceEntityContext is an interface to support dynamic dispatch.

type ISwitch_stmtContext

type ISwitch_stmtContext interface {
	antlr.ParserRuleContext

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

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

ISwitch_stmtContext is an interface to support dynamic dispatch.

type ITargetContext

type ITargetContext interface {
	antlr.ParserRuleContext

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

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

ITargetContext is an interface to support dynamic dispatch.

type ITarget_nameContext

type ITarget_nameContext interface {
	antlr.ParserRuleContext

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

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

ITarget_nameContext is an interface to support dynamic dispatch.

type IXpath_nameContext

type IXpath_nameContext interface {
	antlr.ParserRuleContext

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

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

IXpath_nameContext is an interface to support dynamic dispatch.

type IdentifierWithQualifierContext

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

func NewEmptyIdentifierWithQualifierContext

func NewEmptyIdentifierWithQualifierContext() *IdentifierWithQualifierContext

func NewIdentifierWithQualifierContext

func NewIdentifierWithQualifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierWithQualifierContext

func (*IdentifierWithQualifierContext) EnterRule

func (*IdentifierWithQualifierContext) ExitRule

func (*IdentifierWithQualifierContext) GetParser

func (*IdentifierWithQualifierContext) GetRuleContext

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

func (*IdentifierWithQualifierContext) INDENTIFIER

func (*IdentifierWithQualifierContext) IsIdentifierWithQualifierContext

func (*IdentifierWithQualifierContext) IsIdentifierWithQualifierContext()

func (*IdentifierWithQualifierContext) NUMBER

func (*IdentifierWithQualifierContext) ToStringTree

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

type IdentifierWithTOPICITEMContext

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

func NewEmptyIdentifierWithTOPICITEMContext

func NewEmptyIdentifierWithTOPICITEMContext() *IdentifierWithTOPICITEMContext

func NewIdentifierWithTOPICITEMContext

func NewIdentifierWithTOPICITEMContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierWithTOPICITEMContext

func (*IdentifierWithTOPICITEMContext) EnterRule

func (*IdentifierWithTOPICITEMContext) ExitRule

func (*IdentifierWithTOPICITEMContext) FLOAT

func (*IdentifierWithTOPICITEMContext) GetParser

func (*IdentifierWithTOPICITEMContext) GetRuleContext

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

func (*IdentifierWithTOPICITEMContext) IsIdentifierWithTOPICITEMContext

func (*IdentifierWithTOPICITEMContext) IsIdentifierWithTOPICITEMContext()

func (*IdentifierWithTOPICITEMContext) NUMBER

func (*IdentifierWithTOPICITEMContext) PATHITEM

func (*IdentifierWithTOPICITEMContext) ToStringTree

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

type IntegerContext

type IntegerContext struct {
	*ConstantContext
}

func NewIntegerContext

func NewIntegerContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IntegerContext

func (*IntegerContext) EnterRule

func (s *IntegerContext) EnterRule(listener antlr.ParseTreeListener)

func (*IntegerContext) ExitRule

func (s *IntegerContext) ExitRule(listener antlr.ParseTreeListener)

func (*IntegerContext) GetRuleContext

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

func (*IntegerContext) INTEGER

func (s *IntegerContext) INTEGER() antlr.TerminalNode

func (*IntegerContext) NUMBER

func (s *IntegerContext) NUMBER() antlr.TerminalNode

type PropertyEntityContext

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

func NewEmptyPropertyEntityContext

func NewEmptyPropertyEntityContext() *PropertyEntityContext

func NewPropertyEntityContext

func NewPropertyEntityContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyEntityContext

func (*PropertyEntityContext) AllINDENTIFIER

func (s *PropertyEntityContext) AllINDENTIFIER() []antlr.TerminalNode

func (*PropertyEntityContext) EnterRule

func (s *PropertyEntityContext) EnterRule(listener antlr.ParseTreeListener)

func (*PropertyEntityContext) ExitRule

func (s *PropertyEntityContext) ExitRule(listener antlr.ParseTreeListener)

func (*PropertyEntityContext) GetParser

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

func (*PropertyEntityContext) GetRuleContext

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

func (*PropertyEntityContext) INDENTIFIER

func (s *PropertyEntityContext) INDENTIFIER(i int) antlr.TerminalNode

func (*PropertyEntityContext) IsPropertyEntityContext

func (*PropertyEntityContext) IsPropertyEntityContext()

func (*PropertyEntityContext) ToStringTree

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

type RootContext

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

func NewEmptyRootContext

func NewEmptyRootContext() *RootContext

func NewRootContext

func NewRootContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RootContext

func (*RootContext) EOF

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

func (*RootContext) EnterRule

func (s *RootContext) EnterRule(listener antlr.ParseTreeListener)

func (*RootContext) ExitRule

func (s *RootContext) ExitRule(listener antlr.ParseTreeListener)

func (*RootContext) Fields

func (s *RootContext) Fields() IFieldsContext

func (*RootContext) GetParser

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

func (*RootContext) GetRuleContext

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

func (*RootContext) INSERT

func (s *RootContext) INSERT() antlr.TerminalNode

func (*RootContext) INTO

func (s *RootContext) INTO() antlr.TerminalNode

func (*RootContext) IsRootContext

func (*RootContext) IsRootContext()

func (*RootContext) SELECT

func (s *RootContext) SELECT() antlr.TerminalNode

func (*RootContext) Target

func (s *RootContext) Target() ITargetContext

func (*RootContext) ToStringTree

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

type SourceContext

type SourceContext struct {
	*ConstantContext
}

func NewSourceContext

func NewSourceContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SourceContext

func (*SourceContext) EnterRule

func (s *SourceContext) EnterRule(listener antlr.ParseTreeListener)

func (*SourceContext) ExitRule

func (s *SourceContext) ExitRule(listener antlr.ParseTreeListener)

func (*SourceContext) GetRuleContext

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

func (*SourceContext) Xpath_name

func (s *SourceContext) Xpath_name() IXpath_nameContext

type SourceEntityContext

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

func NewEmptySourceEntityContext

func NewEmptySourceEntityContext() *SourceEntityContext

func NewSourceEntityContext

func NewSourceEntityContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SourceEntityContext

func (*SourceEntityContext) EnterRule

func (s *SourceEntityContext) EnterRule(listener antlr.ParseTreeListener)

func (*SourceEntityContext) ExitRule

func (s *SourceEntityContext) ExitRule(listener antlr.ParseTreeListener)

func (*SourceEntityContext) GetParser

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

func (*SourceEntityContext) GetRuleContext

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

func (*SourceEntityContext) INDENTIFIER

func (s *SourceEntityContext) INDENTIFIER() antlr.TerminalNode

func (*SourceEntityContext) IsSourceEntityContext

func (*SourceEntityContext) IsSourceEntityContext()

func (*SourceEntityContext) ToStringTree

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

type StringContext

type StringContext struct {
	*ConstantContext
}

func NewStringContext

func NewStringContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StringContext

func (*StringContext) EnterRule

func (s *StringContext) EnterRule(listener antlr.ParseTreeListener)

func (*StringContext) ExitRule

func (s *StringContext) ExitRule(listener antlr.ParseTreeListener)

func (*StringContext) GetRuleContext

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

func (*StringContext) STRING

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

type SwitchContext

type SwitchContext struct {
	*ExprContext
}

func NewSwitchContext

func NewSwitchContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SwitchContext

func (*SwitchContext) EnterRule

func (s *SwitchContext) EnterRule(listener antlr.ParseTreeListener)

func (*SwitchContext) ExitRule

func (s *SwitchContext) ExitRule(listener antlr.ParseTreeListener)

func (*SwitchContext) GetRuleContext

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

func (*SwitchContext) Switch_stmt

func (s *SwitchContext) Switch_stmt() ISwitch_stmtContext

type Switch_stmtContext

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

func NewEmptySwitch_stmtContext

func NewEmptySwitch_stmtContext() *Switch_stmtContext

func NewSwitch_stmtContext

func NewSwitch_stmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Switch_stmtContext

func (*Switch_stmtContext) AllExpr

func (s *Switch_stmtContext) AllExpr() []IExprContext

func (*Switch_stmtContext) AllTHEN

func (s *Switch_stmtContext) AllTHEN() []antlr.TerminalNode

func (*Switch_stmtContext) AllWHEN

func (s *Switch_stmtContext) AllWHEN() []antlr.TerminalNode

func (*Switch_stmtContext) CASE

func (*Switch_stmtContext) ELSE

func (*Switch_stmtContext) EnterRule

func (s *Switch_stmtContext) EnterRule(listener antlr.ParseTreeListener)

func (*Switch_stmtContext) ExitRule

func (s *Switch_stmtContext) ExitRule(listener antlr.ParseTreeListener)

func (*Switch_stmtContext) Expr

func (s *Switch_stmtContext) Expr(i int) IExprContext

func (*Switch_stmtContext) GetParser

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

func (*Switch_stmtContext) GetRuleContext

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

func (*Switch_stmtContext) IsSwitch_stmtContext

func (*Switch_stmtContext) IsSwitch_stmtContext()

func (*Switch_stmtContext) THEN

func (*Switch_stmtContext) ToStringTree

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

func (*Switch_stmtContext) WHEN

type TDTLLexer

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

func NewTDTLLexer

func NewTDTLLexer(input antlr.CharStream) *TDTLLexer

type TDTLListener

type TDTLListener interface {
	antlr.ParseTreeListener

	// EnterRoot is called when entering the root production.
	EnterRoot(c *RootContext)

	// EnterTarget is called when entering the target production.
	EnterTarget(c *TargetContext)

	// EnterFields is called when entering the fields production.
	EnterFields(c *FieldsContext)

	// EnterFieldElemAs is called when entering the FieldElemAs production.
	EnterFieldElemAs(c *FieldElemAsContext)

	// EnterFieldElemSource is called when entering the FieldElemSource production.
	EnterFieldElemSource(c *FieldElemSourceContext)

	// EnterFieldElemExpr is called when entering the FieldElemExpr production.
	EnterFieldElemExpr(c *FieldElemExprContext)

	// EnterTargetAsElem is called when entering the TargetAsElem production.
	EnterTargetAsElem(c *TargetAsElemContext)

	// EnterFilter is called when entering the filter production.
	EnterFilter(c *FilterContext)

	// EnterFilter_condition is called when entering the filter_condition production.
	EnterFilter_condition(c *Filter_conditionContext)

	// EnterFilter_condition_or is called when entering the filter_condition_or production.
	EnterFilter_condition_or(c *Filter_condition_orContext)

	// EnterFilter_condition_not is called when entering the filter_condition_not production.
	EnterFilter_condition_not(c *Filter_condition_notContext)

	// EnterFunction is called when entering the Function production.
	EnterFunction(c *FunctionContext)

	// EnterBraces is called when entering the Braces production.
	EnterBraces(c *BracesContext)

	// EnterSwitch is called when entering the Switch production.
	EnterSwitch(c *SwitchContext)

	// EnterBinary is called when entering the Binary production.
	EnterBinary(c *BinaryContext)

	// EnterSourceEntity is called when entering the sourceEntity production.
	EnterSourceEntity(c *SourceEntityContext)

	// EnterPropertyEntity is called when entering the propertyEntity production.
	EnterPropertyEntity(c *PropertyEntityContext)

	// EnterBoolean is called when entering the Boolean production.
	EnterBoolean(c *BooleanContext)

	// EnterInteger is called when entering the Integer production.
	EnterInteger(c *IntegerContext)

	// EnterFloat is called when entering the Float production.
	EnterFloat(c *FloatContext)

	// EnterString is called when entering the String production.
	EnterString(c *StringContext)

	// EnterSource is called when entering the Source production.
	EnterSource(c *SourceContext)

	// EnterSwitch_stmt is called when entering the switch_stmt production.
	EnterSwitch_stmt(c *Switch_stmtContext)

	// EnterCall_expr is called when entering the call_expr production.
	EnterCall_expr(c *Call_exprContext)

	// EnterAsterisk is called when entering the asterisk production.
	EnterAsterisk(c *AsteriskContext)

	// EnterXpath_name is called when entering the xpath_name production.
	EnterXpath_name(c *Xpath_nameContext)

	// EnterTarget_name is called when entering the target_name production.
	EnterTarget_name(c *Target_nameContext)

	// EnterDotnotation is called when entering the dotnotation production.
	EnterDotnotation(c *DotnotationContext)

	// EnterIdentifierWithTOPICITEM is called when entering the identifierWithTOPICITEM production.
	EnterIdentifierWithTOPICITEM(c *IdentifierWithTOPICITEMContext)

	// EnterIdentifierWithQualifier is called when entering the identifierWithQualifier production.
	EnterIdentifierWithQualifier(c *IdentifierWithQualifierContext)

	// ExitRoot is called when exiting the root production.
	ExitRoot(c *RootContext)

	// ExitTarget is called when exiting the target production.
	ExitTarget(c *TargetContext)

	// ExitFields is called when exiting the fields production.
	ExitFields(c *FieldsContext)

	// ExitFieldElemAs is called when exiting the FieldElemAs production.
	ExitFieldElemAs(c *FieldElemAsContext)

	// ExitFieldElemSource is called when exiting the FieldElemSource production.
	ExitFieldElemSource(c *FieldElemSourceContext)

	// ExitFieldElemExpr is called when exiting the FieldElemExpr production.
	ExitFieldElemExpr(c *FieldElemExprContext)

	// ExitTargetAsElem is called when exiting the TargetAsElem production.
	ExitTargetAsElem(c *TargetAsElemContext)

	// ExitFilter is called when exiting the filter production.
	ExitFilter(c *FilterContext)

	// ExitFilter_condition is called when exiting the filter_condition production.
	ExitFilter_condition(c *Filter_conditionContext)

	// ExitFilter_condition_or is called when exiting the filter_condition_or production.
	ExitFilter_condition_or(c *Filter_condition_orContext)

	// ExitFilter_condition_not is called when exiting the filter_condition_not production.
	ExitFilter_condition_not(c *Filter_condition_notContext)

	// ExitFunction is called when exiting the Function production.
	ExitFunction(c *FunctionContext)

	// ExitBraces is called when exiting the Braces production.
	ExitBraces(c *BracesContext)

	// ExitSwitch is called when exiting the Switch production.
	ExitSwitch(c *SwitchContext)

	// ExitBinary is called when exiting the Binary production.
	ExitBinary(c *BinaryContext)

	// ExitSourceEntity is called when exiting the sourceEntity production.
	ExitSourceEntity(c *SourceEntityContext)

	// ExitPropertyEntity is called when exiting the propertyEntity production.
	ExitPropertyEntity(c *PropertyEntityContext)

	// ExitBoolean is called when exiting the Boolean production.
	ExitBoolean(c *BooleanContext)

	// ExitInteger is called when exiting the Integer production.
	ExitInteger(c *IntegerContext)

	// ExitFloat is called when exiting the Float production.
	ExitFloat(c *FloatContext)

	// ExitString is called when exiting the String production.
	ExitString(c *StringContext)

	// ExitSource is called when exiting the Source production.
	ExitSource(c *SourceContext)

	// ExitSwitch_stmt is called when exiting the switch_stmt production.
	ExitSwitch_stmt(c *Switch_stmtContext)

	// ExitCall_expr is called when exiting the call_expr production.
	ExitCall_expr(c *Call_exprContext)

	// ExitAsterisk is called when exiting the asterisk production.
	ExitAsterisk(c *AsteriskContext)

	// ExitXpath_name is called when exiting the xpath_name production.
	ExitXpath_name(c *Xpath_nameContext)

	// ExitTarget_name is called when exiting the target_name production.
	ExitTarget_name(c *Target_nameContext)

	// ExitDotnotation is called when exiting the dotnotation production.
	ExitDotnotation(c *DotnotationContext)

	// ExitIdentifierWithTOPICITEM is called when exiting the identifierWithTOPICITEM production.
	ExitIdentifierWithTOPICITEM(c *IdentifierWithTOPICITEMContext)

	// ExitIdentifierWithQualifier is called when exiting the identifierWithQualifier production.
	ExitIdentifierWithQualifier(c *IdentifierWithQualifierContext)
}

TDTLListener is a complete listener for a parse tree produced by TDTLParser.

type TDTLParser

type TDTLParser struct {
	*antlr.BaseParser
}

func NewTDTLParser

func NewTDTLParser(input antlr.TokenStream) *TDTLParser

func (*TDTLParser) Asterisk

func (p *TDTLParser) Asterisk() (localctx IAsteriskContext)

func (*TDTLParser) Call_expr

func (p *TDTLParser) Call_expr() (localctx ICall_exprContext)

func (*TDTLParser) Constant

func (p *TDTLParser) Constant() (localctx IConstantContext)

func (*TDTLParser) Dotnotation

func (p *TDTLParser) Dotnotation() (localctx IDotnotationContext)

func (*TDTLParser) Expr

func (p *TDTLParser) Expr() (localctx IExprContext)

func (*TDTLParser) Expr_Sempred

func (p *TDTLParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*TDTLParser) Field_elem

func (p *TDTLParser) Field_elem() (localctx IField_elemContext)

func (*TDTLParser) Field_elem_with_as

func (p *TDTLParser) Field_elem_with_as() (localctx IField_elem_with_asContext)

func (*TDTLParser) Fields

func (p *TDTLParser) Fields() (localctx IFieldsContext)

func (*TDTLParser) Filter

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

func (*TDTLParser) Filter_condition

func (p *TDTLParser) Filter_condition() (localctx IFilter_conditionContext)

func (*TDTLParser) Filter_condition_not

func (p *TDTLParser) Filter_condition_not() (localctx IFilter_condition_notContext)

func (*TDTLParser) Filter_condition_or

func (p *TDTLParser) Filter_condition_or() (localctx IFilter_condition_orContext)

func (*TDTLParser) IdentifierWithQualifier

func (p *TDTLParser) IdentifierWithQualifier() (localctx IIdentifierWithQualifierContext)

func (*TDTLParser) IdentifierWithTOPICITEM

func (p *TDTLParser) IdentifierWithTOPICITEM() (localctx IIdentifierWithTOPICITEMContext)

func (*TDTLParser) PropertyEntity

func (p *TDTLParser) PropertyEntity() (localctx IPropertyEntityContext)

func (*TDTLParser) Root

func (p *TDTLParser) Root() (localctx IRootContext)

func (*TDTLParser) Sempred

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

func (*TDTLParser) SourceEntity

func (p *TDTLParser) SourceEntity() (localctx ISourceEntityContext)

func (*TDTLParser) Switch_stmt

func (p *TDTLParser) Switch_stmt() (localctx ISwitch_stmtContext)

func (*TDTLParser) Target

func (p *TDTLParser) Target() (localctx ITargetContext)

func (*TDTLParser) Target_name

func (p *TDTLParser) Target_name() (localctx ITarget_nameContext)

func (*TDTLParser) Xpath_name

func (p *TDTLParser) Xpath_name() (localctx IXpath_nameContext)

type TargetAsElemContext

type TargetAsElemContext struct {
	*Field_elem_with_asContext
}

func NewTargetAsElemContext

func NewTargetAsElemContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TargetAsElemContext

func (*TargetAsElemContext) AS

func (*TargetAsElemContext) EnterRule

func (s *TargetAsElemContext) EnterRule(listener antlr.ParseTreeListener)

func (*TargetAsElemContext) ExitRule

func (s *TargetAsElemContext) ExitRule(listener antlr.ParseTreeListener)

func (*TargetAsElemContext) Expr

func (*TargetAsElemContext) GetRuleContext

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

func (*TargetAsElemContext) Target_name

func (s *TargetAsElemContext) Target_name() ITarget_nameContext

type TargetContext

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

func NewEmptyTargetContext

func NewEmptyTargetContext() *TargetContext

func NewTargetContext

func NewTargetContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TargetContext

func (*TargetContext) EnterRule

func (s *TargetContext) EnterRule(listener antlr.ParseTreeListener)

func (*TargetContext) ExitRule

func (s *TargetContext) ExitRule(listener antlr.ParseTreeListener)

func (*TargetContext) GetParser

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

func (*TargetContext) GetRuleContext

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

func (*TargetContext) INDENTIFIER

func (s *TargetContext) INDENTIFIER() antlr.TerminalNode

func (*TargetContext) IsTargetContext

func (*TargetContext) IsTargetContext()

func (*TargetContext) ToStringTree

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

type Target_nameContext

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

func NewEmptyTarget_nameContext

func NewEmptyTarget_nameContext() *Target_nameContext

func NewTarget_nameContext

func NewTarget_nameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Target_nameContext

func (*Target_nameContext) AllDotnotation

func (s *Target_nameContext) AllDotnotation() []IDotnotationContext

func (*Target_nameContext) Dotnotation

func (s *Target_nameContext) Dotnotation(i int) IDotnotationContext

func (*Target_nameContext) EnterRule

func (s *Target_nameContext) EnterRule(listener antlr.ParseTreeListener)

func (*Target_nameContext) ExitRule

func (s *Target_nameContext) ExitRule(listener antlr.ParseTreeListener)

func (*Target_nameContext) GetParser

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

func (*Target_nameContext) GetRuleContext

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

func (*Target_nameContext) IsTarget_nameContext

func (*Target_nameContext) IsTarget_nameContext()

func (*Target_nameContext) ToStringTree

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

type Xpath_nameContext

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

func NewEmptyXpath_nameContext

func NewEmptyXpath_nameContext() *Xpath_nameContext

func NewXpath_nameContext

func NewXpath_nameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Xpath_nameContext

func (*Xpath_nameContext) AllDotnotation

func (s *Xpath_nameContext) AllDotnotation() []IDotnotationContext

func (*Xpath_nameContext) Dotnotation

func (s *Xpath_nameContext) Dotnotation(i int) IDotnotationContext

func (*Xpath_nameContext) EnterRule

func (s *Xpath_nameContext) EnterRule(listener antlr.ParseTreeListener)

func (*Xpath_nameContext) ExitRule

func (s *Xpath_nameContext) ExitRule(listener antlr.ParseTreeListener)

func (*Xpath_nameContext) GetParser

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

func (*Xpath_nameContext) GetRuleContext

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

func (*Xpath_nameContext) IsXpath_nameContext

func (*Xpath_nameContext) IsXpath_nameContext()

func (*Xpath_nameContext) ToStringTree

func (s *Xpath_nameContext) 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