gen

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Overview

Package gen contains all of the ANTLR-generated sources used by the cel-go parser.

Index

Constants

View Source
const (
	CELLexerEQUALS         = 1
	CELLexerNOT_EQUALS     = 2
	CELLexerIN             = 3
	CELLexerLESS           = 4
	CELLexerLESS_EQUALS    = 5
	CELLexerGREATER_EQUALS = 6
	CELLexerGREATER        = 7
	CELLexerLOGICAL_AND    = 8
	CELLexerLOGICAL_OR     = 9
	CELLexerLBRACKET       = 10
	CELLexerRPRACKET       = 11
	CELLexerLBRACE         = 12
	CELLexerRBRACE         = 13
	CELLexerLPAREN         = 14
	CELLexerRPAREN         = 15
	CELLexerDOT            = 16
	CELLexerCOMMA          = 17
	CELLexerMINUS          = 18
	CELLexerEXCLAM         = 19
	CELLexerQUESTIONMARK   = 20
	CELLexerCOLON          = 21
	CELLexerPLUS           = 22
	CELLexerSTAR           = 23
	CELLexerSLASH          = 24
	CELLexerPERCENT        = 25
	CELLexerCEL_TRUE       = 26
	CELLexerCEL_FALSE      = 27
	CELLexerNUL            = 28
	CELLexerWHITESPACE     = 29
	CELLexerCOMMENT        = 30
	CELLexerNUM_FLOAT      = 31
	CELLexerNUM_INT        = 32
	CELLexerNUM_UINT       = 33
	CELLexerSTRING         = 34
	CELLexerBYTES          = 35
	CELLexerIDENTIFIER     = 36
)

CELLexer tokens.

View Source
const (
	CELParserEOF            = antlr.TokenEOF
	CELParserEQUALS         = 1
	CELParserNOT_EQUALS     = 2
	CELParserIN             = 3
	CELParserLESS           = 4
	CELParserLESS_EQUALS    = 5
	CELParserGREATER_EQUALS = 6
	CELParserGREATER        = 7
	CELParserLOGICAL_AND    = 8
	CELParserLOGICAL_OR     = 9
	CELParserLBRACKET       = 10
	CELParserRPRACKET       = 11
	CELParserLBRACE         = 12
	CELParserRBRACE         = 13
	CELParserLPAREN         = 14
	CELParserRPAREN         = 15
	CELParserDOT            = 16
	CELParserCOMMA          = 17
	CELParserMINUS          = 18
	CELParserEXCLAM         = 19
	CELParserQUESTIONMARK   = 20
	CELParserCOLON          = 21
	CELParserPLUS           = 22
	CELParserSTAR           = 23
	CELParserSLASH          = 24
	CELParserPERCENT        = 25
	CELParserCEL_TRUE       = 26
	CELParserCEL_FALSE      = 27
	CELParserNUL            = 28
	CELParserWHITESPACE     = 29
	CELParserCOMMENT        = 30
	CELParserNUM_FLOAT      = 31
	CELParserNUM_INT        = 32
	CELParserNUM_UINT       = 33
	CELParserSTRING         = 34
	CELParserBYTES          = 35
	CELParserIDENTIFIER     = 36
)

CELParser tokens.

View Source
const (
	CELParserRULE_start                = 0
	CELParserRULE_expr                 = 1
	CELParserRULE_conditionalOr        = 2
	CELParserRULE_conditionalAnd       = 3
	CELParserRULE_relation             = 4
	CELParserRULE_calc                 = 5
	CELParserRULE_unary                = 6
	CELParserRULE_member               = 7
	CELParserRULE_primary              = 8
	CELParserRULE_exprList             = 9
	CELParserRULE_fieldInitializerList = 10
	CELParserRULE_mapInitializerList   = 11
	CELParserRULE_literal              = 12
)

CELParser rules.

Variables

This section is empty.

Functions

func CELLexerInit added in v0.11.3

func CELLexerInit()

CELLexerInit initializes any static state used to implement CELLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewCELLexer(). You can call this function if you wish to initialize the static state ahead of time.

func CELParserInit added in v0.11.3

func CELParserInit()

CELParserInit initializes any static state used to implement CELParser. By default the static state used to implement the parser is lazily initialized during the first call to NewCELParser(). You can call this function if you wish to initialize the static state ahead of time.

Types

type BaseCELListener

type BaseCELListener struct{}

BaseCELListener is a complete listener for a parse tree produced by CELParser.

func (*BaseCELListener) EnterBoolFalse

func (s *BaseCELListener) EnterBoolFalse(ctx *BoolFalseContext)

EnterBoolFalse is called when production BoolFalse is entered.

func (*BaseCELListener) EnterBoolTrue

func (s *BaseCELListener) EnterBoolTrue(ctx *BoolTrueContext)

EnterBoolTrue is called when production BoolTrue is entered.

func (*BaseCELListener) EnterBytes

func (s *BaseCELListener) EnterBytes(ctx *BytesContext)

EnterBytes is called when production Bytes is entered.

func (*BaseCELListener) EnterCalc

func (s *BaseCELListener) EnterCalc(ctx *CalcContext)

EnterCalc is called when production calc is entered.

func (*BaseCELListener) EnterConditionalAnd

func (s *BaseCELListener) EnterConditionalAnd(ctx *ConditionalAndContext)

EnterConditionalAnd is called when production conditionalAnd is entered.

func (*BaseCELListener) EnterConditionalOr

func (s *BaseCELListener) EnterConditionalOr(ctx *ConditionalOrContext)

EnterConditionalOr is called when production conditionalOr is entered.

func (*BaseCELListener) EnterConstantLiteral

func (s *BaseCELListener) EnterConstantLiteral(ctx *ConstantLiteralContext)

EnterConstantLiteral is called when production ConstantLiteral is entered.

func (*BaseCELListener) EnterCreateList

func (s *BaseCELListener) EnterCreateList(ctx *CreateListContext)

EnterCreateList is called when production CreateList is entered.

func (*BaseCELListener) EnterCreateMessage

func (s *BaseCELListener) EnterCreateMessage(ctx *CreateMessageContext)

EnterCreateMessage is called when production CreateMessage is entered.

func (*BaseCELListener) EnterCreateStruct

func (s *BaseCELListener) EnterCreateStruct(ctx *CreateStructContext)

EnterCreateStruct is called when production CreateStruct is entered.

func (*BaseCELListener) EnterDouble

func (s *BaseCELListener) EnterDouble(ctx *DoubleContext)

EnterDouble is called when production Double is entered.

func (*BaseCELListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseCELListener) EnterExpr

func (s *BaseCELListener) EnterExpr(ctx *ExprContext)

EnterExpr is called when production expr is entered.

func (*BaseCELListener) EnterExprList

func (s *BaseCELListener) EnterExprList(ctx *ExprListContext)

EnterExprList is called when production exprList is entered.

func (*BaseCELListener) EnterFieldInitializerList

func (s *BaseCELListener) EnterFieldInitializerList(ctx *FieldInitializerListContext)

EnterFieldInitializerList is called when production fieldInitializerList is entered.

func (*BaseCELListener) EnterIdentOrGlobalCall

func (s *BaseCELListener) EnterIdentOrGlobalCall(ctx *IdentOrGlobalCallContext)

EnterIdentOrGlobalCall is called when production IdentOrGlobalCall is entered.

func (*BaseCELListener) EnterIndex

func (s *BaseCELListener) EnterIndex(ctx *IndexContext)

EnterIndex is called when production Index is entered.

func (*BaseCELListener) EnterInt

func (s *BaseCELListener) EnterInt(ctx *IntContext)

EnterInt is called when production Int is entered.

func (*BaseCELListener) EnterLogicalNot

func (s *BaseCELListener) EnterLogicalNot(ctx *LogicalNotContext)

EnterLogicalNot is called when production LogicalNot is entered.

func (*BaseCELListener) EnterMapInitializerList

func (s *BaseCELListener) EnterMapInitializerList(ctx *MapInitializerListContext)

EnterMapInitializerList is called when production mapInitializerList is entered.

func (*BaseCELListener) EnterMemberExpr

func (s *BaseCELListener) EnterMemberExpr(ctx *MemberExprContext)

EnterMemberExpr is called when production MemberExpr is entered.

func (*BaseCELListener) EnterNegate

func (s *BaseCELListener) EnterNegate(ctx *NegateContext)

EnterNegate is called when production Negate is entered.

func (*BaseCELListener) EnterNested

func (s *BaseCELListener) EnterNested(ctx *NestedContext)

EnterNested is called when production Nested is entered.

func (*BaseCELListener) EnterNull

func (s *BaseCELListener) EnterNull(ctx *NullContext)

EnterNull is called when production Null is entered.

func (*BaseCELListener) EnterPrimaryExpr

func (s *BaseCELListener) EnterPrimaryExpr(ctx *PrimaryExprContext)

EnterPrimaryExpr is called when production PrimaryExpr is entered.

func (*BaseCELListener) EnterRelation

func (s *BaseCELListener) EnterRelation(ctx *RelationContext)

EnterRelation is called when production relation is entered.

func (*BaseCELListener) EnterSelectOrCall

func (s *BaseCELListener) EnterSelectOrCall(ctx *SelectOrCallContext)

EnterSelectOrCall is called when production SelectOrCall is entered.

func (*BaseCELListener) EnterStart

func (s *BaseCELListener) EnterStart(ctx *StartContext)

EnterStart is called when production start is entered.

func (*BaseCELListener) EnterString

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

EnterString is called when production String is entered.

func (*BaseCELListener) EnterUint

func (s *BaseCELListener) EnterUint(ctx *UintContext)

EnterUint is called when production Uint is entered.

func (*BaseCELListener) ExitBoolFalse

func (s *BaseCELListener) ExitBoolFalse(ctx *BoolFalseContext)

ExitBoolFalse is called when production BoolFalse is exited.

func (*BaseCELListener) ExitBoolTrue

func (s *BaseCELListener) ExitBoolTrue(ctx *BoolTrueContext)

ExitBoolTrue is called when production BoolTrue is exited.

func (*BaseCELListener) ExitBytes

func (s *BaseCELListener) ExitBytes(ctx *BytesContext)

ExitBytes is called when production Bytes is exited.

func (*BaseCELListener) ExitCalc

func (s *BaseCELListener) ExitCalc(ctx *CalcContext)

ExitCalc is called when production calc is exited.

func (*BaseCELListener) ExitConditionalAnd

func (s *BaseCELListener) ExitConditionalAnd(ctx *ConditionalAndContext)

ExitConditionalAnd is called when production conditionalAnd is exited.

func (*BaseCELListener) ExitConditionalOr

func (s *BaseCELListener) ExitConditionalOr(ctx *ConditionalOrContext)

ExitConditionalOr is called when production conditionalOr is exited.

func (*BaseCELListener) ExitConstantLiteral

func (s *BaseCELListener) ExitConstantLiteral(ctx *ConstantLiteralContext)

ExitConstantLiteral is called when production ConstantLiteral is exited.

func (*BaseCELListener) ExitCreateList

func (s *BaseCELListener) ExitCreateList(ctx *CreateListContext)

ExitCreateList is called when production CreateList is exited.

func (*BaseCELListener) ExitCreateMessage

func (s *BaseCELListener) ExitCreateMessage(ctx *CreateMessageContext)

ExitCreateMessage is called when production CreateMessage is exited.

func (*BaseCELListener) ExitCreateStruct

func (s *BaseCELListener) ExitCreateStruct(ctx *CreateStructContext)

ExitCreateStruct is called when production CreateStruct is exited.

func (*BaseCELListener) ExitDouble

func (s *BaseCELListener) ExitDouble(ctx *DoubleContext)

ExitDouble is called when production Double is exited.

func (*BaseCELListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseCELListener) ExitExpr

func (s *BaseCELListener) ExitExpr(ctx *ExprContext)

ExitExpr is called when production expr is exited.

func (*BaseCELListener) ExitExprList

func (s *BaseCELListener) ExitExprList(ctx *ExprListContext)

ExitExprList is called when production exprList is exited.

func (*BaseCELListener) ExitFieldInitializerList

func (s *BaseCELListener) ExitFieldInitializerList(ctx *FieldInitializerListContext)

ExitFieldInitializerList is called when production fieldInitializerList is exited.

func (*BaseCELListener) ExitIdentOrGlobalCall

func (s *BaseCELListener) ExitIdentOrGlobalCall(ctx *IdentOrGlobalCallContext)

ExitIdentOrGlobalCall is called when production IdentOrGlobalCall is exited.

func (*BaseCELListener) ExitIndex

func (s *BaseCELListener) ExitIndex(ctx *IndexContext)

ExitIndex is called when production Index is exited.

func (*BaseCELListener) ExitInt

func (s *BaseCELListener) ExitInt(ctx *IntContext)

ExitInt is called when production Int is exited.

func (*BaseCELListener) ExitLogicalNot

func (s *BaseCELListener) ExitLogicalNot(ctx *LogicalNotContext)

ExitLogicalNot is called when production LogicalNot is exited.

func (*BaseCELListener) ExitMapInitializerList

func (s *BaseCELListener) ExitMapInitializerList(ctx *MapInitializerListContext)

ExitMapInitializerList is called when production mapInitializerList is exited.

func (*BaseCELListener) ExitMemberExpr

func (s *BaseCELListener) ExitMemberExpr(ctx *MemberExprContext)

ExitMemberExpr is called when production MemberExpr is exited.

func (*BaseCELListener) ExitNegate

func (s *BaseCELListener) ExitNegate(ctx *NegateContext)

ExitNegate is called when production Negate is exited.

func (*BaseCELListener) ExitNested

func (s *BaseCELListener) ExitNested(ctx *NestedContext)

ExitNested is called when production Nested is exited.

func (*BaseCELListener) ExitNull

func (s *BaseCELListener) ExitNull(ctx *NullContext)

ExitNull is called when production Null is exited.

func (*BaseCELListener) ExitPrimaryExpr

func (s *BaseCELListener) ExitPrimaryExpr(ctx *PrimaryExprContext)

ExitPrimaryExpr is called when production PrimaryExpr is exited.

func (*BaseCELListener) ExitRelation

func (s *BaseCELListener) ExitRelation(ctx *RelationContext)

ExitRelation is called when production relation is exited.

func (*BaseCELListener) ExitSelectOrCall

func (s *BaseCELListener) ExitSelectOrCall(ctx *SelectOrCallContext)

ExitSelectOrCall is called when production SelectOrCall is exited.

func (*BaseCELListener) ExitStart

func (s *BaseCELListener) ExitStart(ctx *StartContext)

ExitStart is called when production start is exited.

func (*BaseCELListener) ExitString

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

ExitString is called when production String is exited.

func (*BaseCELListener) ExitUint

func (s *BaseCELListener) ExitUint(ctx *UintContext)

ExitUint is called when production Uint is exited.

func (*BaseCELListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseCELListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BaseCELVisitor

type BaseCELVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseCELVisitor) VisitBoolFalse

func (v *BaseCELVisitor) VisitBoolFalse(ctx *BoolFalseContext) interface{}

func (*BaseCELVisitor) VisitBoolTrue

func (v *BaseCELVisitor) VisitBoolTrue(ctx *BoolTrueContext) interface{}

func (*BaseCELVisitor) VisitBytes

func (v *BaseCELVisitor) VisitBytes(ctx *BytesContext) interface{}

func (*BaseCELVisitor) VisitCalc

func (v *BaseCELVisitor) VisitCalc(ctx *CalcContext) interface{}

func (*BaseCELVisitor) VisitConditionalAnd

func (v *BaseCELVisitor) VisitConditionalAnd(ctx *ConditionalAndContext) interface{}

func (*BaseCELVisitor) VisitConditionalOr

func (v *BaseCELVisitor) VisitConditionalOr(ctx *ConditionalOrContext) interface{}

func (*BaseCELVisitor) VisitConstantLiteral

func (v *BaseCELVisitor) VisitConstantLiteral(ctx *ConstantLiteralContext) interface{}

func (*BaseCELVisitor) VisitCreateList

func (v *BaseCELVisitor) VisitCreateList(ctx *CreateListContext) interface{}

func (*BaseCELVisitor) VisitCreateMessage

func (v *BaseCELVisitor) VisitCreateMessage(ctx *CreateMessageContext) interface{}

func (*BaseCELVisitor) VisitCreateStruct

func (v *BaseCELVisitor) VisitCreateStruct(ctx *CreateStructContext) interface{}

func (*BaseCELVisitor) VisitDouble

func (v *BaseCELVisitor) VisitDouble(ctx *DoubleContext) interface{}

func (*BaseCELVisitor) VisitExpr

func (v *BaseCELVisitor) VisitExpr(ctx *ExprContext) interface{}

func (*BaseCELVisitor) VisitExprList

func (v *BaseCELVisitor) VisitExprList(ctx *ExprListContext) interface{}

func (*BaseCELVisitor) VisitFieldInitializerList

func (v *BaseCELVisitor) VisitFieldInitializerList(ctx *FieldInitializerListContext) interface{}

func (*BaseCELVisitor) VisitIdentOrGlobalCall

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

func (*BaseCELVisitor) VisitIndex

func (v *BaseCELVisitor) VisitIndex(ctx *IndexContext) interface{}

func (*BaseCELVisitor) VisitInt

func (v *BaseCELVisitor) VisitInt(ctx *IntContext) interface{}

func (*BaseCELVisitor) VisitLogicalNot

func (v *BaseCELVisitor) VisitLogicalNot(ctx *LogicalNotContext) interface{}

func (*BaseCELVisitor) VisitMapInitializerList

func (v *BaseCELVisitor) VisitMapInitializerList(ctx *MapInitializerListContext) interface{}

func (*BaseCELVisitor) VisitMemberExpr

func (v *BaseCELVisitor) VisitMemberExpr(ctx *MemberExprContext) interface{}

func (*BaseCELVisitor) VisitNegate

func (v *BaseCELVisitor) VisitNegate(ctx *NegateContext) interface{}

func (*BaseCELVisitor) VisitNested

func (v *BaseCELVisitor) VisitNested(ctx *NestedContext) interface{}

func (*BaseCELVisitor) VisitNull

func (v *BaseCELVisitor) VisitNull(ctx *NullContext) interface{}

func (*BaseCELVisitor) VisitPrimaryExpr

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

func (*BaseCELVisitor) VisitRelation

func (v *BaseCELVisitor) VisitRelation(ctx *RelationContext) interface{}

func (*BaseCELVisitor) VisitSelectOrCall

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

func (*BaseCELVisitor) VisitStart

func (v *BaseCELVisitor) VisitStart(ctx *StartContext) interface{}

func (*BaseCELVisitor) VisitString

func (v *BaseCELVisitor) VisitString(ctx *StringContext) interface{}

func (*BaseCELVisitor) VisitUint

func (v *BaseCELVisitor) VisitUint(ctx *UintContext) interface{}

type BoolFalseContext

type BoolFalseContext struct {
	*LiteralContext
	// contains filtered or unexported fields
}

func NewBoolFalseContext

func NewBoolFalseContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolFalseContext

func (*BoolFalseContext) Accept

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

func (*BoolFalseContext) CEL_FALSE added in v0.10.0

func (s *BoolFalseContext) CEL_FALSE() antlr.TerminalNode

func (*BoolFalseContext) EnterRule

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

func (*BoolFalseContext) ExitRule

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

func (*BoolFalseContext) GetRuleContext

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

func (*BoolFalseContext) GetTok

func (s *BoolFalseContext) GetTok() antlr.Token

func (*BoolFalseContext) SetTok

func (s *BoolFalseContext) SetTok(v antlr.Token)

type BoolTrueContext

type BoolTrueContext struct {
	*LiteralContext
	// contains filtered or unexported fields
}

func NewBoolTrueContext

func NewBoolTrueContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BoolTrueContext

func (*BoolTrueContext) Accept

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

func (*BoolTrueContext) CEL_TRUE added in v0.10.0

func (s *BoolTrueContext) CEL_TRUE() antlr.TerminalNode

func (*BoolTrueContext) EnterRule

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

func (*BoolTrueContext) ExitRule

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

func (*BoolTrueContext) GetRuleContext

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

func (*BoolTrueContext) GetTok

func (s *BoolTrueContext) GetTok() antlr.Token

func (*BoolTrueContext) SetTok

func (s *BoolTrueContext) SetTok(v antlr.Token)

type BytesContext

type BytesContext struct {
	*LiteralContext
	// contains filtered or unexported fields
}

func NewBytesContext

func NewBytesContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BytesContext

func (*BytesContext) Accept

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

func (*BytesContext) BYTES

func (s *BytesContext) BYTES() antlr.TerminalNode

func (*BytesContext) EnterRule

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

func (*BytesContext) ExitRule

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

func (*BytesContext) GetRuleContext

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

func (*BytesContext) GetTok

func (s *BytesContext) GetTok() antlr.Token

func (*BytesContext) SetTok

func (s *BytesContext) SetTok(v antlr.Token)

type CELLexer

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

func NewCELLexer

func NewCELLexer(input antlr.CharStream) *CELLexer

NewCELLexer produces a new lexer instance for the optional input antlr.CharStream.

type CELListener

type CELListener interface {
	antlr.ParseTreeListener

	// EnterStart is called when entering the start production.
	EnterStart(c *StartContext)

	// EnterExpr is called when entering the expr production.
	EnterExpr(c *ExprContext)

	// EnterConditionalOr is called when entering the conditionalOr production.
	EnterConditionalOr(c *ConditionalOrContext)

	// EnterConditionalAnd is called when entering the conditionalAnd production.
	EnterConditionalAnd(c *ConditionalAndContext)

	// EnterRelation is called when entering the relation production.
	EnterRelation(c *RelationContext)

	// EnterCalc is called when entering the calc production.
	EnterCalc(c *CalcContext)

	// EnterMemberExpr is called when entering the MemberExpr production.
	EnterMemberExpr(c *MemberExprContext)

	// EnterLogicalNot is called when entering the LogicalNot production.
	EnterLogicalNot(c *LogicalNotContext)

	// EnterNegate is called when entering the Negate production.
	EnterNegate(c *NegateContext)

	// EnterSelectOrCall is called when entering the SelectOrCall production.
	EnterSelectOrCall(c *SelectOrCallContext)

	// EnterPrimaryExpr is called when entering the PrimaryExpr production.
	EnterPrimaryExpr(c *PrimaryExprContext)

	// EnterIndex is called when entering the Index production.
	EnterIndex(c *IndexContext)

	// EnterCreateMessage is called when entering the CreateMessage production.
	EnterCreateMessage(c *CreateMessageContext)

	// EnterIdentOrGlobalCall is called when entering the IdentOrGlobalCall production.
	EnterIdentOrGlobalCall(c *IdentOrGlobalCallContext)

	// EnterNested is called when entering the Nested production.
	EnterNested(c *NestedContext)

	// EnterCreateList is called when entering the CreateList production.
	EnterCreateList(c *CreateListContext)

	// EnterCreateStruct is called when entering the CreateStruct production.
	EnterCreateStruct(c *CreateStructContext)

	// EnterConstantLiteral is called when entering the ConstantLiteral production.
	EnterConstantLiteral(c *ConstantLiteralContext)

	// EnterExprList is called when entering the exprList production.
	EnterExprList(c *ExprListContext)

	// EnterFieldInitializerList is called when entering the fieldInitializerList production.
	EnterFieldInitializerList(c *FieldInitializerListContext)

	// EnterMapInitializerList is called when entering the mapInitializerList production.
	EnterMapInitializerList(c *MapInitializerListContext)

	// EnterInt is called when entering the Int production.
	EnterInt(c *IntContext)

	// EnterUint is called when entering the Uint production.
	EnterUint(c *UintContext)

	// EnterDouble is called when entering the Double production.
	EnterDouble(c *DoubleContext)

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

	// EnterBytes is called when entering the Bytes production.
	EnterBytes(c *BytesContext)

	// EnterBoolTrue is called when entering the BoolTrue production.
	EnterBoolTrue(c *BoolTrueContext)

	// EnterBoolFalse is called when entering the BoolFalse production.
	EnterBoolFalse(c *BoolFalseContext)

	// EnterNull is called when entering the Null production.
	EnterNull(c *NullContext)

	// ExitStart is called when exiting the start production.
	ExitStart(c *StartContext)

	// ExitExpr is called when exiting the expr production.
	ExitExpr(c *ExprContext)

	// ExitConditionalOr is called when exiting the conditionalOr production.
	ExitConditionalOr(c *ConditionalOrContext)

	// ExitConditionalAnd is called when exiting the conditionalAnd production.
	ExitConditionalAnd(c *ConditionalAndContext)

	// ExitRelation is called when exiting the relation production.
	ExitRelation(c *RelationContext)

	// ExitCalc is called when exiting the calc production.
	ExitCalc(c *CalcContext)

	// ExitMemberExpr is called when exiting the MemberExpr production.
	ExitMemberExpr(c *MemberExprContext)

	// ExitLogicalNot is called when exiting the LogicalNot production.
	ExitLogicalNot(c *LogicalNotContext)

	// ExitNegate is called when exiting the Negate production.
	ExitNegate(c *NegateContext)

	// ExitSelectOrCall is called when exiting the SelectOrCall production.
	ExitSelectOrCall(c *SelectOrCallContext)

	// ExitPrimaryExpr is called when exiting the PrimaryExpr production.
	ExitPrimaryExpr(c *PrimaryExprContext)

	// ExitIndex is called when exiting the Index production.
	ExitIndex(c *IndexContext)

	// ExitCreateMessage is called when exiting the CreateMessage production.
	ExitCreateMessage(c *CreateMessageContext)

	// ExitIdentOrGlobalCall is called when exiting the IdentOrGlobalCall production.
	ExitIdentOrGlobalCall(c *IdentOrGlobalCallContext)

	// ExitNested is called when exiting the Nested production.
	ExitNested(c *NestedContext)

	// ExitCreateList is called when exiting the CreateList production.
	ExitCreateList(c *CreateListContext)

	// ExitCreateStruct is called when exiting the CreateStruct production.
	ExitCreateStruct(c *CreateStructContext)

	// ExitConstantLiteral is called when exiting the ConstantLiteral production.
	ExitConstantLiteral(c *ConstantLiteralContext)

	// ExitExprList is called when exiting the exprList production.
	ExitExprList(c *ExprListContext)

	// ExitFieldInitializerList is called when exiting the fieldInitializerList production.
	ExitFieldInitializerList(c *FieldInitializerListContext)

	// ExitMapInitializerList is called when exiting the mapInitializerList production.
	ExitMapInitializerList(c *MapInitializerListContext)

	// ExitInt is called when exiting the Int production.
	ExitInt(c *IntContext)

	// ExitUint is called when exiting the Uint production.
	ExitUint(c *UintContext)

	// ExitDouble is called when exiting the Double production.
	ExitDouble(c *DoubleContext)

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

	// ExitBytes is called when exiting the Bytes production.
	ExitBytes(c *BytesContext)

	// ExitBoolTrue is called when exiting the BoolTrue production.
	ExitBoolTrue(c *BoolTrueContext)

	// ExitBoolFalse is called when exiting the BoolFalse production.
	ExitBoolFalse(c *BoolFalseContext)

	// ExitNull is called when exiting the Null production.
	ExitNull(c *NullContext)
}

CELListener is a complete listener for a parse tree produced by CELParser.

type CELParser

type CELParser struct {
	*antlr.BaseParser
}

func NewCELParser

func NewCELParser(input antlr.TokenStream) *CELParser

NewCELParser produces a new parser instance for the optional input antlr.TokenStream.

func (*CELParser) Calc

func (p *CELParser) Calc() (localctx ICalcContext)

func (*CELParser) Calc_Sempred

func (p *CELParser) Calc_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*CELParser) ConditionalAnd

func (p *CELParser) ConditionalAnd() (localctx IConditionalAndContext)

func (*CELParser) ConditionalOr

func (p *CELParser) ConditionalOr() (localctx IConditionalOrContext)

func (*CELParser) Expr

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

func (*CELParser) ExprList

func (p *CELParser) ExprList() (localctx IExprListContext)

func (*CELParser) FieldInitializerList

func (p *CELParser) FieldInitializerList() (localctx IFieldInitializerListContext)

func (*CELParser) Literal

func (p *CELParser) Literal() (localctx ILiteralContext)

func (*CELParser) MapInitializerList

func (p *CELParser) MapInitializerList() (localctx IMapInitializerListContext)

func (*CELParser) Member

func (p *CELParser) Member() (localctx IMemberContext)

func (*CELParser) Member_Sempred

func (p *CELParser) Member_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*CELParser) Primary

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

func (*CELParser) Relation

func (p *CELParser) Relation() (localctx IRelationContext)

func (*CELParser) Relation_Sempred

func (p *CELParser) Relation_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*CELParser) Sempred

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

func (*CELParser) Start

func (p *CELParser) Start() (localctx IStartContext)

func (*CELParser) Unary

func (p *CELParser) Unary() (localctx IUnaryContext)

type CELVisitor

type CELVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by CELParser#start.
	VisitStart(ctx *StartContext) interface{}

	// Visit a parse tree produced by CELParser#expr.
	VisitExpr(ctx *ExprContext) interface{}

	// Visit a parse tree produced by CELParser#conditionalOr.
	VisitConditionalOr(ctx *ConditionalOrContext) interface{}

	// Visit a parse tree produced by CELParser#conditionalAnd.
	VisitConditionalAnd(ctx *ConditionalAndContext) interface{}

	// Visit a parse tree produced by CELParser#relation.
	VisitRelation(ctx *RelationContext) interface{}

	// Visit a parse tree produced by CELParser#calc.
	VisitCalc(ctx *CalcContext) interface{}

	// Visit a parse tree produced by CELParser#MemberExpr.
	VisitMemberExpr(ctx *MemberExprContext) interface{}

	// Visit a parse tree produced by CELParser#LogicalNot.
	VisitLogicalNot(ctx *LogicalNotContext) interface{}

	// Visit a parse tree produced by CELParser#Negate.
	VisitNegate(ctx *NegateContext) interface{}

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

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

	// Visit a parse tree produced by CELParser#Index.
	VisitIndex(ctx *IndexContext) interface{}

	// Visit a parse tree produced by CELParser#CreateMessage.
	VisitCreateMessage(ctx *CreateMessageContext) interface{}

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

	// Visit a parse tree produced by CELParser#Nested.
	VisitNested(ctx *NestedContext) interface{}

	// Visit a parse tree produced by CELParser#CreateList.
	VisitCreateList(ctx *CreateListContext) interface{}

	// Visit a parse tree produced by CELParser#CreateStruct.
	VisitCreateStruct(ctx *CreateStructContext) interface{}

	// Visit a parse tree produced by CELParser#ConstantLiteral.
	VisitConstantLiteral(ctx *ConstantLiteralContext) interface{}

	// Visit a parse tree produced by CELParser#exprList.
	VisitExprList(ctx *ExprListContext) interface{}

	// Visit a parse tree produced by CELParser#fieldInitializerList.
	VisitFieldInitializerList(ctx *FieldInitializerListContext) interface{}

	// Visit a parse tree produced by CELParser#mapInitializerList.
	VisitMapInitializerList(ctx *MapInitializerListContext) interface{}

	// Visit a parse tree produced by CELParser#Int.
	VisitInt(ctx *IntContext) interface{}

	// Visit a parse tree produced by CELParser#Uint.
	VisitUint(ctx *UintContext) interface{}

	// Visit a parse tree produced by CELParser#Double.
	VisitDouble(ctx *DoubleContext) interface{}

	// Visit a parse tree produced by CELParser#String.
	VisitString(ctx *StringContext) interface{}

	// Visit a parse tree produced by CELParser#Bytes.
	VisitBytes(ctx *BytesContext) interface{}

	// Visit a parse tree produced by CELParser#BoolTrue.
	VisitBoolTrue(ctx *BoolTrueContext) interface{}

	// Visit a parse tree produced by CELParser#BoolFalse.
	VisitBoolFalse(ctx *BoolFalseContext) interface{}

	// Visit a parse tree produced by CELParser#Null.
	VisitNull(ctx *NullContext) interface{}
}

A complete Visitor for a parse tree produced by CELParser.

type CalcContext

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

func NewCalcContext

func NewCalcContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CalcContext

func NewEmptyCalcContext

func NewEmptyCalcContext() *CalcContext

func (*CalcContext) Accept

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

func (*CalcContext) AllCalc

func (s *CalcContext) AllCalc() []ICalcContext

func (*CalcContext) Calc

func (s *CalcContext) Calc(i int) ICalcContext

func (*CalcContext) EnterRule

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

func (*CalcContext) ExitRule

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

func (*CalcContext) GetOp

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

func (*CalcContext) GetParser

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

func (*CalcContext) GetRuleContext

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

func (*CalcContext) IsCalcContext

func (*CalcContext) IsCalcContext()

func (*CalcContext) MINUS added in v0.10.0

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

func (*CalcContext) PERCENT added in v0.10.0

func (s *CalcContext) PERCENT() antlr.TerminalNode

func (*CalcContext) PLUS added in v0.10.0

func (s *CalcContext) PLUS() antlr.TerminalNode

func (*CalcContext) SLASH added in v0.10.0

func (s *CalcContext) SLASH() antlr.TerminalNode

func (*CalcContext) STAR added in v0.10.0

func (s *CalcContext) STAR() antlr.TerminalNode

func (*CalcContext) SetOp

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

func (*CalcContext) ToStringTree

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

func (*CalcContext) Unary

func (s *CalcContext) Unary() IUnaryContext

type ConditionalAndContext

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

func NewConditionalAndContext

func NewConditionalAndContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionalAndContext

func NewEmptyConditionalAndContext

func NewEmptyConditionalAndContext() *ConditionalAndContext

func (*ConditionalAndContext) Accept

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

func (*ConditionalAndContext) AllLOGICAL_AND added in v0.10.0

func (s *ConditionalAndContext) AllLOGICAL_AND() []antlr.TerminalNode

func (*ConditionalAndContext) AllRelation

func (s *ConditionalAndContext) AllRelation() []IRelationContext

func (*ConditionalAndContext) EnterRule

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

func (*ConditionalAndContext) ExitRule

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

func (*ConditionalAndContext) GetE

func (*ConditionalAndContext) GetE1

func (*ConditionalAndContext) GetOps

func (s *ConditionalAndContext) GetOps() []antlr.Token

func (*ConditionalAndContext) GetParser

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

func (*ConditionalAndContext) GetRuleContext

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

func (*ConditionalAndContext) GetS8

func (s *ConditionalAndContext) GetS8() antlr.Token

func (*ConditionalAndContext) Get_relation

func (s *ConditionalAndContext) Get_relation() IRelationContext

func (*ConditionalAndContext) IsConditionalAndContext

func (*ConditionalAndContext) IsConditionalAndContext()

func (*ConditionalAndContext) LOGICAL_AND added in v0.10.0

func (s *ConditionalAndContext) LOGICAL_AND(i int) antlr.TerminalNode

func (*ConditionalAndContext) Relation

func (*ConditionalAndContext) SetE

func (*ConditionalAndContext) SetE1

func (*ConditionalAndContext) SetOps

func (s *ConditionalAndContext) SetOps(v []antlr.Token)

func (*ConditionalAndContext) SetS8

func (s *ConditionalAndContext) SetS8(v antlr.Token)

func (*ConditionalAndContext) Set_relation

func (s *ConditionalAndContext) Set_relation(v IRelationContext)

func (*ConditionalAndContext) ToStringTree

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

type ConditionalOrContext

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

func NewConditionalOrContext

func NewConditionalOrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionalOrContext

func NewEmptyConditionalOrContext

func NewEmptyConditionalOrContext() *ConditionalOrContext

func (*ConditionalOrContext) Accept

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

func (*ConditionalOrContext) AllConditionalAnd

func (s *ConditionalOrContext) AllConditionalAnd() []IConditionalAndContext

func (*ConditionalOrContext) AllLOGICAL_OR added in v0.10.0

func (s *ConditionalOrContext) AllLOGICAL_OR() []antlr.TerminalNode

func (*ConditionalOrContext) ConditionalAnd

func (s *ConditionalOrContext) ConditionalAnd(i int) IConditionalAndContext

func (*ConditionalOrContext) EnterRule

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

func (*ConditionalOrContext) ExitRule

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

func (*ConditionalOrContext) GetE

func (*ConditionalOrContext) GetE1

func (*ConditionalOrContext) GetOps

func (s *ConditionalOrContext) GetOps() []antlr.Token

func (*ConditionalOrContext) GetParser

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

func (*ConditionalOrContext) GetRuleContext

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

func (*ConditionalOrContext) GetS9

func (s *ConditionalOrContext) GetS9() antlr.Token

func (*ConditionalOrContext) Get_conditionalAnd

func (s *ConditionalOrContext) Get_conditionalAnd() IConditionalAndContext

func (*ConditionalOrContext) IsConditionalOrContext

func (*ConditionalOrContext) IsConditionalOrContext()

func (*ConditionalOrContext) LOGICAL_OR added in v0.10.0

func (s *ConditionalOrContext) LOGICAL_OR(i int) antlr.TerminalNode

func (*ConditionalOrContext) SetE

func (*ConditionalOrContext) SetE1

func (*ConditionalOrContext) SetOps

func (s *ConditionalOrContext) SetOps(v []antlr.Token)

func (*ConditionalOrContext) SetS9

func (s *ConditionalOrContext) SetS9(v antlr.Token)

func (*ConditionalOrContext) Set_conditionalAnd

func (s *ConditionalOrContext) Set_conditionalAnd(v IConditionalAndContext)

func (*ConditionalOrContext) ToStringTree

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

type ConstantLiteralContext

type ConstantLiteralContext struct {
	*PrimaryContext
}

func NewConstantLiteralContext

func NewConstantLiteralContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ConstantLiteralContext

func (*ConstantLiteralContext) Accept

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

func (*ConstantLiteralContext) EnterRule

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

func (*ConstantLiteralContext) ExitRule

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

func (*ConstantLiteralContext) GetRuleContext

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

func (*ConstantLiteralContext) Literal

type CreateListContext

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

func NewCreateListContext

func NewCreateListContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CreateListContext

func (*CreateListContext) Accept

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

func (*CreateListContext) COMMA added in v0.10.0

func (*CreateListContext) EnterRule

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

func (*CreateListContext) ExitRule

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

func (*CreateListContext) ExprList

func (s *CreateListContext) ExprList() IExprListContext

func (*CreateListContext) GetElems

func (s *CreateListContext) GetElems() IExprListContext

func (*CreateListContext) GetOp

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

func (*CreateListContext) GetRuleContext

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

func (*CreateListContext) LBRACKET added in v0.10.0

func (s *CreateListContext) LBRACKET() antlr.TerminalNode

func (*CreateListContext) RPRACKET added in v0.10.0

func (s *CreateListContext) RPRACKET() antlr.TerminalNode

func (*CreateListContext) SetElems

func (s *CreateListContext) SetElems(v IExprListContext)

func (*CreateListContext) SetOp

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

type CreateMessageContext

type CreateMessageContext struct {
	*MemberContext
	// contains filtered or unexported fields
}

func NewCreateMessageContext

func NewCreateMessageContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CreateMessageContext

func (*CreateMessageContext) Accept

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

func (*CreateMessageContext) COMMA added in v0.10.0

func (*CreateMessageContext) EnterRule

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

func (*CreateMessageContext) ExitRule

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

func (*CreateMessageContext) FieldInitializerList

func (s *CreateMessageContext) FieldInitializerList() IFieldInitializerListContext

func (*CreateMessageContext) GetEntries

func (*CreateMessageContext) GetOp

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

func (*CreateMessageContext) GetRuleContext

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

func (*CreateMessageContext) LBRACE added in v0.10.0

func (*CreateMessageContext) Member

func (*CreateMessageContext) RBRACE added in v0.10.0

func (*CreateMessageContext) SetEntries

func (*CreateMessageContext) SetOp

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

type CreateStructContext

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

func NewCreateStructContext

func NewCreateStructContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CreateStructContext

func (*CreateStructContext) Accept

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

func (*CreateStructContext) COMMA added in v0.10.0

func (*CreateStructContext) EnterRule

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

func (*CreateStructContext) ExitRule

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

func (*CreateStructContext) GetEntries

func (*CreateStructContext) GetOp

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

func (*CreateStructContext) GetRuleContext

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

func (*CreateStructContext) LBRACE added in v0.10.0

func (*CreateStructContext) MapInitializerList

func (s *CreateStructContext) MapInitializerList() IMapInitializerListContext

func (*CreateStructContext) RBRACE added in v0.10.0

func (*CreateStructContext) SetEntries

func (*CreateStructContext) SetOp

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

type DoubleContext

type DoubleContext struct {
	*LiteralContext
	// contains filtered or unexported fields
}

func NewDoubleContext

func NewDoubleContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *DoubleContext

func (*DoubleContext) Accept

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

func (*DoubleContext) EnterRule

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

func (*DoubleContext) ExitRule

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

func (*DoubleContext) GetRuleContext

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

func (*DoubleContext) GetSign

func (s *DoubleContext) GetSign() antlr.Token

func (*DoubleContext) GetTok

func (s *DoubleContext) GetTok() antlr.Token

func (*DoubleContext) MINUS

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

func (*DoubleContext) NUM_FLOAT

func (s *DoubleContext) NUM_FLOAT() antlr.TerminalNode

func (*DoubleContext) SetSign

func (s *DoubleContext) SetSign(v antlr.Token)

func (*DoubleContext) SetTok

func (s *DoubleContext) SetTok(v antlr.Token)

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) Accept

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

func (*ExprContext) AllConditionalOr

func (s *ExprContext) AllConditionalOr() []IConditionalOrContext

func (*ExprContext) COLON added in v0.10.0

func (s *ExprContext) COLON() antlr.TerminalNode

func (*ExprContext) ConditionalOr

func (s *ExprContext) ConditionalOr(i int) IConditionalOrContext

func (*ExprContext) EnterRule

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

func (*ExprContext) ExitRule

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

func (*ExprContext) Expr

func (s *ExprContext) Expr() IExprContext

func (*ExprContext) GetE

func (*ExprContext) GetE1

func (*ExprContext) GetE2

func (s *ExprContext) GetE2() IExprContext

func (*ExprContext) GetOp

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

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) QUESTIONMARK added in v0.10.0

func (s *ExprContext) QUESTIONMARK() antlr.TerminalNode

func (*ExprContext) SetE

func (*ExprContext) SetE1

func (s *ExprContext) SetE1(v IConditionalOrContext)

func (*ExprContext) SetE2

func (s *ExprContext) SetE2(v IExprContext)

func (*ExprContext) SetOp

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

func (*ExprContext) ToStringTree

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

type ExprListContext

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

func NewEmptyExprListContext

func NewEmptyExprListContext() *ExprListContext

func NewExprListContext

func NewExprListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprListContext

func (*ExprListContext) Accept

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

func (*ExprListContext) AllCOMMA added in v0.10.0

func (s *ExprListContext) AllCOMMA() []antlr.TerminalNode

func (*ExprListContext) AllExpr

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

func (*ExprListContext) COMMA added in v0.10.0

func (s *ExprListContext) COMMA(i int) antlr.TerminalNode

func (*ExprListContext) EnterRule

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

func (*ExprListContext) ExitRule

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

func (*ExprListContext) Expr

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

func (*ExprListContext) GetE

func (s *ExprListContext) GetE() []IExprContext

func (*ExprListContext) GetParser

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

func (*ExprListContext) GetRuleContext

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

func (*ExprListContext) Get_expr

func (s *ExprListContext) Get_expr() IExprContext

func (*ExprListContext) IsExprListContext

func (*ExprListContext) IsExprListContext()

func (*ExprListContext) SetE

func (s *ExprListContext) SetE(v []IExprContext)

func (*ExprListContext) Set_expr

func (s *ExprListContext) Set_expr(v IExprContext)

func (*ExprListContext) ToStringTree

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

type FieldInitializerListContext

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

func NewEmptyFieldInitializerListContext

func NewEmptyFieldInitializerListContext() *FieldInitializerListContext

func NewFieldInitializerListContext

func NewFieldInitializerListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldInitializerListContext

func (*FieldInitializerListContext) Accept

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

func (*FieldInitializerListContext) AllCOLON added in v0.10.0

func (*FieldInitializerListContext) AllCOMMA added in v0.10.0

func (*FieldInitializerListContext) AllExpr

func (*FieldInitializerListContext) AllIDENTIFIER

func (s *FieldInitializerListContext) AllIDENTIFIER() []antlr.TerminalNode

func (*FieldInitializerListContext) COLON added in v0.10.0

func (*FieldInitializerListContext) COMMA added in v0.10.0

func (*FieldInitializerListContext) EnterRule

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

func (*FieldInitializerListContext) ExitRule

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

func (*FieldInitializerListContext) Expr

func (*FieldInitializerListContext) GetCols

func (s *FieldInitializerListContext) GetCols() []antlr.Token

func (*FieldInitializerListContext) GetFields

func (s *FieldInitializerListContext) GetFields() []antlr.Token

func (*FieldInitializerListContext) GetParser

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

func (*FieldInitializerListContext) GetRuleContext

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

func (*FieldInitializerListContext) GetS21

func (*FieldInitializerListContext) GetValues

func (s *FieldInitializerListContext) GetValues() []IExprContext

func (*FieldInitializerListContext) Get_IDENTIFIER

func (s *FieldInitializerListContext) Get_IDENTIFIER() antlr.Token

func (*FieldInitializerListContext) Get_expr

func (*FieldInitializerListContext) IDENTIFIER

func (*FieldInitializerListContext) IsFieldInitializerListContext

func (*FieldInitializerListContext) IsFieldInitializerListContext()

func (*FieldInitializerListContext) SetCols

func (s *FieldInitializerListContext) SetCols(v []antlr.Token)

func (*FieldInitializerListContext) SetFields

func (s *FieldInitializerListContext) SetFields(v []antlr.Token)

func (*FieldInitializerListContext) SetS21

func (*FieldInitializerListContext) SetValues

func (s *FieldInitializerListContext) SetValues(v []IExprContext)

func (*FieldInitializerListContext) Set_IDENTIFIER

func (s *FieldInitializerListContext) Set_IDENTIFIER(v antlr.Token)

func (*FieldInitializerListContext) Set_expr

func (*FieldInitializerListContext) ToStringTree

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

type ICalcContext

type ICalcContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

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

ICalcContext is an interface to support dynamic dispatch.

type IConditionalAndContext

type IConditionalAndContext interface {
	antlr.ParserRuleContext

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

	// GetS8 returns the s8 token.
	GetS8() antlr.Token

	// SetS8 sets the s8 token.
	SetS8(antlr.Token)

	// GetOps returns the ops token list.
	GetOps() []antlr.Token

	// SetOps sets the ops token list.
	SetOps([]antlr.Token)

	// GetE returns the e rule contexts.
	GetE() IRelationContext

	// Get_relation returns the _relation rule contexts.
	Get_relation() IRelationContext

	// SetE sets the e rule contexts.
	SetE(IRelationContext)

	// Set_relation sets the _relation rule contexts.
	Set_relation(IRelationContext)

	// GetE1 returns the e1 rule context list.
	GetE1() []IRelationContext

	// SetE1 sets the e1 rule context list.
	SetE1([]IRelationContext)

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

IConditionalAndContext is an interface to support dynamic dispatch.

type IConditionalOrContext

type IConditionalOrContext interface {
	antlr.ParserRuleContext

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

	// GetS9 returns the s9 token.
	GetS9() antlr.Token

	// SetS9 sets the s9 token.
	SetS9(antlr.Token)

	// GetOps returns the ops token list.
	GetOps() []antlr.Token

	// SetOps sets the ops token list.
	SetOps([]antlr.Token)

	// GetE returns the e rule contexts.
	GetE() IConditionalAndContext

	// Get_conditionalAnd returns the _conditionalAnd rule contexts.
	Get_conditionalAnd() IConditionalAndContext

	// SetE sets the e rule contexts.
	SetE(IConditionalAndContext)

	// Set_conditionalAnd sets the _conditionalAnd rule contexts.
	Set_conditionalAnd(IConditionalAndContext)

	// GetE1 returns the e1 rule context list.
	GetE1() []IConditionalAndContext

	// SetE1 sets the e1 rule context list.
	SetE1([]IConditionalAndContext)

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

IConditionalOrContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

	// GetE returns the e rule contexts.
	GetE() IConditionalOrContext

	// GetE1 returns the e1 rule contexts.
	GetE1() IConditionalOrContext

	// GetE2 returns the e2 rule contexts.
	GetE2() IExprContext

	// SetE sets the e rule contexts.
	SetE(IConditionalOrContext)

	// SetE1 sets the e1 rule contexts.
	SetE1(IConditionalOrContext)

	// SetE2 sets the e2 rule contexts.
	SetE2(IExprContext)

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

IExprContext is an interface to support dynamic dispatch.

type IExprListContext

type IExprListContext interface {
	antlr.ParserRuleContext

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

	// Get_expr returns the _expr rule contexts.
	Get_expr() IExprContext

	// Set_expr sets the _expr rule contexts.
	Set_expr(IExprContext)

	// GetE returns the e rule context list.
	GetE() []IExprContext

	// SetE sets the e rule context list.
	SetE([]IExprContext)

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

IExprListContext is an interface to support dynamic dispatch.

type IFieldInitializerListContext

type IFieldInitializerListContext interface {
	antlr.ParserRuleContext

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

	// Get_IDENTIFIER returns the _IDENTIFIER token.
	Get_IDENTIFIER() antlr.Token

	// GetS21 returns the s21 token.
	GetS21() antlr.Token

	// Set_IDENTIFIER sets the _IDENTIFIER token.
	Set_IDENTIFIER(antlr.Token)

	// SetS21 sets the s21 token.
	SetS21(antlr.Token)

	// GetFields returns the fields token list.
	GetFields() []antlr.Token

	// GetCols returns the cols token list.
	GetCols() []antlr.Token

	// SetFields sets the fields token list.
	SetFields([]antlr.Token)

	// SetCols sets the cols token list.
	SetCols([]antlr.Token)

	// Get_expr returns the _expr rule contexts.
	Get_expr() IExprContext

	// Set_expr sets the _expr rule contexts.
	Set_expr(IExprContext)

	// GetValues returns the values rule context list.
	GetValues() []IExprContext

	// SetValues sets the values rule context list.
	SetValues([]IExprContext)

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

IFieldInitializerListContext is an interface to support dynamic dispatch.

type ILiteralContext

type ILiteralContext interface {
	antlr.ParserRuleContext

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

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

ILiteralContext is an interface to support dynamic dispatch.

type IMapInitializerListContext

type IMapInitializerListContext interface {
	antlr.ParserRuleContext

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

	// GetS21 returns the s21 token.
	GetS21() antlr.Token

	// SetS21 sets the s21 token.
	SetS21(antlr.Token)

	// GetCols returns the cols token list.
	GetCols() []antlr.Token

	// SetCols sets the cols token list.
	SetCols([]antlr.Token)

	// Get_expr returns the _expr rule contexts.
	Get_expr() IExprContext

	// Set_expr sets the _expr rule contexts.
	Set_expr(IExprContext)

	// GetKeys returns the keys rule context list.
	GetKeys() []IExprContext

	// GetValues returns the values rule context list.
	GetValues() []IExprContext

	// SetKeys sets the keys rule context list.
	SetKeys([]IExprContext)

	// SetValues sets the values rule context list.
	SetValues([]IExprContext)

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

IMapInitializerListContext is an interface to support dynamic dispatch.

type IMemberContext

type IMemberContext interface {
	antlr.ParserRuleContext

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

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

IMemberContext 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 IRelationContext

type IRelationContext interface {
	antlr.ParserRuleContext

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

	// GetOp returns the op token.
	GetOp() antlr.Token

	// SetOp sets the op token.
	SetOp(antlr.Token)

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

IRelationContext is an interface to support dynamic dispatch.

type IStartContext

type IStartContext interface {
	antlr.ParserRuleContext

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

	// GetE returns the e rule contexts.
	GetE() IExprContext

	// SetE sets the e rule contexts.
	SetE(IExprContext)

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

IStartContext is an interface to support dynamic dispatch.

type IUnaryContext

type IUnaryContext interface {
	antlr.ParserRuleContext

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

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

IUnaryContext 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) DOT added in v0.10.0

func (*IdentOrGlobalCallContext) EnterRule

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

func (*IdentOrGlobalCallContext) ExitRule

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

func (*IdentOrGlobalCallContext) ExprList

func (*IdentOrGlobalCallContext) GetArgs

func (*IdentOrGlobalCallContext) GetId

func (*IdentOrGlobalCallContext) GetLeadingDot

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

func (*IdentOrGlobalCallContext) GetOp

func (*IdentOrGlobalCallContext) GetRuleContext

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

func (*IdentOrGlobalCallContext) IDENTIFIER

func (*IdentOrGlobalCallContext) LPAREN added in v0.10.0

func (*IdentOrGlobalCallContext) RPAREN added in v0.10.0

func (*IdentOrGlobalCallContext) SetArgs

func (*IdentOrGlobalCallContext) SetId

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

func (*IdentOrGlobalCallContext) SetLeadingDot

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

func (*IdentOrGlobalCallContext) SetOp

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

type IndexContext

type IndexContext struct {
	*MemberContext
	// contains filtered or unexported fields
}

func NewIndexContext

func NewIndexContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IndexContext

func (*IndexContext) Accept

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

func (*IndexContext) EnterRule

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

func (*IndexContext) ExitRule

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

func (*IndexContext) Expr

func (s *IndexContext) Expr() IExprContext

func (*IndexContext) GetIndex

func (s *IndexContext) GetIndex() IExprContext

func (*IndexContext) GetOp

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

func (*IndexContext) GetRuleContext

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

func (*IndexContext) LBRACKET added in v0.10.0

func (s *IndexContext) LBRACKET() antlr.TerminalNode

func (*IndexContext) Member

func (s *IndexContext) Member() IMemberContext

func (*IndexContext) RPRACKET added in v0.10.0

func (s *IndexContext) RPRACKET() antlr.TerminalNode

func (*IndexContext) SetIndex

func (s *IndexContext) SetIndex(v IExprContext)

func (*IndexContext) SetOp

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

type IntContext

type IntContext struct {
	*LiteralContext
	// contains filtered or unexported fields
}

func NewIntContext

func NewIntContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IntContext

func (*IntContext) Accept

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

func (*IntContext) EnterRule

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

func (*IntContext) ExitRule

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

func (*IntContext) GetRuleContext

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

func (*IntContext) GetSign

func (s *IntContext) GetSign() antlr.Token

func (*IntContext) GetTok

func (s *IntContext) GetTok() antlr.Token

func (*IntContext) MINUS

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

func (*IntContext) NUM_INT

func (s *IntContext) NUM_INT() antlr.TerminalNode

func (*IntContext) SetSign

func (s *IntContext) SetSign(v antlr.Token)

func (*IntContext) SetTok

func (s *IntContext) SetTok(v antlr.Token)

type LiteralContext

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

func NewEmptyLiteralContext

func NewEmptyLiteralContext() *LiteralContext

func NewLiteralContext

func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext

func (*LiteralContext) CopyFrom

func (s *LiteralContext) CopyFrom(ctx *LiteralContext)

func (*LiteralContext) GetParser

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

func (*LiteralContext) GetRuleContext

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

func (*LiteralContext) IsLiteralContext

func (*LiteralContext) IsLiteralContext()

func (*LiteralContext) ToStringTree

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

type LogicalNotContext

type LogicalNotContext struct {
	*UnaryContext
	// contains filtered or unexported fields
}

func NewLogicalNotContext

func NewLogicalNotContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *LogicalNotContext

func (*LogicalNotContext) Accept

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

func (*LogicalNotContext) AllEXCLAM added in v0.10.0

func (s *LogicalNotContext) AllEXCLAM() []antlr.TerminalNode

func (*LogicalNotContext) EXCLAM added in v0.10.0

func (s *LogicalNotContext) EXCLAM(i int) antlr.TerminalNode

func (*LogicalNotContext) EnterRule

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

func (*LogicalNotContext) ExitRule

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

func (*LogicalNotContext) GetOps

func (s *LogicalNotContext) GetOps() []antlr.Token

func (*LogicalNotContext) GetRuleContext

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

func (*LogicalNotContext) GetS19

func (s *LogicalNotContext) GetS19() antlr.Token

func (*LogicalNotContext) Member

func (s *LogicalNotContext) Member() IMemberContext

func (*LogicalNotContext) SetOps

func (s *LogicalNotContext) SetOps(v []antlr.Token)

func (*LogicalNotContext) SetS19

func (s *LogicalNotContext) SetS19(v antlr.Token)

type MapInitializerListContext

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

func NewEmptyMapInitializerListContext

func NewEmptyMapInitializerListContext() *MapInitializerListContext

func NewMapInitializerListContext

func NewMapInitializerListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapInitializerListContext

func (*MapInitializerListContext) Accept

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

func (*MapInitializerListContext) AllCOLON added in v0.10.0

func (*MapInitializerListContext) AllCOMMA added in v0.10.0

func (*MapInitializerListContext) AllExpr

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

func (*MapInitializerListContext) COLON added in v0.10.0

func (*MapInitializerListContext) COMMA added in v0.10.0

func (*MapInitializerListContext) EnterRule

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

func (*MapInitializerListContext) ExitRule

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

func (*MapInitializerListContext) Expr

func (*MapInitializerListContext) GetCols

func (s *MapInitializerListContext) GetCols() []antlr.Token

func (*MapInitializerListContext) GetKeys

func (s *MapInitializerListContext) GetKeys() []IExprContext

func (*MapInitializerListContext) GetParser

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

func (*MapInitializerListContext) GetRuleContext

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

func (*MapInitializerListContext) GetS21

func (*MapInitializerListContext) GetValues

func (s *MapInitializerListContext) GetValues() []IExprContext

func (*MapInitializerListContext) Get_expr

func (*MapInitializerListContext) IsMapInitializerListContext

func (*MapInitializerListContext) IsMapInitializerListContext()

func (*MapInitializerListContext) SetCols

func (s *MapInitializerListContext) SetCols(v []antlr.Token)

func (*MapInitializerListContext) SetKeys

func (s *MapInitializerListContext) SetKeys(v []IExprContext)

func (*MapInitializerListContext) SetS21

func (s *MapInitializerListContext) SetS21(v antlr.Token)

func (*MapInitializerListContext) SetValues

func (s *MapInitializerListContext) SetValues(v []IExprContext)

func (*MapInitializerListContext) Set_expr

func (s *MapInitializerListContext) Set_expr(v IExprContext)

func (*MapInitializerListContext) ToStringTree

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

type MemberContext

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

func NewEmptyMemberContext

func NewEmptyMemberContext() *MemberContext

func NewMemberContext

func NewMemberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MemberContext

func (*MemberContext) CopyFrom

func (s *MemberContext) CopyFrom(ctx *MemberContext)

func (*MemberContext) GetParser

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

func (*MemberContext) GetRuleContext

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

func (*MemberContext) IsMemberContext

func (*MemberContext) IsMemberContext()

func (*MemberContext) ToStringTree

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

type MemberExprContext

type MemberExprContext struct {
	*UnaryContext
}

func NewMemberExprContext

func NewMemberExprContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberExprContext

func (*MemberExprContext) Accept

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

func (*MemberExprContext) EnterRule

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

func (*MemberExprContext) ExitRule

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

func (*MemberExprContext) GetRuleContext

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

func (*MemberExprContext) Member

func (s *MemberExprContext) Member() IMemberContext

type NegateContext

type NegateContext struct {
	*UnaryContext
	// contains filtered or unexported fields
}

func NewNegateContext

func NewNegateContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NegateContext

func (*NegateContext) Accept

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

func (*NegateContext) AllMINUS added in v0.10.0

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

func (*NegateContext) EnterRule

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

func (*NegateContext) ExitRule

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

func (*NegateContext) GetOps

func (s *NegateContext) GetOps() []antlr.Token

func (*NegateContext) GetRuleContext

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

func (*NegateContext) GetS18

func (s *NegateContext) GetS18() antlr.Token

func (*NegateContext) MINUS added in v0.10.0

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

func (*NegateContext) Member

func (s *NegateContext) Member() IMemberContext

func (*NegateContext) SetOps

func (s *NegateContext) SetOps(v []antlr.Token)

func (*NegateContext) SetS18

func (s *NegateContext) SetS18(v antlr.Token)

type NestedContext

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

func NewNestedContext

func NewNestedContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NestedContext

func (*NestedContext) Accept

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

func (*NestedContext) EnterRule

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

func (*NestedContext) ExitRule

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

func (*NestedContext) Expr

func (s *NestedContext) Expr() IExprContext

func (*NestedContext) GetE

func (s *NestedContext) GetE() IExprContext

func (*NestedContext) GetRuleContext

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

func (*NestedContext) LPAREN added in v0.10.0

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

func (*NestedContext) RPAREN added in v0.10.0

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

func (*NestedContext) SetE

func (s *NestedContext) SetE(v IExprContext)

type NullContext

type NullContext struct {
	*LiteralContext
	// contains filtered or unexported fields
}

func NewNullContext

func NewNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NullContext

func (*NullContext) Accept

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

func (*NullContext) EnterRule

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

func (*NullContext) ExitRule

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

func (*NullContext) GetRuleContext

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

func (*NullContext) GetTok

func (s *NullContext) GetTok() antlr.Token

func (*NullContext) NUL added in v0.10.0

func (s *NullContext) NUL() antlr.TerminalNode

func (*NullContext) SetTok

func (s *NullContext) SetTok(v antlr.Token)

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 {
	*MemberContext
}

func NewPrimaryExprContext

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

func (*PrimaryExprContext) Accept

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

func (*PrimaryExprContext) EnterRule

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

func (*PrimaryExprContext) ExitRule

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

func (*PrimaryExprContext) GetRuleContext

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

func (*PrimaryExprContext) Primary

func (s *PrimaryExprContext) Primary() IPrimaryContext

type RelationContext

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

func NewEmptyRelationContext

func NewEmptyRelationContext() *RelationContext

func NewRelationContext

func NewRelationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RelationContext

func (*RelationContext) Accept

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

func (*RelationContext) AllRelation

func (s *RelationContext) AllRelation() []IRelationContext

func (*RelationContext) Calc

func (s *RelationContext) Calc() ICalcContext

func (*RelationContext) EQUALS added in v0.10.0

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

func (*RelationContext) EnterRule

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

func (*RelationContext) ExitRule

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

func (*RelationContext) GREATER added in v0.10.0

func (s *RelationContext) GREATER() antlr.TerminalNode

func (*RelationContext) GREATER_EQUALS added in v0.10.0

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

func (*RelationContext) GetOp

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

func (*RelationContext) GetParser

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

func (*RelationContext) GetRuleContext

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

func (*RelationContext) IN added in v0.10.0

func (*RelationContext) IsRelationContext

func (*RelationContext) IsRelationContext()

func (*RelationContext) LESS added in v0.10.0

func (*RelationContext) LESS_EQUALS added in v0.10.0

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

func (*RelationContext) NOT_EQUALS added in v0.10.0

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

func (*RelationContext) Relation

func (s *RelationContext) Relation(i int) IRelationContext

func (*RelationContext) SetOp

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

func (*RelationContext) ToStringTree

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

type SelectOrCallContext

type SelectOrCallContext struct {
	*MemberContext
	// 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) DOT added in v0.10.0

func (*SelectOrCallContext) EnterRule

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

func (*SelectOrCallContext) ExitRule

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

func (*SelectOrCallContext) ExprList

func (s *SelectOrCallContext) ExprList() IExprListContext

func (*SelectOrCallContext) GetArgs

func (*SelectOrCallContext) GetId

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

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) IDENTIFIER

func (s *SelectOrCallContext) IDENTIFIER() antlr.TerminalNode

func (*SelectOrCallContext) LPAREN added in v0.10.0

func (*SelectOrCallContext) Member

func (s *SelectOrCallContext) Member() IMemberContext

func (*SelectOrCallContext) RPAREN added in v0.10.0

func (*SelectOrCallContext) SetArgs

func (s *SelectOrCallContext) SetArgs(v IExprListContext)

func (*SelectOrCallContext) SetId

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

func (*SelectOrCallContext) SetOp

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

func (*SelectOrCallContext) SetOpen

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

type StartContext

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

func NewEmptyStartContext

func NewEmptyStartContext() *StartContext

func NewStartContext

func NewStartContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StartContext

func (*StartContext) Accept

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

func (*StartContext) EOF

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

func (*StartContext) EnterRule

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

func (*StartContext) ExitRule

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

func (*StartContext) Expr

func (s *StartContext) Expr() IExprContext

func (*StartContext) GetE

func (s *StartContext) GetE() IExprContext

func (*StartContext) GetParser

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

func (*StartContext) GetRuleContext

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

func (*StartContext) IsStartContext

func (*StartContext) IsStartContext()

func (*StartContext) SetE

func (s *StartContext) SetE(v IExprContext)

func (*StartContext) ToStringTree

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

type StringContext

type StringContext struct {
	*LiteralContext
	// contains filtered or unexported fields
}

func NewStringContext

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

func (*StringContext) Accept

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

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) GetTok

func (s *StringContext) GetTok() antlr.Token

func (*StringContext) STRING

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

func (*StringContext) SetTok

func (s *StringContext) SetTok(v antlr.Token)

type UintContext

type UintContext struct {
	*LiteralContext
	// contains filtered or unexported fields
}

func NewUintContext

func NewUintContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UintContext

func (*UintContext) Accept

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

func (*UintContext) EnterRule

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

func (*UintContext) ExitRule

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

func (*UintContext) GetRuleContext

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

func (*UintContext) GetTok

func (s *UintContext) GetTok() antlr.Token

func (*UintContext) NUM_UINT

func (s *UintContext) NUM_UINT() antlr.TerminalNode

func (*UintContext) SetTok

func (s *UintContext) SetTok(v antlr.Token)

type UnaryContext

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

func NewEmptyUnaryContext

func NewEmptyUnaryContext() *UnaryContext

func NewUnaryContext

func NewUnaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UnaryContext

func (*UnaryContext) CopyFrom

func (s *UnaryContext) CopyFrom(ctx *UnaryContext)

func (*UnaryContext) GetParser

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

func (*UnaryContext) GetRuleContext

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

func (*UnaryContext) IsUnaryContext

func (*UnaryContext) IsUnaryContext()

func (*UnaryContext) ToStringTree

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