gen

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExprLexerT__0                 = 1
	ExprLexerT__1                 = 2
	ExprLexerT__2                 = 3
	ExprLexerT__3                 = 4
	ExprLexerT__4                 = 5
	ExprLexerT__5                 = 6
	ExprLexerT__6                 = 7
	ExprLexerT__7                 = 8
	ExprLexerT__8                 = 9
	ExprLexerT__9                 = 10
	ExprLexerT__10                = 11
	ExprLexerT__11                = 12
	ExprLexerT__12                = 13
	ExprLexerT__13                = 14
	ExprLexerOpenBracket          = 15
	ExprLexerCloseBracket         = 16
	ExprLexerOpenParen            = 17
	ExprLexerCloseParen           = 18
	ExprLexerOpenBrace            = 19
	ExprLexerCloseBrace           = 20
	ExprLexerSemiColon            = 21
	ExprLexerComma                = 22
	ExprLexerAssign               = 23
	ExprLexerQuestionMark         = 24
	ExprLexerColon                = 25
	ExprLexerDot                  = 26
	ExprLexerPlus                 = 27
	ExprLexerMinus                = 28
	ExprLexerNegate               = 29
	ExprLexerNot                  = 30
	ExprLexerNil                  = 31
	ExprLexerMultiply             = 32
	ExprLexerExponent             = 33
	ExprLexerDivide               = 34
	ExprLexerModulus              = 35
	ExprLexerRightShiftArithmetic = 36
	ExprLexerLeftShiftArithmetic  = 37
	ExprLexerLessThan             = 38
	ExprLexerMoreThan             = 39
	ExprLexerLessThanEquals       = 40
	ExprLexerGreaterThanEquals    = 41
	ExprLexerEquals               = 42
	ExprLexerNotEquals            = 43
	ExprLexerPointer              = 44
	ExprLexerAnd                  = 45
	ExprLexerOr                   = 46
	ExprLexerBuiltins             = 47
	ExprLexerOps                  = 48
	ExprLexerBooleanLiteral       = 49
	ExprLexerIntegerLiteral       = 50
	ExprLexerFloatLiteral         = 51
	ExprLexerHexIntegerLiteral    = 52
	ExprLexerIdentifier           = 53
	ExprLexerStringLiteral        = 54
	ExprLexerWhiteSpaces          = 55
	ExprLexerMultiLineComment     = 56
	ExprLexerSingleLineComment    = 57
	ExprLexerLineTerminator       = 58
	ExprLexerUnexpectedCharacter  = 59
)

ExprLexer tokens.

View Source
const (
	ExprParserEOF                  = antlr.TokenEOF
	ExprParserT__0                 = 1
	ExprParserT__1                 = 2
	ExprParserT__2                 = 3
	ExprParserT__3                 = 4
	ExprParserT__4                 = 5
	ExprParserT__5                 = 6
	ExprParserT__6                 = 7
	ExprParserT__7                 = 8
	ExprParserT__8                 = 9
	ExprParserT__9                 = 10
	ExprParserT__10                = 11
	ExprParserT__11                = 12
	ExprParserT__12                = 13
	ExprParserT__13                = 14
	ExprParserOpenBracket          = 15
	ExprParserCloseBracket         = 16
	ExprParserOpenParen            = 17
	ExprParserCloseParen           = 18
	ExprParserOpenBrace            = 19
	ExprParserCloseBrace           = 20
	ExprParserSemiColon            = 21
	ExprParserComma                = 22
	ExprParserAssign               = 23
	ExprParserQuestionMark         = 24
	ExprParserColon                = 25
	ExprParserDot                  = 26
	ExprParserPlus                 = 27
	ExprParserMinus                = 28
	ExprParserNegate               = 29
	ExprParserNot                  = 30
	ExprParserNil                  = 31
	ExprParserMultiply             = 32
	ExprParserExponent             = 33
	ExprParserDivide               = 34
	ExprParserModulus              = 35
	ExprParserRightShiftArithmetic = 36
	ExprParserLeftShiftArithmetic  = 37
	ExprParserLessThan             = 38
	ExprParserMoreThan             = 39
	ExprParserLessThanEquals       = 40
	ExprParserGreaterThanEquals    = 41
	ExprParserEquals               = 42
	ExprParserNotEquals            = 43
	ExprParserPointer              = 44
	ExprParserAnd                  = 45
	ExprParserOr                   = 46
	ExprParserBuiltins             = 47
	ExprParserOps                  = 48
	ExprParserBooleanLiteral       = 49
	ExprParserIntegerLiteral       = 50
	ExprParserFloatLiteral         = 51
	ExprParserHexIntegerLiteral    = 52
	ExprParserIdentifier           = 53
	ExprParserStringLiteral        = 54
	ExprParserWhiteSpaces          = 55
	ExprParserMultiLineComment     = 56
	ExprParserSingleLineComment    = 57
	ExprParserLineTerminator       = 58
	ExprParserUnexpectedCharacter  = 59
)

ExprParser tokens.

View Source
const (
	ExprParserRULE_start                    = 0
	ExprParserRULE_expr                     = 1
	ExprParserRULE_builtins                 = 2
	ExprParserRULE_closure                  = 3
	ExprParserRULE_arguments                = 4
	ExprParserRULE_arrayLiteral             = 5
	ExprParserRULE_mapLiteral               = 6
	ExprParserRULE_propertyNameAndValueList = 7
	ExprParserRULE_propertyAssignment       = 8
	ExprParserRULE_propertyName             = 9
)

ExprParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgumentsContext

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

func NewArgumentsContext

func NewArgumentsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentsContext

func NewEmptyArgumentsContext

func NewEmptyArgumentsContext() *ArgumentsContext

func (*ArgumentsContext) Accept

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

func (*ArgumentsContext) AllComma

func (s *ArgumentsContext) AllComma() []antlr.TerminalNode

func (*ArgumentsContext) AllExpr

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

func (*ArgumentsContext) Comma

func (s *ArgumentsContext) Comma(i int) antlr.TerminalNode

func (*ArgumentsContext) EnterRule

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

func (*ArgumentsContext) ExitRule

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

func (*ArgumentsContext) Expr

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

func (*ArgumentsContext) GetList

func (s *ArgumentsContext) GetList() []IExprContext

func (*ArgumentsContext) GetParser

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

func (*ArgumentsContext) GetRuleContext

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

func (*ArgumentsContext) Get_expr

func (s *ArgumentsContext) Get_expr() IExprContext

func (*ArgumentsContext) IsArgumentsContext

func (*ArgumentsContext) IsArgumentsContext()

func (*ArgumentsContext) SetList

func (s *ArgumentsContext) SetList(v []IExprContext)

func (*ArgumentsContext) Set_expr

func (s *ArgumentsContext) Set_expr(v IExprContext)

func (*ArgumentsContext) ToStringTree

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

type ArrayContext

type ArrayContext struct {
	*ExprContext
}

func NewArrayContext

func NewArrayContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ArrayContext

func (*ArrayContext) Accept

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

func (*ArrayContext) ArrayLiteral

func (s *ArrayContext) ArrayLiteral() IArrayLiteralContext

func (*ArrayContext) EnterRule

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

func (*ArrayContext) ExitRule

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

func (*ArrayContext) GetRuleContext

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

type ArrayLiteralContext

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

func NewArrayLiteralContext

func NewArrayLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArrayLiteralContext

func NewEmptyArrayLiteralContext

func NewEmptyArrayLiteralContext() *ArrayLiteralContext

func (*ArrayLiteralContext) Accept

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

func (*ArrayLiteralContext) AllComma

func (s *ArrayLiteralContext) AllComma() []antlr.TerminalNode

func (*ArrayLiteralContext) AllExpr

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

func (*ArrayLiteralContext) CloseBracket

func (s *ArrayLiteralContext) CloseBracket() antlr.TerminalNode

func (*ArrayLiteralContext) Comma

func (*ArrayLiteralContext) EnterRule

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

func (*ArrayLiteralContext) ExitRule

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

func (*ArrayLiteralContext) Expr

func (*ArrayLiteralContext) GetList

func (s *ArrayLiteralContext) GetList() []IExprContext

func (*ArrayLiteralContext) GetParser

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

func (*ArrayLiteralContext) GetRuleContext

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

func (*ArrayLiteralContext) Get_expr

func (s *ArrayLiteralContext) Get_expr() IExprContext

func (*ArrayLiteralContext) IsArrayLiteralContext

func (*ArrayLiteralContext) IsArrayLiteralContext()

func (*ArrayLiteralContext) OpenBracket

func (s *ArrayLiteralContext) OpenBracket() antlr.TerminalNode

func (*ArrayLiteralContext) SetList

func (s *ArrayLiteralContext) SetList(v []IExprContext)

func (*ArrayLiteralContext) Set_expr

func (s *ArrayLiteralContext) Set_expr(v IExprContext)

func (*ArrayLiteralContext) ToStringTree

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

type BaseExprListener

type BaseExprListener struct{}

BaseExprListener is a complete listener for a parse tree produced by ExprParser.

func (*BaseExprListener) EnterArguments

func (s *BaseExprListener) EnterArguments(ctx *ArgumentsContext)

EnterArguments is called when production arguments is entered.

func (*BaseExprListener) EnterArray

func (s *BaseExprListener) EnterArray(ctx *ArrayContext)

EnterArray is called when production Array is entered.

func (*BaseExprListener) EnterArrayLiteral

func (s *BaseExprListener) EnterArrayLiteral(ctx *ArrayLiteralContext)

EnterArrayLiteral is called when production arrayLiteral is entered.

func (*BaseExprListener) EnterBinary

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

EnterBinary is called when production Binary is entered.

func (*BaseExprListener) EnterBoolean

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

EnterBoolean is called when production Boolean is entered.

func (*BaseExprListener) EnterBuiltin

func (s *BaseExprListener) EnterBuiltin(ctx *BuiltinContext)

EnterBuiltin is called when production Builtin is entered.

func (*BaseExprListener) EnterBuiltinLen

func (s *BaseExprListener) EnterBuiltinLen(ctx *BuiltinLenContext)

EnterBuiltinLen is called when production BuiltinLen is entered.

func (*BaseExprListener) EnterBuiltinsList

func (s *BaseExprListener) EnterBuiltinsList(ctx *BuiltinsListContext)

EnterBuiltinsList is called when production BuiltinsList is entered.

func (*BaseExprListener) EnterCall

func (s *BaseExprListener) EnterCall(ctx *CallContext)

EnterCall is called when production Call is entered.

func (*BaseExprListener) EnterClosure

func (s *BaseExprListener) EnterClosure(ctx *ClosureContext)

EnterClosure is called when production closure is entered.

func (*BaseExprListener) EnterClosureMemberDot

func (s *BaseExprListener) EnterClosureMemberDot(ctx *ClosureMemberDotContext)

EnterClosureMemberDot is called when production ClosureMemberDot is entered.

func (*BaseExprListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BaseExprListener) EnterFloat

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

EnterFloat is called when production Float is entered.

func (*BaseExprListener) EnterIdentifier

func (s *BaseExprListener) EnterIdentifier(ctx *IdentifierContext)

EnterIdentifier is called when production Identifier is entered.

func (*BaseExprListener) EnterInteger

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

EnterInteger is called when production Integer is entered.

func (*BaseExprListener) EnterMap

func (s *BaseExprListener) EnterMap(ctx *MapContext)

EnterMap is called when production Map is entered.

func (*BaseExprListener) EnterMapLiteral

func (s *BaseExprListener) EnterMapLiteral(ctx *MapLiteralContext)

EnterMapLiteral is called when production mapLiteral is entered.

func (*BaseExprListener) EnterMatches

func (s *BaseExprListener) EnterMatches(ctx *MatchesContext)

EnterMatches is called when production Matches is entered.

func (*BaseExprListener) EnterMemberDot

func (s *BaseExprListener) EnterMemberDot(ctx *MemberDotContext)

EnterMemberDot is called when production MemberDot is entered.

func (*BaseExprListener) EnterMemberIndex

func (s *BaseExprListener) EnterMemberIndex(ctx *MemberIndexContext)

EnterMemberIndex is called when production MemberIndex is entered.

func (*BaseExprListener) EnterNil

func (s *BaseExprListener) EnterNil(ctx *NilContext)

EnterNil is called when production Nil is entered.

func (*BaseExprListener) EnterParenthesized

func (s *BaseExprListener) EnterParenthesized(ctx *ParenthesizedContext)

EnterParenthesized is called when production Parenthesized is entered.

func (*BaseExprListener) EnterPointer

func (s *BaseExprListener) EnterPointer(ctx *PointerContext)

EnterPointer is called when production Pointer is entered.

func (*BaseExprListener) EnterPropertyAssignment

func (s *BaseExprListener) EnterPropertyAssignment(ctx *PropertyAssignmentContext)

EnterPropertyAssignment is called when production propertyAssignment is entered.

func (*BaseExprListener) EnterPropertyName

func (s *BaseExprListener) EnterPropertyName(ctx *PropertyNameContext)

EnterPropertyName is called when production propertyName is entered.

func (*BaseExprListener) EnterPropertyNameAndValueList

func (s *BaseExprListener) EnterPropertyNameAndValueList(ctx *PropertyNameAndValueListContext)

EnterPropertyNameAndValueList is called when production propertyNameAndValueList is entered.

func (*BaseExprListener) EnterSlice

func (s *BaseExprListener) EnterSlice(ctx *SliceContext)

EnterSlice is called when production Slice is entered.

func (*BaseExprListener) EnterStart

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

EnterStart is called when production start is entered.

func (*BaseExprListener) EnterString

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

EnterString is called when production String is entered.

func (*BaseExprListener) EnterTernary

func (s *BaseExprListener) EnterTernary(ctx *TernaryContext)

EnterTernary is called when production Ternary is entered.

func (*BaseExprListener) EnterUnary

func (s *BaseExprListener) EnterUnary(ctx *UnaryContext)

EnterUnary is called when production Unary is entered.

func (*BaseExprListener) ExitArguments

func (s *BaseExprListener) ExitArguments(ctx *ArgumentsContext)

ExitArguments is called when production arguments is exited.

func (*BaseExprListener) ExitArray

func (s *BaseExprListener) ExitArray(ctx *ArrayContext)

ExitArray is called when production Array is exited.

func (*BaseExprListener) ExitArrayLiteral

func (s *BaseExprListener) ExitArrayLiteral(ctx *ArrayLiteralContext)

ExitArrayLiteral is called when production arrayLiteral is exited.

func (*BaseExprListener) ExitBinary

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

ExitBinary is called when production Binary is exited.

func (*BaseExprListener) ExitBoolean

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

ExitBoolean is called when production Boolean is exited.

func (*BaseExprListener) ExitBuiltin

func (s *BaseExprListener) ExitBuiltin(ctx *BuiltinContext)

ExitBuiltin is called when production Builtin is exited.

func (*BaseExprListener) ExitBuiltinLen

func (s *BaseExprListener) ExitBuiltinLen(ctx *BuiltinLenContext)

ExitBuiltinLen is called when production BuiltinLen is exited.

func (*BaseExprListener) ExitBuiltinsList

func (s *BaseExprListener) ExitBuiltinsList(ctx *BuiltinsListContext)

ExitBuiltinsList is called when production BuiltinsList is exited.

func (*BaseExprListener) ExitCall

func (s *BaseExprListener) ExitCall(ctx *CallContext)

ExitCall is called when production Call is exited.

func (*BaseExprListener) ExitClosure

func (s *BaseExprListener) ExitClosure(ctx *ClosureContext)

ExitClosure is called when production closure is exited.

func (*BaseExprListener) ExitClosureMemberDot

func (s *BaseExprListener) ExitClosureMemberDot(ctx *ClosureMemberDotContext)

ExitClosureMemberDot is called when production ClosureMemberDot is exited.

func (*BaseExprListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BaseExprListener) ExitFloat

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

ExitFloat is called when production Float is exited.

func (*BaseExprListener) ExitIdentifier

func (s *BaseExprListener) ExitIdentifier(ctx *IdentifierContext)

ExitIdentifier is called when production Identifier is exited.

func (*BaseExprListener) ExitInteger

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

ExitInteger is called when production Integer is exited.

func (*BaseExprListener) ExitMap

func (s *BaseExprListener) ExitMap(ctx *MapContext)

ExitMap is called when production Map is exited.

func (*BaseExprListener) ExitMapLiteral

func (s *BaseExprListener) ExitMapLiteral(ctx *MapLiteralContext)

ExitMapLiteral is called when production mapLiteral is exited.

func (*BaseExprListener) ExitMatches

func (s *BaseExprListener) ExitMatches(ctx *MatchesContext)

ExitMatches is called when production Matches is exited.

func (*BaseExprListener) ExitMemberDot

func (s *BaseExprListener) ExitMemberDot(ctx *MemberDotContext)

ExitMemberDot is called when production MemberDot is exited.

func (*BaseExprListener) ExitMemberIndex

func (s *BaseExprListener) ExitMemberIndex(ctx *MemberIndexContext)

ExitMemberIndex is called when production MemberIndex is exited.

func (*BaseExprListener) ExitNil

func (s *BaseExprListener) ExitNil(ctx *NilContext)

ExitNil is called when production Nil is exited.

func (*BaseExprListener) ExitParenthesized

func (s *BaseExprListener) ExitParenthesized(ctx *ParenthesizedContext)

ExitParenthesized is called when production Parenthesized is exited.

func (*BaseExprListener) ExitPointer

func (s *BaseExprListener) ExitPointer(ctx *PointerContext)

ExitPointer is called when production Pointer is exited.

func (*BaseExprListener) ExitPropertyAssignment

func (s *BaseExprListener) ExitPropertyAssignment(ctx *PropertyAssignmentContext)

ExitPropertyAssignment is called when production propertyAssignment is exited.

func (*BaseExprListener) ExitPropertyName

func (s *BaseExprListener) ExitPropertyName(ctx *PropertyNameContext)

ExitPropertyName is called when production propertyName is exited.

func (*BaseExprListener) ExitPropertyNameAndValueList

func (s *BaseExprListener) ExitPropertyNameAndValueList(ctx *PropertyNameAndValueListContext)

ExitPropertyNameAndValueList is called when production propertyNameAndValueList is exited.

func (*BaseExprListener) ExitSlice

func (s *BaseExprListener) ExitSlice(ctx *SliceContext)

ExitSlice is called when production Slice is exited.

func (*BaseExprListener) ExitStart

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

ExitStart is called when production start is exited.

func (*BaseExprListener) ExitString

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

ExitString is called when production String is exited.

func (*BaseExprListener) ExitTernary

func (s *BaseExprListener) ExitTernary(ctx *TernaryContext)

ExitTernary is called when production Ternary is exited.

func (*BaseExprListener) ExitUnary

func (s *BaseExprListener) ExitUnary(ctx *UnaryContext)

ExitUnary is called when production Unary is exited.

func (*BaseExprListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BaseExprListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BaseExprVisitor

type BaseExprVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseExprVisitor) VisitArguments

func (v *BaseExprVisitor) VisitArguments(ctx *ArgumentsContext) interface{}

func (*BaseExprVisitor) VisitArray

func (v *BaseExprVisitor) VisitArray(ctx *ArrayContext) interface{}

func (*BaseExprVisitor) VisitArrayLiteral

func (v *BaseExprVisitor) VisitArrayLiteral(ctx *ArrayLiteralContext) interface{}

func (*BaseExprVisitor) VisitBinary

func (v *BaseExprVisitor) VisitBinary(ctx *BinaryContext) interface{}

func (*BaseExprVisitor) VisitBoolean

func (v *BaseExprVisitor) VisitBoolean(ctx *BooleanContext) interface{}

func (*BaseExprVisitor) VisitBuiltin

func (v *BaseExprVisitor) VisitBuiltin(ctx *BuiltinContext) interface{}

func (*BaseExprVisitor) VisitBuiltinLen

func (v *BaseExprVisitor) VisitBuiltinLen(ctx *BuiltinLenContext) interface{}

func (*BaseExprVisitor) VisitBuiltinsList

func (v *BaseExprVisitor) VisitBuiltinsList(ctx *BuiltinsListContext) interface{}

func (*BaseExprVisitor) VisitCall

func (v *BaseExprVisitor) VisitCall(ctx *CallContext) interface{}

func (*BaseExprVisitor) VisitClosure

func (v *BaseExprVisitor) VisitClosure(ctx *ClosureContext) interface{}

func (*BaseExprVisitor) VisitClosureMemberDot

func (v *BaseExprVisitor) VisitClosureMemberDot(ctx *ClosureMemberDotContext) interface{}

func (*BaseExprVisitor) VisitFloat

func (v *BaseExprVisitor) VisitFloat(ctx *FloatContext) interface{}

func (*BaseExprVisitor) VisitIdentifier

func (v *BaseExprVisitor) VisitIdentifier(ctx *IdentifierContext) interface{}

func (*BaseExprVisitor) VisitInteger

func (v *BaseExprVisitor) VisitInteger(ctx *IntegerContext) interface{}

func (*BaseExprVisitor) VisitMap

func (v *BaseExprVisitor) VisitMap(ctx *MapContext) interface{}

func (*BaseExprVisitor) VisitMapLiteral

func (v *BaseExprVisitor) VisitMapLiteral(ctx *MapLiteralContext) interface{}

func (*BaseExprVisitor) VisitMatches

func (v *BaseExprVisitor) VisitMatches(ctx *MatchesContext) interface{}

func (*BaseExprVisitor) VisitMemberDot

func (v *BaseExprVisitor) VisitMemberDot(ctx *MemberDotContext) interface{}

func (*BaseExprVisitor) VisitMemberIndex

func (v *BaseExprVisitor) VisitMemberIndex(ctx *MemberIndexContext) interface{}

func (*BaseExprVisitor) VisitNil

func (v *BaseExprVisitor) VisitNil(ctx *NilContext) interface{}

func (*BaseExprVisitor) VisitParenthesized

func (v *BaseExprVisitor) VisitParenthesized(ctx *ParenthesizedContext) interface{}

func (*BaseExprVisitor) VisitPointer

func (v *BaseExprVisitor) VisitPointer(ctx *PointerContext) interface{}

func (*BaseExprVisitor) VisitPropertyAssignment

func (v *BaseExprVisitor) VisitPropertyAssignment(ctx *PropertyAssignmentContext) interface{}

func (*BaseExprVisitor) VisitPropertyName

func (v *BaseExprVisitor) VisitPropertyName(ctx *PropertyNameContext) interface{}

func (*BaseExprVisitor) VisitPropertyNameAndValueList

func (v *BaseExprVisitor) VisitPropertyNameAndValueList(ctx *PropertyNameAndValueListContext) interface{}

func (*BaseExprVisitor) VisitSlice

func (v *BaseExprVisitor) VisitSlice(ctx *SliceContext) interface{}

func (*BaseExprVisitor) VisitStart

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

func (*BaseExprVisitor) VisitString

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

func (*BaseExprVisitor) VisitTernary

func (v *BaseExprVisitor) VisitTernary(ctx *TernaryContext) interface{}

func (*BaseExprVisitor) VisitUnary

func (v *BaseExprVisitor) VisitUnary(ctx *UnaryContext) interface{}

type BinaryContext

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

func NewBinaryContext

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

func (*BinaryContext) Accept

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

func (*BinaryContext) AllExpr

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

func (*BinaryContext) And

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

func (*BinaryContext) Divide

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

func (*BinaryContext) EnterRule

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

func (*BinaryContext) Equals

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

func (*BinaryContext) ExitRule

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

func (*BinaryContext) Exponent

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

func (*BinaryContext) Expr

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

func (*BinaryContext) GetOp

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

func (*BinaryContext) GetRuleContext

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

func (*BinaryContext) GreaterThanEquals

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

func (*BinaryContext) LessThan

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

func (*BinaryContext) LessThanEquals

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

func (*BinaryContext) Minus

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

func (*BinaryContext) Modulus

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

func (*BinaryContext) MoreThan

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

func (*BinaryContext) Multiply

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

func (*BinaryContext) NotEquals

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

func (*BinaryContext) Or

func (*BinaryContext) Plus

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

func (*BinaryContext) SetOp

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

type BooleanContext

type BooleanContext struct {
	*ExprContext
}

func NewBooleanContext

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

func (*BooleanContext) Accept

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

func (*BooleanContext) BooleanLiteral

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

func (*BooleanContext) EnterRule

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

func (*BooleanContext) ExitRule

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

func (*BooleanContext) GetRuleContext

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

type BuiltinContext

type BuiltinContext struct {
	*BuiltinsContext
	// contains filtered or unexported fields
}

func NewBuiltinContext

func NewBuiltinContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BuiltinContext

func (*BuiltinContext) Accept

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

func (*BuiltinContext) CloseParen

func (s *BuiltinContext) CloseParen() antlr.TerminalNode

func (*BuiltinContext) Closure

func (s *BuiltinContext) Closure() IClosureContext

func (*BuiltinContext) Comma

func (s *BuiltinContext) Comma() antlr.TerminalNode

func (*BuiltinContext) EnterRule

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

func (*BuiltinContext) ExitRule

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

func (*BuiltinContext) Expr

func (s *BuiltinContext) Expr() IExprContext

func (*BuiltinContext) GetC

func (s *BuiltinContext) GetC() IClosureContext

func (*BuiltinContext) GetE

func (s *BuiltinContext) GetE() IExprContext

func (*BuiltinContext) GetName

func (s *BuiltinContext) GetName() antlr.Token

func (*BuiltinContext) GetRuleContext

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

func (*BuiltinContext) OpenParen

func (s *BuiltinContext) OpenParen() antlr.TerminalNode

func (*BuiltinContext) SetC

func (s *BuiltinContext) SetC(v IClosureContext)

func (*BuiltinContext) SetE

func (s *BuiltinContext) SetE(v IExprContext)

func (*BuiltinContext) SetName

func (s *BuiltinContext) SetName(v antlr.Token)

type BuiltinLenContext

type BuiltinLenContext struct {
	*BuiltinsContext
	// contains filtered or unexported fields
}

func NewBuiltinLenContext

func NewBuiltinLenContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BuiltinLenContext

func (*BuiltinLenContext) Accept

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

func (*BuiltinLenContext) CloseParen

func (s *BuiltinLenContext) CloseParen() antlr.TerminalNode

func (*BuiltinLenContext) EnterRule

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

func (*BuiltinLenContext) ExitRule

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

func (*BuiltinLenContext) Expr

func (s *BuiltinLenContext) Expr() IExprContext

func (*BuiltinLenContext) GetE

func (s *BuiltinLenContext) GetE() IExprContext

func (*BuiltinLenContext) GetName

func (s *BuiltinLenContext) GetName() antlr.Token

func (*BuiltinLenContext) GetRuleContext

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

func (*BuiltinLenContext) OpenParen

func (s *BuiltinLenContext) OpenParen() antlr.TerminalNode

func (*BuiltinLenContext) SetE

func (s *BuiltinLenContext) SetE(v IExprContext)

func (*BuiltinLenContext) SetName

func (s *BuiltinLenContext) SetName(v antlr.Token)

type BuiltinsContext

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

func NewBuiltinsContext

func NewBuiltinsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BuiltinsContext

func NewEmptyBuiltinsContext

func NewEmptyBuiltinsContext() *BuiltinsContext

func (*BuiltinsContext) CopyFrom

func (s *BuiltinsContext) CopyFrom(ctx *BuiltinsContext)

func (*BuiltinsContext) GetParser

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

func (*BuiltinsContext) GetRuleContext

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

func (*BuiltinsContext) IsBuiltinsContext

func (*BuiltinsContext) IsBuiltinsContext()

func (*BuiltinsContext) ToStringTree

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

type BuiltinsListContext

type BuiltinsListContext struct {
	*ExprContext
}

func NewBuiltinsListContext

func NewBuiltinsListContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *BuiltinsListContext

func (*BuiltinsListContext) Accept

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

func (*BuiltinsListContext) Builtins

func (s *BuiltinsListContext) Builtins() IBuiltinsContext

func (*BuiltinsListContext) EnterRule

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

func (*BuiltinsListContext) ExitRule

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

func (*BuiltinsListContext) GetRuleContext

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

type CallContext

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

func NewCallContext

func NewCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CallContext

func (*CallContext) Accept

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

func (*CallContext) Arguments

func (s *CallContext) Arguments() IArgumentsContext

func (*CallContext) CloseParen

func (s *CallContext) CloseParen() antlr.TerminalNode

func (*CallContext) EnterRule

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

func (*CallContext) ExitRule

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

func (*CallContext) Expr

func (s *CallContext) Expr() IExprContext

func (*CallContext) GetArgs

func (s *CallContext) GetArgs() IArgumentsContext

func (*CallContext) GetRuleContext

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

func (*CallContext) OpenParen

func (s *CallContext) OpenParen() antlr.TerminalNode

func (*CallContext) SetArgs

func (s *CallContext) SetArgs(v IArgumentsContext)

type ClosureContext

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

func NewClosureContext

func NewClosureContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ClosureContext

func NewEmptyClosureContext

func NewEmptyClosureContext() *ClosureContext

func (*ClosureContext) Accept

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

func (*ClosureContext) CloseBrace

func (s *ClosureContext) CloseBrace() antlr.TerminalNode

func (*ClosureContext) EnterRule

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

func (*ClosureContext) ExitRule

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

func (*ClosureContext) Expr

func (s *ClosureContext) Expr() IExprContext

func (*ClosureContext) GetBody

func (s *ClosureContext) GetBody() IExprContext

func (*ClosureContext) GetParser

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

func (*ClosureContext) GetRuleContext

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

func (*ClosureContext) IsClosureContext

func (*ClosureContext) IsClosureContext()

func (*ClosureContext) OpenBrace

func (s *ClosureContext) OpenBrace() antlr.TerminalNode

func (*ClosureContext) SetBody

func (s *ClosureContext) SetBody(v IExprContext)

func (*ClosureContext) ToStringTree

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

type ClosureMemberDotContext

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

func NewClosureMemberDotContext

func NewClosureMemberDotContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ClosureMemberDotContext

func (*ClosureMemberDotContext) Accept

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

func (*ClosureMemberDotContext) Dot

func (*ClosureMemberDotContext) EnterRule

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

func (*ClosureMemberDotContext) ExitRule

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

func (*ClosureMemberDotContext) GetName

func (s *ClosureMemberDotContext) GetName() antlr.Token

func (*ClosureMemberDotContext) GetRuleContext

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

func (*ClosureMemberDotContext) Identifier

func (s *ClosureMemberDotContext) Identifier() antlr.TerminalNode

func (*ClosureMemberDotContext) SetName

func (s *ClosureMemberDotContext) SetName(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) CopyFrom

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

func (*ExprContext) GetParser

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

func (*ExprContext) GetRuleContext

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

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) ToStringTree

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

type ExprLexer

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

func NewExprLexer

func NewExprLexer(input antlr.CharStream) *ExprLexer

type ExprListener

type ExprListener interface {
	antlr.ParseTreeListener

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

	// EnterCall is called when entering the Call production.
	EnterCall(c *CallContext)

	// EnterMatches is called when entering the Matches production.
	EnterMatches(c *MatchesContext)

	// EnterTernary is called when entering the Ternary production.
	EnterTernary(c *TernaryContext)

	// EnterPointer is called when entering the Pointer production.
	EnterPointer(c *PointerContext)

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

	// EnterClosureMemberDot is called when entering the ClosureMemberDot production.
	EnterClosureMemberDot(c *ClosureMemberDotContext)

	// EnterUnary is called when entering the Unary production.
	EnterUnary(c *UnaryContext)

	// EnterNil is called when entering the Nil production.
	EnterNil(c *NilContext)

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

	// EnterArray is called when entering the Array production.
	EnterArray(c *ArrayContext)

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

	// EnterIdentifier is called when entering the Identifier production.
	EnterIdentifier(c *IdentifierContext)

	// EnterParenthesized is called when entering the Parenthesized production.
	EnterParenthesized(c *ParenthesizedContext)

	// EnterSlice is called when entering the Slice production.
	EnterSlice(c *SliceContext)

	// EnterMemberIndex is called when entering the MemberIndex production.
	EnterMemberIndex(c *MemberIndexContext)

	// EnterBuiltinsList is called when entering the BuiltinsList production.
	EnterBuiltinsList(c *BuiltinsListContext)

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

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

	// EnterMap is called when entering the Map production.
	EnterMap(c *MapContext)

	// EnterMemberDot is called when entering the MemberDot production.
	EnterMemberDot(c *MemberDotContext)

	// EnterBuiltinLen is called when entering the BuiltinLen production.
	EnterBuiltinLen(c *BuiltinLenContext)

	// EnterBuiltin is called when entering the Builtin production.
	EnterBuiltin(c *BuiltinContext)

	// EnterClosure is called when entering the closure production.
	EnterClosure(c *ClosureContext)

	// EnterArguments is called when entering the arguments production.
	EnterArguments(c *ArgumentsContext)

	// EnterArrayLiteral is called when entering the arrayLiteral production.
	EnterArrayLiteral(c *ArrayLiteralContext)

	// EnterMapLiteral is called when entering the mapLiteral production.
	EnterMapLiteral(c *MapLiteralContext)

	// EnterPropertyNameAndValueList is called when entering the propertyNameAndValueList production.
	EnterPropertyNameAndValueList(c *PropertyNameAndValueListContext)

	// EnterPropertyAssignment is called when entering the propertyAssignment production.
	EnterPropertyAssignment(c *PropertyAssignmentContext)

	// EnterPropertyName is called when entering the propertyName production.
	EnterPropertyName(c *PropertyNameContext)

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

	// ExitCall is called when exiting the Call production.
	ExitCall(c *CallContext)

	// ExitMatches is called when exiting the Matches production.
	ExitMatches(c *MatchesContext)

	// ExitTernary is called when exiting the Ternary production.
	ExitTernary(c *TernaryContext)

	// ExitPointer is called when exiting the Pointer production.
	ExitPointer(c *PointerContext)

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

	// ExitClosureMemberDot is called when exiting the ClosureMemberDot production.
	ExitClosureMemberDot(c *ClosureMemberDotContext)

	// ExitUnary is called when exiting the Unary production.
	ExitUnary(c *UnaryContext)

	// ExitNil is called when exiting the Nil production.
	ExitNil(c *NilContext)

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

	// ExitArray is called when exiting the Array production.
	ExitArray(c *ArrayContext)

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

	// ExitIdentifier is called when exiting the Identifier production.
	ExitIdentifier(c *IdentifierContext)

	// ExitParenthesized is called when exiting the Parenthesized production.
	ExitParenthesized(c *ParenthesizedContext)

	// ExitSlice is called when exiting the Slice production.
	ExitSlice(c *SliceContext)

	// ExitMemberIndex is called when exiting the MemberIndex production.
	ExitMemberIndex(c *MemberIndexContext)

	// ExitBuiltinsList is called when exiting the BuiltinsList production.
	ExitBuiltinsList(c *BuiltinsListContext)

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

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

	// ExitMap is called when exiting the Map production.
	ExitMap(c *MapContext)

	// ExitMemberDot is called when exiting the MemberDot production.
	ExitMemberDot(c *MemberDotContext)

	// ExitBuiltinLen is called when exiting the BuiltinLen production.
	ExitBuiltinLen(c *BuiltinLenContext)

	// ExitBuiltin is called when exiting the Builtin production.
	ExitBuiltin(c *BuiltinContext)

	// ExitClosure is called when exiting the closure production.
	ExitClosure(c *ClosureContext)

	// ExitArguments is called when exiting the arguments production.
	ExitArguments(c *ArgumentsContext)

	// ExitArrayLiteral is called when exiting the arrayLiteral production.
	ExitArrayLiteral(c *ArrayLiteralContext)

	// ExitMapLiteral is called when exiting the mapLiteral production.
	ExitMapLiteral(c *MapLiteralContext)

	// ExitPropertyNameAndValueList is called when exiting the propertyNameAndValueList production.
	ExitPropertyNameAndValueList(c *PropertyNameAndValueListContext)

	// ExitPropertyAssignment is called when exiting the propertyAssignment production.
	ExitPropertyAssignment(c *PropertyAssignmentContext)

	// ExitPropertyName is called when exiting the propertyName production.
	ExitPropertyName(c *PropertyNameContext)
}

ExprListener is a complete listener for a parse tree produced by ExprParser.

type ExprParser

type ExprParser struct {
	*antlr.BaseParser
}

func NewExprParser

func NewExprParser(input antlr.TokenStream) *ExprParser

func (*ExprParser) Arguments

func (p *ExprParser) Arguments() (localctx IArgumentsContext)

func (*ExprParser) ArrayLiteral

func (p *ExprParser) ArrayLiteral() (localctx IArrayLiteralContext)

func (*ExprParser) Builtins

func (p *ExprParser) Builtins() (localctx IBuiltinsContext)

func (*ExprParser) Closure

func (p *ExprParser) Closure() (localctx IClosureContext)

func (*ExprParser) Expr

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

func (*ExprParser) Expr_Sempred

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

func (*ExprParser) MapLiteral

func (p *ExprParser) MapLiteral() (localctx IMapLiteralContext)

func (*ExprParser) PropertyAssignment

func (p *ExprParser) PropertyAssignment() (localctx IPropertyAssignmentContext)

func (*ExprParser) PropertyName

func (p *ExprParser) PropertyName() (localctx IPropertyNameContext)

func (*ExprParser) PropertyNameAndValueList

func (p *ExprParser) PropertyNameAndValueList() (localctx IPropertyNameAndValueListContext)

func (*ExprParser) Sempred

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

func (*ExprParser) Start

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

type ExprVisitor

type ExprVisitor interface {
	antlr.ParseTreeVisitor

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

	// Visit a parse tree produced by ExprParser#Call.
	VisitCall(ctx *CallContext) interface{}

	// Visit a parse tree produced by ExprParser#Matches.
	VisitMatches(ctx *MatchesContext) interface{}

	// Visit a parse tree produced by ExprParser#Ternary.
	VisitTernary(ctx *TernaryContext) interface{}

	// Visit a parse tree produced by ExprParser#Pointer.
	VisitPointer(ctx *PointerContext) interface{}

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

	// Visit a parse tree produced by ExprParser#ClosureMemberDot.
	VisitClosureMemberDot(ctx *ClosureMemberDotContext) interface{}

	// Visit a parse tree produced by ExprParser#Unary.
	VisitUnary(ctx *UnaryContext) interface{}

	// Visit a parse tree produced by ExprParser#Nil.
	VisitNil(ctx *NilContext) interface{}

	// Visit a parse tree produced by ExprParser#Integer.
	VisitInteger(ctx *IntegerContext) interface{}

	// Visit a parse tree produced by ExprParser#Array.
	VisitArray(ctx *ArrayContext) interface{}

	// Visit a parse tree produced by ExprParser#Float.
	VisitFloat(ctx *FloatContext) interface{}

	// Visit a parse tree produced by ExprParser#Identifier.
	VisitIdentifier(ctx *IdentifierContext) interface{}

	// Visit a parse tree produced by ExprParser#Parenthesized.
	VisitParenthesized(ctx *ParenthesizedContext) interface{}

	// Visit a parse tree produced by ExprParser#Slice.
	VisitSlice(ctx *SliceContext) interface{}

	// Visit a parse tree produced by ExprParser#MemberIndex.
	VisitMemberIndex(ctx *MemberIndexContext) interface{}

	// Visit a parse tree produced by ExprParser#BuiltinsList.
	VisitBuiltinsList(ctx *BuiltinsListContext) interface{}

	// Visit a parse tree produced by ExprParser#Binary.
	VisitBinary(ctx *BinaryContext) interface{}

	// Visit a parse tree produced by ExprParser#Boolean.
	VisitBoolean(ctx *BooleanContext) interface{}

	// Visit a parse tree produced by ExprParser#Map.
	VisitMap(ctx *MapContext) interface{}

	// Visit a parse tree produced by ExprParser#MemberDot.
	VisitMemberDot(ctx *MemberDotContext) interface{}

	// Visit a parse tree produced by ExprParser#BuiltinLen.
	VisitBuiltinLen(ctx *BuiltinLenContext) interface{}

	// Visit a parse tree produced by ExprParser#Builtin.
	VisitBuiltin(ctx *BuiltinContext) interface{}

	// Visit a parse tree produced by ExprParser#closure.
	VisitClosure(ctx *ClosureContext) interface{}

	// Visit a parse tree produced by ExprParser#arguments.
	VisitArguments(ctx *ArgumentsContext) interface{}

	// Visit a parse tree produced by ExprParser#arrayLiteral.
	VisitArrayLiteral(ctx *ArrayLiteralContext) interface{}

	// Visit a parse tree produced by ExprParser#mapLiteral.
	VisitMapLiteral(ctx *MapLiteralContext) interface{}

	// Visit a parse tree produced by ExprParser#propertyNameAndValueList.
	VisitPropertyNameAndValueList(ctx *PropertyNameAndValueListContext) interface{}

	// Visit a parse tree produced by ExprParser#propertyAssignment.
	VisitPropertyAssignment(ctx *PropertyAssignmentContext) interface{}

	// Visit a parse tree produced by ExprParser#propertyName.
	VisitPropertyName(ctx *PropertyNameContext) interface{}
}

A complete Visitor for a parse tree produced by ExprParser.

type FloatContext

type FloatContext struct {
	*ExprContext
}

func NewFloatContext

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

func (*FloatContext) Accept

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

func (*FloatContext) EnterRule

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

func (*FloatContext) ExitRule

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

func (*FloatContext) FloatLiteral

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

func (*FloatContext) GetRuleContext

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

type IArgumentsContext

type IArgumentsContext 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)

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

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

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

IArgumentsContext is an interface to support dynamic dispatch.

type IArrayLiteralContext

type IArrayLiteralContext 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)

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

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

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

IArrayLiteralContext is an interface to support dynamic dispatch.

type IBuiltinsContext

type IBuiltinsContext interface {
	antlr.ParserRuleContext

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

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

IBuiltinsContext is an interface to support dynamic dispatch.

type IClosureContext

type IClosureContext interface {
	antlr.ParserRuleContext

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

	// GetBody returns the body rule contexts.
	GetBody() IExprContext

	// SetBody sets the body rule contexts.
	SetBody(IExprContext)

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

IClosureContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

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

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

IExprContext is an interface to support dynamic dispatch.

type IMapLiteralContext

type IMapLiteralContext interface {
	antlr.ParserRuleContext

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

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

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

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

IMapLiteralContext is an interface to support dynamic dispatch.

type IPropertyAssignmentContext

type IPropertyAssignmentContext interface {
	antlr.ParserRuleContext

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

	// GetName returns the name rule contexts.
	GetName() IPropertyNameContext

	// GetValue returns the value rule contexts.
	GetValue() IExprContext

	// SetName sets the name rule contexts.
	SetName(IPropertyNameContext)

	// SetValue sets the value rule contexts.
	SetValue(IExprContext)

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

IPropertyAssignmentContext is an interface to support dynamic dispatch.

type IPropertyNameAndValueListContext

type IPropertyNameAndValueListContext interface {
	antlr.ParserRuleContext

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

	// Get_propertyAssignment returns the _propertyAssignment rule contexts.
	Get_propertyAssignment() IPropertyAssignmentContext

	// Set_propertyAssignment sets the _propertyAssignment rule contexts.
	Set_propertyAssignment(IPropertyAssignmentContext)

	// GetList returns the list rule context list.
	GetList() []IPropertyAssignmentContext

	// SetList sets the list rule context list.
	SetList([]IPropertyAssignmentContext)

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

IPropertyNameAndValueListContext is an interface to support dynamic dispatch.

type IPropertyNameContext

type IPropertyNameContext interface {
	antlr.ParserRuleContext

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

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

IPropertyNameContext is an interface to support dynamic dispatch.

type IStartContext

type IStartContext interface {
	antlr.ParserRuleContext

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

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

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

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

IStartContext is an interface to support dynamic dispatch.

type IdentifierContext

type IdentifierContext struct {
	*ExprContext
}

func NewIdentifierContext

func NewIdentifierContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentifierContext

func (*IdentifierContext) Accept

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

func (*IdentifierContext) EnterRule

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

func (*IdentifierContext) ExitRule

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

func (*IdentifierContext) GetRuleContext

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

func (*IdentifierContext) Identifier

func (s *IdentifierContext) Identifier() antlr.TerminalNode

type IntegerContext

type IntegerContext struct {
	*ExprContext
}

func NewIntegerContext

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

func (*IntegerContext) Accept

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

func (*IntegerContext) EnterRule

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

func (*IntegerContext) ExitRule

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

func (*IntegerContext) GetRuleContext

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

func (*IntegerContext) HexIntegerLiteral

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

func (*IntegerContext) IntegerLiteral

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

type MapContext

type MapContext struct {
	*ExprContext
}

func NewMapContext

func NewMapContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MapContext

func (*MapContext) Accept

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

func (*MapContext) EnterRule

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

func (*MapContext) ExitRule

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

func (*MapContext) GetRuleContext

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

func (*MapContext) MapLiteral

func (s *MapContext) MapLiteral() IMapLiteralContext

type MapLiteralContext

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

func NewEmptyMapLiteralContext

func NewEmptyMapLiteralContext() *MapLiteralContext

func NewMapLiteralContext

func NewMapLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MapLiteralContext

func (*MapLiteralContext) Accept

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

func (*MapLiteralContext) CloseBrace

func (s *MapLiteralContext) CloseBrace() antlr.TerminalNode

func (*MapLiteralContext) Comma

func (*MapLiteralContext) EnterRule

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

func (*MapLiteralContext) ExitRule

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

func (*MapLiteralContext) GetE

func (*MapLiteralContext) GetParser

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

func (*MapLiteralContext) GetRuleContext

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

func (*MapLiteralContext) IsMapLiteralContext

func (*MapLiteralContext) IsMapLiteralContext()

func (*MapLiteralContext) OpenBrace

func (s *MapLiteralContext) OpenBrace() antlr.TerminalNode

func (*MapLiteralContext) PropertyNameAndValueList

func (s *MapLiteralContext) PropertyNameAndValueList() IPropertyNameAndValueListContext

func (*MapLiteralContext) SetE

func (*MapLiteralContext) ToStringTree

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

type MatchesContext

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

func NewMatchesContext

func NewMatchesContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MatchesContext

func (*MatchesContext) Accept

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

func (*MatchesContext) AllExpr

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

func (*MatchesContext) EnterRule

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

func (*MatchesContext) ExitRule

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

func (*MatchesContext) Expr

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

func (*MatchesContext) GetOp

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

func (*MatchesContext) GetPattern

func (s *MatchesContext) GetPattern() IExprContext

func (*MatchesContext) GetRuleContext

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

func (*MatchesContext) SetOp

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

func (*MatchesContext) SetPattern

func (s *MatchesContext) SetPattern(v IExprContext)

type MemberDotContext

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

func NewMemberDotContext

func NewMemberDotContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberDotContext

func (*MemberDotContext) Accept

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

func (*MemberDotContext) Dot

func (*MemberDotContext) EnterRule

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

func (*MemberDotContext) ExitRule

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

func (*MemberDotContext) Expr

func (s *MemberDotContext) Expr() IExprContext

func (*MemberDotContext) GetName

func (s *MemberDotContext) GetName() antlr.Token

func (*MemberDotContext) GetRuleContext

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

func (*MemberDotContext) Identifier

func (s *MemberDotContext) Identifier() antlr.TerminalNode

func (*MemberDotContext) SetName

func (s *MemberDotContext) SetName(v antlr.Token)

type MemberIndexContext

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

func NewMemberIndexContext

func NewMemberIndexContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *MemberIndexContext

func (*MemberIndexContext) Accept

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

func (*MemberIndexContext) AllExpr

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

func (*MemberIndexContext) CloseBracket

func (s *MemberIndexContext) CloseBracket() antlr.TerminalNode

func (*MemberIndexContext) EnterRule

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

func (*MemberIndexContext) ExitRule

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

func (*MemberIndexContext) Expr

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

func (*MemberIndexContext) GetIndex

func (s *MemberIndexContext) GetIndex() IExprContext

func (*MemberIndexContext) GetRuleContext

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

func (*MemberIndexContext) OpenBracket

func (s *MemberIndexContext) OpenBracket() antlr.TerminalNode

func (*MemberIndexContext) SetIndex

func (s *MemberIndexContext) SetIndex(v IExprContext)

type NilContext

type NilContext struct {
	*ExprContext
}

func NewNilContext

func NewNilContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NilContext

func (*NilContext) Accept

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

func (*NilContext) EnterRule

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

func (*NilContext) ExitRule

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

func (*NilContext) GetRuleContext

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

func (*NilContext) Nil

func (s *NilContext) Nil() antlr.TerminalNode

type ParenthesizedContext

type ParenthesizedContext struct {
	*ExprContext
}

func NewParenthesizedContext

func NewParenthesizedContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ParenthesizedContext

func (*ParenthesizedContext) Accept

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

func (*ParenthesizedContext) CloseParen

func (s *ParenthesizedContext) CloseParen() antlr.TerminalNode

func (*ParenthesizedContext) EnterRule

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

func (*ParenthesizedContext) ExitRule

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

func (*ParenthesizedContext) Expr

func (*ParenthesizedContext) GetRuleContext

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

func (*ParenthesizedContext) OpenParen

func (s *ParenthesizedContext) OpenParen() antlr.TerminalNode

type PointerContext

type PointerContext struct {
	*ExprContext
}

func NewPointerContext

func NewPointerContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *PointerContext

func (*PointerContext) Accept

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

func (*PointerContext) EnterRule

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

func (*PointerContext) ExitRule

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

func (*PointerContext) GetRuleContext

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

func (*PointerContext) Pointer

func (s *PointerContext) Pointer() antlr.TerminalNode

type PropertyAssignmentContext

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

func NewEmptyPropertyAssignmentContext

func NewEmptyPropertyAssignmentContext() *PropertyAssignmentContext

func NewPropertyAssignmentContext

func NewPropertyAssignmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyAssignmentContext

func (*PropertyAssignmentContext) Accept

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

func (*PropertyAssignmentContext) Colon

func (*PropertyAssignmentContext) EnterRule

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

func (*PropertyAssignmentContext) ExitRule

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

func (*PropertyAssignmentContext) Expr

func (*PropertyAssignmentContext) GetName

func (*PropertyAssignmentContext) GetParser

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

func (*PropertyAssignmentContext) GetRuleContext

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

func (*PropertyAssignmentContext) GetValue

func (*PropertyAssignmentContext) IsPropertyAssignmentContext

func (*PropertyAssignmentContext) IsPropertyAssignmentContext()

func (*PropertyAssignmentContext) PropertyName

func (*PropertyAssignmentContext) SetName

func (*PropertyAssignmentContext) SetValue

func (s *PropertyAssignmentContext) SetValue(v IExprContext)

func (*PropertyAssignmentContext) ToStringTree

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

type PropertyNameAndValueListContext

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

func NewEmptyPropertyNameAndValueListContext

func NewEmptyPropertyNameAndValueListContext() *PropertyNameAndValueListContext

func NewPropertyNameAndValueListContext

func NewPropertyNameAndValueListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyNameAndValueListContext

func (*PropertyNameAndValueListContext) Accept

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

func (*PropertyNameAndValueListContext) AllComma

func (*PropertyNameAndValueListContext) AllPropertyAssignment

func (s *PropertyNameAndValueListContext) AllPropertyAssignment() []IPropertyAssignmentContext

func (*PropertyNameAndValueListContext) Comma

func (*PropertyNameAndValueListContext) EnterRule

func (*PropertyNameAndValueListContext) ExitRule

func (*PropertyNameAndValueListContext) GetList

func (*PropertyNameAndValueListContext) GetParser

func (*PropertyNameAndValueListContext) GetRuleContext

func (*PropertyNameAndValueListContext) Get_propertyAssignment

func (s *PropertyNameAndValueListContext) Get_propertyAssignment() IPropertyAssignmentContext

func (*PropertyNameAndValueListContext) IsPropertyNameAndValueListContext

func (*PropertyNameAndValueListContext) IsPropertyNameAndValueListContext()

func (*PropertyNameAndValueListContext) PropertyAssignment

func (*PropertyNameAndValueListContext) SetList

func (*PropertyNameAndValueListContext) Set_propertyAssignment

func (s *PropertyNameAndValueListContext) Set_propertyAssignment(v IPropertyAssignmentContext)

func (*PropertyNameAndValueListContext) ToStringTree

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

type PropertyNameContext

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

func NewEmptyPropertyNameContext

func NewEmptyPropertyNameContext() *PropertyNameContext

func NewPropertyNameContext

func NewPropertyNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PropertyNameContext

func (*PropertyNameContext) Accept

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

func (*PropertyNameContext) EnterRule

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

func (*PropertyNameContext) ExitRule

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

func (*PropertyNameContext) GetParser

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

func (*PropertyNameContext) GetRuleContext

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

func (*PropertyNameContext) Identifier

func (s *PropertyNameContext) Identifier() antlr.TerminalNode

func (*PropertyNameContext) IsPropertyNameContext

func (*PropertyNameContext) IsPropertyNameContext()

func (*PropertyNameContext) StringLiteral

func (s *PropertyNameContext) StringLiteral() antlr.TerminalNode

func (*PropertyNameContext) ToStringTree

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

type SliceContext

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

func NewSliceContext

func NewSliceContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SliceContext

func (*SliceContext) Accept

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

func (*SliceContext) AllExpr

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

func (*SliceContext) CloseBracket

func (s *SliceContext) CloseBracket() antlr.TerminalNode

func (*SliceContext) Colon

func (s *SliceContext) Colon() antlr.TerminalNode

func (*SliceContext) EnterRule

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

func (*SliceContext) ExitRule

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

func (*SliceContext) Expr

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

func (*SliceContext) GetA

func (s *SliceContext) GetA() IExprContext

func (*SliceContext) GetB

func (s *SliceContext) GetB() IExprContext

func (*SliceContext) GetRuleContext

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

func (*SliceContext) OpenBracket

func (s *SliceContext) OpenBracket() antlr.TerminalNode

func (*SliceContext) SetA

func (s *SliceContext) SetA(v IExprContext)

func (*SliceContext) SetB

func (s *SliceContext) SetB(v IExprContext)

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

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

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

type TernaryContext

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

func NewTernaryContext

func NewTernaryContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *TernaryContext

func (*TernaryContext) Accept

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

func (*TernaryContext) AllExpr

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

func (*TernaryContext) Colon

func (s *TernaryContext) Colon() antlr.TerminalNode

func (*TernaryContext) EnterRule

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

func (*TernaryContext) ExitRule

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

func (*TernaryContext) Expr

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

func (*TernaryContext) GetE1

func (s *TernaryContext) GetE1() IExprContext

func (*TernaryContext) GetE2

func (s *TernaryContext) GetE2() IExprContext

func (*TernaryContext) GetRuleContext

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

func (*TernaryContext) QuestionMark

func (s *TernaryContext) QuestionMark() antlr.TerminalNode

func (*TernaryContext) SetE1

func (s *TernaryContext) SetE1(v IExprContext)

func (*TernaryContext) SetE2

func (s *TernaryContext) SetE2(v IExprContext)

type UnaryContext

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

func NewUnaryContext

func NewUnaryContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *UnaryContext

func (*UnaryContext) Accept

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

func (*UnaryContext) EnterRule

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

func (*UnaryContext) ExitRule

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

func (*UnaryContext) Expr

func (s *UnaryContext) Expr() IExprContext

func (*UnaryContext) GetOp

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

func (*UnaryContext) GetRuleContext

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

func (*UnaryContext) Minus

func (s *UnaryContext) Minus() antlr.TerminalNode

func (*UnaryContext) Negate

func (s *UnaryContext) Negate() antlr.TerminalNode

func (*UnaryContext) Not

func (s *UnaryContext) Not() antlr.TerminalNode

func (*UnaryContext) Plus

func (s *UnaryContext) Plus() antlr.TerminalNode

func (*UnaryContext) SetOp

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

Jump to

Keyboard shortcuts

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