gen

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 5

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_listInit             = 10
	CELParserRULE_fieldInitializerList = 11
	CELParserRULE_optField             = 12
	CELParserRULE_mapInitializerList   = 13
	CELParserRULE_optExpr              = 14
	CELParserRULE_literal              = 15
)

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) EnterListInit added in v0.14.0

func (s *BaseCELListener) EnterListInit(ctx *ListInitContext)

EnterListInit is called when production listInit 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) EnterMemberCall added in v0.13.0

func (s *BaseCELListener) EnterMemberCall(ctx *MemberCallContext)

EnterMemberCall is called when production MemberCall 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) EnterOptExpr added in v0.14.0

func (s *BaseCELListener) EnterOptExpr(ctx *OptExprContext)

EnterOptExpr is called when production optExpr is entered.

func (*BaseCELListener) EnterOptField added in v0.13.0

func (s *BaseCELListener) EnterOptField(ctx *OptFieldContext)

EnterOptField is called when production optField 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) EnterSelect added in v0.13.0

func (s *BaseCELListener) EnterSelect(ctx *SelectContext)

EnterSelect is called when production Select 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) ExitListInit added in v0.14.0

func (s *BaseCELListener) ExitListInit(ctx *ListInitContext)

ExitListInit is called when production listInit 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) ExitMemberCall added in v0.13.0

func (s *BaseCELListener) ExitMemberCall(ctx *MemberCallContext)

ExitMemberCall is called when production MemberCall 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) ExitOptExpr added in v0.14.0

func (s *BaseCELListener) ExitOptExpr(ctx *OptExprContext)

ExitOptExpr is called when production optExpr is exited.

func (*BaseCELListener) ExitOptField added in v0.13.0

func (s *BaseCELListener) ExitOptField(ctx *OptFieldContext)

ExitOptField is called when production optField 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) ExitSelect added in v0.13.0

func (s *BaseCELListener) ExitSelect(ctx *SelectContext)

ExitSelect is called when production Select 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) VisitListInit added in v0.14.0

func (v *BaseCELVisitor) VisitListInit(ctx *ListInitContext) interface{}

func (*BaseCELVisitor) VisitLogicalNot

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

func (*BaseCELVisitor) VisitMapInitializerList

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

func (*BaseCELVisitor) VisitMemberCall added in v0.13.0

func (v *BaseCELVisitor) VisitMemberCall(ctx *MemberCallContext) 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) VisitOptExpr added in v0.14.0

func (v *BaseCELVisitor) VisitOptExpr(ctx *OptExprContext) interface{}

func (*BaseCELVisitor) VisitOptField added in v0.13.0

func (v *BaseCELVisitor) VisitOptField(ctx *OptFieldContext) interface{}

func (*BaseCELVisitor) VisitPrimaryExpr

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

func (*BaseCELVisitor) VisitRelation

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

func (*BaseCELVisitor) VisitSelect added in v0.13.0

func (v *BaseCELVisitor) VisitSelect(ctx *SelectContext) 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)

	// EnterMemberCall is called when entering the MemberCall production.
	EnterMemberCall(c *MemberCallContext)

	// EnterSelect is called when entering the Select production.
	EnterSelect(c *SelectContext)

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

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

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

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

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

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

	// EnterListInit is called when entering the listInit production.
	EnterListInit(c *ListInitContext)

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

	// EnterOptField is called when entering the optField production.
	EnterOptField(c *OptFieldContext)

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

	// EnterOptExpr is called when entering the optExpr production.
	EnterOptExpr(c *OptExprContext)

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

	// ExitMemberCall is called when exiting the MemberCall production.
	ExitMemberCall(c *MemberCallContext)

	// ExitSelect is called when exiting the Select production.
	ExitSelect(c *SelectContext)

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

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

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

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

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

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

	// ExitListInit is called when exiting the listInit production.
	ExitListInit(c *ListInitContext)

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

	// ExitOptField is called when exiting the optField production.
	ExitOptField(c *OptFieldContext)

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

	// ExitOptExpr is called when exiting the optExpr production.
	ExitOptExpr(c *OptExprContext)

	// 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) ListInit added in v0.14.0

func (p *CELParser) ListInit() (localctx IListInitContext)

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) OptExpr added in v0.14.0

func (p *CELParser) OptExpr() (localctx IOptExprContext)

func (*CELParser) OptField added in v0.13.0

func (p *CELParser) OptField() (localctx IOptFieldContext)

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#MemberCall.
	VisitMemberCall(ctx *MemberCallContext) interface{}

	// Visit a parse tree produced by CELParser#Select.
	VisitSelect(ctx *SelectContext) 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#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#CreateMessage.
	VisitCreateMessage(ctx *CreateMessageContext) 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#listInit.
	VisitListInit(ctx *ListInitContext) interface{}

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

	// Visit a parse tree produced by CELParser#optField.
	VisitOptField(ctx *OptFieldContext) interface{}

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

	// Visit a parse tree produced by CELParser#optExpr.
	VisitOptExpr(ctx *OptExprContext) 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 (s *CreateListContext) COMMA() antlr.TerminalNode

func (*CreateListContext) EnterRule

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

func (*CreateListContext) ExitRule

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

func (*CreateListContext) GetElems

func (s *CreateListContext) GetElems() IListInitContext

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) ListInit added in v0.14.0

func (s *CreateListContext) ListInit() IListInitContext

func (*CreateListContext) RPRACKET added in v0.10.0

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

func (*CreateListContext) SetElems

func (s *CreateListContext) SetElems(v IListInitContext)

func (*CreateListContext) SetOp

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

type CreateMessageContext

type CreateMessageContext struct {
	*PrimaryContext
	// 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) AllDOT added in v0.13.0

func (s *CreateMessageContext) AllDOT() []antlr.TerminalNode

func (*CreateMessageContext) AllIDENTIFIER added in v0.13.0

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

func (*CreateMessageContext) COMMA added in v0.10.0

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

func (*CreateMessageContext) DOT added in v0.13.0

func (s *CreateMessageContext) DOT(i int) antlr.TerminalNode

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) GetIds added in v0.13.0

func (s *CreateMessageContext) GetIds() []antlr.Token

func (*CreateMessageContext) GetLeadingDot added in v0.13.0

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

func (*CreateMessageContext) GetOp

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

func (*CreateMessageContext) GetOps added in v0.13.0

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

func (*CreateMessageContext) GetRuleContext

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

func (*CreateMessageContext) GetS16 added in v0.14.0

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

func (*CreateMessageContext) Get_IDENTIFIER added in v0.13.0

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

func (*CreateMessageContext) IDENTIFIER added in v0.13.0

func (s *CreateMessageContext) IDENTIFIER(i int) antlr.TerminalNode

func (*CreateMessageContext) LBRACE added in v0.10.0

func (s *CreateMessageContext) LBRACE() antlr.TerminalNode

func (*CreateMessageContext) RBRACE added in v0.10.0

func (s *CreateMessageContext) RBRACE() antlr.TerminalNode

func (*CreateMessageContext) SetEntries

func (*CreateMessageContext) SetIds added in v0.13.0

func (s *CreateMessageContext) SetIds(v []antlr.Token)

func (*CreateMessageContext) SetLeadingDot added in v0.13.0

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

func (*CreateMessageContext) SetOp

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

func (*CreateMessageContext) SetOps added in v0.13.0

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

func (*CreateMessageContext) SetS16 added in v0.14.0

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

func (*CreateMessageContext) Set_IDENTIFIER added in v0.13.0

func (s *CreateMessageContext) Set_IDENTIFIER(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 (s *CreateStructContext) COMMA() antlr.TerminalNode

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 (s *CreateStructContext) LBRACE() antlr.TerminalNode

func (*CreateStructContext) MapInitializerList

func (s *CreateStructContext) MapInitializerList() IMapInitializerListContext

func (*CreateStructContext) RBRACE added in v0.10.0

func (s *CreateStructContext) RBRACE() antlr.TerminalNode

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 (s *FieldInitializerListContext) AllCOLON() []antlr.TerminalNode

func (*FieldInitializerListContext) AllCOMMA added in v0.10.0

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

func (*FieldInitializerListContext) AllExpr

func (*FieldInitializerListContext) AllOptField added in v0.13.0

func (s *FieldInitializerListContext) AllOptField() []IOptFieldContext

func (*FieldInitializerListContext) COLON added in v0.10.0

func (s *FieldInitializerListContext) COLON(i int) antlr.TerminalNode

func (*FieldInitializerListContext) COMMA added in v0.10.0

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

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 (*FieldInitializerListContext) GetParser

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

func (*FieldInitializerListContext) GetRuleContext

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

func (*FieldInitializerListContext) GetS21

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

func (*FieldInitializerListContext) GetValues

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

func (*FieldInitializerListContext) Get_expr

func (*FieldInitializerListContext) Get_optField added in v0.13.0

func (*FieldInitializerListContext) IsFieldInitializerListContext

func (*FieldInitializerListContext) IsFieldInitializerListContext()

func (*FieldInitializerListContext) OptField added in v0.13.0

func (*FieldInitializerListContext) SetCols

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

func (*FieldInitializerListContext) SetFields

func (*FieldInitializerListContext) SetS21

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

func (*FieldInitializerListContext) SetValues

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

func (*FieldInitializerListContext) Set_expr

func (*FieldInitializerListContext) Set_optField added in v0.13.0

func (s *FieldInitializerListContext) Set_optField(v IOptFieldContext)

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)

	// Getter signatures
	Unary() IUnaryContext
	AllCalc() []ICalcContext
	Calc(i int) ICalcContext
	STAR() antlr.TerminalNode
	SLASH() antlr.TerminalNode
	PERCENT() antlr.TerminalNode
	PLUS() antlr.TerminalNode
	MINUS() antlr.TerminalNode

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

	// Getter signatures
	AllRelation() []IRelationContext
	Relation(i int) IRelationContext
	AllLOGICAL_AND() []antlr.TerminalNode
	LOGICAL_AND(i int) antlr.TerminalNode

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

	// Getter signatures
	AllConditionalAnd() []IConditionalAndContext
	ConditionalAnd(i int) IConditionalAndContext
	AllLOGICAL_OR() []antlr.TerminalNode
	LOGICAL_OR(i int) antlr.TerminalNode

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

	// Getter signatures
	AllConditionalOr() []IConditionalOrContext
	ConditionalOr(i int) IConditionalOrContext
	COLON() antlr.TerminalNode
	QUESTIONMARK() antlr.TerminalNode
	Expr() 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)

	// Getter signatures
	AllExpr() []IExprContext
	Expr(i int) IExprContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// 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

	// 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_optField returns the _optField rule contexts.
	Get_optField() IOptFieldContext

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

	// Set_optField sets the _optField rule contexts.
	Set_optField(IOptFieldContext)

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

	// GetFields returns the fields rule context list.
	GetFields() []IOptFieldContext

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

	// SetFields sets the fields rule context list.
	SetFields([]IOptFieldContext)

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

	// Getter signatures
	AllOptField() []IOptFieldContext
	OptField(i int) IOptFieldContext
	AllCOLON() []antlr.TerminalNode
	COLON(i int) antlr.TerminalNode
	AllExpr() []IExprContext
	Expr(i int) IExprContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IFieldInitializerListContext is an interface to support dynamic dispatch.

type IListInitContext added in v0.14.0

type IListInitContext interface {
	antlr.ParserRuleContext

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

	// Get_optExpr returns the _optExpr rule contexts.
	Get_optExpr() IOptExprContext

	// Set_optExpr sets the _optExpr rule contexts.
	Set_optExpr(IOptExprContext)

	// GetElems returns the elems rule context list.
	GetElems() []IOptExprContext

	// SetElems sets the elems rule context list.
	SetElems([]IOptExprContext)

	// Getter signatures
	AllOptExpr() []IOptExprContext
	OptExpr(i int) IOptExprContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

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

IListInitContext 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_optExpr returns the _optExpr rule contexts.
	Get_optExpr() IOptExprContext

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

	// Set_optExpr sets the _optExpr rule contexts.
	Set_optExpr(IOptExprContext)

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

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

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

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

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

	// Getter signatures
	AllOptExpr() []IOptExprContext
	OptExpr(i int) IOptExprContext
	AllCOLON() []antlr.TerminalNode
	COLON(i int) antlr.TerminalNode
	AllExpr() []IExprContext
	Expr(i int) IExprContext
	AllCOMMA() []antlr.TerminalNode
	COMMA(i int) antlr.TerminalNode

	// 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 IOptExprContext added in v0.14.0

type IOptExprContext interface {
	antlr.ParserRuleContext

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

	// GetOpt returns the opt token.
	GetOpt() antlr.Token

	// SetOpt sets the opt token.
	SetOpt(antlr.Token)

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

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

	// Getter signatures
	Expr() IExprContext
	QUESTIONMARK() antlr.TerminalNode

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

IOptExprContext is an interface to support dynamic dispatch.

type IOptFieldContext added in v0.13.0

type IOptFieldContext interface {
	antlr.ParserRuleContext

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

	// GetOpt returns the opt token.
	GetOpt() antlr.Token

	// SetOpt sets the opt token.
	SetOpt(antlr.Token)

	// Getter signatures
	IDENTIFIER() antlr.TerminalNode
	QUESTIONMARK() antlr.TerminalNode

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

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

	// Getter signatures
	Calc() ICalcContext
	AllRelation() []IRelationContext
	Relation(i int) IRelationContext
	LESS() antlr.TerminalNode
	LESS_EQUALS() antlr.TerminalNode
	GREATER_EQUALS() antlr.TerminalNode
	GREATER() antlr.TerminalNode
	EQUALS() antlr.TerminalNode
	NOT_EQUALS() antlr.TerminalNode
	IN() antlr.TerminalNode

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

	// Getter signatures
	EOF() antlr.TerminalNode
	Expr() 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 (s *IdentOrGlobalCallContext) DOT() antlr.TerminalNode

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 (s *IdentOrGlobalCallContext) GetId() antlr.Token

func (*IdentOrGlobalCallContext) GetLeadingDot

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

func (*IdentOrGlobalCallContext) GetOp

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

func (*IdentOrGlobalCallContext) GetRuleContext

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

func (*IdentOrGlobalCallContext) IDENTIFIER

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

func (*IdentOrGlobalCallContext) LPAREN added in v0.10.0

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

func (*IdentOrGlobalCallContext) RPAREN added in v0.10.0

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

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) GetOpt added in v0.14.0

func (s *IndexContext) GetOpt() 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) QUESTIONMARK added in v0.14.0

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

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)

func (*IndexContext) SetOpt added in v0.14.0

func (s *IndexContext) SetOpt(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 ListInitContext added in v0.14.0

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

func NewEmptyListInitContext added in v0.14.0

func NewEmptyListInitContext() *ListInitContext

func NewListInitContext added in v0.14.0

func NewListInitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListInitContext

func (*ListInitContext) Accept added in v0.14.0

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

func (*ListInitContext) AllCOMMA added in v0.14.0

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

func (*ListInitContext) AllOptExpr added in v0.14.0

func (s *ListInitContext) AllOptExpr() []IOptExprContext

func (*ListInitContext) COMMA added in v0.14.0

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

func (*ListInitContext) EnterRule added in v0.14.0

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

func (*ListInitContext) ExitRule added in v0.14.0

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

func (*ListInitContext) GetElems added in v0.14.0

func (s *ListInitContext) GetElems() []IOptExprContext

func (*ListInitContext) GetParser added in v0.14.0

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

func (*ListInitContext) GetRuleContext added in v0.14.0

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

func (*ListInitContext) Get_optExpr added in v0.14.0

func (s *ListInitContext) Get_optExpr() IOptExprContext

func (*ListInitContext) IsListInitContext added in v0.14.0

func (*ListInitContext) IsListInitContext()

func (*ListInitContext) OptExpr added in v0.14.0

func (s *ListInitContext) OptExpr(i int) IOptExprContext

func (*ListInitContext) SetElems added in v0.14.0

func (s *ListInitContext) SetElems(v []IOptExprContext)

func (*ListInitContext) Set_optExpr added in v0.14.0

func (s *ListInitContext) Set_optExpr(v IOptExprContext)

func (*ListInitContext) ToStringTree added in v0.14.0

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

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 (s *MapInitializerListContext) AllCOLON() []antlr.TerminalNode

func (*MapInitializerListContext) AllCOMMA added in v0.10.0

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

func (*MapInitializerListContext) AllExpr

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

func (*MapInitializerListContext) AllOptExpr added in v0.14.0

func (s *MapInitializerListContext) AllOptExpr() []IOptExprContext

func (*MapInitializerListContext) COLON added in v0.10.0

func (s *MapInitializerListContext) COLON(i int) antlr.TerminalNode

func (*MapInitializerListContext) COMMA added in v0.10.0

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

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 (*MapInitializerListContext) GetParser

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

func (*MapInitializerListContext) GetRuleContext

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

func (*MapInitializerListContext) GetS21

func (s *MapInitializerListContext) GetS21() antlr.Token

func (*MapInitializerListContext) GetValues

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

func (*MapInitializerListContext) Get_expr

func (*MapInitializerListContext) Get_optExpr added in v0.14.0

func (s *MapInitializerListContext) Get_optExpr() IOptExprContext

func (*MapInitializerListContext) IsMapInitializerListContext

func (*MapInitializerListContext) IsMapInitializerListContext()

func (*MapInitializerListContext) OptExpr added in v0.14.0

func (*MapInitializerListContext) SetCols

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

func (*MapInitializerListContext) SetKeys

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) Set_optExpr added in v0.14.0

func (s *MapInitializerListContext) Set_optExpr(v IOptExprContext)

func (*MapInitializerListContext) ToStringTree

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

type MemberCallContext added in v0.13.0

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

func NewMemberCallContext added in v0.13.0

func NewMemberCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberCallContext

func (*MemberCallContext) Accept added in v0.13.0

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

func (*MemberCallContext) DOT added in v0.13.0

func (s *MemberCallContext) DOT() antlr.TerminalNode

func (*MemberCallContext) EnterRule added in v0.13.0

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

func (*MemberCallContext) ExitRule added in v0.13.0

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

func (*MemberCallContext) ExprList added in v0.13.0

func (s *MemberCallContext) ExprList() IExprListContext

func (*MemberCallContext) GetArgs added in v0.13.0

func (s *MemberCallContext) GetArgs() IExprListContext

func (*MemberCallContext) GetId added in v0.13.0

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

func (*MemberCallContext) GetOp added in v0.13.0

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

func (*MemberCallContext) GetOpen added in v0.13.0

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

func (*MemberCallContext) GetRuleContext added in v0.13.0

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

func (*MemberCallContext) IDENTIFIER added in v0.13.0

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

func (*MemberCallContext) LPAREN added in v0.13.0

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

func (*MemberCallContext) Member added in v0.13.0

func (s *MemberCallContext) Member() IMemberContext

func (*MemberCallContext) RPAREN added in v0.13.0

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

func (*MemberCallContext) SetArgs added in v0.13.0

func (s *MemberCallContext) SetArgs(v IExprListContext)

func (*MemberCallContext) SetId added in v0.13.0

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

func (*MemberCallContext) SetOp added in v0.13.0

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

func (*MemberCallContext) SetOpen added in v0.13.0

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

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 OptExprContext added in v0.14.0

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

func NewEmptyOptExprContext added in v0.14.0

func NewEmptyOptExprContext() *OptExprContext

func NewOptExprContext added in v0.14.0

func NewOptExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OptExprContext

func (*OptExprContext) Accept added in v0.14.0

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

func (*OptExprContext) EnterRule added in v0.14.0

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

func (*OptExprContext) ExitRule added in v0.14.0

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

func (*OptExprContext) Expr added in v0.14.0

func (s *OptExprContext) Expr() IExprContext

func (*OptExprContext) GetE added in v0.14.0

func (s *OptExprContext) GetE() IExprContext

func (*OptExprContext) GetOpt added in v0.14.0

func (s *OptExprContext) GetOpt() antlr.Token

func (*OptExprContext) GetParser added in v0.14.0

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

func (*OptExprContext) GetRuleContext added in v0.14.0

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

func (*OptExprContext) IsOptExprContext added in v0.14.0

func (*OptExprContext) IsOptExprContext()

func (*OptExprContext) QUESTIONMARK added in v0.14.0

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

func (*OptExprContext) SetE added in v0.14.0

func (s *OptExprContext) SetE(v IExprContext)

func (*OptExprContext) SetOpt added in v0.14.0

func (s *OptExprContext) SetOpt(v antlr.Token)

func (*OptExprContext) ToStringTree added in v0.14.0

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

type OptFieldContext added in v0.13.0

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

func NewEmptyOptFieldContext added in v0.13.0

func NewEmptyOptFieldContext() *OptFieldContext

func NewOptFieldContext added in v0.13.0

func NewOptFieldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OptFieldContext

func (*OptFieldContext) Accept added in v0.13.0

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

func (*OptFieldContext) EnterRule added in v0.13.0

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

func (*OptFieldContext) ExitRule added in v0.13.0

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

func (*OptFieldContext) GetOpt added in v0.13.0

func (s *OptFieldContext) GetOpt() antlr.Token

func (*OptFieldContext) GetParser added in v0.13.0

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

func (*OptFieldContext) GetRuleContext added in v0.13.0

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

func (*OptFieldContext) IDENTIFIER added in v0.13.0

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

func (*OptFieldContext) IsOptFieldContext added in v0.13.0

func (*OptFieldContext) IsOptFieldContext()

func (*OptFieldContext) QUESTIONMARK added in v0.13.0

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

func (*OptFieldContext) SetOpt added in v0.13.0

func (s *OptFieldContext) SetOpt(v antlr.Token)

func (*OptFieldContext) ToStringTree added in v0.13.0

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

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 (s *RelationContext) IN() antlr.TerminalNode

func (*RelationContext) IsRelationContext

func (*RelationContext) IsRelationContext()

func (*RelationContext) LESS added in v0.10.0

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

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 SelectContext added in v0.13.0

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

func NewSelectContext added in v0.13.0

func NewSelectContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SelectContext

func (*SelectContext) Accept added in v0.13.0

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

func (*SelectContext) DOT added in v0.13.0

func (s *SelectContext) DOT() antlr.TerminalNode

func (*SelectContext) EnterRule added in v0.13.0

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

func (*SelectContext) ExitRule added in v0.13.0

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

func (*SelectContext) GetId added in v0.13.0

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

func (*SelectContext) GetOp added in v0.13.0

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

func (*SelectContext) GetOpt added in v0.14.0

func (s *SelectContext) GetOpt() antlr.Token

func (*SelectContext) GetRuleContext added in v0.13.0

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

func (*SelectContext) IDENTIFIER added in v0.13.0

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

func (*SelectContext) Member added in v0.13.0

func (s *SelectContext) Member() IMemberContext

func (*SelectContext) QUESTIONMARK added in v0.14.0

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

func (*SelectContext) SetId added in v0.13.0

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

func (*SelectContext) SetOp added in v0.13.0

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

func (*SelectContext) SetOpt added in v0.14.0

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