parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PLANLexerT__0       = 1
	PLANLexerT__1       = 2
	PLANLexerT__2       = 3
	PLANLexerT__3       = 4
	PLANLexerT__4       = 5
	PLANLexerT__5       = 6
	PLANLexerT__6       = 7
	PLANLexerT__7       = 8
	PLANLexerT__8       = 9
	PLANLexerT__9       = 10
	PLANLexerT__10      = 11
	PLANLexerT__11      = 12
	PLANLexerT__12      = 13
	PLANLexerT__13      = 14
	PLANLexerT__14      = 15
	PLANLexerT__15      = 16
	PLANLexerT__16      = 17
	PLANLexerT__17      = 18
	PLANLexerT__18      = 19
	PLANLexerT__19      = 20
	PLANLexerT__20      = 21
	PLANLexerWS         = 22
	PLANLexerEq         = 23
	PLANLexerNeq        = 24
	PLANLexerOr         = 25
	PLANLexerAnd        = 26
	PLANLexerPow        = 27
	PLANLexerGtEq       = 28
	PLANLexerLtEq       = 29
	PLANLexerAssSum     = 30
	PLANLexerAssSub     = 31
	PLANLexerAssMul     = 32
	PLANLexerAssDiv     = 33
	PLANLexerAssMod     = 34
	PLANLexerAssPow     = 35
	PLANLexerGt         = 36
	PLANLexerLt         = 37
	PLANLexerMultiply   = 38
	PLANLexerDivision   = 39
	PLANLexerModulus    = 40
	PLANLexerAdd        = 41
	PLANLexerSubtract   = 42
	PLANLexerXor        = 43
	PLANLexerNot        = 44
	PLANLexerClosure    = 45
	PLANLexerBool       = 46
	PLANLexerNull       = 47
	PLANLexerIdentifier = 48
	PLANLexerInteger    = 49
	PLANLexerIntegerHex = 50
	PLANLexerFloat      = 51
	PLANLexerString_    = 52
	PLANLexerComment    = 53
)

PLANLexer tokens.

View Source
const (
	PLANParserEOF        = antlr.TokenEOF
	PLANParserT__0       = 1
	PLANParserT__1       = 2
	PLANParserT__2       = 3
	PLANParserT__3       = 4
	PLANParserT__4       = 5
	PLANParserT__5       = 6
	PLANParserT__6       = 7
	PLANParserT__7       = 8
	PLANParserT__8       = 9
	PLANParserT__9       = 10
	PLANParserT__10      = 11
	PLANParserT__11      = 12
	PLANParserT__12      = 13
	PLANParserT__13      = 14
	PLANParserT__14      = 15
	PLANParserT__15      = 16
	PLANParserT__16      = 17
	PLANParserT__17      = 18
	PLANParserT__18      = 19
	PLANParserT__19      = 20
	PLANParserT__20      = 21
	PLANParserWS         = 22
	PLANParserEq         = 23
	PLANParserNeq        = 24
	PLANParserOr         = 25
	PLANParserAnd        = 26
	PLANParserPow        = 27
	PLANParserGtEq       = 28
	PLANParserLtEq       = 29
	PLANParserAssSum     = 30
	PLANParserAssSub     = 31
	PLANParserAssMul     = 32
	PLANParserAssDiv     = 33
	PLANParserAssMod     = 34
	PLANParserAssPow     = 35
	PLANParserGt         = 36
	PLANParserLt         = 37
	PLANParserMultiply   = 38
	PLANParserDivision   = 39
	PLANParserModulus    = 40
	PLANParserAdd        = 41
	PLANParserSubtract   = 42
	PLANParserXor        = 43
	PLANParserNot        = 44
	PLANParserClosure    = 45
	PLANParserBool       = 46
	PLANParserNull       = 47
	PLANParserIdentifier = 48
	PLANParserInteger    = 49
	PLANParserIntegerHex = 50
	PLANParserFloat      = 51
	PLANParserString_    = 52
	PLANParserComment    = 53
)

PLANParser tokens.

View Source
const (
	PLANParserRULE_prog         = 0
	PLANParserRULE_stmt         = 1
	PLANParserRULE_whileStmt    = 2
	PLANParserRULE_forStmt      = 3
	PLANParserRULE_returnStmt   = 4
	PLANParserRULE_continueStmt = 5
	PLANParserRULE_breakStmt    = 6
	PLANParserRULE_assignment   = 7
	PLANParserRULE_list         = 8
	PLANParserRULE_dictUnit     = 9
	PLANParserRULE_dict         = 10
	PLANParserRULE_idx          = 11
	PLANParserRULE_methodInvoke = 12
	PLANParserRULE_fnInvoke     = 13
	PLANParserRULE_csInvoke     = 14
	PLANParserRULE_exp          = 15
	PLANParserRULE_ifBlock      = 16
	PLANParserRULE_elifBlock    = 17
	PLANParserRULE_elseBlock    = 18
	PLANParserRULE_ifStmt       = 19
	PLANParserRULE_fnParams     = 20
	PLANParserRULE_fnBody       = 21
	PLANParserRULE_fn           = 22
	PLANParserRULE_closure      = 23
	PLANParserRULE_include      = 24
)

PLANParser rules.

Variables

View Source
var PLANLexerLexerStaticData struct {
	ChannelNames           []string
	ModeNames              []string
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}
View Source
var PLANParserStaticData struct {
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}

Functions

func InitEmptyAssignmentContext

func InitEmptyAssignmentContext(p *AssignmentContext)

func InitEmptyBreakStmtContext

func InitEmptyBreakStmtContext(p *BreakStmtContext)

func InitEmptyClosureContext

func InitEmptyClosureContext(p *ClosureContext)

func InitEmptyContinueStmtContext

func InitEmptyContinueStmtContext(p *ContinueStmtContext)

func InitEmptyCsInvokeContext

func InitEmptyCsInvokeContext(p *CsInvokeContext)

func InitEmptyDictContext

func InitEmptyDictContext(p *DictContext)

func InitEmptyDictUnitContext

func InitEmptyDictUnitContext(p *DictUnitContext)

func InitEmptyElifBlockContext

func InitEmptyElifBlockContext(p *ElifBlockContext)

func InitEmptyElseBlockContext

func InitEmptyElseBlockContext(p *ElseBlockContext)

func InitEmptyExpContext

func InitEmptyExpContext(p *ExpContext)

func InitEmptyFnBodyContext

func InitEmptyFnBodyContext(p *FnBodyContext)

func InitEmptyFnContext

func InitEmptyFnContext(p *FnContext)

func InitEmptyFnInvokeContext

func InitEmptyFnInvokeContext(p *FnInvokeContext)

func InitEmptyFnParamsContext

func InitEmptyFnParamsContext(p *FnParamsContext)

func InitEmptyForStmtContext

func InitEmptyForStmtContext(p *ForStmtContext)

func InitEmptyIdxContext

func InitEmptyIdxContext(p *IdxContext)

func InitEmptyIfBlockContext

func InitEmptyIfBlockContext(p *IfBlockContext)

func InitEmptyIfStmtContext

func InitEmptyIfStmtContext(p *IfStmtContext)

func InitEmptyIncludeContext

func InitEmptyIncludeContext(p *IncludeContext)

func InitEmptyListContext

func InitEmptyListContext(p *ListContext)

func InitEmptyMethodInvokeContext

func InitEmptyMethodInvokeContext(p *MethodInvokeContext)

func InitEmptyProgContext

func InitEmptyProgContext(p *ProgContext)

func InitEmptyReturnStmtContext

func InitEmptyReturnStmtContext(p *ReturnStmtContext)

func InitEmptyStmtContext

func InitEmptyStmtContext(p *StmtContext)

func InitEmptyWhileStmtContext

func InitEmptyWhileStmtContext(p *WhileStmtContext)

func PLANLexerInit

func PLANLexerInit()

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

func PLANParserInit

func PLANParserInit()

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

Types

type AssignDivContext

type AssignDivContext struct {
	AssignmentContext
	// contains filtered or unexported fields
}

func NewAssignDivContext

func NewAssignDivContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignDivContext

func (*AssignDivContext) Accept

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

func (*AssignDivContext) AssDiv

func (s *AssignDivContext) AssDiv() antlr.TerminalNode

func (*AssignDivContext) EnterRule

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

func (*AssignDivContext) ExitRule

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

func (*AssignDivContext) Exp

func (s *AssignDivContext) Exp() IExpContext

func (*AssignDivContext) GetName

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

func (*AssignDivContext) GetRuleContext

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

func (*AssignDivContext) Identifier

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

func (*AssignDivContext) SetName

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

type AssignIdxRegularContext

type AssignIdxRegularContext struct {
	AssignmentContext
	// contains filtered or unexported fields
}

func NewAssignIdxRegularContext

func NewAssignIdxRegularContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignIdxRegularContext

func (*AssignIdxRegularContext) Accept

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

func (*AssignIdxRegularContext) EnterRule

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

func (*AssignIdxRegularContext) ExitRule

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

func (*AssignIdxRegularContext) Exp

func (*AssignIdxRegularContext) GetName

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

func (*AssignIdxRegularContext) GetRuleContext

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

func (*AssignIdxRegularContext) Identifier

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

func (*AssignIdxRegularContext) Idx

func (*AssignIdxRegularContext) SetName

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

type AssignModContext

type AssignModContext struct {
	AssignmentContext
	// contains filtered or unexported fields
}

func NewAssignModContext

func NewAssignModContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignModContext

func (*AssignModContext) Accept

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

func (*AssignModContext) AssMod

func (s *AssignModContext) AssMod() antlr.TerminalNode

func (*AssignModContext) EnterRule

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

func (*AssignModContext) ExitRule

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

func (*AssignModContext) Exp

func (s *AssignModContext) Exp() IExpContext

func (*AssignModContext) GetName

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

func (*AssignModContext) GetRuleContext

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

func (*AssignModContext) Identifier

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

func (*AssignModContext) SetName

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

type AssignMulContext

type AssignMulContext struct {
	AssignmentContext
	// contains filtered or unexported fields
}

func NewAssignMulContext

func NewAssignMulContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignMulContext

func (*AssignMulContext) Accept

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

func (*AssignMulContext) AssMul

func (s *AssignMulContext) AssMul() antlr.TerminalNode

func (*AssignMulContext) EnterRule

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

func (*AssignMulContext) ExitRule

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

func (*AssignMulContext) Exp

func (s *AssignMulContext) Exp() IExpContext

func (*AssignMulContext) GetName

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

func (*AssignMulContext) GetRuleContext

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

func (*AssignMulContext) Identifier

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

func (*AssignMulContext) SetName

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

type AssignPowContext

type AssignPowContext struct {
	AssignmentContext
	// contains filtered or unexported fields
}

func NewAssignPowContext

func NewAssignPowContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignPowContext

func (*AssignPowContext) Accept

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

func (*AssignPowContext) AssPow

func (s *AssignPowContext) AssPow() antlr.TerminalNode

func (*AssignPowContext) EnterRule

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

func (*AssignPowContext) ExitRule

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

func (*AssignPowContext) Exp

func (s *AssignPowContext) Exp() IExpContext

func (*AssignPowContext) GetName

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

func (*AssignPowContext) GetRuleContext

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

func (*AssignPowContext) Identifier

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

func (*AssignPowContext) SetName

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

type AssignRegularContext

type AssignRegularContext struct {
	AssignmentContext
	// contains filtered or unexported fields
}

func NewAssignRegularContext

func NewAssignRegularContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignRegularContext

func (*AssignRegularContext) Accept

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

func (*AssignRegularContext) EnterRule

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

func (*AssignRegularContext) ExitRule

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

func (*AssignRegularContext) Exp

func (*AssignRegularContext) GetName

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

func (*AssignRegularContext) GetRuleContext

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

func (*AssignRegularContext) Identifier

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

func (*AssignRegularContext) SetName

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

type AssignSubContext

type AssignSubContext struct {
	AssignmentContext
	// contains filtered or unexported fields
}

func NewAssignSubContext

func NewAssignSubContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignSubContext

func (*AssignSubContext) Accept

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

func (*AssignSubContext) AssSub

func (s *AssignSubContext) AssSub() antlr.TerminalNode

func (*AssignSubContext) EnterRule

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

func (*AssignSubContext) ExitRule

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

func (*AssignSubContext) Exp

func (s *AssignSubContext) Exp() IExpContext

func (*AssignSubContext) GetName

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

func (*AssignSubContext) GetRuleContext

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

func (*AssignSubContext) Identifier

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

func (*AssignSubContext) SetName

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

type AssignSumContext

type AssignSumContext struct {
	AssignmentContext
	// contains filtered or unexported fields
}

func NewAssignSumContext

func NewAssignSumContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignSumContext

func (*AssignSumContext) Accept

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

func (*AssignSumContext) AssSum

func (s *AssignSumContext) AssSum() antlr.TerminalNode

func (*AssignSumContext) EnterRule

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

func (*AssignSumContext) ExitRule

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

func (*AssignSumContext) Exp

func (s *AssignSumContext) Exp() IExpContext

func (*AssignSumContext) GetName

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

func (*AssignSumContext) GetRuleContext

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

func (*AssignSumContext) Identifier

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

func (*AssignSumContext) SetName

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

type AssignmentContext

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

func NewAssignmentContext

func NewAssignmentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignmentContext

func NewEmptyAssignmentContext

func NewEmptyAssignmentContext() *AssignmentContext

func (*AssignmentContext) CopyAll

func (s *AssignmentContext) CopyAll(ctx *AssignmentContext)

func (*AssignmentContext) GetParser

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

func (*AssignmentContext) GetRuleContext

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

func (*AssignmentContext) IsAssignmentContext

func (*AssignmentContext) IsAssignmentContext()

func (*AssignmentContext) ToStringTree

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

type BasePLANListener

type BasePLANListener struct{}

BasePLANListener is a complete listener for a parse tree produced by PLANParser.

func (*BasePLANListener) EnterAssignDiv

func (s *BasePLANListener) EnterAssignDiv(ctx *AssignDivContext)

EnterAssignDiv is called when production assignDiv is entered.

func (*BasePLANListener) EnterAssignIdxRegular

func (s *BasePLANListener) EnterAssignIdxRegular(ctx *AssignIdxRegularContext)

EnterAssignIdxRegular is called when production assignIdxRegular is entered.

func (*BasePLANListener) EnterAssignMod

func (s *BasePLANListener) EnterAssignMod(ctx *AssignModContext)

EnterAssignMod is called when production assignMod is entered.

func (*BasePLANListener) EnterAssignMul

func (s *BasePLANListener) EnterAssignMul(ctx *AssignMulContext)

EnterAssignMul is called when production assignMul is entered.

func (*BasePLANListener) EnterAssignPow

func (s *BasePLANListener) EnterAssignPow(ctx *AssignPowContext)

EnterAssignPow is called when production assignPow is entered.

func (*BasePLANListener) EnterAssignRegular

func (s *BasePLANListener) EnterAssignRegular(ctx *AssignRegularContext)

EnterAssignRegular is called when production assignRegular is entered.

func (*BasePLANListener) EnterAssignSub

func (s *BasePLANListener) EnterAssignSub(ctx *AssignSubContext)

EnterAssignSub is called when production assignSub is entered.

func (*BasePLANListener) EnterAssignSum

func (s *BasePLANListener) EnterAssignSum(ctx *AssignSumContext)

EnterAssignSum is called when production assignSum is entered.

func (*BasePLANListener) EnterBreakStmt

func (s *BasePLANListener) EnterBreakStmt(ctx *BreakStmtContext)

EnterBreakStmt is called when production breakStmt is entered.

func (*BasePLANListener) EnterClosure

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

EnterClosure is called when production closure is entered.

func (*BasePLANListener) EnterContinueStmt

func (s *BasePLANListener) EnterContinueStmt(ctx *ContinueStmtContext)

EnterContinueStmt is called when production continueStmt is entered.

func (*BasePLANListener) EnterDict

func (s *BasePLANListener) EnterDict(ctx *DictContext)

EnterDict is called when production dict is entered.

func (*BasePLANListener) EnterDictUnit

func (s *BasePLANListener) EnterDictUnit(ctx *DictUnitContext)

EnterDictUnit is called when production dictUnit is entered.

func (*BasePLANListener) EnterElifBlockStmt

func (s *BasePLANListener) EnterElifBlockStmt(ctx *ElifBlockStmtContext)

EnterElifBlockStmt is called when production elifBlockStmt is entered.

func (*BasePLANListener) EnterElseBlockStmt

func (s *BasePLANListener) EnterElseBlockStmt(ctx *ElseBlockStmtContext)

EnterElseBlockStmt is called when production elseBlockStmt is entered.

func (*BasePLANListener) EnterEveryRule

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

EnterEveryRule is called when any rule is entered.

func (*BasePLANListener) EnterExpBool

func (s *BasePLANListener) EnterExpBool(ctx *ExpBoolContext)

EnterExpBool is called when production expBool is entered.

func (*BasePLANListener) EnterExpComparison

func (s *BasePLANListener) EnterExpComparison(ctx *ExpComparisonContext)

EnterExpComparison is called when production expComparison is entered.

func (*BasePLANListener) EnterExpCs

func (s *BasePLANListener) EnterExpCs(ctx *ExpCsContext)

EnterExpCs is called when production expCs is entered.

func (*BasePLANListener) EnterExpCsInvoke

func (s *BasePLANListener) EnterExpCsInvoke(ctx *ExpCsInvokeContext)

EnterExpCsInvoke is called when production expCsInvoke is entered.

func (*BasePLANListener) EnterExpDict

func (s *BasePLANListener) EnterExpDict(ctx *ExpDictContext)

EnterExpDict is called when production expDict is entered.

func (*BasePLANListener) EnterExpEqual

func (s *BasePLANListener) EnterExpEqual(ctx *ExpEqualContext)

EnterExpEqual is called when production expEqual is entered.

func (*BasePLANListener) EnterExpFloat

func (s *BasePLANListener) EnterExpFloat(ctx *ExpFloatContext)

EnterExpFloat is called when production expFloat is entered.

func (*BasePLANListener) EnterExpFnInvoke

func (s *BasePLANListener) EnterExpFnInvoke(ctx *ExpFnInvokeContext)

EnterExpFnInvoke is called when production expFnInvoke is entered.

func (*BasePLANListener) EnterExpIdentifier

func (s *BasePLANListener) EnterExpIdentifier(ctx *ExpIdentifierContext)

EnterExpIdentifier is called when production expIdentifier is entered.

func (*BasePLANListener) EnterExpIdx

func (s *BasePLANListener) EnterExpIdx(ctx *ExpIdxContext)

EnterExpIdx is called when production expIdx is entered.

func (*BasePLANListener) EnterExpInteger

func (s *BasePLANListener) EnterExpInteger(ctx *ExpIntegerContext)

EnterExpInteger is called when production expInteger is entered.

func (*BasePLANListener) EnterExpIntegerHex

func (s *BasePLANListener) EnterExpIntegerHex(ctx *ExpIntegerHexContext)

EnterExpIntegerHex is called when production expIntegerHex is entered.

func (*BasePLANListener) EnterExpList

func (s *BasePLANListener) EnterExpList(ctx *ExpListContext)

EnterExpList is called when production expList is entered.

func (*BasePLANListener) EnterExpLogicalAnd

func (s *BasePLANListener) EnterExpLogicalAnd(ctx *ExpLogicalAndContext)

EnterExpLogicalAnd is called when production expLogicalAnd is entered.

func (*BasePLANListener) EnterExpLogicalNot

func (s *BasePLANListener) EnterExpLogicalNot(ctx *ExpLogicalNotContext)

EnterExpLogicalNot is called when production expLogicalNot is entered.

func (*BasePLANListener) EnterExpLogicalOr

func (s *BasePLANListener) EnterExpLogicalOr(ctx *ExpLogicalOrContext)

EnterExpLogicalOr is called when production expLogicalOr is entered.

func (*BasePLANListener) EnterExpMethodInvoke

func (s *BasePLANListener) EnterExpMethodInvoke(ctx *ExpMethodInvokeContext)

EnterExpMethodInvoke is called when production expMethodInvoke is entered.

func (*BasePLANListener) EnterExpMulDivMod

func (s *BasePLANListener) EnterExpMulDivMod(ctx *ExpMulDivModContext)

EnterExpMulDivMod is called when production expMulDivMod is entered.

func (*BasePLANListener) EnterExpNeg

func (s *BasePLANListener) EnterExpNeg(ctx *ExpNegContext)

EnterExpNeg is called when production expNeg is entered.

func (*BasePLANListener) EnterExpNull

func (s *BasePLANListener) EnterExpNull(ctx *ExpNullContext)

EnterExpNull is called when production expNull is entered.

func (*BasePLANListener) EnterExpParentheses

func (s *BasePLANListener) EnterExpParentheses(ctx *ExpParenthesesContext)

EnterExpParentheses is called when production expParentheses is entered.

func (*BasePLANListener) EnterExpPow

func (s *BasePLANListener) EnterExpPow(ctx *ExpPowContext)

EnterExpPow is called when production expPow is entered.

func (*BasePLANListener) EnterExpString

func (s *BasePLANListener) EnterExpString(ctx *ExpStringContext)

EnterExpString is called when production expString is entered.

func (*BasePLANListener) EnterExpSumSub

func (s *BasePLANListener) EnterExpSumSub(ctx *ExpSumSubContext)

EnterExpSumSub is called when production expSumSub is entered.

func (*BasePLANListener) EnterExpXor

func (s *BasePLANListener) EnterExpXor(ctx *ExpXorContext)

EnterExpXor is called when production expXor is entered.

func (*BasePLANListener) EnterFn

func (s *BasePLANListener) EnterFn(ctx *FnContext)

EnterFn is called when production fn is entered.

func (*BasePLANListener) EnterFnBody

func (s *BasePLANListener) EnterFnBody(ctx *FnBodyContext)

EnterFnBody is called when production fnBody is entered.

func (*BasePLANListener) EnterFnParams

func (s *BasePLANListener) EnterFnParams(ctx *FnParamsContext)

EnterFnParams is called when production fnParams is entered.

func (*BasePLANListener) EnterForStmt

func (s *BasePLANListener) EnterForStmt(ctx *ForStmtContext)

EnterForStmt is called when production forStmt is entered.

func (*BasePLANListener) EnterIdentifierCsInvoke

func (s *BasePLANListener) EnterIdentifierCsInvoke(ctx *IdentifierCsInvokeContext)

EnterIdentifierCsInvoke is called when production identifierCsInvoke is entered.

func (*BasePLANListener) EnterIdentifierFnInvoke

func (s *BasePLANListener) EnterIdentifierFnInvoke(ctx *IdentifierFnInvokeContext)

EnterIdentifierFnInvoke is called when production identifierFnInvoke is entered.

func (*BasePLANListener) EnterIdentifierMethodInvoke

func (s *BasePLANListener) EnterIdentifierMethodInvoke(ctx *IdentifierMethodInvokeContext)

EnterIdentifierMethodInvoke is called when production identifierMethodInvoke is entered.

func (*BasePLANListener) EnterIdx

func (s *BasePLANListener) EnterIdx(ctx *IdxContext)

EnterIdx is called when production idx is entered.

func (*BasePLANListener) EnterIfBlockStmt

func (s *BasePLANListener) EnterIfBlockStmt(ctx *IfBlockStmtContext)

EnterIfBlockStmt is called when production ifBlockStmt is entered.

func (*BasePLANListener) EnterIfStmt

func (s *BasePLANListener) EnterIfStmt(ctx *IfStmtContext)

EnterIfStmt is called when production ifStmt is entered.

func (*BasePLANListener) EnterInclude

func (s *BasePLANListener) EnterInclude(ctx *IncludeContext)

EnterInclude is called when production include is entered.

func (*BasePLANListener) EnterList

func (s *BasePLANListener) EnterList(ctx *ListContext)

EnterList is called when production list is entered.

func (*BasePLANListener) EnterProg

func (s *BasePLANListener) EnterProg(ctx *ProgContext)

EnterProg is called when production prog is entered.

func (*BasePLANListener) EnterReturnStmt

func (s *BasePLANListener) EnterReturnStmt(ctx *ReturnStmtContext)

EnterReturnStmt is called when production returnStmt is entered.

func (*BasePLANListener) EnterStmt

func (s *BasePLANListener) EnterStmt(ctx *StmtContext)

EnterStmt is called when production stmt is entered.

func (*BasePLANListener) EnterWhileStmt

func (s *BasePLANListener) EnterWhileStmt(ctx *WhileStmtContext)

EnterWhileStmt is called when production whileStmt is entered.

func (*BasePLANListener) ExitAssignDiv

func (s *BasePLANListener) ExitAssignDiv(ctx *AssignDivContext)

ExitAssignDiv is called when production assignDiv is exited.

func (*BasePLANListener) ExitAssignIdxRegular

func (s *BasePLANListener) ExitAssignIdxRegular(ctx *AssignIdxRegularContext)

ExitAssignIdxRegular is called when production assignIdxRegular is exited.

func (*BasePLANListener) ExitAssignMod

func (s *BasePLANListener) ExitAssignMod(ctx *AssignModContext)

ExitAssignMod is called when production assignMod is exited.

func (*BasePLANListener) ExitAssignMul

func (s *BasePLANListener) ExitAssignMul(ctx *AssignMulContext)

ExitAssignMul is called when production assignMul is exited.

func (*BasePLANListener) ExitAssignPow

func (s *BasePLANListener) ExitAssignPow(ctx *AssignPowContext)

ExitAssignPow is called when production assignPow is exited.

func (*BasePLANListener) ExitAssignRegular

func (s *BasePLANListener) ExitAssignRegular(ctx *AssignRegularContext)

ExitAssignRegular is called when production assignRegular is exited.

func (*BasePLANListener) ExitAssignSub

func (s *BasePLANListener) ExitAssignSub(ctx *AssignSubContext)

ExitAssignSub is called when production assignSub is exited.

func (*BasePLANListener) ExitAssignSum

func (s *BasePLANListener) ExitAssignSum(ctx *AssignSumContext)

ExitAssignSum is called when production assignSum is exited.

func (*BasePLANListener) ExitBreakStmt

func (s *BasePLANListener) ExitBreakStmt(ctx *BreakStmtContext)

ExitBreakStmt is called when production breakStmt is exited.

func (*BasePLANListener) ExitClosure

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

ExitClosure is called when production closure is exited.

func (*BasePLANListener) ExitContinueStmt

func (s *BasePLANListener) ExitContinueStmt(ctx *ContinueStmtContext)

ExitContinueStmt is called when production continueStmt is exited.

func (*BasePLANListener) ExitDict

func (s *BasePLANListener) ExitDict(ctx *DictContext)

ExitDict is called when production dict is exited.

func (*BasePLANListener) ExitDictUnit

func (s *BasePLANListener) ExitDictUnit(ctx *DictUnitContext)

ExitDictUnit is called when production dictUnit is exited.

func (*BasePLANListener) ExitElifBlockStmt

func (s *BasePLANListener) ExitElifBlockStmt(ctx *ElifBlockStmtContext)

ExitElifBlockStmt is called when production elifBlockStmt is exited.

func (*BasePLANListener) ExitElseBlockStmt

func (s *BasePLANListener) ExitElseBlockStmt(ctx *ElseBlockStmtContext)

ExitElseBlockStmt is called when production elseBlockStmt is exited.

func (*BasePLANListener) ExitEveryRule

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

ExitEveryRule is called when any rule is exited.

func (*BasePLANListener) ExitExpBool

func (s *BasePLANListener) ExitExpBool(ctx *ExpBoolContext)

ExitExpBool is called when production expBool is exited.

func (*BasePLANListener) ExitExpComparison

func (s *BasePLANListener) ExitExpComparison(ctx *ExpComparisonContext)

ExitExpComparison is called when production expComparison is exited.

func (*BasePLANListener) ExitExpCs

func (s *BasePLANListener) ExitExpCs(ctx *ExpCsContext)

ExitExpCs is called when production expCs is exited.

func (*BasePLANListener) ExitExpCsInvoke

func (s *BasePLANListener) ExitExpCsInvoke(ctx *ExpCsInvokeContext)

ExitExpCsInvoke is called when production expCsInvoke is exited.

func (*BasePLANListener) ExitExpDict

func (s *BasePLANListener) ExitExpDict(ctx *ExpDictContext)

ExitExpDict is called when production expDict is exited.

func (*BasePLANListener) ExitExpEqual

func (s *BasePLANListener) ExitExpEqual(ctx *ExpEqualContext)

ExitExpEqual is called when production expEqual is exited.

func (*BasePLANListener) ExitExpFloat

func (s *BasePLANListener) ExitExpFloat(ctx *ExpFloatContext)

ExitExpFloat is called when production expFloat is exited.

func (*BasePLANListener) ExitExpFnInvoke

func (s *BasePLANListener) ExitExpFnInvoke(ctx *ExpFnInvokeContext)

ExitExpFnInvoke is called when production expFnInvoke is exited.

func (*BasePLANListener) ExitExpIdentifier

func (s *BasePLANListener) ExitExpIdentifier(ctx *ExpIdentifierContext)

ExitExpIdentifier is called when production expIdentifier is exited.

func (*BasePLANListener) ExitExpIdx

func (s *BasePLANListener) ExitExpIdx(ctx *ExpIdxContext)

ExitExpIdx is called when production expIdx is exited.

func (*BasePLANListener) ExitExpInteger

func (s *BasePLANListener) ExitExpInteger(ctx *ExpIntegerContext)

ExitExpInteger is called when production expInteger is exited.

func (*BasePLANListener) ExitExpIntegerHex

func (s *BasePLANListener) ExitExpIntegerHex(ctx *ExpIntegerHexContext)

ExitExpIntegerHex is called when production expIntegerHex is exited.

func (*BasePLANListener) ExitExpList

func (s *BasePLANListener) ExitExpList(ctx *ExpListContext)

ExitExpList is called when production expList is exited.

func (*BasePLANListener) ExitExpLogicalAnd

func (s *BasePLANListener) ExitExpLogicalAnd(ctx *ExpLogicalAndContext)

ExitExpLogicalAnd is called when production expLogicalAnd is exited.

func (*BasePLANListener) ExitExpLogicalNot

func (s *BasePLANListener) ExitExpLogicalNot(ctx *ExpLogicalNotContext)

ExitExpLogicalNot is called when production expLogicalNot is exited.

func (*BasePLANListener) ExitExpLogicalOr

func (s *BasePLANListener) ExitExpLogicalOr(ctx *ExpLogicalOrContext)

ExitExpLogicalOr is called when production expLogicalOr is exited.

func (*BasePLANListener) ExitExpMethodInvoke

func (s *BasePLANListener) ExitExpMethodInvoke(ctx *ExpMethodInvokeContext)

ExitExpMethodInvoke is called when production expMethodInvoke is exited.

func (*BasePLANListener) ExitExpMulDivMod

func (s *BasePLANListener) ExitExpMulDivMod(ctx *ExpMulDivModContext)

ExitExpMulDivMod is called when production expMulDivMod is exited.

func (*BasePLANListener) ExitExpNeg

func (s *BasePLANListener) ExitExpNeg(ctx *ExpNegContext)

ExitExpNeg is called when production expNeg is exited.

func (*BasePLANListener) ExitExpNull

func (s *BasePLANListener) ExitExpNull(ctx *ExpNullContext)

ExitExpNull is called when production expNull is exited.

func (*BasePLANListener) ExitExpParentheses

func (s *BasePLANListener) ExitExpParentheses(ctx *ExpParenthesesContext)

ExitExpParentheses is called when production expParentheses is exited.

func (*BasePLANListener) ExitExpPow

func (s *BasePLANListener) ExitExpPow(ctx *ExpPowContext)

ExitExpPow is called when production expPow is exited.

func (*BasePLANListener) ExitExpString

func (s *BasePLANListener) ExitExpString(ctx *ExpStringContext)

ExitExpString is called when production expString is exited.

func (*BasePLANListener) ExitExpSumSub

func (s *BasePLANListener) ExitExpSumSub(ctx *ExpSumSubContext)

ExitExpSumSub is called when production expSumSub is exited.

func (*BasePLANListener) ExitExpXor

func (s *BasePLANListener) ExitExpXor(ctx *ExpXorContext)

ExitExpXor is called when production expXor is exited.

func (*BasePLANListener) ExitFn

func (s *BasePLANListener) ExitFn(ctx *FnContext)

ExitFn is called when production fn is exited.

func (*BasePLANListener) ExitFnBody

func (s *BasePLANListener) ExitFnBody(ctx *FnBodyContext)

ExitFnBody is called when production fnBody is exited.

func (*BasePLANListener) ExitFnParams

func (s *BasePLANListener) ExitFnParams(ctx *FnParamsContext)

ExitFnParams is called when production fnParams is exited.

func (*BasePLANListener) ExitForStmt

func (s *BasePLANListener) ExitForStmt(ctx *ForStmtContext)

ExitForStmt is called when production forStmt is exited.

func (*BasePLANListener) ExitIdentifierCsInvoke

func (s *BasePLANListener) ExitIdentifierCsInvoke(ctx *IdentifierCsInvokeContext)

ExitIdentifierCsInvoke is called when production identifierCsInvoke is exited.

func (*BasePLANListener) ExitIdentifierFnInvoke

func (s *BasePLANListener) ExitIdentifierFnInvoke(ctx *IdentifierFnInvokeContext)

ExitIdentifierFnInvoke is called when production identifierFnInvoke is exited.

func (*BasePLANListener) ExitIdentifierMethodInvoke

func (s *BasePLANListener) ExitIdentifierMethodInvoke(ctx *IdentifierMethodInvokeContext)

ExitIdentifierMethodInvoke is called when production identifierMethodInvoke is exited.

func (*BasePLANListener) ExitIdx

func (s *BasePLANListener) ExitIdx(ctx *IdxContext)

ExitIdx is called when production idx is exited.

func (*BasePLANListener) ExitIfBlockStmt

func (s *BasePLANListener) ExitIfBlockStmt(ctx *IfBlockStmtContext)

ExitIfBlockStmt is called when production ifBlockStmt is exited.

func (*BasePLANListener) ExitIfStmt

func (s *BasePLANListener) ExitIfStmt(ctx *IfStmtContext)

ExitIfStmt is called when production ifStmt is exited.

func (*BasePLANListener) ExitInclude

func (s *BasePLANListener) ExitInclude(ctx *IncludeContext)

ExitInclude is called when production include is exited.

func (*BasePLANListener) ExitList

func (s *BasePLANListener) ExitList(ctx *ListContext)

ExitList is called when production list is exited.

func (*BasePLANListener) ExitProg

func (s *BasePLANListener) ExitProg(ctx *ProgContext)

ExitProg is called when production prog is exited.

func (*BasePLANListener) ExitReturnStmt

func (s *BasePLANListener) ExitReturnStmt(ctx *ReturnStmtContext)

ExitReturnStmt is called when production returnStmt is exited.

func (*BasePLANListener) ExitStmt

func (s *BasePLANListener) ExitStmt(ctx *StmtContext)

ExitStmt is called when production stmt is exited.

func (*BasePLANListener) ExitWhileStmt

func (s *BasePLANListener) ExitWhileStmt(ctx *WhileStmtContext)

ExitWhileStmt is called when production whileStmt is exited.

func (*BasePLANListener) VisitErrorNode

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

VisitErrorNode is called when an error node is visited.

func (*BasePLANListener) VisitTerminal

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

VisitTerminal is called when a terminal node is visited.

type BasePLANVisitor

type BasePLANVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BasePLANVisitor) VisitAssignDiv

func (v *BasePLANVisitor) VisitAssignDiv(ctx *AssignDivContext) interface{}

func (*BasePLANVisitor) VisitAssignIdxRegular

func (v *BasePLANVisitor) VisitAssignIdxRegular(ctx *AssignIdxRegularContext) interface{}

func (*BasePLANVisitor) VisitAssignMod

func (v *BasePLANVisitor) VisitAssignMod(ctx *AssignModContext) interface{}

func (*BasePLANVisitor) VisitAssignMul

func (v *BasePLANVisitor) VisitAssignMul(ctx *AssignMulContext) interface{}

func (*BasePLANVisitor) VisitAssignPow

func (v *BasePLANVisitor) VisitAssignPow(ctx *AssignPowContext) interface{}

func (*BasePLANVisitor) VisitAssignRegular

func (v *BasePLANVisitor) VisitAssignRegular(ctx *AssignRegularContext) interface{}

func (*BasePLANVisitor) VisitAssignSub

func (v *BasePLANVisitor) VisitAssignSub(ctx *AssignSubContext) interface{}

func (*BasePLANVisitor) VisitAssignSum

func (v *BasePLANVisitor) VisitAssignSum(ctx *AssignSumContext) interface{}

func (*BasePLANVisitor) VisitBreakStmt

func (v *BasePLANVisitor) VisitBreakStmt(ctx *BreakStmtContext) interface{}

func (*BasePLANVisitor) VisitClosure

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

func (*BasePLANVisitor) VisitContinueStmt

func (v *BasePLANVisitor) VisitContinueStmt(ctx *ContinueStmtContext) interface{}

func (*BasePLANVisitor) VisitDict

func (v *BasePLANVisitor) VisitDict(ctx *DictContext) interface{}

func (*BasePLANVisitor) VisitDictUnit

func (v *BasePLANVisitor) VisitDictUnit(ctx *DictUnitContext) interface{}

func (*BasePLANVisitor) VisitElifBlockStmt

func (v *BasePLANVisitor) VisitElifBlockStmt(ctx *ElifBlockStmtContext) interface{}

func (*BasePLANVisitor) VisitElseBlockStmt

func (v *BasePLANVisitor) VisitElseBlockStmt(ctx *ElseBlockStmtContext) interface{}

func (*BasePLANVisitor) VisitExpBool

func (v *BasePLANVisitor) VisitExpBool(ctx *ExpBoolContext) interface{}

func (*BasePLANVisitor) VisitExpComparison

func (v *BasePLANVisitor) VisitExpComparison(ctx *ExpComparisonContext) interface{}

func (*BasePLANVisitor) VisitExpCs

func (v *BasePLANVisitor) VisitExpCs(ctx *ExpCsContext) interface{}

func (*BasePLANVisitor) VisitExpCsInvoke

func (v *BasePLANVisitor) VisitExpCsInvoke(ctx *ExpCsInvokeContext) interface{}

func (*BasePLANVisitor) VisitExpDict

func (v *BasePLANVisitor) VisitExpDict(ctx *ExpDictContext) interface{}

func (*BasePLANVisitor) VisitExpEqual

func (v *BasePLANVisitor) VisitExpEqual(ctx *ExpEqualContext) interface{}

func (*BasePLANVisitor) VisitExpFloat

func (v *BasePLANVisitor) VisitExpFloat(ctx *ExpFloatContext) interface{}

func (*BasePLANVisitor) VisitExpFnInvoke

func (v *BasePLANVisitor) VisitExpFnInvoke(ctx *ExpFnInvokeContext) interface{}

func (*BasePLANVisitor) VisitExpIdentifier

func (v *BasePLANVisitor) VisitExpIdentifier(ctx *ExpIdentifierContext) interface{}

func (*BasePLANVisitor) VisitExpIdx

func (v *BasePLANVisitor) VisitExpIdx(ctx *ExpIdxContext) interface{}

func (*BasePLANVisitor) VisitExpInteger

func (v *BasePLANVisitor) VisitExpInteger(ctx *ExpIntegerContext) interface{}

func (*BasePLANVisitor) VisitExpIntegerHex

func (v *BasePLANVisitor) VisitExpIntegerHex(ctx *ExpIntegerHexContext) interface{}

func (*BasePLANVisitor) VisitExpList

func (v *BasePLANVisitor) VisitExpList(ctx *ExpListContext) interface{}

func (*BasePLANVisitor) VisitExpLogicalAnd

func (v *BasePLANVisitor) VisitExpLogicalAnd(ctx *ExpLogicalAndContext) interface{}

func (*BasePLANVisitor) VisitExpLogicalNot

func (v *BasePLANVisitor) VisitExpLogicalNot(ctx *ExpLogicalNotContext) interface{}

func (*BasePLANVisitor) VisitExpLogicalOr

func (v *BasePLANVisitor) VisitExpLogicalOr(ctx *ExpLogicalOrContext) interface{}

func (*BasePLANVisitor) VisitExpMethodInvoke

func (v *BasePLANVisitor) VisitExpMethodInvoke(ctx *ExpMethodInvokeContext) interface{}

func (*BasePLANVisitor) VisitExpMulDivMod

func (v *BasePLANVisitor) VisitExpMulDivMod(ctx *ExpMulDivModContext) interface{}

func (*BasePLANVisitor) VisitExpNeg

func (v *BasePLANVisitor) VisitExpNeg(ctx *ExpNegContext) interface{}

func (*BasePLANVisitor) VisitExpNull

func (v *BasePLANVisitor) VisitExpNull(ctx *ExpNullContext) interface{}

func (*BasePLANVisitor) VisitExpParentheses

func (v *BasePLANVisitor) VisitExpParentheses(ctx *ExpParenthesesContext) interface{}

func (*BasePLANVisitor) VisitExpPow

func (v *BasePLANVisitor) VisitExpPow(ctx *ExpPowContext) interface{}

func (*BasePLANVisitor) VisitExpString

func (v *BasePLANVisitor) VisitExpString(ctx *ExpStringContext) interface{}

func (*BasePLANVisitor) VisitExpSumSub

func (v *BasePLANVisitor) VisitExpSumSub(ctx *ExpSumSubContext) interface{}

func (*BasePLANVisitor) VisitExpXor

func (v *BasePLANVisitor) VisitExpXor(ctx *ExpXorContext) interface{}

func (*BasePLANVisitor) VisitFn

func (v *BasePLANVisitor) VisitFn(ctx *FnContext) interface{}

func (*BasePLANVisitor) VisitFnBody

func (v *BasePLANVisitor) VisitFnBody(ctx *FnBodyContext) interface{}

func (*BasePLANVisitor) VisitFnParams

func (v *BasePLANVisitor) VisitFnParams(ctx *FnParamsContext) interface{}

func (*BasePLANVisitor) VisitForStmt

func (v *BasePLANVisitor) VisitForStmt(ctx *ForStmtContext) interface{}

func (*BasePLANVisitor) VisitIdentifierCsInvoke

func (v *BasePLANVisitor) VisitIdentifierCsInvoke(ctx *IdentifierCsInvokeContext) interface{}

func (*BasePLANVisitor) VisitIdentifierFnInvoke

func (v *BasePLANVisitor) VisitIdentifierFnInvoke(ctx *IdentifierFnInvokeContext) interface{}

func (*BasePLANVisitor) VisitIdentifierMethodInvoke

func (v *BasePLANVisitor) VisitIdentifierMethodInvoke(ctx *IdentifierMethodInvokeContext) interface{}

func (*BasePLANVisitor) VisitIdx

func (v *BasePLANVisitor) VisitIdx(ctx *IdxContext) interface{}

func (*BasePLANVisitor) VisitIfBlockStmt

func (v *BasePLANVisitor) VisitIfBlockStmt(ctx *IfBlockStmtContext) interface{}

func (*BasePLANVisitor) VisitIfStmt

func (v *BasePLANVisitor) VisitIfStmt(ctx *IfStmtContext) interface{}

func (*BasePLANVisitor) VisitInclude

func (v *BasePLANVisitor) VisitInclude(ctx *IncludeContext) interface{}

func (*BasePLANVisitor) VisitList

func (v *BasePLANVisitor) VisitList(ctx *ListContext) interface{}

func (*BasePLANVisitor) VisitProg

func (v *BasePLANVisitor) VisitProg(ctx *ProgContext) interface{}

func (*BasePLANVisitor) VisitReturnStmt

func (v *BasePLANVisitor) VisitReturnStmt(ctx *ReturnStmtContext) interface{}

func (*BasePLANVisitor) VisitStmt

func (v *BasePLANVisitor) VisitStmt(ctx *StmtContext) interface{}

func (*BasePLANVisitor) VisitWhileStmt

func (v *BasePLANVisitor) VisitWhileStmt(ctx *WhileStmtContext) interface{}

type BreakStmtContext

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

func NewBreakStmtContext

func NewBreakStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BreakStmtContext

func NewEmptyBreakStmtContext

func NewEmptyBreakStmtContext() *BreakStmtContext

func (*BreakStmtContext) Accept

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

func (*BreakStmtContext) EnterRule

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

func (*BreakStmtContext) ExitRule

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

func (*BreakStmtContext) GetParser

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

func (*BreakStmtContext) GetRuleContext

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

func (*BreakStmtContext) IsBreakStmtContext

func (*BreakStmtContext) IsBreakStmtContext()

func (*BreakStmtContext) ToStringTree

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

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

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

func (*ClosureContext) ExitRule

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

func (*ClosureContext) FnBody

func (s *ClosureContext) FnBody() IFnBodyContext

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

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

type ContinueStmtContext

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

func NewContinueStmtContext

func NewContinueStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ContinueStmtContext

func NewEmptyContinueStmtContext

func NewEmptyContinueStmtContext() *ContinueStmtContext

func (*ContinueStmtContext) Accept

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

func (*ContinueStmtContext) EnterRule

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

func (*ContinueStmtContext) ExitRule

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

func (*ContinueStmtContext) GetParser

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

func (*ContinueStmtContext) GetRuleContext

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

func (*ContinueStmtContext) IsContinueStmtContext

func (*ContinueStmtContext) IsContinueStmtContext()

func (*ContinueStmtContext) ToStringTree

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

type CsInvokeContext

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

func NewCsInvokeContext

func NewCsInvokeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CsInvokeContext

func NewEmptyCsInvokeContext

func NewEmptyCsInvokeContext() *CsInvokeContext

func (*CsInvokeContext) CopyAll

func (s *CsInvokeContext) CopyAll(ctx *CsInvokeContext)

func (*CsInvokeContext) GetParser

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

func (*CsInvokeContext) GetRuleContext

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

func (*CsInvokeContext) IsCsInvokeContext

func (*CsInvokeContext) IsCsInvokeContext()

func (*CsInvokeContext) ToStringTree

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

type DictContext

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

func NewDictContext

func NewDictContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DictContext

func NewEmptyDictContext

func NewEmptyDictContext() *DictContext

func (*DictContext) Accept

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

func (*DictContext) AllDictUnit

func (s *DictContext) AllDictUnit() []IDictUnitContext

func (*DictContext) DictUnit

func (s *DictContext) DictUnit(i int) IDictUnitContext

func (*DictContext) EnterRule

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

func (*DictContext) ExitRule

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

func (*DictContext) GetParser

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

func (*DictContext) GetRuleContext

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

func (*DictContext) IsDictContext

func (*DictContext) IsDictContext()

func (*DictContext) ToStringTree

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

type DictUnitContext

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

func NewDictUnitContext

func NewDictUnitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DictUnitContext

func NewEmptyDictUnitContext

func NewEmptyDictUnitContext() *DictUnitContext

func (*DictUnitContext) Accept

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

func (*DictUnitContext) AllExp

func (s *DictUnitContext) AllExp() []IExpContext

func (*DictUnitContext) EnterRule

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

func (*DictUnitContext) ExitRule

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

func (*DictUnitContext) Exp

func (s *DictUnitContext) Exp(i int) IExpContext

func (*DictUnitContext) GetParser

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

func (*DictUnitContext) GetRuleContext

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

func (*DictUnitContext) IsDictUnitContext

func (*DictUnitContext) IsDictUnitContext()

func (*DictUnitContext) ToStringTree

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

type ElifBlockContext

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

func NewElifBlockContext

func NewElifBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElifBlockContext

func NewEmptyElifBlockContext

func NewEmptyElifBlockContext() *ElifBlockContext

func (*ElifBlockContext) CopyAll

func (s *ElifBlockContext) CopyAll(ctx *ElifBlockContext)

func (*ElifBlockContext) GetParser

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

func (*ElifBlockContext) GetRuleContext

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

func (*ElifBlockContext) IsElifBlockContext

func (*ElifBlockContext) IsElifBlockContext()

func (*ElifBlockContext) ToStringTree

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

type ElifBlockStmtContext

type ElifBlockStmtContext struct {
	ElifBlockContext
}

func NewElifBlockStmtContext

func NewElifBlockStmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ElifBlockStmtContext

func (*ElifBlockStmtContext) Accept

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

func (*ElifBlockStmtContext) AllStmt

func (s *ElifBlockStmtContext) AllStmt() []IStmtContext

func (*ElifBlockStmtContext) EnterRule

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

func (*ElifBlockStmtContext) ExitRule

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

func (*ElifBlockStmtContext) Exp

func (*ElifBlockStmtContext) GetRuleContext

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

func (*ElifBlockStmtContext) Stmt

type ElseBlockContext

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

func NewElseBlockContext

func NewElseBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ElseBlockContext

func NewEmptyElseBlockContext

func NewEmptyElseBlockContext() *ElseBlockContext

func (*ElseBlockContext) CopyAll

func (s *ElseBlockContext) CopyAll(ctx *ElseBlockContext)

func (*ElseBlockContext) GetParser

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

func (*ElseBlockContext) GetRuleContext

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

func (*ElseBlockContext) IsElseBlockContext

func (*ElseBlockContext) IsElseBlockContext()

func (*ElseBlockContext) ToStringTree

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

type ElseBlockStmtContext

type ElseBlockStmtContext struct {
	ElseBlockContext
}

func NewElseBlockStmtContext

func NewElseBlockStmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ElseBlockStmtContext

func (*ElseBlockStmtContext) Accept

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

func (*ElseBlockStmtContext) AllStmt

func (s *ElseBlockStmtContext) AllStmt() []IStmtContext

func (*ElseBlockStmtContext) EnterRule

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

func (*ElseBlockStmtContext) ExitRule

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

func (*ElseBlockStmtContext) GetRuleContext

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

func (*ElseBlockStmtContext) Stmt

type ExpBoolContext

type ExpBoolContext struct {
	ExpContext
}

func NewExpBoolContext

func NewExpBoolContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpBoolContext

func (*ExpBoolContext) Accept

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

func (*ExpBoolContext) Bool

func (s *ExpBoolContext) Bool() antlr.TerminalNode

func (*ExpBoolContext) EnterRule

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

func (*ExpBoolContext) ExitRule

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

func (*ExpBoolContext) GetRuleContext

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

type ExpComparisonContext

type ExpComparisonContext struct {
	ExpContext
	// contains filtered or unexported fields
}

func NewExpComparisonContext

func NewExpComparisonContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpComparisonContext

func (*ExpComparisonContext) Accept

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

func (*ExpComparisonContext) AllExp

func (s *ExpComparisonContext) AllExp() []IExpContext

func (*ExpComparisonContext) EnterRule

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

func (*ExpComparisonContext) ExitRule

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

func (*ExpComparisonContext) Exp

func (*ExpComparisonContext) GetOp

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

func (*ExpComparisonContext) GetRuleContext

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

func (*ExpComparisonContext) Gt

func (*ExpComparisonContext) GtEq

func (*ExpComparisonContext) Lt

func (*ExpComparisonContext) LtEq

func (*ExpComparisonContext) SetOp

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

type ExpContext

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

func NewEmptyExpContext

func NewEmptyExpContext() *ExpContext

func NewExpContext

func NewExpContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpContext

func (*ExpContext) CopyAll

func (s *ExpContext) CopyAll(ctx *ExpContext)

func (*ExpContext) GetParser

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

func (*ExpContext) GetRuleContext

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

func (*ExpContext) IsExpContext

func (*ExpContext) IsExpContext()

func (*ExpContext) ToStringTree

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

type ExpCsContext

type ExpCsContext struct {
	ExpContext
}

func NewExpCsContext

func NewExpCsContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpCsContext

func (*ExpCsContext) Accept

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

func (*ExpCsContext) Closure

func (s *ExpCsContext) Closure() IClosureContext

func (*ExpCsContext) EnterRule

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

func (*ExpCsContext) ExitRule

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

func (*ExpCsContext) GetRuleContext

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

type ExpCsInvokeContext

type ExpCsInvokeContext struct {
	ExpContext
}

func NewExpCsInvokeContext

func NewExpCsInvokeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpCsInvokeContext

func (*ExpCsInvokeContext) Accept

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

func (*ExpCsInvokeContext) CsInvoke

func (s *ExpCsInvokeContext) CsInvoke() ICsInvokeContext

func (*ExpCsInvokeContext) EnterRule

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

func (*ExpCsInvokeContext) ExitRule

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

func (*ExpCsInvokeContext) GetRuleContext

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

type ExpDictContext

type ExpDictContext struct {
	ExpContext
}

func NewExpDictContext

func NewExpDictContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpDictContext

func (*ExpDictContext) Accept

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

func (*ExpDictContext) Dict

func (s *ExpDictContext) Dict() IDictContext

func (*ExpDictContext) EnterRule

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

func (*ExpDictContext) ExitRule

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

func (*ExpDictContext) GetRuleContext

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

type ExpEqualContext

type ExpEqualContext struct {
	ExpContext
	// contains filtered or unexported fields
}

func NewExpEqualContext

func NewExpEqualContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpEqualContext

func (*ExpEqualContext) Accept

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

func (*ExpEqualContext) AllExp

func (s *ExpEqualContext) AllExp() []IExpContext

func (*ExpEqualContext) EnterRule

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

func (*ExpEqualContext) Eq

func (*ExpEqualContext) ExitRule

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

func (*ExpEqualContext) Exp

func (s *ExpEqualContext) Exp(i int) IExpContext

func (*ExpEqualContext) GetOp

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

func (*ExpEqualContext) GetRuleContext

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

func (*ExpEqualContext) Neq

func (*ExpEqualContext) SetOp

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

type ExpFloatContext

type ExpFloatContext struct {
	ExpContext
}

func NewExpFloatContext

func NewExpFloatContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpFloatContext

func (*ExpFloatContext) Accept

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

func (*ExpFloatContext) EnterRule

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

func (*ExpFloatContext) ExitRule

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

func (*ExpFloatContext) Float

func (s *ExpFloatContext) Float() antlr.TerminalNode

func (*ExpFloatContext) GetRuleContext

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

type ExpFnInvokeContext

type ExpFnInvokeContext struct {
	ExpContext
}

func NewExpFnInvokeContext

func NewExpFnInvokeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpFnInvokeContext

func (*ExpFnInvokeContext) Accept

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

func (*ExpFnInvokeContext) EnterRule

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

func (*ExpFnInvokeContext) ExitRule

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

func (*ExpFnInvokeContext) FnInvoke

func (s *ExpFnInvokeContext) FnInvoke() IFnInvokeContext

func (*ExpFnInvokeContext) GetRuleContext

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

type ExpIdentifierContext

type ExpIdentifierContext struct {
	ExpContext
}

func NewExpIdentifierContext

func NewExpIdentifierContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpIdentifierContext

func (*ExpIdentifierContext) Accept

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

func (*ExpIdentifierContext) EnterRule

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

func (*ExpIdentifierContext) ExitRule

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

func (*ExpIdentifierContext) GetRuleContext

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

func (*ExpIdentifierContext) Identifier

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

type ExpIdxContext

type ExpIdxContext struct {
	ExpContext
}

func NewExpIdxContext

func NewExpIdxContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpIdxContext

func (*ExpIdxContext) Accept

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

func (*ExpIdxContext) EnterRule

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

func (*ExpIdxContext) ExitRule

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

func (*ExpIdxContext) Exp

func (s *ExpIdxContext) Exp() IExpContext

func (*ExpIdxContext) GetRuleContext

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

func (*ExpIdxContext) Idx

func (s *ExpIdxContext) Idx() IIdxContext

type ExpIntegerContext

type ExpIntegerContext struct {
	ExpContext
}

func NewExpIntegerContext

func NewExpIntegerContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpIntegerContext

func (*ExpIntegerContext) Accept

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

func (*ExpIntegerContext) EnterRule

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

func (*ExpIntegerContext) ExitRule

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

func (*ExpIntegerContext) GetRuleContext

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

func (*ExpIntegerContext) Integer

func (s *ExpIntegerContext) Integer() antlr.TerminalNode

type ExpIntegerHexContext

type ExpIntegerHexContext struct {
	ExpContext
}

func NewExpIntegerHexContext

func NewExpIntegerHexContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpIntegerHexContext

func (*ExpIntegerHexContext) Accept

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

func (*ExpIntegerHexContext) EnterRule

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

func (*ExpIntegerHexContext) ExitRule

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

func (*ExpIntegerHexContext) GetRuleContext

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

func (*ExpIntegerHexContext) IntegerHex

func (s *ExpIntegerHexContext) IntegerHex() antlr.TerminalNode

type ExpListContext

type ExpListContext struct {
	ExpContext
}

func NewExpListContext

func NewExpListContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpListContext

func (*ExpListContext) Accept

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

func (*ExpListContext) EnterRule

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

func (*ExpListContext) ExitRule

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

func (*ExpListContext) GetRuleContext

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

func (*ExpListContext) List

func (s *ExpListContext) List() IListContext

type ExpLogicalAndContext

type ExpLogicalAndContext struct {
	ExpContext
}

func NewExpLogicalAndContext

func NewExpLogicalAndContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpLogicalAndContext

func (*ExpLogicalAndContext) Accept

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

func (*ExpLogicalAndContext) AllExp

func (s *ExpLogicalAndContext) AllExp() []IExpContext

func (*ExpLogicalAndContext) And

func (*ExpLogicalAndContext) EnterRule

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

func (*ExpLogicalAndContext) ExitRule

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

func (*ExpLogicalAndContext) Exp

func (*ExpLogicalAndContext) GetRuleContext

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

type ExpLogicalNotContext

type ExpLogicalNotContext struct {
	ExpContext
}

func NewExpLogicalNotContext

func NewExpLogicalNotContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpLogicalNotContext

func (*ExpLogicalNotContext) Accept

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

func (*ExpLogicalNotContext) EnterRule

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

func (*ExpLogicalNotContext) ExitRule

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

func (*ExpLogicalNotContext) Exp

func (*ExpLogicalNotContext) GetRuleContext

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

func (*ExpLogicalNotContext) Not

type ExpLogicalOrContext

type ExpLogicalOrContext struct {
	ExpContext
}

func NewExpLogicalOrContext

func NewExpLogicalOrContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpLogicalOrContext

func (*ExpLogicalOrContext) Accept

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

func (*ExpLogicalOrContext) AllExp

func (s *ExpLogicalOrContext) AllExp() []IExpContext

func (*ExpLogicalOrContext) EnterRule

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

func (*ExpLogicalOrContext) ExitRule

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

func (*ExpLogicalOrContext) Exp

func (*ExpLogicalOrContext) GetRuleContext

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

func (*ExpLogicalOrContext) Or

type ExpMethodInvokeContext

type ExpMethodInvokeContext struct {
	ExpContext
}

func NewExpMethodInvokeContext

func NewExpMethodInvokeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpMethodInvokeContext

func (*ExpMethodInvokeContext) Accept

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

func (*ExpMethodInvokeContext) EnterRule

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

func (*ExpMethodInvokeContext) ExitRule

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

func (*ExpMethodInvokeContext) GetRuleContext

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

func (*ExpMethodInvokeContext) MethodInvoke

func (s *ExpMethodInvokeContext) MethodInvoke() IMethodInvokeContext

type ExpMulDivModContext

type ExpMulDivModContext struct {
	ExpContext
	// contains filtered or unexported fields
}

func NewExpMulDivModContext

func NewExpMulDivModContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpMulDivModContext

func (*ExpMulDivModContext) Accept

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

func (*ExpMulDivModContext) AllExp

func (s *ExpMulDivModContext) AllExp() []IExpContext

func (*ExpMulDivModContext) Division

func (s *ExpMulDivModContext) Division() antlr.TerminalNode

func (*ExpMulDivModContext) EnterRule

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

func (*ExpMulDivModContext) ExitRule

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

func (*ExpMulDivModContext) Exp

func (*ExpMulDivModContext) GetOp

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

func (*ExpMulDivModContext) GetRuleContext

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

func (*ExpMulDivModContext) Modulus

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

func (*ExpMulDivModContext) Multiply

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

func (*ExpMulDivModContext) SetOp

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

type ExpNegContext

type ExpNegContext struct {
	ExpContext
}

func NewExpNegContext

func NewExpNegContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpNegContext

func (*ExpNegContext) Accept

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

func (*ExpNegContext) EnterRule

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

func (*ExpNegContext) ExitRule

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

func (*ExpNegContext) Exp

func (s *ExpNegContext) Exp() IExpContext

func (*ExpNegContext) GetRuleContext

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

func (*ExpNegContext) Subtract

func (s *ExpNegContext) Subtract() antlr.TerminalNode

type ExpNullContext

type ExpNullContext struct {
	ExpContext
}

func NewExpNullContext

func NewExpNullContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpNullContext

func (*ExpNullContext) Accept

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

func (*ExpNullContext) EnterRule

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

func (*ExpNullContext) ExitRule

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

func (*ExpNullContext) GetRuleContext

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

func (*ExpNullContext) Null

func (s *ExpNullContext) Null() antlr.TerminalNode

type ExpParenthesesContext

type ExpParenthesesContext struct {
	ExpContext
}

func NewExpParenthesesContext

func NewExpParenthesesContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpParenthesesContext

func (*ExpParenthesesContext) Accept

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

func (*ExpParenthesesContext) EnterRule

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

func (*ExpParenthesesContext) ExitRule

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

func (*ExpParenthesesContext) Exp

func (*ExpParenthesesContext) GetRuleContext

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

type ExpPowContext

type ExpPowContext struct {
	ExpContext
}

func NewExpPowContext

func NewExpPowContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpPowContext

func (*ExpPowContext) Accept

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

func (*ExpPowContext) AllExp

func (s *ExpPowContext) AllExp() []IExpContext

func (*ExpPowContext) EnterRule

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

func (*ExpPowContext) ExitRule

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

func (*ExpPowContext) Exp

func (s *ExpPowContext) Exp(i int) IExpContext

func (*ExpPowContext) GetRuleContext

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

func (*ExpPowContext) Pow

func (s *ExpPowContext) Pow() antlr.TerminalNode

type ExpStringContext

type ExpStringContext struct {
	ExpContext
}

func NewExpStringContext

func NewExpStringContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpStringContext

func (*ExpStringContext) Accept

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

func (*ExpStringContext) EnterRule

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

func (*ExpStringContext) ExitRule

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

func (*ExpStringContext) GetRuleContext

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

func (*ExpStringContext) String_

func (s *ExpStringContext) String_() antlr.TerminalNode

type ExpSumSubContext

type ExpSumSubContext struct {
	ExpContext
	// contains filtered or unexported fields
}

func NewExpSumSubContext

func NewExpSumSubContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpSumSubContext

func (*ExpSumSubContext) Accept

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

func (*ExpSumSubContext) Add

func (*ExpSumSubContext) AllExp

func (s *ExpSumSubContext) AllExp() []IExpContext

func (*ExpSumSubContext) EnterRule

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

func (*ExpSumSubContext) ExitRule

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

func (*ExpSumSubContext) Exp

func (s *ExpSumSubContext) Exp(i int) IExpContext

func (*ExpSumSubContext) GetOp

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

func (*ExpSumSubContext) GetRuleContext

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

func (*ExpSumSubContext) SetOp

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

func (*ExpSumSubContext) Subtract

func (s *ExpSumSubContext) Subtract() antlr.TerminalNode

type ExpXorContext

type ExpXorContext struct {
	ExpContext
}

func NewExpXorContext

func NewExpXorContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *ExpXorContext

func (*ExpXorContext) Accept

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

func (*ExpXorContext) AllExp

func (s *ExpXorContext) AllExp() []IExpContext

func (*ExpXorContext) EnterRule

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

func (*ExpXorContext) ExitRule

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

func (*ExpXorContext) Exp

func (s *ExpXorContext) Exp(i int) IExpContext

func (*ExpXorContext) GetRuleContext

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

func (*ExpXorContext) Xor

func (s *ExpXorContext) Xor() antlr.TerminalNode

type FnBodyContext

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

func NewEmptyFnBodyContext

func NewEmptyFnBodyContext() *FnBodyContext

func NewFnBodyContext

func NewFnBodyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FnBodyContext

func (*FnBodyContext) Accept

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

func (*FnBodyContext) AllStmt

func (s *FnBodyContext) AllStmt() []IStmtContext

func (*FnBodyContext) EnterRule

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

func (*FnBodyContext) ExitRule

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

func (*FnBodyContext) FnParams

func (s *FnBodyContext) FnParams() IFnParamsContext

func (*FnBodyContext) GetParser

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

func (*FnBodyContext) GetRuleContext

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

func (*FnBodyContext) IsFnBodyContext

func (*FnBodyContext) IsFnBodyContext()

func (*FnBodyContext) Stmt

func (s *FnBodyContext) Stmt(i int) IStmtContext

func (*FnBodyContext) ToStringTree

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

type FnContext

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

func NewEmptyFnContext

func NewEmptyFnContext() *FnContext

func NewFnContext

func NewFnContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FnContext

func (*FnContext) Accept

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

func (*FnContext) EnterRule

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

func (*FnContext) ExitRule

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

func (*FnContext) FnBody

func (s *FnContext) FnBody() IFnBodyContext

func (*FnContext) GetName

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

func (*FnContext) GetParser

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

func (*FnContext) GetRuleContext

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

func (*FnContext) Identifier

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

func (*FnContext) IsFnContext

func (*FnContext) IsFnContext()

func (*FnContext) SetName

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

func (*FnContext) ToStringTree

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

type FnInvokeContext

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

func NewEmptyFnInvokeContext

func NewEmptyFnInvokeContext() *FnInvokeContext

func NewFnInvokeContext

func NewFnInvokeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FnInvokeContext

func (*FnInvokeContext) CopyAll

func (s *FnInvokeContext) CopyAll(ctx *FnInvokeContext)

func (*FnInvokeContext) GetParser

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

func (*FnInvokeContext) GetRuleContext

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

func (*FnInvokeContext) IsFnInvokeContext

func (*FnInvokeContext) IsFnInvokeContext()

func (*FnInvokeContext) ToStringTree

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

type FnParamsContext

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

func NewEmptyFnParamsContext

func NewEmptyFnParamsContext() *FnParamsContext

func NewFnParamsContext

func NewFnParamsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FnParamsContext

func (*FnParamsContext) Accept

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

func (*FnParamsContext) AllIdentifier

func (s *FnParamsContext) AllIdentifier() []antlr.TerminalNode

func (*FnParamsContext) EnterRule

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

func (*FnParamsContext) ExitRule

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

func (*FnParamsContext) GetParser

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

func (*FnParamsContext) GetRuleContext

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

func (*FnParamsContext) Identifier

func (s *FnParamsContext) Identifier(i int) antlr.TerminalNode

func (*FnParamsContext) IsFnParamsContext

func (*FnParamsContext) IsFnParamsContext()

func (*FnParamsContext) ToStringTree

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

type ForStmtContext

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

func NewEmptyForStmtContext

func NewEmptyForStmtContext() *ForStmtContext

func NewForStmtContext

func NewForStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ForStmtContext

func (*ForStmtContext) Accept

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

func (*ForStmtContext) AllAssignment

func (s *ForStmtContext) AllAssignment() []IAssignmentContext

func (*ForStmtContext) AllStmt

func (s *ForStmtContext) AllStmt() []IStmtContext

func (*ForStmtContext) Assignment

func (s *ForStmtContext) Assignment(i int) IAssignmentContext

func (*ForStmtContext) EnterRule

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

func (*ForStmtContext) ExitRule

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

func (*ForStmtContext) Exp

func (s *ForStmtContext) Exp() IExpContext

func (*ForStmtContext) GetParser

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

func (*ForStmtContext) GetRuleContext

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

func (*ForStmtContext) IsForStmtContext

func (*ForStmtContext) IsForStmtContext()

func (*ForStmtContext) Stmt

func (s *ForStmtContext) Stmt(i int) IStmtContext

func (*ForStmtContext) ToStringTree

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

type IAssignmentContext

type IAssignmentContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsAssignmentContext differentiates from other interfaces.
	IsAssignmentContext()
}

IAssignmentContext is an interface to support dynamic dispatch.

type IBreakStmtContext

type IBreakStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsBreakStmtContext differentiates from other interfaces.
	IsBreakStmtContext()
}

IBreakStmtContext is an interface to support dynamic dispatch.

type IClosureContext

type IClosureContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FnBody() IFnBodyContext

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

IClosureContext is an interface to support dynamic dispatch.

type IContinueStmtContext

type IContinueStmtContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsContinueStmtContext differentiates from other interfaces.
	IsContinueStmtContext()
}

IContinueStmtContext is an interface to support dynamic dispatch.

type ICsInvokeContext

type ICsInvokeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsCsInvokeContext differentiates from other interfaces.
	IsCsInvokeContext()
}

ICsInvokeContext is an interface to support dynamic dispatch.

type IDictContext

type IDictContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllDictUnit() []IDictUnitContext
	DictUnit(i int) IDictUnitContext

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

IDictContext is an interface to support dynamic dispatch.

type IDictUnitContext

type IDictUnitContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExp() []IExpContext
	Exp(i int) IExpContext

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

IDictUnitContext is an interface to support dynamic dispatch.

type IElifBlockContext

type IElifBlockContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsElifBlockContext differentiates from other interfaces.
	IsElifBlockContext()
}

IElifBlockContext is an interface to support dynamic dispatch.

type IElseBlockContext

type IElseBlockContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsElseBlockContext differentiates from other interfaces.
	IsElseBlockContext()
}

IElseBlockContext is an interface to support dynamic dispatch.

type IExpContext

type IExpContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsExpContext differentiates from other interfaces.
	IsExpContext()
}

IExpContext is an interface to support dynamic dispatch.

type IFnBodyContext

type IFnBodyContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	FnParams() IFnParamsContext
	AllStmt() []IStmtContext
	Stmt(i int) IStmtContext

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

IFnBodyContext is an interface to support dynamic dispatch.

type IFnContext

type IFnContext interface {
	antlr.ParserRuleContext

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

	// GetName returns the name token.
	GetName() antlr.Token

	// SetName sets the name token.
	SetName(antlr.Token)

	// Getter signatures
	FnBody() IFnBodyContext
	Identifier() antlr.TerminalNode

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

IFnContext is an interface to support dynamic dispatch.

type IFnInvokeContext

type IFnInvokeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsFnInvokeContext differentiates from other interfaces.
	IsFnInvokeContext()
}

IFnInvokeContext is an interface to support dynamic dispatch.

type IFnParamsContext

type IFnParamsContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllIdentifier() []antlr.TerminalNode
	Identifier(i int) antlr.TerminalNode

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

IFnParamsContext is an interface to support dynamic dispatch.

type IForStmtContext

type IForStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllAssignment() []IAssignmentContext
	Assignment(i int) IAssignmentContext
	Exp() IExpContext
	AllStmt() []IStmtContext
	Stmt(i int) IStmtContext

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

IForStmtContext is an interface to support dynamic dispatch.

type IIdxContext

type IIdxContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Exp() IExpContext

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

IIdxContext is an interface to support dynamic dispatch.

type IIfBlockContext

type IIfBlockContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsIfBlockContext differentiates from other interfaces.
	IsIfBlockContext()
}

IIfBlockContext is an interface to support dynamic dispatch.

type IIfStmtContext

type IIfStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	IfBlock() IIfBlockContext
	AllElifBlock() []IElifBlockContext
	ElifBlock(i int) IElifBlockContext
	ElseBlock() IElseBlockContext

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

IIfStmtContext is an interface to support dynamic dispatch.

type IIncludeContext

type IIncludeContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Exp() IExpContext

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

IIncludeContext is an interface to support dynamic dispatch.

type IListContext

type IListContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	AllExp() []IExpContext
	Exp(i int) IExpContext

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

IListContext is an interface to support dynamic dispatch.

type IMethodInvokeContext

type IMethodInvokeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsMethodInvokeContext differentiates from other interfaces.
	IsMethodInvokeContext()
}

IMethodInvokeContext is an interface to support dynamic dispatch.

type IProgContext

type IProgContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	EOF() antlr.TerminalNode
	AllStmt() []IStmtContext
	Stmt(i int) IStmtContext
	AllFn() []IFnContext
	Fn(i int) IFnContext
	AllInclude() []IIncludeContext
	Include(i int) IIncludeContext

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

IProgContext is an interface to support dynamic dispatch.

type IReturnStmtContext

type IReturnStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Exp() IExpContext

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

IReturnStmtContext is an interface to support dynamic dispatch.

type IStmtContext

type IStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Assignment() IAssignmentContext
	MethodInvoke() IMethodInvokeContext
	CsInvoke() ICsInvokeContext
	FnInvoke() IFnInvokeContext
	WhileStmt() IWhileStmtContext
	ForStmt() IForStmtContext
	IfStmt() IIfStmtContext
	BreakStmt() IBreakStmtContext
	ContinueStmt() IContinueStmtContext
	ReturnStmt() IReturnStmtContext

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

IStmtContext is an interface to support dynamic dispatch.

type IWhileStmtContext

type IWhileStmtContext interface {
	antlr.ParserRuleContext

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

	// Getter signatures
	Exp() IExpContext
	AllStmt() []IStmtContext
	Stmt(i int) IStmtContext

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

IWhileStmtContext is an interface to support dynamic dispatch.

type IdentifierCsInvokeContext

type IdentifierCsInvokeContext struct {
	CsInvokeContext
	// contains filtered or unexported fields
}

func NewIdentifierCsInvokeContext

func NewIdentifierCsInvokeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentifierCsInvokeContext

func (*IdentifierCsInvokeContext) Accept

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

func (*IdentifierCsInvokeContext) AllExp

func (s *IdentifierCsInvokeContext) AllExp() []IExpContext

func (*IdentifierCsInvokeContext) Closure

func (*IdentifierCsInvokeContext) EnterRule

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

func (*IdentifierCsInvokeContext) ExitRule

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

func (*IdentifierCsInvokeContext) Exp

func (*IdentifierCsInvokeContext) GetName

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

func (*IdentifierCsInvokeContext) GetRuleContext

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

func (*IdentifierCsInvokeContext) Identifier

func (*IdentifierCsInvokeContext) SetName

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

type IdentifierFnInvokeContext

type IdentifierFnInvokeContext struct {
	FnInvokeContext
	// contains filtered or unexported fields
}

func NewIdentifierFnInvokeContext

func NewIdentifierFnInvokeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentifierFnInvokeContext

func (*IdentifierFnInvokeContext) Accept

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

func (*IdentifierFnInvokeContext) AllExp

func (s *IdentifierFnInvokeContext) AllExp() []IExpContext

func (*IdentifierFnInvokeContext) EnterRule

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

func (*IdentifierFnInvokeContext) ExitRule

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

func (*IdentifierFnInvokeContext) Exp

func (*IdentifierFnInvokeContext) GetName

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

func (*IdentifierFnInvokeContext) GetRuleContext

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

func (*IdentifierFnInvokeContext) Identifier

func (*IdentifierFnInvokeContext) SetName

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

type IdentifierMethodInvokeContext

type IdentifierMethodInvokeContext struct {
	MethodInvokeContext
	// contains filtered or unexported fields
}

func NewIdentifierMethodInvokeContext

func NewIdentifierMethodInvokeContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentifierMethodInvokeContext

func (*IdentifierMethodInvokeContext) Accept

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

func (*IdentifierMethodInvokeContext) AllExp

func (*IdentifierMethodInvokeContext) AllIdentifier

func (s *IdentifierMethodInvokeContext) AllIdentifier() []antlr.TerminalNode

func (*IdentifierMethodInvokeContext) EnterRule

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

func (*IdentifierMethodInvokeContext) ExitRule

func (*IdentifierMethodInvokeContext) Exp

func (*IdentifierMethodInvokeContext) GetName

func (*IdentifierMethodInvokeContext) GetRuleContext

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

func (*IdentifierMethodInvokeContext) GetVar_

func (*IdentifierMethodInvokeContext) Identifier

func (*IdentifierMethodInvokeContext) SetName

func (*IdentifierMethodInvokeContext) SetVar_

type IdxContext

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

func NewEmptyIdxContext

func NewEmptyIdxContext() *IdxContext

func NewIdxContext

func NewIdxContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdxContext

func (*IdxContext) Accept

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

func (*IdxContext) EnterRule

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

func (*IdxContext) ExitRule

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

func (*IdxContext) Exp

func (s *IdxContext) Exp() IExpContext

func (*IdxContext) GetParser

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

func (*IdxContext) GetRuleContext

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

func (*IdxContext) IsIdxContext

func (*IdxContext) IsIdxContext()

func (*IdxContext) ToStringTree

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

type IfBlockContext

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

func NewEmptyIfBlockContext

func NewEmptyIfBlockContext() *IfBlockContext

func NewIfBlockContext

func NewIfBlockContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfBlockContext

func (*IfBlockContext) CopyAll

func (s *IfBlockContext) CopyAll(ctx *IfBlockContext)

func (*IfBlockContext) GetParser

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

func (*IfBlockContext) GetRuleContext

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

func (*IfBlockContext) IsIfBlockContext

func (*IfBlockContext) IsIfBlockContext()

func (*IfBlockContext) ToStringTree

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

type IfBlockStmtContext

type IfBlockStmtContext struct {
	IfBlockContext
}

func NewIfBlockStmtContext

func NewIfBlockStmtContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IfBlockStmtContext

func (*IfBlockStmtContext) Accept

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

func (*IfBlockStmtContext) AllStmt

func (s *IfBlockStmtContext) AllStmt() []IStmtContext

func (*IfBlockStmtContext) EnterRule

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

func (*IfBlockStmtContext) ExitRule

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

func (*IfBlockStmtContext) Exp

func (*IfBlockStmtContext) GetRuleContext

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

func (*IfBlockStmtContext) Stmt

func (s *IfBlockStmtContext) Stmt(i int) IStmtContext

type IfStmtContext

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

func NewEmptyIfStmtContext

func NewEmptyIfStmtContext() *IfStmtContext

func NewIfStmtContext

func NewIfStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfStmtContext

func (*IfStmtContext) Accept

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

func (*IfStmtContext) AllElifBlock

func (s *IfStmtContext) AllElifBlock() []IElifBlockContext

func (*IfStmtContext) ElifBlock

func (s *IfStmtContext) ElifBlock(i int) IElifBlockContext

func (*IfStmtContext) ElseBlock

func (s *IfStmtContext) ElseBlock() IElseBlockContext

func (*IfStmtContext) EnterRule

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

func (*IfStmtContext) ExitRule

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

func (*IfStmtContext) GetParser

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

func (*IfStmtContext) GetRuleContext

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

func (*IfStmtContext) IfBlock

func (s *IfStmtContext) IfBlock() IIfBlockContext

func (*IfStmtContext) IsIfStmtContext

func (*IfStmtContext) IsIfStmtContext()

func (*IfStmtContext) ToStringTree

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

type IncludeContext

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

func NewEmptyIncludeContext

func NewEmptyIncludeContext() *IncludeContext

func NewIncludeContext

func NewIncludeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IncludeContext

func (*IncludeContext) Accept

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

func (*IncludeContext) EnterRule

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

func (*IncludeContext) ExitRule

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

func (*IncludeContext) Exp

func (s *IncludeContext) Exp() IExpContext

func (*IncludeContext) GetParser

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

func (*IncludeContext) GetRuleContext

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

func (*IncludeContext) IsIncludeContext

func (*IncludeContext) IsIncludeContext()

func (*IncludeContext) ToStringTree

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

type ListContext

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

func NewEmptyListContext

func NewEmptyListContext() *ListContext

func NewListContext

func NewListContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListContext

func (*ListContext) Accept

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

func (*ListContext) AllExp

func (s *ListContext) AllExp() []IExpContext

func (*ListContext) EnterRule

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

func (*ListContext) ExitRule

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

func (*ListContext) Exp

func (s *ListContext) Exp(i int) IExpContext

func (*ListContext) GetParser

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

func (*ListContext) GetRuleContext

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

func (*ListContext) IsListContext

func (*ListContext) IsListContext()

func (*ListContext) ToStringTree

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

type MethodInvokeContext

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

func NewEmptyMethodInvokeContext

func NewEmptyMethodInvokeContext() *MethodInvokeContext

func NewMethodInvokeContext

func NewMethodInvokeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethodInvokeContext

func (*MethodInvokeContext) CopyAll

func (s *MethodInvokeContext) CopyAll(ctx *MethodInvokeContext)

func (*MethodInvokeContext) GetParser

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

func (*MethodInvokeContext) GetRuleContext

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

func (*MethodInvokeContext) IsMethodInvokeContext

func (*MethodInvokeContext) IsMethodInvokeContext()

func (*MethodInvokeContext) ToStringTree

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

type PLANLexer

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

func NewPLANLexer

func NewPLANLexer(input antlr.CharStream) *PLANLexer

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

type PLANListener

type PLANListener interface {
	antlr.ParseTreeListener

	// EnterProg is called when entering the prog production.
	EnterProg(c *ProgContext)

	// EnterStmt is called when entering the stmt production.
	EnterStmt(c *StmtContext)

	// EnterWhileStmt is called when entering the whileStmt production.
	EnterWhileStmt(c *WhileStmtContext)

	// EnterForStmt is called when entering the forStmt production.
	EnterForStmt(c *ForStmtContext)

	// EnterReturnStmt is called when entering the returnStmt production.
	EnterReturnStmt(c *ReturnStmtContext)

	// EnterContinueStmt is called when entering the continueStmt production.
	EnterContinueStmt(c *ContinueStmtContext)

	// EnterBreakStmt is called when entering the breakStmt production.
	EnterBreakStmt(c *BreakStmtContext)

	// EnterAssignRegular is called when entering the assignRegular production.
	EnterAssignRegular(c *AssignRegularContext)

	// EnterAssignSum is called when entering the assignSum production.
	EnterAssignSum(c *AssignSumContext)

	// EnterAssignSub is called when entering the assignSub production.
	EnterAssignSub(c *AssignSubContext)

	// EnterAssignMul is called when entering the assignMul production.
	EnterAssignMul(c *AssignMulContext)

	// EnterAssignDiv is called when entering the assignDiv production.
	EnterAssignDiv(c *AssignDivContext)

	// EnterAssignMod is called when entering the assignMod production.
	EnterAssignMod(c *AssignModContext)

	// EnterAssignPow is called when entering the assignPow production.
	EnterAssignPow(c *AssignPowContext)

	// EnterAssignIdxRegular is called when entering the assignIdxRegular production.
	EnterAssignIdxRegular(c *AssignIdxRegularContext)

	// EnterList is called when entering the list production.
	EnterList(c *ListContext)

	// EnterDictUnit is called when entering the dictUnit production.
	EnterDictUnit(c *DictUnitContext)

	// EnterDict is called when entering the dict production.
	EnterDict(c *DictContext)

	// EnterIdx is called when entering the idx production.
	EnterIdx(c *IdxContext)

	// EnterIdentifierMethodInvoke is called when entering the identifierMethodInvoke production.
	EnterIdentifierMethodInvoke(c *IdentifierMethodInvokeContext)

	// EnterIdentifierFnInvoke is called when entering the identifierFnInvoke production.
	EnterIdentifierFnInvoke(c *IdentifierFnInvokeContext)

	// EnterIdentifierCsInvoke is called when entering the identifierCsInvoke production.
	EnterIdentifierCsInvoke(c *IdentifierCsInvokeContext)

	// EnterExpBool is called when entering the expBool production.
	EnterExpBool(c *ExpBoolContext)

	// EnterExpComparison is called when entering the expComparison production.
	EnterExpComparison(c *ExpComparisonContext)

	// EnterExpIdx is called when entering the expIdx production.
	EnterExpIdx(c *ExpIdxContext)

	// EnterExpString is called when entering the expString production.
	EnterExpString(c *ExpStringContext)

	// EnterExpCsInvoke is called when entering the expCsInvoke production.
	EnterExpCsInvoke(c *ExpCsInvokeContext)

	// EnterExpFloat is called when entering the expFloat production.
	EnterExpFloat(c *ExpFloatContext)

	// EnterExpPow is called when entering the expPow production.
	EnterExpPow(c *ExpPowContext)

	// EnterExpDict is called when entering the expDict production.
	EnterExpDict(c *ExpDictContext)

	// EnterExpXor is called when entering the expXor production.
	EnterExpXor(c *ExpXorContext)

	// EnterExpNeg is called when entering the expNeg production.
	EnterExpNeg(c *ExpNegContext)

	// EnterExpInteger is called when entering the expInteger production.
	EnterExpInteger(c *ExpIntegerContext)

	// EnterExpLogicalOr is called when entering the expLogicalOr production.
	EnterExpLogicalOr(c *ExpLogicalOrContext)

	// EnterExpCs is called when entering the expCs production.
	EnterExpCs(c *ExpCsContext)

	// EnterExpMulDivMod is called when entering the expMulDivMod production.
	EnterExpMulDivMod(c *ExpMulDivModContext)

	// EnterExpNull is called when entering the expNull production.
	EnterExpNull(c *ExpNullContext)

	// EnterExpFnInvoke is called when entering the expFnInvoke production.
	EnterExpFnInvoke(c *ExpFnInvokeContext)

	// EnterExpList is called when entering the expList production.
	EnterExpList(c *ExpListContext)

	// EnterExpLogicalAnd is called when entering the expLogicalAnd production.
	EnterExpLogicalAnd(c *ExpLogicalAndContext)

	// EnterExpParentheses is called when entering the expParentheses production.
	EnterExpParentheses(c *ExpParenthesesContext)

	// EnterExpEqual is called when entering the expEqual production.
	EnterExpEqual(c *ExpEqualContext)

	// EnterExpMethodInvoke is called when entering the expMethodInvoke production.
	EnterExpMethodInvoke(c *ExpMethodInvokeContext)

	// EnterExpLogicalNot is called when entering the expLogicalNot production.
	EnterExpLogicalNot(c *ExpLogicalNotContext)

	// EnterExpIntegerHex is called when entering the expIntegerHex production.
	EnterExpIntegerHex(c *ExpIntegerHexContext)

	// EnterExpIdentifier is called when entering the expIdentifier production.
	EnterExpIdentifier(c *ExpIdentifierContext)

	// EnterExpSumSub is called when entering the expSumSub production.
	EnterExpSumSub(c *ExpSumSubContext)

	// EnterIfBlockStmt is called when entering the ifBlockStmt production.
	EnterIfBlockStmt(c *IfBlockStmtContext)

	// EnterElifBlockStmt is called when entering the elifBlockStmt production.
	EnterElifBlockStmt(c *ElifBlockStmtContext)

	// EnterElseBlockStmt is called when entering the elseBlockStmt production.
	EnterElseBlockStmt(c *ElseBlockStmtContext)

	// EnterIfStmt is called when entering the ifStmt production.
	EnterIfStmt(c *IfStmtContext)

	// EnterFnParams is called when entering the fnParams production.
	EnterFnParams(c *FnParamsContext)

	// EnterFnBody is called when entering the fnBody production.
	EnterFnBody(c *FnBodyContext)

	// EnterFn is called when entering the fn production.
	EnterFn(c *FnContext)

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

	// EnterInclude is called when entering the include production.
	EnterInclude(c *IncludeContext)

	// ExitProg is called when exiting the prog production.
	ExitProg(c *ProgContext)

	// ExitStmt is called when exiting the stmt production.
	ExitStmt(c *StmtContext)

	// ExitWhileStmt is called when exiting the whileStmt production.
	ExitWhileStmt(c *WhileStmtContext)

	// ExitForStmt is called when exiting the forStmt production.
	ExitForStmt(c *ForStmtContext)

	// ExitReturnStmt is called when exiting the returnStmt production.
	ExitReturnStmt(c *ReturnStmtContext)

	// ExitContinueStmt is called when exiting the continueStmt production.
	ExitContinueStmt(c *ContinueStmtContext)

	// ExitBreakStmt is called when exiting the breakStmt production.
	ExitBreakStmt(c *BreakStmtContext)

	// ExitAssignRegular is called when exiting the assignRegular production.
	ExitAssignRegular(c *AssignRegularContext)

	// ExitAssignSum is called when exiting the assignSum production.
	ExitAssignSum(c *AssignSumContext)

	// ExitAssignSub is called when exiting the assignSub production.
	ExitAssignSub(c *AssignSubContext)

	// ExitAssignMul is called when exiting the assignMul production.
	ExitAssignMul(c *AssignMulContext)

	// ExitAssignDiv is called when exiting the assignDiv production.
	ExitAssignDiv(c *AssignDivContext)

	// ExitAssignMod is called when exiting the assignMod production.
	ExitAssignMod(c *AssignModContext)

	// ExitAssignPow is called when exiting the assignPow production.
	ExitAssignPow(c *AssignPowContext)

	// ExitAssignIdxRegular is called when exiting the assignIdxRegular production.
	ExitAssignIdxRegular(c *AssignIdxRegularContext)

	// ExitList is called when exiting the list production.
	ExitList(c *ListContext)

	// ExitDictUnit is called when exiting the dictUnit production.
	ExitDictUnit(c *DictUnitContext)

	// ExitDict is called when exiting the dict production.
	ExitDict(c *DictContext)

	// ExitIdx is called when exiting the idx production.
	ExitIdx(c *IdxContext)

	// ExitIdentifierMethodInvoke is called when exiting the identifierMethodInvoke production.
	ExitIdentifierMethodInvoke(c *IdentifierMethodInvokeContext)

	// ExitIdentifierFnInvoke is called when exiting the identifierFnInvoke production.
	ExitIdentifierFnInvoke(c *IdentifierFnInvokeContext)

	// ExitIdentifierCsInvoke is called when exiting the identifierCsInvoke production.
	ExitIdentifierCsInvoke(c *IdentifierCsInvokeContext)

	// ExitExpBool is called when exiting the expBool production.
	ExitExpBool(c *ExpBoolContext)

	// ExitExpComparison is called when exiting the expComparison production.
	ExitExpComparison(c *ExpComparisonContext)

	// ExitExpIdx is called when exiting the expIdx production.
	ExitExpIdx(c *ExpIdxContext)

	// ExitExpString is called when exiting the expString production.
	ExitExpString(c *ExpStringContext)

	// ExitExpCsInvoke is called when exiting the expCsInvoke production.
	ExitExpCsInvoke(c *ExpCsInvokeContext)

	// ExitExpFloat is called when exiting the expFloat production.
	ExitExpFloat(c *ExpFloatContext)

	// ExitExpPow is called when exiting the expPow production.
	ExitExpPow(c *ExpPowContext)

	// ExitExpDict is called when exiting the expDict production.
	ExitExpDict(c *ExpDictContext)

	// ExitExpXor is called when exiting the expXor production.
	ExitExpXor(c *ExpXorContext)

	// ExitExpNeg is called when exiting the expNeg production.
	ExitExpNeg(c *ExpNegContext)

	// ExitExpInteger is called when exiting the expInteger production.
	ExitExpInteger(c *ExpIntegerContext)

	// ExitExpLogicalOr is called when exiting the expLogicalOr production.
	ExitExpLogicalOr(c *ExpLogicalOrContext)

	// ExitExpCs is called when exiting the expCs production.
	ExitExpCs(c *ExpCsContext)

	// ExitExpMulDivMod is called when exiting the expMulDivMod production.
	ExitExpMulDivMod(c *ExpMulDivModContext)

	// ExitExpNull is called when exiting the expNull production.
	ExitExpNull(c *ExpNullContext)

	// ExitExpFnInvoke is called when exiting the expFnInvoke production.
	ExitExpFnInvoke(c *ExpFnInvokeContext)

	// ExitExpList is called when exiting the expList production.
	ExitExpList(c *ExpListContext)

	// ExitExpLogicalAnd is called when exiting the expLogicalAnd production.
	ExitExpLogicalAnd(c *ExpLogicalAndContext)

	// ExitExpParentheses is called when exiting the expParentheses production.
	ExitExpParentheses(c *ExpParenthesesContext)

	// ExitExpEqual is called when exiting the expEqual production.
	ExitExpEqual(c *ExpEqualContext)

	// ExitExpMethodInvoke is called when exiting the expMethodInvoke production.
	ExitExpMethodInvoke(c *ExpMethodInvokeContext)

	// ExitExpLogicalNot is called when exiting the expLogicalNot production.
	ExitExpLogicalNot(c *ExpLogicalNotContext)

	// ExitExpIntegerHex is called when exiting the expIntegerHex production.
	ExitExpIntegerHex(c *ExpIntegerHexContext)

	// ExitExpIdentifier is called when exiting the expIdentifier production.
	ExitExpIdentifier(c *ExpIdentifierContext)

	// ExitExpSumSub is called when exiting the expSumSub production.
	ExitExpSumSub(c *ExpSumSubContext)

	// ExitIfBlockStmt is called when exiting the ifBlockStmt production.
	ExitIfBlockStmt(c *IfBlockStmtContext)

	// ExitElifBlockStmt is called when exiting the elifBlockStmt production.
	ExitElifBlockStmt(c *ElifBlockStmtContext)

	// ExitElseBlockStmt is called when exiting the elseBlockStmt production.
	ExitElseBlockStmt(c *ElseBlockStmtContext)

	// ExitIfStmt is called when exiting the ifStmt production.
	ExitIfStmt(c *IfStmtContext)

	// ExitFnParams is called when exiting the fnParams production.
	ExitFnParams(c *FnParamsContext)

	// ExitFnBody is called when exiting the fnBody production.
	ExitFnBody(c *FnBodyContext)

	// ExitFn is called when exiting the fn production.
	ExitFn(c *FnContext)

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

	// ExitInclude is called when exiting the include production.
	ExitInclude(c *IncludeContext)
}

PLANListener is a complete listener for a parse tree produced by PLANParser.

type PLANParser

type PLANParser struct {
	*antlr.BaseParser
}

func NewPLANParser

func NewPLANParser(input antlr.TokenStream) *PLANParser

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

func (*PLANParser) Assignment

func (p *PLANParser) Assignment() (localctx IAssignmentContext)

func (*PLANParser) BreakStmt

func (p *PLANParser) BreakStmt() (localctx IBreakStmtContext)

func (*PLANParser) Closure

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

func (*PLANParser) ContinueStmt

func (p *PLANParser) ContinueStmt() (localctx IContinueStmtContext)

func (*PLANParser) CsInvoke

func (p *PLANParser) CsInvoke() (localctx ICsInvokeContext)

func (*PLANParser) Dict

func (p *PLANParser) Dict() (localctx IDictContext)

func (*PLANParser) DictUnit

func (p *PLANParser) DictUnit() (localctx IDictUnitContext)

func (*PLANParser) ElifBlock

func (p *PLANParser) ElifBlock() (localctx IElifBlockContext)

func (*PLANParser) ElseBlock

func (p *PLANParser) ElseBlock() (localctx IElseBlockContext)

func (*PLANParser) Exp

func (p *PLANParser) Exp() (localctx IExpContext)

func (*PLANParser) Exp_Sempred

func (p *PLANParser) Exp_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*PLANParser) Fn

func (p *PLANParser) Fn() (localctx IFnContext)

func (*PLANParser) FnBody

func (p *PLANParser) FnBody() (localctx IFnBodyContext)

func (*PLANParser) FnInvoke

func (p *PLANParser) FnInvoke() (localctx IFnInvokeContext)

func (*PLANParser) FnParams

func (p *PLANParser) FnParams() (localctx IFnParamsContext)

func (*PLANParser) ForStmt

func (p *PLANParser) ForStmt() (localctx IForStmtContext)

func (*PLANParser) Idx

func (p *PLANParser) Idx() (localctx IIdxContext)

func (*PLANParser) IfBlock

func (p *PLANParser) IfBlock() (localctx IIfBlockContext)

func (*PLANParser) IfStmt

func (p *PLANParser) IfStmt() (localctx IIfStmtContext)

func (*PLANParser) Include

func (p *PLANParser) Include() (localctx IIncludeContext)

func (*PLANParser) List

func (p *PLANParser) List() (localctx IListContext)

func (*PLANParser) MethodInvoke

func (p *PLANParser) MethodInvoke() (localctx IMethodInvokeContext)

func (*PLANParser) Prog

func (p *PLANParser) Prog() (localctx IProgContext)

func (*PLANParser) ReturnStmt

func (p *PLANParser) ReturnStmt() (localctx IReturnStmtContext)

func (*PLANParser) Sempred

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

func (*PLANParser) Stmt

func (p *PLANParser) Stmt() (localctx IStmtContext)

func (*PLANParser) WhileStmt

func (p *PLANParser) WhileStmt() (localctx IWhileStmtContext)

type PLANVisitor

type PLANVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by PLANParser#prog.
	VisitProg(ctx *ProgContext) interface{}

	// Visit a parse tree produced by PLANParser#stmt.
	VisitStmt(ctx *StmtContext) interface{}

	// Visit a parse tree produced by PLANParser#whileStmt.
	VisitWhileStmt(ctx *WhileStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#forStmt.
	VisitForStmt(ctx *ForStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#returnStmt.
	VisitReturnStmt(ctx *ReturnStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#continueStmt.
	VisitContinueStmt(ctx *ContinueStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#breakStmt.
	VisitBreakStmt(ctx *BreakStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#assignRegular.
	VisitAssignRegular(ctx *AssignRegularContext) interface{}

	// Visit a parse tree produced by PLANParser#assignSum.
	VisitAssignSum(ctx *AssignSumContext) interface{}

	// Visit a parse tree produced by PLANParser#assignSub.
	VisitAssignSub(ctx *AssignSubContext) interface{}

	// Visit a parse tree produced by PLANParser#assignMul.
	VisitAssignMul(ctx *AssignMulContext) interface{}

	// Visit a parse tree produced by PLANParser#assignDiv.
	VisitAssignDiv(ctx *AssignDivContext) interface{}

	// Visit a parse tree produced by PLANParser#assignMod.
	VisitAssignMod(ctx *AssignModContext) interface{}

	// Visit a parse tree produced by PLANParser#assignPow.
	VisitAssignPow(ctx *AssignPowContext) interface{}

	// Visit a parse tree produced by PLANParser#assignIdxRegular.
	VisitAssignIdxRegular(ctx *AssignIdxRegularContext) interface{}

	// Visit a parse tree produced by PLANParser#list.
	VisitList(ctx *ListContext) interface{}

	// Visit a parse tree produced by PLANParser#dictUnit.
	VisitDictUnit(ctx *DictUnitContext) interface{}

	// Visit a parse tree produced by PLANParser#dict.
	VisitDict(ctx *DictContext) interface{}

	// Visit a parse tree produced by PLANParser#idx.
	VisitIdx(ctx *IdxContext) interface{}

	// Visit a parse tree produced by PLANParser#identifierMethodInvoke.
	VisitIdentifierMethodInvoke(ctx *IdentifierMethodInvokeContext) interface{}

	// Visit a parse tree produced by PLANParser#identifierFnInvoke.
	VisitIdentifierFnInvoke(ctx *IdentifierFnInvokeContext) interface{}

	// Visit a parse tree produced by PLANParser#identifierCsInvoke.
	VisitIdentifierCsInvoke(ctx *IdentifierCsInvokeContext) interface{}

	// Visit a parse tree produced by PLANParser#expBool.
	VisitExpBool(ctx *ExpBoolContext) interface{}

	// Visit a parse tree produced by PLANParser#expComparison.
	VisitExpComparison(ctx *ExpComparisonContext) interface{}

	// Visit a parse tree produced by PLANParser#expIdx.
	VisitExpIdx(ctx *ExpIdxContext) interface{}

	// Visit a parse tree produced by PLANParser#expString.
	VisitExpString(ctx *ExpStringContext) interface{}

	// Visit a parse tree produced by PLANParser#expCsInvoke.
	VisitExpCsInvoke(ctx *ExpCsInvokeContext) interface{}

	// Visit a parse tree produced by PLANParser#expFloat.
	VisitExpFloat(ctx *ExpFloatContext) interface{}

	// Visit a parse tree produced by PLANParser#expPow.
	VisitExpPow(ctx *ExpPowContext) interface{}

	// Visit a parse tree produced by PLANParser#expDict.
	VisitExpDict(ctx *ExpDictContext) interface{}

	// Visit a parse tree produced by PLANParser#expXor.
	VisitExpXor(ctx *ExpXorContext) interface{}

	// Visit a parse tree produced by PLANParser#expNeg.
	VisitExpNeg(ctx *ExpNegContext) interface{}

	// Visit a parse tree produced by PLANParser#expInteger.
	VisitExpInteger(ctx *ExpIntegerContext) interface{}

	// Visit a parse tree produced by PLANParser#expLogicalOr.
	VisitExpLogicalOr(ctx *ExpLogicalOrContext) interface{}

	// Visit a parse tree produced by PLANParser#expCs.
	VisitExpCs(ctx *ExpCsContext) interface{}

	// Visit a parse tree produced by PLANParser#expMulDivMod.
	VisitExpMulDivMod(ctx *ExpMulDivModContext) interface{}

	// Visit a parse tree produced by PLANParser#expNull.
	VisitExpNull(ctx *ExpNullContext) interface{}

	// Visit a parse tree produced by PLANParser#expFnInvoke.
	VisitExpFnInvoke(ctx *ExpFnInvokeContext) interface{}

	// Visit a parse tree produced by PLANParser#expList.
	VisitExpList(ctx *ExpListContext) interface{}

	// Visit a parse tree produced by PLANParser#expLogicalAnd.
	VisitExpLogicalAnd(ctx *ExpLogicalAndContext) interface{}

	// Visit a parse tree produced by PLANParser#expParentheses.
	VisitExpParentheses(ctx *ExpParenthesesContext) interface{}

	// Visit a parse tree produced by PLANParser#expEqual.
	VisitExpEqual(ctx *ExpEqualContext) interface{}

	// Visit a parse tree produced by PLANParser#expMethodInvoke.
	VisitExpMethodInvoke(ctx *ExpMethodInvokeContext) interface{}

	// Visit a parse tree produced by PLANParser#expLogicalNot.
	VisitExpLogicalNot(ctx *ExpLogicalNotContext) interface{}

	// Visit a parse tree produced by PLANParser#expIntegerHex.
	VisitExpIntegerHex(ctx *ExpIntegerHexContext) interface{}

	// Visit a parse tree produced by PLANParser#expIdentifier.
	VisitExpIdentifier(ctx *ExpIdentifierContext) interface{}

	// Visit a parse tree produced by PLANParser#expSumSub.
	VisitExpSumSub(ctx *ExpSumSubContext) interface{}

	// Visit a parse tree produced by PLANParser#ifBlockStmt.
	VisitIfBlockStmt(ctx *IfBlockStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#elifBlockStmt.
	VisitElifBlockStmt(ctx *ElifBlockStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#elseBlockStmt.
	VisitElseBlockStmt(ctx *ElseBlockStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#ifStmt.
	VisitIfStmt(ctx *IfStmtContext) interface{}

	// Visit a parse tree produced by PLANParser#fnParams.
	VisitFnParams(ctx *FnParamsContext) interface{}

	// Visit a parse tree produced by PLANParser#fnBody.
	VisitFnBody(ctx *FnBodyContext) interface{}

	// Visit a parse tree produced by PLANParser#fn.
	VisitFn(ctx *FnContext) interface{}

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

	// Visit a parse tree produced by PLANParser#include.
	VisitInclude(ctx *IncludeContext) interface{}
}

A complete Visitor for a parse tree produced by PLANParser.

type ProgContext

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

func NewEmptyProgContext

func NewEmptyProgContext() *ProgContext

func NewProgContext

func NewProgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgContext

func (*ProgContext) Accept

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

func (*ProgContext) AllFn

func (s *ProgContext) AllFn() []IFnContext

func (*ProgContext) AllInclude

func (s *ProgContext) AllInclude() []IIncludeContext

func (*ProgContext) AllStmt

func (s *ProgContext) AllStmt() []IStmtContext

func (*ProgContext) EOF

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

func (*ProgContext) EnterRule

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

func (*ProgContext) ExitRule

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

func (*ProgContext) Fn

func (s *ProgContext) Fn(i int) IFnContext

func (*ProgContext) GetParser

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

func (*ProgContext) GetRuleContext

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

func (*ProgContext) Include

func (s *ProgContext) Include(i int) IIncludeContext

func (*ProgContext) IsProgContext

func (*ProgContext) IsProgContext()

func (*ProgContext) Stmt

func (s *ProgContext) Stmt(i int) IStmtContext

func (*ProgContext) ToStringTree

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

type ReturnStmtContext

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

func NewEmptyReturnStmtContext

func NewEmptyReturnStmtContext() *ReturnStmtContext

func NewReturnStmtContext

func NewReturnStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReturnStmtContext

func (*ReturnStmtContext) Accept

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

func (*ReturnStmtContext) EnterRule

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

func (*ReturnStmtContext) ExitRule

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

func (*ReturnStmtContext) Exp

func (s *ReturnStmtContext) Exp() IExpContext

func (*ReturnStmtContext) GetParser

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

func (*ReturnStmtContext) GetRuleContext

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

func (*ReturnStmtContext) IsReturnStmtContext

func (*ReturnStmtContext) IsReturnStmtContext()

func (*ReturnStmtContext) ToStringTree

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

type StmtContext

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

func NewEmptyStmtContext

func NewEmptyStmtContext() *StmtContext

func NewStmtContext

func NewStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtContext

func (*StmtContext) Accept

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

func (*StmtContext) Assignment

func (s *StmtContext) Assignment() IAssignmentContext

func (*StmtContext) BreakStmt

func (s *StmtContext) BreakStmt() IBreakStmtContext

func (*StmtContext) ContinueStmt

func (s *StmtContext) ContinueStmt() IContinueStmtContext

func (*StmtContext) CsInvoke

func (s *StmtContext) CsInvoke() ICsInvokeContext

func (*StmtContext) EnterRule

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

func (*StmtContext) ExitRule

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

func (*StmtContext) FnInvoke

func (s *StmtContext) FnInvoke() IFnInvokeContext

func (*StmtContext) ForStmt

func (s *StmtContext) ForStmt() IForStmtContext

func (*StmtContext) GetParser

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

func (*StmtContext) GetRuleContext

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

func (*StmtContext) IfStmt

func (s *StmtContext) IfStmt() IIfStmtContext

func (*StmtContext) IsStmtContext

func (*StmtContext) IsStmtContext()

func (*StmtContext) MethodInvoke

func (s *StmtContext) MethodInvoke() IMethodInvokeContext

func (*StmtContext) ReturnStmt

func (s *StmtContext) ReturnStmt() IReturnStmtContext

func (*StmtContext) ToStringTree

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

func (*StmtContext) WhileStmt

func (s *StmtContext) WhileStmt() IWhileStmtContext

type WhileStmtContext

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

func NewEmptyWhileStmtContext

func NewEmptyWhileStmtContext() *WhileStmtContext

func NewWhileStmtContext

func NewWhileStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WhileStmtContext

func (*WhileStmtContext) Accept

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

func (*WhileStmtContext) AllStmt

func (s *WhileStmtContext) AllStmt() []IStmtContext

func (*WhileStmtContext) EnterRule

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

func (*WhileStmtContext) ExitRule

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

func (*WhileStmtContext) Exp

func (s *WhileStmtContext) Exp() IExpContext

func (*WhileStmtContext) GetParser

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

func (*WhileStmtContext) GetRuleContext

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

func (*WhileStmtContext) IsWhileStmtContext

func (*WhileStmtContext) IsWhileStmtContext()

func (*WhileStmtContext) Stmt

func (s *WhileStmtContext) Stmt(i int) IStmtContext

func (*WhileStmtContext) ToStringTree

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