Documentation
¶
Index ¶
- Constants
- Variables
- func InitEmptyAssignmentContext(p *AssignmentContext)
- func InitEmptyBreakStmtContext(p *BreakStmtContext)
- func InitEmptyClosureContext(p *ClosureContext)
- func InitEmptyCompoundStmtContext(p *CompoundStmtContext)
- func InitEmptyContinueStmtContext(p *ContinueStmtContext)
- func InitEmptyCsInvokeContext(p *CsInvokeContext)
- func InitEmptyDictContext(p *DictContext)
- func InitEmptyDictUnitContext(p *DictUnitContext)
- func InitEmptyElifBlockContext(p *ElifBlockContext)
- func InitEmptyElseBlockContext(p *ElseBlockContext)
- func InitEmptyExpContext(p *ExpContext)
- func InitEmptyFnBodyContext(p *FnBodyContext)
- func InitEmptyFnInvokeContext(p *FnInvokeContext)
- func InitEmptyFnParamsContext(p *FnParamsContext)
- func InitEmptyFnStmtContext(p *FnStmtContext)
- func InitEmptyForStmtContext(p *ForStmtContext)
- func InitEmptyIdxContext(p *IdxContext)
- func InitEmptyIdxsContext(p *IdxsContext)
- func InitEmptyIfBlockContext(p *IfBlockContext)
- func InitEmptyIfStmtContext(p *IfStmtContext)
- func InitEmptyIncludeStmtContext(p *IncludeStmtContext)
- func InitEmptyListContext(p *ListContext)
- func InitEmptyMethodInvokeContext(p *MethodInvokeContext)
- func InitEmptyProgFileContext(p *ProgFileContext)
- func InitEmptyReturnStmtContext(p *ReturnStmtContext)
- func InitEmptySimpleStmtContext(p *SimpleStmtContext)
- func InitEmptyStmtContext(p *StmtContext)
- func InitEmptyStmtsContext(p *StmtsContext)
- func InitEmptyWhileStmtContext(p *WhileStmtContext)
- func PLANLexerInit()
- func PLANParserInit()
- type AssignDivContext
- func (s *AssignDivContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignDivContext) AssDiv() antlr.TerminalNode
- func (s *AssignDivContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignDivContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignDivContext) Exp() IExpContext
- func (s *AssignDivContext) GetName() antlr.Token
- func (s *AssignDivContext) GetRuleContext() antlr.RuleContext
- func (s *AssignDivContext) Identifier() antlr.TerminalNode
- func (s *AssignDivContext) SetName(v antlr.Token)
- type AssignIdxsDivContext
- func (s *AssignIdxsDivContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignIdxsDivContext) AssDiv() antlr.TerminalNode
- func (s *AssignIdxsDivContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsDivContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsDivContext) Exp() IExpContext
- func (s *AssignIdxsDivContext) GetName() antlr.Token
- func (s *AssignIdxsDivContext) GetRuleContext() antlr.RuleContext
- func (s *AssignIdxsDivContext) Identifier() antlr.TerminalNode
- func (s *AssignIdxsDivContext) Idxs() IIdxsContext
- func (s *AssignIdxsDivContext) SetName(v antlr.Token)
- type AssignIdxsModContext
- func (s *AssignIdxsModContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignIdxsModContext) AssMod() antlr.TerminalNode
- func (s *AssignIdxsModContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsModContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsModContext) Exp() IExpContext
- func (s *AssignIdxsModContext) GetName() antlr.Token
- func (s *AssignIdxsModContext) GetRuleContext() antlr.RuleContext
- func (s *AssignIdxsModContext) Identifier() antlr.TerminalNode
- func (s *AssignIdxsModContext) Idxs() IIdxsContext
- func (s *AssignIdxsModContext) SetName(v antlr.Token)
- type AssignIdxsMulContext
- func (s *AssignIdxsMulContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignIdxsMulContext) AssMul() antlr.TerminalNode
- func (s *AssignIdxsMulContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsMulContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsMulContext) Exp() IExpContext
- func (s *AssignIdxsMulContext) GetName() antlr.Token
- func (s *AssignIdxsMulContext) GetRuleContext() antlr.RuleContext
- func (s *AssignIdxsMulContext) Identifier() antlr.TerminalNode
- func (s *AssignIdxsMulContext) Idxs() IIdxsContext
- func (s *AssignIdxsMulContext) SetName(v antlr.Token)
- type AssignIdxsPowContext
- func (s *AssignIdxsPowContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignIdxsPowContext) AssPow() antlr.TerminalNode
- func (s *AssignIdxsPowContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsPowContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsPowContext) Exp() IExpContext
- func (s *AssignIdxsPowContext) GetName() antlr.Token
- func (s *AssignIdxsPowContext) GetRuleContext() antlr.RuleContext
- func (s *AssignIdxsPowContext) Identifier() antlr.TerminalNode
- func (s *AssignIdxsPowContext) Idxs() IIdxsContext
- func (s *AssignIdxsPowContext) SetName(v antlr.Token)
- type AssignIdxsRegularContext
- func (s *AssignIdxsRegularContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignIdxsRegularContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsRegularContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsRegularContext) Exp() IExpContext
- func (s *AssignIdxsRegularContext) GetName() antlr.Token
- func (s *AssignIdxsRegularContext) GetRuleContext() antlr.RuleContext
- func (s *AssignIdxsRegularContext) Identifier() antlr.TerminalNode
- func (s *AssignIdxsRegularContext) Idxs() IIdxsContext
- func (s *AssignIdxsRegularContext) SetName(v antlr.Token)
- type AssignIdxsSubContext
- func (s *AssignIdxsSubContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignIdxsSubContext) AssSub() antlr.TerminalNode
- func (s *AssignIdxsSubContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsSubContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsSubContext) Exp() IExpContext
- func (s *AssignIdxsSubContext) GetName() antlr.Token
- func (s *AssignIdxsSubContext) GetRuleContext() antlr.RuleContext
- func (s *AssignIdxsSubContext) Identifier() antlr.TerminalNode
- func (s *AssignIdxsSubContext) Idxs() IIdxsContext
- func (s *AssignIdxsSubContext) SetName(v antlr.Token)
- type AssignIdxsSumContext
- func (s *AssignIdxsSumContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignIdxsSumContext) AssSum() antlr.TerminalNode
- func (s *AssignIdxsSumContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsSumContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignIdxsSumContext) Exp() IExpContext
- func (s *AssignIdxsSumContext) GetName() antlr.Token
- func (s *AssignIdxsSumContext) GetRuleContext() antlr.RuleContext
- func (s *AssignIdxsSumContext) Identifier() antlr.TerminalNode
- func (s *AssignIdxsSumContext) Idxs() IIdxsContext
- func (s *AssignIdxsSumContext) SetName(v antlr.Token)
- type AssignModContext
- func (s *AssignModContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignModContext) AssMod() antlr.TerminalNode
- func (s *AssignModContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignModContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignModContext) Exp() IExpContext
- func (s *AssignModContext) GetName() antlr.Token
- func (s *AssignModContext) GetRuleContext() antlr.RuleContext
- func (s *AssignModContext) Identifier() antlr.TerminalNode
- func (s *AssignModContext) SetName(v antlr.Token)
- type AssignMulContext
- func (s *AssignMulContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignMulContext) AssMul() antlr.TerminalNode
- func (s *AssignMulContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignMulContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignMulContext) Exp() IExpContext
- func (s *AssignMulContext) GetName() antlr.Token
- func (s *AssignMulContext) GetRuleContext() antlr.RuleContext
- func (s *AssignMulContext) Identifier() antlr.TerminalNode
- func (s *AssignMulContext) SetName(v antlr.Token)
- type AssignPowContext
- func (s *AssignPowContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignPowContext) AssPow() antlr.TerminalNode
- func (s *AssignPowContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignPowContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignPowContext) Exp() IExpContext
- func (s *AssignPowContext) GetName() antlr.Token
- func (s *AssignPowContext) GetRuleContext() antlr.RuleContext
- func (s *AssignPowContext) Identifier() antlr.TerminalNode
- func (s *AssignPowContext) SetName(v antlr.Token)
- type AssignRegularContext
- func (s *AssignRegularContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignRegularContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignRegularContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignRegularContext) Exp() IExpContext
- func (s *AssignRegularContext) GetName() antlr.Token
- func (s *AssignRegularContext) GetRuleContext() antlr.RuleContext
- func (s *AssignRegularContext) Identifier() antlr.TerminalNode
- func (s *AssignRegularContext) SetName(v antlr.Token)
- type AssignSubContext
- func (s *AssignSubContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignSubContext) AssSub() antlr.TerminalNode
- func (s *AssignSubContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignSubContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignSubContext) Exp() IExpContext
- func (s *AssignSubContext) GetName() antlr.Token
- func (s *AssignSubContext) GetRuleContext() antlr.RuleContext
- func (s *AssignSubContext) Identifier() antlr.TerminalNode
- func (s *AssignSubContext) SetName(v antlr.Token)
- type AssignSumContext
- func (s *AssignSumContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *AssignSumContext) AssSum() antlr.TerminalNode
- func (s *AssignSumContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignSumContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignSumContext) Exp() IExpContext
- func (s *AssignSumContext) GetName() antlr.Token
- func (s *AssignSumContext) GetRuleContext() antlr.RuleContext
- func (s *AssignSumContext) Identifier() antlr.TerminalNode
- func (s *AssignSumContext) SetName(v antlr.Token)
- type AssignmentContext
- func (s *AssignmentContext) CopyAll(ctx *AssignmentContext)
- func (s *AssignmentContext) GetParser() antlr.Parser
- func (s *AssignmentContext) GetRuleContext() antlr.RuleContext
- func (*AssignmentContext) IsAssignmentContext()
- func (s *AssignmentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BasePLANListener
- func (s *BasePLANListener) EnterAssignDiv(ctx *AssignDivContext)
- func (s *BasePLANListener) EnterAssignIdxsDiv(ctx *AssignIdxsDivContext)
- func (s *BasePLANListener) EnterAssignIdxsMod(ctx *AssignIdxsModContext)
- func (s *BasePLANListener) EnterAssignIdxsMul(ctx *AssignIdxsMulContext)
- func (s *BasePLANListener) EnterAssignIdxsPow(ctx *AssignIdxsPowContext)
- func (s *BasePLANListener) EnterAssignIdxsRegular(ctx *AssignIdxsRegularContext)
- func (s *BasePLANListener) EnterAssignIdxsSub(ctx *AssignIdxsSubContext)
- func (s *BasePLANListener) EnterAssignIdxsSum(ctx *AssignIdxsSumContext)
- func (s *BasePLANListener) EnterAssignMod(ctx *AssignModContext)
- func (s *BasePLANListener) EnterAssignMul(ctx *AssignMulContext)
- func (s *BasePLANListener) EnterAssignPow(ctx *AssignPowContext)
- func (s *BasePLANListener) EnterAssignRegular(ctx *AssignRegularContext)
- func (s *BasePLANListener) EnterAssignSub(ctx *AssignSubContext)
- func (s *BasePLANListener) EnterAssignSum(ctx *AssignSumContext)
- func (s *BasePLANListener) EnterBreakStmt(ctx *BreakStmtContext)
- func (s *BasePLANListener) EnterClosure(ctx *ClosureContext)
- func (s *BasePLANListener) EnterCompoundStmt(ctx *CompoundStmtContext)
- func (s *BasePLANListener) EnterContinueStmt(ctx *ContinueStmtContext)
- func (s *BasePLANListener) EnterDict(ctx *DictContext)
- func (s *BasePLANListener) EnterDictUnit(ctx *DictUnitContext)
- func (s *BasePLANListener) EnterElifBlockStmt(ctx *ElifBlockStmtContext)
- func (s *BasePLANListener) EnterElseBlockStmt(ctx *ElseBlockStmtContext)
- func (s *BasePLANListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasePLANListener) EnterExpBool(ctx *ExpBoolContext)
- func (s *BasePLANListener) EnterExpComparison(ctx *ExpComparisonContext)
- func (s *BasePLANListener) EnterExpCs(ctx *ExpCsContext)
- func (s *BasePLANListener) EnterExpCsInvoke(ctx *ExpCsInvokeContext)
- func (s *BasePLANListener) EnterExpDict(ctx *ExpDictContext)
- func (s *BasePLANListener) EnterExpEqual(ctx *ExpEqualContext)
- func (s *BasePLANListener) EnterExpFloat(ctx *ExpFloatContext)
- func (s *BasePLANListener) EnterExpFnInvoke(ctx *ExpFnInvokeContext)
- func (s *BasePLANListener) EnterExpIdentifier(ctx *ExpIdentifierContext)
- func (s *BasePLANListener) EnterExpIdx(ctx *ExpIdxContext)
- func (s *BasePLANListener) EnterExpInteger(ctx *ExpIntegerContext)
- func (s *BasePLANListener) EnterExpIntegerHex(ctx *ExpIntegerHexContext)
- func (s *BasePLANListener) EnterExpList(ctx *ExpListContext)
- func (s *BasePLANListener) EnterExpLogicalAnd(ctx *ExpLogicalAndContext)
- func (s *BasePLANListener) EnterExpLogicalNot(ctx *ExpLogicalNotContext)
- func (s *BasePLANListener) EnterExpLogicalOr(ctx *ExpLogicalOrContext)
- func (s *BasePLANListener) EnterExpMethodInvoke(ctx *ExpMethodInvokeContext)
- func (s *BasePLANListener) EnterExpMulDivMod(ctx *ExpMulDivModContext)
- func (s *BasePLANListener) EnterExpNeg(ctx *ExpNegContext)
- func (s *BasePLANListener) EnterExpNull(ctx *ExpNullContext)
- func (s *BasePLANListener) EnterExpParentheses(ctx *ExpParenthesesContext)
- func (s *BasePLANListener) EnterExpPow(ctx *ExpPowContext)
- func (s *BasePLANListener) EnterExpString(ctx *ExpStringContext)
- func (s *BasePLANListener) EnterExpSumSub(ctx *ExpSumSubContext)
- func (s *BasePLANListener) EnterExpXor(ctx *ExpXorContext)
- func (s *BasePLANListener) EnterFnBody(ctx *FnBodyContext)
- func (s *BasePLANListener) EnterFnParams(ctx *FnParamsContext)
- func (s *BasePLANListener) EnterFnStmt(ctx *FnStmtContext)
- func (s *BasePLANListener) EnterForStmt(ctx *ForStmtContext)
- func (s *BasePLANListener) EnterIdentifierCsInvoke(ctx *IdentifierCsInvokeContext)
- func (s *BasePLANListener) EnterIdentifierFnInvoke(ctx *IdentifierFnInvokeContext)
- func (s *BasePLANListener) EnterIdentifierMethodInvoke(ctx *IdentifierMethodInvokeContext)
- func (s *BasePLANListener) EnterIdx(ctx *IdxContext)
- func (s *BasePLANListener) EnterIdxs(ctx *IdxsContext)
- func (s *BasePLANListener) EnterIfBlockStmt(ctx *IfBlockStmtContext)
- func (s *BasePLANListener) EnterIfStmt(ctx *IfStmtContext)
- func (s *BasePLANListener) EnterIncludeStmt(ctx *IncludeStmtContext)
- func (s *BasePLANListener) EnterList(ctx *ListContext)
- func (s *BasePLANListener) EnterProgFile(ctx *ProgFileContext)
- func (s *BasePLANListener) EnterReturnStmt(ctx *ReturnStmtContext)
- func (s *BasePLANListener) EnterSimpleStmt(ctx *SimpleStmtContext)
- func (s *BasePLANListener) EnterStmt(ctx *StmtContext)
- func (s *BasePLANListener) EnterStmts(ctx *StmtsContext)
- func (s *BasePLANListener) EnterWhileStmt(ctx *WhileStmtContext)
- func (s *BasePLANListener) ExitAssignDiv(ctx *AssignDivContext)
- func (s *BasePLANListener) ExitAssignIdxsDiv(ctx *AssignIdxsDivContext)
- func (s *BasePLANListener) ExitAssignIdxsMod(ctx *AssignIdxsModContext)
- func (s *BasePLANListener) ExitAssignIdxsMul(ctx *AssignIdxsMulContext)
- func (s *BasePLANListener) ExitAssignIdxsPow(ctx *AssignIdxsPowContext)
- func (s *BasePLANListener) ExitAssignIdxsRegular(ctx *AssignIdxsRegularContext)
- func (s *BasePLANListener) ExitAssignIdxsSub(ctx *AssignIdxsSubContext)
- func (s *BasePLANListener) ExitAssignIdxsSum(ctx *AssignIdxsSumContext)
- func (s *BasePLANListener) ExitAssignMod(ctx *AssignModContext)
- func (s *BasePLANListener) ExitAssignMul(ctx *AssignMulContext)
- func (s *BasePLANListener) ExitAssignPow(ctx *AssignPowContext)
- func (s *BasePLANListener) ExitAssignRegular(ctx *AssignRegularContext)
- func (s *BasePLANListener) ExitAssignSub(ctx *AssignSubContext)
- func (s *BasePLANListener) ExitAssignSum(ctx *AssignSumContext)
- func (s *BasePLANListener) ExitBreakStmt(ctx *BreakStmtContext)
- func (s *BasePLANListener) ExitClosure(ctx *ClosureContext)
- func (s *BasePLANListener) ExitCompoundStmt(ctx *CompoundStmtContext)
- func (s *BasePLANListener) ExitContinueStmt(ctx *ContinueStmtContext)
- func (s *BasePLANListener) ExitDict(ctx *DictContext)
- func (s *BasePLANListener) ExitDictUnit(ctx *DictUnitContext)
- func (s *BasePLANListener) ExitElifBlockStmt(ctx *ElifBlockStmtContext)
- func (s *BasePLANListener) ExitElseBlockStmt(ctx *ElseBlockStmtContext)
- func (s *BasePLANListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasePLANListener) ExitExpBool(ctx *ExpBoolContext)
- func (s *BasePLANListener) ExitExpComparison(ctx *ExpComparisonContext)
- func (s *BasePLANListener) ExitExpCs(ctx *ExpCsContext)
- func (s *BasePLANListener) ExitExpCsInvoke(ctx *ExpCsInvokeContext)
- func (s *BasePLANListener) ExitExpDict(ctx *ExpDictContext)
- func (s *BasePLANListener) ExitExpEqual(ctx *ExpEqualContext)
- func (s *BasePLANListener) ExitExpFloat(ctx *ExpFloatContext)
- func (s *BasePLANListener) ExitExpFnInvoke(ctx *ExpFnInvokeContext)
- func (s *BasePLANListener) ExitExpIdentifier(ctx *ExpIdentifierContext)
- func (s *BasePLANListener) ExitExpIdx(ctx *ExpIdxContext)
- func (s *BasePLANListener) ExitExpInteger(ctx *ExpIntegerContext)
- func (s *BasePLANListener) ExitExpIntegerHex(ctx *ExpIntegerHexContext)
- func (s *BasePLANListener) ExitExpList(ctx *ExpListContext)
- func (s *BasePLANListener) ExitExpLogicalAnd(ctx *ExpLogicalAndContext)
- func (s *BasePLANListener) ExitExpLogicalNot(ctx *ExpLogicalNotContext)
- func (s *BasePLANListener) ExitExpLogicalOr(ctx *ExpLogicalOrContext)
- func (s *BasePLANListener) ExitExpMethodInvoke(ctx *ExpMethodInvokeContext)
- func (s *BasePLANListener) ExitExpMulDivMod(ctx *ExpMulDivModContext)
- func (s *BasePLANListener) ExitExpNeg(ctx *ExpNegContext)
- func (s *BasePLANListener) ExitExpNull(ctx *ExpNullContext)
- func (s *BasePLANListener) ExitExpParentheses(ctx *ExpParenthesesContext)
- func (s *BasePLANListener) ExitExpPow(ctx *ExpPowContext)
- func (s *BasePLANListener) ExitExpString(ctx *ExpStringContext)
- func (s *BasePLANListener) ExitExpSumSub(ctx *ExpSumSubContext)
- func (s *BasePLANListener) ExitExpXor(ctx *ExpXorContext)
- func (s *BasePLANListener) ExitFnBody(ctx *FnBodyContext)
- func (s *BasePLANListener) ExitFnParams(ctx *FnParamsContext)
- func (s *BasePLANListener) ExitFnStmt(ctx *FnStmtContext)
- func (s *BasePLANListener) ExitForStmt(ctx *ForStmtContext)
- func (s *BasePLANListener) ExitIdentifierCsInvoke(ctx *IdentifierCsInvokeContext)
- func (s *BasePLANListener) ExitIdentifierFnInvoke(ctx *IdentifierFnInvokeContext)
- func (s *BasePLANListener) ExitIdentifierMethodInvoke(ctx *IdentifierMethodInvokeContext)
- func (s *BasePLANListener) ExitIdx(ctx *IdxContext)
- func (s *BasePLANListener) ExitIdxs(ctx *IdxsContext)
- func (s *BasePLANListener) ExitIfBlockStmt(ctx *IfBlockStmtContext)
- func (s *BasePLANListener) ExitIfStmt(ctx *IfStmtContext)
- func (s *BasePLANListener) ExitIncludeStmt(ctx *IncludeStmtContext)
- func (s *BasePLANListener) ExitList(ctx *ListContext)
- func (s *BasePLANListener) ExitProgFile(ctx *ProgFileContext)
- func (s *BasePLANListener) ExitReturnStmt(ctx *ReturnStmtContext)
- func (s *BasePLANListener) ExitSimpleStmt(ctx *SimpleStmtContext)
- func (s *BasePLANListener) ExitStmt(ctx *StmtContext)
- func (s *BasePLANListener) ExitStmts(ctx *StmtsContext)
- func (s *BasePLANListener) ExitWhileStmt(ctx *WhileStmtContext)
- func (s *BasePLANListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BasePLANListener) VisitTerminal(node antlr.TerminalNode)
- type BasePLANVisitor
- func (v *BasePLANVisitor) VisitAssignDiv(ctx *AssignDivContext) interface{}
- func (v *BasePLANVisitor) VisitAssignIdxsDiv(ctx *AssignIdxsDivContext) interface{}
- func (v *BasePLANVisitor) VisitAssignIdxsMod(ctx *AssignIdxsModContext) interface{}
- func (v *BasePLANVisitor) VisitAssignIdxsMul(ctx *AssignIdxsMulContext) interface{}
- func (v *BasePLANVisitor) VisitAssignIdxsPow(ctx *AssignIdxsPowContext) interface{}
- func (v *BasePLANVisitor) VisitAssignIdxsRegular(ctx *AssignIdxsRegularContext) interface{}
- func (v *BasePLANVisitor) VisitAssignIdxsSub(ctx *AssignIdxsSubContext) interface{}
- func (v *BasePLANVisitor) VisitAssignIdxsSum(ctx *AssignIdxsSumContext) interface{}
- func (v *BasePLANVisitor) VisitAssignMod(ctx *AssignModContext) interface{}
- func (v *BasePLANVisitor) VisitAssignMul(ctx *AssignMulContext) interface{}
- func (v *BasePLANVisitor) VisitAssignPow(ctx *AssignPowContext) interface{}
- func (v *BasePLANVisitor) VisitAssignRegular(ctx *AssignRegularContext) interface{}
- func (v *BasePLANVisitor) VisitAssignSub(ctx *AssignSubContext) interface{}
- func (v *BasePLANVisitor) VisitAssignSum(ctx *AssignSumContext) interface{}
- func (v *BasePLANVisitor) VisitBreakStmt(ctx *BreakStmtContext) interface{}
- func (v *BasePLANVisitor) VisitClosure(ctx *ClosureContext) interface{}
- func (v *BasePLANVisitor) VisitCompoundStmt(ctx *CompoundStmtContext) interface{}
- func (v *BasePLANVisitor) VisitContinueStmt(ctx *ContinueStmtContext) interface{}
- func (v *BasePLANVisitor) VisitDict(ctx *DictContext) interface{}
- func (v *BasePLANVisitor) VisitDictUnit(ctx *DictUnitContext) interface{}
- func (v *BasePLANVisitor) VisitElifBlockStmt(ctx *ElifBlockStmtContext) interface{}
- func (v *BasePLANVisitor) VisitElseBlockStmt(ctx *ElseBlockStmtContext) interface{}
- func (v *BasePLANVisitor) VisitExpBool(ctx *ExpBoolContext) interface{}
- func (v *BasePLANVisitor) VisitExpComparison(ctx *ExpComparisonContext) interface{}
- func (v *BasePLANVisitor) VisitExpCs(ctx *ExpCsContext) interface{}
- func (v *BasePLANVisitor) VisitExpCsInvoke(ctx *ExpCsInvokeContext) interface{}
- func (v *BasePLANVisitor) VisitExpDict(ctx *ExpDictContext) interface{}
- func (v *BasePLANVisitor) VisitExpEqual(ctx *ExpEqualContext) interface{}
- func (v *BasePLANVisitor) VisitExpFloat(ctx *ExpFloatContext) interface{}
- func (v *BasePLANVisitor) VisitExpFnInvoke(ctx *ExpFnInvokeContext) interface{}
- func (v *BasePLANVisitor) VisitExpIdentifier(ctx *ExpIdentifierContext) interface{}
- func (v *BasePLANVisitor) VisitExpIdx(ctx *ExpIdxContext) interface{}
- func (v *BasePLANVisitor) VisitExpInteger(ctx *ExpIntegerContext) interface{}
- func (v *BasePLANVisitor) VisitExpIntegerHex(ctx *ExpIntegerHexContext) interface{}
- func (v *BasePLANVisitor) VisitExpList(ctx *ExpListContext) interface{}
- func (v *BasePLANVisitor) VisitExpLogicalAnd(ctx *ExpLogicalAndContext) interface{}
- func (v *BasePLANVisitor) VisitExpLogicalNot(ctx *ExpLogicalNotContext) interface{}
- func (v *BasePLANVisitor) VisitExpLogicalOr(ctx *ExpLogicalOrContext) interface{}
- func (v *BasePLANVisitor) VisitExpMethodInvoke(ctx *ExpMethodInvokeContext) interface{}
- func (v *BasePLANVisitor) VisitExpMulDivMod(ctx *ExpMulDivModContext) interface{}
- func (v *BasePLANVisitor) VisitExpNeg(ctx *ExpNegContext) interface{}
- func (v *BasePLANVisitor) VisitExpNull(ctx *ExpNullContext) interface{}
- func (v *BasePLANVisitor) VisitExpParentheses(ctx *ExpParenthesesContext) interface{}
- func (v *BasePLANVisitor) VisitExpPow(ctx *ExpPowContext) interface{}
- func (v *BasePLANVisitor) VisitExpString(ctx *ExpStringContext) interface{}
- func (v *BasePLANVisitor) VisitExpSumSub(ctx *ExpSumSubContext) interface{}
- func (v *BasePLANVisitor) VisitExpXor(ctx *ExpXorContext) interface{}
- func (v *BasePLANVisitor) VisitFnBody(ctx *FnBodyContext) interface{}
- func (v *BasePLANVisitor) VisitFnParams(ctx *FnParamsContext) interface{}
- func (v *BasePLANVisitor) VisitFnStmt(ctx *FnStmtContext) interface{}
- func (v *BasePLANVisitor) VisitForStmt(ctx *ForStmtContext) interface{}
- func (v *BasePLANVisitor) VisitIdentifierCsInvoke(ctx *IdentifierCsInvokeContext) interface{}
- func (v *BasePLANVisitor) VisitIdentifierFnInvoke(ctx *IdentifierFnInvokeContext) interface{}
- func (v *BasePLANVisitor) VisitIdentifierMethodInvoke(ctx *IdentifierMethodInvokeContext) interface{}
- func (v *BasePLANVisitor) VisitIdx(ctx *IdxContext) interface{}
- func (v *BasePLANVisitor) VisitIdxs(ctx *IdxsContext) interface{}
- func (v *BasePLANVisitor) VisitIfBlockStmt(ctx *IfBlockStmtContext) interface{}
- func (v *BasePLANVisitor) VisitIfStmt(ctx *IfStmtContext) interface{}
- func (v *BasePLANVisitor) VisitIncludeStmt(ctx *IncludeStmtContext) interface{}
- func (v *BasePLANVisitor) VisitList(ctx *ListContext) interface{}
- func (v *BasePLANVisitor) VisitProgFile(ctx *ProgFileContext) interface{}
- func (v *BasePLANVisitor) VisitReturnStmt(ctx *ReturnStmtContext) interface{}
- func (v *BasePLANVisitor) VisitSimpleStmt(ctx *SimpleStmtContext) interface{}
- func (v *BasePLANVisitor) VisitStmt(ctx *StmtContext) interface{}
- func (v *BasePLANVisitor) VisitStmts(ctx *StmtsContext) interface{}
- func (v *BasePLANVisitor) VisitWhileStmt(ctx *WhileStmtContext) interface{}
- type BreakStmtContext
- func (s *BreakStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *BreakStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BreakStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BreakStmtContext) GetParser() antlr.Parser
- func (s *BreakStmtContext) GetRuleContext() antlr.RuleContext
- func (*BreakStmtContext) IsBreakStmtContext()
- func (s *BreakStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ClosureContext
- func (s *ClosureContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ClosureContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ClosureContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ClosureContext) FnBody() IFnBodyContext
- func (s *ClosureContext) GetParser() antlr.Parser
- func (s *ClosureContext) GetRuleContext() antlr.RuleContext
- func (*ClosureContext) IsClosureContext()
- func (s *ClosureContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CompoundStmtContext
- func (s *CompoundStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *CompoundStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CompoundStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CompoundStmtContext) FnStmt() IFnStmtContext
- func (s *CompoundStmtContext) ForStmt() IForStmtContext
- func (s *CompoundStmtContext) GetParser() antlr.Parser
- func (s *CompoundStmtContext) GetRuleContext() antlr.RuleContext
- func (s *CompoundStmtContext) IfStmt() IIfStmtContext
- func (*CompoundStmtContext) IsCompoundStmtContext()
- func (s *CompoundStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CompoundStmtContext) WhileStmt() IWhileStmtContext
- type ContinueStmtContext
- func (s *ContinueStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ContinueStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ContinueStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ContinueStmtContext) GetParser() antlr.Parser
- func (s *ContinueStmtContext) GetRuleContext() antlr.RuleContext
- func (*ContinueStmtContext) IsContinueStmtContext()
- func (s *ContinueStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CsInvokeContext
- func (s *CsInvokeContext) CopyAll(ctx *CsInvokeContext)
- func (s *CsInvokeContext) GetParser() antlr.Parser
- func (s *CsInvokeContext) GetRuleContext() antlr.RuleContext
- func (*CsInvokeContext) IsCsInvokeContext()
- func (s *CsInvokeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DictContext
- func (s *DictContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DictContext) AllDictUnit() []IDictUnitContext
- func (s *DictContext) DictUnit(i int) IDictUnitContext
- func (s *DictContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DictContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DictContext) GetParser() antlr.Parser
- func (s *DictContext) GetRuleContext() antlr.RuleContext
- func (*DictContext) IsDictContext()
- func (s *DictContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DictUnitContext
- func (s *DictUnitContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *DictUnitContext) AllExp() []IExpContext
- func (s *DictUnitContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DictUnitContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DictUnitContext) Exp(i int) IExpContext
- func (s *DictUnitContext) GetParser() antlr.Parser
- func (s *DictUnitContext) GetRuleContext() antlr.RuleContext
- func (*DictUnitContext) IsDictUnitContext()
- func (s *DictUnitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ElifBlockContext
- func (s *ElifBlockContext) CopyAll(ctx *ElifBlockContext)
- func (s *ElifBlockContext) GetParser() antlr.Parser
- func (s *ElifBlockContext) GetRuleContext() antlr.RuleContext
- func (*ElifBlockContext) IsElifBlockContext()
- func (s *ElifBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ElifBlockStmtContext
- func (s *ElifBlockStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ElifBlockStmtContext) AllStmt() []IStmtContext
- func (s *ElifBlockStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ElifBlockStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ElifBlockStmtContext) Exp() IExpContext
- func (s *ElifBlockStmtContext) GetRuleContext() antlr.RuleContext
- func (s *ElifBlockStmtContext) Stmt(i int) IStmtContext
- type ElseBlockContext
- func (s *ElseBlockContext) CopyAll(ctx *ElseBlockContext)
- func (s *ElseBlockContext) GetParser() antlr.Parser
- func (s *ElseBlockContext) GetRuleContext() antlr.RuleContext
- func (*ElseBlockContext) IsElseBlockContext()
- func (s *ElseBlockContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ElseBlockStmtContext
- func (s *ElseBlockStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ElseBlockStmtContext) AllStmt() []IStmtContext
- func (s *ElseBlockStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ElseBlockStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ElseBlockStmtContext) GetRuleContext() antlr.RuleContext
- func (s *ElseBlockStmtContext) Stmt(i int) IStmtContext
- type ExpBoolContext
- func (s *ExpBoolContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpBoolContext) Bool() antlr.TerminalNode
- func (s *ExpBoolContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpBoolContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpBoolContext) GetRuleContext() antlr.RuleContext
- type ExpComparisonContext
- func (s *ExpComparisonContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpComparisonContext) AllExp() []IExpContext
- func (s *ExpComparisonContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpComparisonContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpComparisonContext) Exp(i int) IExpContext
- func (s *ExpComparisonContext) GetOp() antlr.Token
- func (s *ExpComparisonContext) GetRuleContext() antlr.RuleContext
- func (s *ExpComparisonContext) Gt() antlr.TerminalNode
- func (s *ExpComparisonContext) GtEq() antlr.TerminalNode
- func (s *ExpComparisonContext) Lt() antlr.TerminalNode
- func (s *ExpComparisonContext) LtEq() antlr.TerminalNode
- func (s *ExpComparisonContext) SetOp(v antlr.Token)
- type ExpContext
- type ExpCsContext
- func (s *ExpCsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpCsContext) Closure() IClosureContext
- func (s *ExpCsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpCsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpCsContext) GetRuleContext() antlr.RuleContext
- type ExpCsInvokeContext
- func (s *ExpCsInvokeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpCsInvokeContext) CsInvoke() ICsInvokeContext
- func (s *ExpCsInvokeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpCsInvokeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpCsInvokeContext) GetRuleContext() antlr.RuleContext
- type ExpDictContext
- func (s *ExpDictContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpDictContext) Dict() IDictContext
- func (s *ExpDictContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpDictContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpDictContext) GetRuleContext() antlr.RuleContext
- type ExpEqualContext
- func (s *ExpEqualContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpEqualContext) AllExp() []IExpContext
- func (s *ExpEqualContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpEqualContext) Eq() antlr.TerminalNode
- func (s *ExpEqualContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpEqualContext) Exp(i int) IExpContext
- func (s *ExpEqualContext) GetOp() antlr.Token
- func (s *ExpEqualContext) GetRuleContext() antlr.RuleContext
- func (s *ExpEqualContext) Neq() antlr.TerminalNode
- func (s *ExpEqualContext) SetOp(v antlr.Token)
- type ExpFloatContext
- func (s *ExpFloatContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpFloatContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpFloatContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpFloatContext) Float() antlr.TerminalNode
- func (s *ExpFloatContext) GetRuleContext() antlr.RuleContext
- type ExpFnInvokeContext
- func (s *ExpFnInvokeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpFnInvokeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpFnInvokeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpFnInvokeContext) FnInvoke() IFnInvokeContext
- func (s *ExpFnInvokeContext) GetRuleContext() antlr.RuleContext
- type ExpIdentifierContext
- func (s *ExpIdentifierContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpIdentifierContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpIdentifierContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpIdentifierContext) GetRuleContext() antlr.RuleContext
- func (s *ExpIdentifierContext) Identifier() antlr.TerminalNode
- type ExpIdxContext
- func (s *ExpIdxContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpIdxContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpIdxContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpIdxContext) Exp() IExpContext
- func (s *ExpIdxContext) GetRuleContext() antlr.RuleContext
- func (s *ExpIdxContext) Idx() IIdxContext
- type ExpIntegerContext
- func (s *ExpIntegerContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpIntegerContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpIntegerContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpIntegerContext) GetRuleContext() antlr.RuleContext
- func (s *ExpIntegerContext) Integer() antlr.TerminalNode
- type ExpIntegerHexContext
- func (s *ExpIntegerHexContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpIntegerHexContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpIntegerHexContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpIntegerHexContext) GetRuleContext() antlr.RuleContext
- func (s *ExpIntegerHexContext) IntegerHex() antlr.TerminalNode
- type ExpListContext
- func (s *ExpListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpListContext) GetRuleContext() antlr.RuleContext
- func (s *ExpListContext) List() IListContext
- type ExpLogicalAndContext
- func (s *ExpLogicalAndContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpLogicalAndContext) AllExp() []IExpContext
- func (s *ExpLogicalAndContext) And() antlr.TerminalNode
- func (s *ExpLogicalAndContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpLogicalAndContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpLogicalAndContext) Exp(i int) IExpContext
- func (s *ExpLogicalAndContext) GetRuleContext() antlr.RuleContext
- type ExpLogicalNotContext
- func (s *ExpLogicalNotContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpLogicalNotContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpLogicalNotContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpLogicalNotContext) Exp() IExpContext
- func (s *ExpLogicalNotContext) GetRuleContext() antlr.RuleContext
- func (s *ExpLogicalNotContext) Not() antlr.TerminalNode
- type ExpLogicalOrContext
- func (s *ExpLogicalOrContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpLogicalOrContext) AllExp() []IExpContext
- func (s *ExpLogicalOrContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpLogicalOrContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpLogicalOrContext) Exp(i int) IExpContext
- func (s *ExpLogicalOrContext) GetRuleContext() antlr.RuleContext
- func (s *ExpLogicalOrContext) Or() antlr.TerminalNode
- type ExpMethodInvokeContext
- func (s *ExpMethodInvokeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpMethodInvokeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpMethodInvokeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpMethodInvokeContext) GetRuleContext() antlr.RuleContext
- func (s *ExpMethodInvokeContext) MethodInvoke() IMethodInvokeContext
- type ExpMulDivModContext
- func (s *ExpMulDivModContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpMulDivModContext) AllExp() []IExpContext
- func (s *ExpMulDivModContext) Division() antlr.TerminalNode
- func (s *ExpMulDivModContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpMulDivModContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpMulDivModContext) Exp(i int) IExpContext
- func (s *ExpMulDivModContext) GetOp() antlr.Token
- func (s *ExpMulDivModContext) GetRuleContext() antlr.RuleContext
- func (s *ExpMulDivModContext) Modulus() antlr.TerminalNode
- func (s *ExpMulDivModContext) Multiply() antlr.TerminalNode
- func (s *ExpMulDivModContext) SetOp(v antlr.Token)
- type ExpNegContext
- func (s *ExpNegContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpNegContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpNegContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpNegContext) Exp() IExpContext
- func (s *ExpNegContext) GetRuleContext() antlr.RuleContext
- func (s *ExpNegContext) Subtract() antlr.TerminalNode
- type ExpNullContext
- func (s *ExpNullContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpNullContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpNullContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpNullContext) GetRuleContext() antlr.RuleContext
- func (s *ExpNullContext) Null() antlr.TerminalNode
- type ExpParenthesesContext
- func (s *ExpParenthesesContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpParenthesesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpParenthesesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpParenthesesContext) Exp() IExpContext
- func (s *ExpParenthesesContext) GetRuleContext() antlr.RuleContext
- type ExpPowContext
- func (s *ExpPowContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpPowContext) AllExp() []IExpContext
- func (s *ExpPowContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpPowContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpPowContext) Exp(i int) IExpContext
- func (s *ExpPowContext) GetRuleContext() antlr.RuleContext
- func (s *ExpPowContext) Pow() antlr.TerminalNode
- type ExpStringContext
- func (s *ExpStringContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpStringContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpStringContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpStringContext) GetRuleContext() antlr.RuleContext
- func (s *ExpStringContext) String_() antlr.TerminalNode
- type ExpSumSubContext
- func (s *ExpSumSubContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpSumSubContext) Add() antlr.TerminalNode
- func (s *ExpSumSubContext) AllExp() []IExpContext
- func (s *ExpSumSubContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpSumSubContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpSumSubContext) Exp(i int) IExpContext
- func (s *ExpSumSubContext) GetOp() antlr.Token
- func (s *ExpSumSubContext) GetRuleContext() antlr.RuleContext
- func (s *ExpSumSubContext) SetOp(v antlr.Token)
- func (s *ExpSumSubContext) Subtract() antlr.TerminalNode
- type ExpXorContext
- func (s *ExpXorContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ExpXorContext) AllExp() []IExpContext
- func (s *ExpXorContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpXorContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpXorContext) Exp(i int) IExpContext
- func (s *ExpXorContext) GetRuleContext() antlr.RuleContext
- func (s *ExpXorContext) Xor() antlr.TerminalNode
- type FnBodyContext
- func (s *FnBodyContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FnBodyContext) AllStmt() []IStmtContext
- func (s *FnBodyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FnBodyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FnBodyContext) FnParams() IFnParamsContext
- func (s *FnBodyContext) GetParser() antlr.Parser
- func (s *FnBodyContext) GetRuleContext() antlr.RuleContext
- func (*FnBodyContext) IsFnBodyContext()
- func (s *FnBodyContext) Stmt(i int) IStmtContext
- func (s *FnBodyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FnInvokeContext
- func (s *FnInvokeContext) CopyAll(ctx *FnInvokeContext)
- func (s *FnInvokeContext) GetParser() antlr.Parser
- func (s *FnInvokeContext) GetRuleContext() antlr.RuleContext
- func (*FnInvokeContext) IsFnInvokeContext()
- func (s *FnInvokeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FnParamsContext
- func (s *FnParamsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FnParamsContext) AllIdentifier() []antlr.TerminalNode
- func (s *FnParamsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FnParamsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FnParamsContext) GetParser() antlr.Parser
- func (s *FnParamsContext) GetRuleContext() antlr.RuleContext
- func (s *FnParamsContext) Identifier(i int) antlr.TerminalNode
- func (*FnParamsContext) IsFnParamsContext()
- func (s *FnParamsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FnStmtContext
- func (s *FnStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *FnStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FnStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FnStmtContext) FnBody() IFnBodyContext
- func (s *FnStmtContext) GetName() antlr.Token
- func (s *FnStmtContext) GetParser() antlr.Parser
- func (s *FnStmtContext) GetRuleContext() antlr.RuleContext
- func (s *FnStmtContext) Identifier() antlr.TerminalNode
- func (*FnStmtContext) IsFnStmtContext()
- func (s *FnStmtContext) SetName(v antlr.Token)
- func (s *FnStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ForStmtContext
- func (s *ForStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ForStmtContext) AllAssignment() []IAssignmentContext
- func (s *ForStmtContext) AllStmt() []IStmtContext
- func (s *ForStmtContext) Assignment(i int) IAssignmentContext
- func (s *ForStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ForStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ForStmtContext) Exp() IExpContext
- func (s *ForStmtContext) GetParser() antlr.Parser
- func (s *ForStmtContext) GetRuleContext() antlr.RuleContext
- func (*ForStmtContext) IsForStmtContext()
- func (s *ForStmtContext) Stmt(i int) IStmtContext
- func (s *ForStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IAssignmentContext
- type IBreakStmtContext
- type IClosureContext
- type ICompoundStmtContext
- type IContinueStmtContext
- type ICsInvokeContext
- type IDictContext
- type IDictUnitContext
- type IElifBlockContext
- type IElseBlockContext
- type IExpContext
- type IFnBodyContext
- type IFnInvokeContext
- type IFnParamsContext
- type IFnStmtContext
- type IForStmtContext
- type IIdxContext
- type IIdxsContext
- type IIfBlockContext
- type IIfStmtContext
- type IIncludeStmtContext
- type IListContext
- type IMethodInvokeContext
- type IProgFileContext
- type IReturnStmtContext
- type ISimpleStmtContext
- type IStmtContext
- type IStmtsContext
- type IWhileStmtContext
- type IdentifierCsInvokeContext
- func (s *IdentifierCsInvokeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentifierCsInvokeContext) AllExp() []IExpContext
- func (s *IdentifierCsInvokeContext) Closure() antlr.TerminalNode
- func (s *IdentifierCsInvokeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdentifierCsInvokeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdentifierCsInvokeContext) Exp(i int) IExpContext
- func (s *IdentifierCsInvokeContext) GetName() antlr.Token
- func (s *IdentifierCsInvokeContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierCsInvokeContext) Identifier() antlr.TerminalNode
- func (s *IdentifierCsInvokeContext) SetName(v antlr.Token)
- type IdentifierFnInvokeContext
- func (s *IdentifierFnInvokeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentifierFnInvokeContext) AllExp() []IExpContext
- func (s *IdentifierFnInvokeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdentifierFnInvokeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdentifierFnInvokeContext) Exp(i int) IExpContext
- func (s *IdentifierFnInvokeContext) GetName() antlr.Token
- func (s *IdentifierFnInvokeContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierFnInvokeContext) Identifier() antlr.TerminalNode
- func (s *IdentifierFnInvokeContext) SetName(v antlr.Token)
- type IdentifierMethodInvokeContext
- func (s *IdentifierMethodInvokeContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdentifierMethodInvokeContext) AllExp() []IExpContext
- func (s *IdentifierMethodInvokeContext) AllIdentifier() []antlr.TerminalNode
- func (s *IdentifierMethodInvokeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdentifierMethodInvokeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdentifierMethodInvokeContext) Exp(i int) IExpContext
- func (s *IdentifierMethodInvokeContext) GetName() antlr.Token
- func (s *IdentifierMethodInvokeContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierMethodInvokeContext) GetVar_() antlr.Token
- func (s *IdentifierMethodInvokeContext) Identifier(i int) antlr.TerminalNode
- func (s *IdentifierMethodInvokeContext) SetName(v antlr.Token)
- func (s *IdentifierMethodInvokeContext) SetVar_(v antlr.Token)
- type IdxContext
- func (s *IdxContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdxContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdxContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdxContext) Exp() IExpContext
- func (s *IdxContext) GetParser() antlr.Parser
- func (s *IdxContext) GetRuleContext() antlr.RuleContext
- func (*IdxContext) IsIdxContext()
- func (s *IdxContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IdxsContext
- func (s *IdxsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IdxsContext) AllIdx() []IIdxContext
- func (s *IdxsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdxsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdxsContext) GetParser() antlr.Parser
- func (s *IdxsContext) GetRuleContext() antlr.RuleContext
- func (s *IdxsContext) Idx(i int) IIdxContext
- func (*IdxsContext) IsIdxsContext()
- func (s *IdxsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IfBlockContext
- type IfBlockStmtContext
- func (s *IfBlockStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IfBlockStmtContext) AllStmt() []IStmtContext
- func (s *IfBlockStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IfBlockStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IfBlockStmtContext) Exp() IExpContext
- func (s *IfBlockStmtContext) GetRuleContext() antlr.RuleContext
- func (s *IfBlockStmtContext) Stmt(i int) IStmtContext
- type IfStmtContext
- func (s *IfStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IfStmtContext) AllElifBlock() []IElifBlockContext
- func (s *IfStmtContext) ElifBlock(i int) IElifBlockContext
- func (s *IfStmtContext) ElseBlock() IElseBlockContext
- func (s *IfStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IfStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IfStmtContext) GetParser() antlr.Parser
- func (s *IfStmtContext) GetRuleContext() antlr.RuleContext
- func (s *IfStmtContext) IfBlock() IIfBlockContext
- func (*IfStmtContext) IsIfStmtContext()
- func (s *IfStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IncludeStmtContext
- func (s *IncludeStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *IncludeStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IncludeStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IncludeStmtContext) Exp() IExpContext
- func (s *IncludeStmtContext) GetParser() antlr.Parser
- func (s *IncludeStmtContext) GetRuleContext() antlr.RuleContext
- func (*IncludeStmtContext) IsIncludeStmtContext()
- func (s *IncludeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ListContext
- func (s *ListContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ListContext) AllExp() []IExpContext
- func (s *ListContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ListContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ListContext) Exp(i int) IExpContext
- func (s *ListContext) GetParser() antlr.Parser
- func (s *ListContext) GetRuleContext() antlr.RuleContext
- func (*ListContext) IsListContext()
- func (s *ListContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MethodInvokeContext
- func (s *MethodInvokeContext) CopyAll(ctx *MethodInvokeContext)
- func (s *MethodInvokeContext) GetParser() antlr.Parser
- func (s *MethodInvokeContext) GetRuleContext() antlr.RuleContext
- func (*MethodInvokeContext) IsMethodInvokeContext()
- func (s *MethodInvokeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PLANLexer
- type PLANListener
- type PLANParser
- func (p *PLANParser) Assignment() (localctx IAssignmentContext)
- func (p *PLANParser) BreakStmt() (localctx IBreakStmtContext)
- func (p *PLANParser) Closure() (localctx IClosureContext)
- func (p *PLANParser) CompoundStmt() (localctx ICompoundStmtContext)
- func (p *PLANParser) ContinueStmt() (localctx IContinueStmtContext)
- func (p *PLANParser) CsInvoke() (localctx ICsInvokeContext)
- func (p *PLANParser) Dict() (localctx IDictContext)
- func (p *PLANParser) DictUnit() (localctx IDictUnitContext)
- func (p *PLANParser) ElifBlock() (localctx IElifBlockContext)
- func (p *PLANParser) ElseBlock() (localctx IElseBlockContext)
- func (p *PLANParser) Exp() (localctx IExpContext)
- func (p *PLANParser) Exp_Sempred(localctx antlr.RuleContext, predIndex int) bool
- func (p *PLANParser) FnBody() (localctx IFnBodyContext)
- func (p *PLANParser) FnInvoke() (localctx IFnInvokeContext)
- func (p *PLANParser) FnParams() (localctx IFnParamsContext)
- func (p *PLANParser) FnStmt() (localctx IFnStmtContext)
- func (p *PLANParser) ForStmt() (localctx IForStmtContext)
- func (p *PLANParser) Idx() (localctx IIdxContext)
- func (p *PLANParser) Idxs() (localctx IIdxsContext)
- func (p *PLANParser) IfBlock() (localctx IIfBlockContext)
- func (p *PLANParser) IfStmt() (localctx IIfStmtContext)
- func (p *PLANParser) IncludeStmt() (localctx IIncludeStmtContext)
- func (p *PLANParser) List() (localctx IListContext)
- func (p *PLANParser) MethodInvoke() (localctx IMethodInvokeContext)
- func (p *PLANParser) ProgFile() (localctx IProgFileContext)
- func (p *PLANParser) ReturnStmt() (localctx IReturnStmtContext)
- func (p *PLANParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool
- func (p *PLANParser) SimpleStmt() (localctx ISimpleStmtContext)
- func (p *PLANParser) Stmt() (localctx IStmtContext)
- func (p *PLANParser) Stmts() (localctx IStmtsContext)
- func (p *PLANParser) WhileStmt() (localctx IWhileStmtContext)
- type PLANVisitor
- type ProgFileContext
- func (s *ProgFileContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ProgFileContext) EOF() antlr.TerminalNode
- func (s *ProgFileContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProgFileContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProgFileContext) GetParser() antlr.Parser
- func (s *ProgFileContext) GetRuleContext() antlr.RuleContext
- func (*ProgFileContext) IsProgFileContext()
- func (s *ProgFileContext) Stmts() IStmtsContext
- func (s *ProgFileContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ReturnStmtContext
- func (s *ReturnStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *ReturnStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ReturnStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ReturnStmtContext) Exp() IExpContext
- func (s *ReturnStmtContext) GetParser() antlr.Parser
- func (s *ReturnStmtContext) GetRuleContext() antlr.RuleContext
- func (*ReturnStmtContext) IsReturnStmtContext()
- func (s *ReturnStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SimpleStmtContext
- func (s *SimpleStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *SimpleStmtContext) Assignment() IAssignmentContext
- func (s *SimpleStmtContext) BreakStmt() IBreakStmtContext
- func (s *SimpleStmtContext) ContinueStmt() IContinueStmtContext
- func (s *SimpleStmtContext) CsInvoke() ICsInvokeContext
- func (s *SimpleStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SimpleStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SimpleStmtContext) FnInvoke() IFnInvokeContext
- func (s *SimpleStmtContext) GetParser() antlr.Parser
- func (s *SimpleStmtContext) GetRuleContext() antlr.RuleContext
- func (s *SimpleStmtContext) IncludeStmt() IIncludeStmtContext
- func (*SimpleStmtContext) IsSimpleStmtContext()
- func (s *SimpleStmtContext) MethodInvoke() IMethodInvokeContext
- func (s *SimpleStmtContext) ReturnStmt() IReturnStmtContext
- func (s *SimpleStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmtContext
- func (s *StmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StmtContext) CompoundStmt() ICompoundStmtContext
- func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) GetParser() antlr.Parser
- func (s *StmtContext) GetRuleContext() antlr.RuleContext
- func (*StmtContext) IsStmtContext()
- func (s *StmtContext) SimpleStmt() ISimpleStmtContext
- func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmtsContext
- func (s *StmtsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *StmtsContext) AllStmt() []IStmtContext
- func (s *StmtsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtsContext) GetParser() antlr.Parser
- func (s *StmtsContext) GetRuleContext() antlr.RuleContext
- func (*StmtsContext) IsStmtsContext()
- func (s *StmtsContext) Stmt(i int) IStmtContext
- func (s *StmtsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type WhileStmtContext
- func (s *WhileStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
- func (s *WhileStmtContext) AllStmt() []IStmtContext
- func (s *WhileStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *WhileStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *WhileStmtContext) Exp() IExpContext
- func (s *WhileStmtContext) GetParser() antlr.Parser
- func (s *WhileStmtContext) GetRuleContext() antlr.RuleContext
- func (*WhileStmtContext) IsWhileStmtContext()
- func (s *WhileStmtContext) Stmt(i int) IStmtContext
- func (s *WhileStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Constants ¶
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.
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.
const ( PLANParserRULE_progFile = 0 PLANParserRULE_stmts = 1 PLANParserRULE_stmt = 2 PLANParserRULE_simpleStmt = 3 PLANParserRULE_compoundStmt = 4 PLANParserRULE_whileStmt = 5 PLANParserRULE_forStmt = 6 PLANParserRULE_ifStmt = 7 PLANParserRULE_ifBlock = 8 PLANParserRULE_elifBlock = 9 PLANParserRULE_elseBlock = 10 PLANParserRULE_fnStmt = 11 PLANParserRULE_fnBody = 12 PLANParserRULE_fnParams = 13 PLANParserRULE_includeStmt = 14 PLANParserRULE_returnStmt = 15 PLANParserRULE_continueStmt = 16 PLANParserRULE_breakStmt = 17 PLANParserRULE_assignment = 18 PLANParserRULE_list = 19 PLANParserRULE_dictUnit = 20 PLANParserRULE_dict = 21 PLANParserRULE_idx = 22 PLANParserRULE_idxs = 23 PLANParserRULE_methodInvoke = 24 PLANParserRULE_fnInvoke = 25 PLANParserRULE_csInvoke = 26 PLANParserRULE_exp = 27 PLANParserRULE_closure = 28 )
PLANParser rules.
Variables ¶
var PLANLexerLexerStaticData struct { ChannelNames []string ModeNames []string LiteralNames []string SymbolicNames []string RuleNames []string PredictionContextCache *antlr.PredictionContextCache // contains filtered or unexported fields }
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 InitEmptyCompoundStmtContext ¶ added in v1.0.1
func InitEmptyCompoundStmtContext(p *CompoundStmtContext)
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 InitEmptyFnInvokeContext ¶
func InitEmptyFnInvokeContext(p *FnInvokeContext)
func InitEmptyFnParamsContext ¶
func InitEmptyFnParamsContext(p *FnParamsContext)
func InitEmptyFnStmtContext ¶ added in v1.0.1
func InitEmptyFnStmtContext(p *FnStmtContext)
func InitEmptyForStmtContext ¶
func InitEmptyForStmtContext(p *ForStmtContext)
func InitEmptyIdxContext ¶
func InitEmptyIdxContext(p *IdxContext)
func InitEmptyIdxsContext ¶ added in v1.0.1
func InitEmptyIdxsContext(p *IdxsContext)
func InitEmptyIfBlockContext ¶
func InitEmptyIfBlockContext(p *IfBlockContext)
func InitEmptyIfStmtContext ¶
func InitEmptyIfStmtContext(p *IfStmtContext)
func InitEmptyIncludeStmtContext ¶ added in v1.0.1
func InitEmptyIncludeStmtContext(p *IncludeStmtContext)
func InitEmptyListContext ¶
func InitEmptyListContext(p *ListContext)
func InitEmptyMethodInvokeContext ¶
func InitEmptyMethodInvokeContext(p *MethodInvokeContext)
func InitEmptyProgFileContext ¶ added in v1.0.1
func InitEmptyProgFileContext(p *ProgFileContext)
func InitEmptyReturnStmtContext ¶
func InitEmptyReturnStmtContext(p *ReturnStmtContext)
func InitEmptySimpleStmtContext ¶ added in v1.0.1
func InitEmptySimpleStmtContext(p *SimpleStmtContext)
func InitEmptyStmtContext ¶
func InitEmptyStmtContext(p *StmtContext)
func InitEmptyStmtsContext ¶ added in v1.0.1
func InitEmptyStmtsContext(p *StmtsContext)
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 AssignIdxsDivContext ¶ added in v1.0.1
type AssignIdxsDivContext struct { AssignmentContext // contains filtered or unexported fields }
func NewAssignIdxsDivContext ¶ added in v1.0.1
func NewAssignIdxsDivContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignIdxsDivContext
func (*AssignIdxsDivContext) Accept ¶ added in v1.0.1
func (s *AssignIdxsDivContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignIdxsDivContext) AssDiv ¶ added in v1.0.1
func (s *AssignIdxsDivContext) AssDiv() antlr.TerminalNode
func (*AssignIdxsDivContext) EnterRule ¶ added in v1.0.1
func (s *AssignIdxsDivContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignIdxsDivContext) ExitRule ¶ added in v1.0.1
func (s *AssignIdxsDivContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignIdxsDivContext) Exp ¶ added in v1.0.1
func (s *AssignIdxsDivContext) Exp() IExpContext
func (*AssignIdxsDivContext) GetName ¶ added in v1.0.1
func (s *AssignIdxsDivContext) GetName() antlr.Token
func (*AssignIdxsDivContext) GetRuleContext ¶ added in v1.0.1
func (s *AssignIdxsDivContext) GetRuleContext() antlr.RuleContext
func (*AssignIdxsDivContext) Identifier ¶ added in v1.0.1
func (s *AssignIdxsDivContext) Identifier() antlr.TerminalNode
func (*AssignIdxsDivContext) Idxs ¶ added in v1.0.1
func (s *AssignIdxsDivContext) Idxs() IIdxsContext
func (*AssignIdxsDivContext) SetName ¶ added in v1.0.1
func (s *AssignIdxsDivContext) SetName(v antlr.Token)
type AssignIdxsModContext ¶ added in v1.0.1
type AssignIdxsModContext struct { AssignmentContext // contains filtered or unexported fields }
func NewAssignIdxsModContext ¶ added in v1.0.1
func NewAssignIdxsModContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignIdxsModContext
func (*AssignIdxsModContext) Accept ¶ added in v1.0.1
func (s *AssignIdxsModContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignIdxsModContext) AssMod ¶ added in v1.0.1
func (s *AssignIdxsModContext) AssMod() antlr.TerminalNode
func (*AssignIdxsModContext) EnterRule ¶ added in v1.0.1
func (s *AssignIdxsModContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignIdxsModContext) ExitRule ¶ added in v1.0.1
func (s *AssignIdxsModContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignIdxsModContext) Exp ¶ added in v1.0.1
func (s *AssignIdxsModContext) Exp() IExpContext
func (*AssignIdxsModContext) GetName ¶ added in v1.0.1
func (s *AssignIdxsModContext) GetName() antlr.Token
func (*AssignIdxsModContext) GetRuleContext ¶ added in v1.0.1
func (s *AssignIdxsModContext) GetRuleContext() antlr.RuleContext
func (*AssignIdxsModContext) Identifier ¶ added in v1.0.1
func (s *AssignIdxsModContext) Identifier() antlr.TerminalNode
func (*AssignIdxsModContext) Idxs ¶ added in v1.0.1
func (s *AssignIdxsModContext) Idxs() IIdxsContext
func (*AssignIdxsModContext) SetName ¶ added in v1.0.1
func (s *AssignIdxsModContext) SetName(v antlr.Token)
type AssignIdxsMulContext ¶ added in v1.0.1
type AssignIdxsMulContext struct { AssignmentContext // contains filtered or unexported fields }
func NewAssignIdxsMulContext ¶ added in v1.0.1
func NewAssignIdxsMulContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignIdxsMulContext
func (*AssignIdxsMulContext) Accept ¶ added in v1.0.1
func (s *AssignIdxsMulContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignIdxsMulContext) AssMul ¶ added in v1.0.1
func (s *AssignIdxsMulContext) AssMul() antlr.TerminalNode
func (*AssignIdxsMulContext) EnterRule ¶ added in v1.0.1
func (s *AssignIdxsMulContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignIdxsMulContext) ExitRule ¶ added in v1.0.1
func (s *AssignIdxsMulContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignIdxsMulContext) Exp ¶ added in v1.0.1
func (s *AssignIdxsMulContext) Exp() IExpContext
func (*AssignIdxsMulContext) GetName ¶ added in v1.0.1
func (s *AssignIdxsMulContext) GetName() antlr.Token
func (*AssignIdxsMulContext) GetRuleContext ¶ added in v1.0.1
func (s *AssignIdxsMulContext) GetRuleContext() antlr.RuleContext
func (*AssignIdxsMulContext) Identifier ¶ added in v1.0.1
func (s *AssignIdxsMulContext) Identifier() antlr.TerminalNode
func (*AssignIdxsMulContext) Idxs ¶ added in v1.0.1
func (s *AssignIdxsMulContext) Idxs() IIdxsContext
func (*AssignIdxsMulContext) SetName ¶ added in v1.0.1
func (s *AssignIdxsMulContext) SetName(v antlr.Token)
type AssignIdxsPowContext ¶ added in v1.0.1
type AssignIdxsPowContext struct { AssignmentContext // contains filtered or unexported fields }
func NewAssignIdxsPowContext ¶ added in v1.0.1
func NewAssignIdxsPowContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignIdxsPowContext
func (*AssignIdxsPowContext) Accept ¶ added in v1.0.1
func (s *AssignIdxsPowContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignIdxsPowContext) AssPow ¶ added in v1.0.1
func (s *AssignIdxsPowContext) AssPow() antlr.TerminalNode
func (*AssignIdxsPowContext) EnterRule ¶ added in v1.0.1
func (s *AssignIdxsPowContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignIdxsPowContext) ExitRule ¶ added in v1.0.1
func (s *AssignIdxsPowContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignIdxsPowContext) Exp ¶ added in v1.0.1
func (s *AssignIdxsPowContext) Exp() IExpContext
func (*AssignIdxsPowContext) GetName ¶ added in v1.0.1
func (s *AssignIdxsPowContext) GetName() antlr.Token
func (*AssignIdxsPowContext) GetRuleContext ¶ added in v1.0.1
func (s *AssignIdxsPowContext) GetRuleContext() antlr.RuleContext
func (*AssignIdxsPowContext) Identifier ¶ added in v1.0.1
func (s *AssignIdxsPowContext) Identifier() antlr.TerminalNode
func (*AssignIdxsPowContext) Idxs ¶ added in v1.0.1
func (s *AssignIdxsPowContext) Idxs() IIdxsContext
func (*AssignIdxsPowContext) SetName ¶ added in v1.0.1
func (s *AssignIdxsPowContext) SetName(v antlr.Token)
type AssignIdxsRegularContext ¶ added in v1.0.1
type AssignIdxsRegularContext struct { AssignmentContext // contains filtered or unexported fields }
func NewAssignIdxsRegularContext ¶ added in v1.0.1
func NewAssignIdxsRegularContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignIdxsRegularContext
func (*AssignIdxsRegularContext) Accept ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignIdxsRegularContext) EnterRule ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignIdxsRegularContext) ExitRule ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignIdxsRegularContext) Exp ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) Exp() IExpContext
func (*AssignIdxsRegularContext) GetName ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) GetName() antlr.Token
func (*AssignIdxsRegularContext) GetRuleContext ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) GetRuleContext() antlr.RuleContext
func (*AssignIdxsRegularContext) Identifier ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) Identifier() antlr.TerminalNode
func (*AssignIdxsRegularContext) Idxs ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) Idxs() IIdxsContext
func (*AssignIdxsRegularContext) SetName ¶ added in v1.0.1
func (s *AssignIdxsRegularContext) SetName(v antlr.Token)
type AssignIdxsSubContext ¶ added in v1.0.1
type AssignIdxsSubContext struct { AssignmentContext // contains filtered or unexported fields }
func NewAssignIdxsSubContext ¶ added in v1.0.1
func NewAssignIdxsSubContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignIdxsSubContext
func (*AssignIdxsSubContext) Accept ¶ added in v1.0.1
func (s *AssignIdxsSubContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignIdxsSubContext) AssSub ¶ added in v1.0.1
func (s *AssignIdxsSubContext) AssSub() antlr.TerminalNode
func (*AssignIdxsSubContext) EnterRule ¶ added in v1.0.1
func (s *AssignIdxsSubContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignIdxsSubContext) ExitRule ¶ added in v1.0.1
func (s *AssignIdxsSubContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignIdxsSubContext) Exp ¶ added in v1.0.1
func (s *AssignIdxsSubContext) Exp() IExpContext
func (*AssignIdxsSubContext) GetName ¶ added in v1.0.1
func (s *AssignIdxsSubContext) GetName() antlr.Token
func (*AssignIdxsSubContext) GetRuleContext ¶ added in v1.0.1
func (s *AssignIdxsSubContext) GetRuleContext() antlr.RuleContext
func (*AssignIdxsSubContext) Identifier ¶ added in v1.0.1
func (s *AssignIdxsSubContext) Identifier() antlr.TerminalNode
func (*AssignIdxsSubContext) Idxs ¶ added in v1.0.1
func (s *AssignIdxsSubContext) Idxs() IIdxsContext
func (*AssignIdxsSubContext) SetName ¶ added in v1.0.1
func (s *AssignIdxsSubContext) SetName(v antlr.Token)
type AssignIdxsSumContext ¶ added in v1.0.1
type AssignIdxsSumContext struct { AssignmentContext // contains filtered or unexported fields }
func NewAssignIdxsSumContext ¶ added in v1.0.1
func NewAssignIdxsSumContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssignIdxsSumContext
func (*AssignIdxsSumContext) Accept ¶ added in v1.0.1
func (s *AssignIdxsSumContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*AssignIdxsSumContext) AssSum ¶ added in v1.0.1
func (s *AssignIdxsSumContext) AssSum() antlr.TerminalNode
func (*AssignIdxsSumContext) EnterRule ¶ added in v1.0.1
func (s *AssignIdxsSumContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignIdxsSumContext) ExitRule ¶ added in v1.0.1
func (s *AssignIdxsSumContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignIdxsSumContext) Exp ¶ added in v1.0.1
func (s *AssignIdxsSumContext) Exp() IExpContext
func (*AssignIdxsSumContext) GetName ¶ added in v1.0.1
func (s *AssignIdxsSumContext) GetName() antlr.Token
func (*AssignIdxsSumContext) GetRuleContext ¶ added in v1.0.1
func (s *AssignIdxsSumContext) GetRuleContext() antlr.RuleContext
func (*AssignIdxsSumContext) Identifier ¶ added in v1.0.1
func (s *AssignIdxsSumContext) Identifier() antlr.TerminalNode
func (*AssignIdxsSumContext) Idxs ¶ added in v1.0.1
func (s *AssignIdxsSumContext) Idxs() IIdxsContext
func (*AssignIdxsSumContext) SetName ¶ added in v1.0.1
func (s *AssignIdxsSumContext) 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 (s *AssignRegularContext) Exp() IExpContext
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) EnterAssignIdxsDiv ¶ added in v1.0.1
func (s *BasePLANListener) EnterAssignIdxsDiv(ctx *AssignIdxsDivContext)
EnterAssignIdxsDiv is called when production assignIdxsDiv is entered.
func (*BasePLANListener) EnterAssignIdxsMod ¶ added in v1.0.1
func (s *BasePLANListener) EnterAssignIdxsMod(ctx *AssignIdxsModContext)
EnterAssignIdxsMod is called when production assignIdxsMod is entered.
func (*BasePLANListener) EnterAssignIdxsMul ¶ added in v1.0.1
func (s *BasePLANListener) EnterAssignIdxsMul(ctx *AssignIdxsMulContext)
EnterAssignIdxsMul is called when production assignIdxsMul is entered.
func (*BasePLANListener) EnterAssignIdxsPow ¶ added in v1.0.1
func (s *BasePLANListener) EnterAssignIdxsPow(ctx *AssignIdxsPowContext)
EnterAssignIdxsPow is called when production assignIdxsPow is entered.
func (*BasePLANListener) EnterAssignIdxsRegular ¶ added in v1.0.1
func (s *BasePLANListener) EnterAssignIdxsRegular(ctx *AssignIdxsRegularContext)
EnterAssignIdxsRegular is called when production assignIdxsRegular is entered.
func (*BasePLANListener) EnterAssignIdxsSub ¶ added in v1.0.1
func (s *BasePLANListener) EnterAssignIdxsSub(ctx *AssignIdxsSubContext)
EnterAssignIdxsSub is called when production assignIdxsSub is entered.
func (*BasePLANListener) EnterAssignIdxsSum ¶ added in v1.0.1
func (s *BasePLANListener) EnterAssignIdxsSum(ctx *AssignIdxsSumContext)
EnterAssignIdxsSum is called when production assignIdxsSum 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) EnterCompoundStmt ¶ added in v1.0.1
func (s *BasePLANListener) EnterCompoundStmt(ctx *CompoundStmtContext)
EnterCompoundStmt is called when production compoundStmt 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) 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) EnterFnStmt ¶ added in v1.0.1
func (s *BasePLANListener) EnterFnStmt(ctx *FnStmtContext)
EnterFnStmt is called when production fnStmt 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) EnterIdxs ¶ added in v1.0.1
func (s *BasePLANListener) EnterIdxs(ctx *IdxsContext)
EnterIdxs is called when production idxs 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) EnterIncludeStmt ¶ added in v1.0.1
func (s *BasePLANListener) EnterIncludeStmt(ctx *IncludeStmtContext)
EnterIncludeStmt is called when production includeStmt is entered.
func (*BasePLANListener) EnterList ¶
func (s *BasePLANListener) EnterList(ctx *ListContext)
EnterList is called when production list is entered.
func (*BasePLANListener) EnterProgFile ¶ added in v1.0.1
func (s *BasePLANListener) EnterProgFile(ctx *ProgFileContext)
EnterProgFile is called when production progFile is entered.
func (*BasePLANListener) EnterReturnStmt ¶
func (s *BasePLANListener) EnterReturnStmt(ctx *ReturnStmtContext)
EnterReturnStmt is called when production returnStmt is entered.
func (*BasePLANListener) EnterSimpleStmt ¶ added in v1.0.1
func (s *BasePLANListener) EnterSimpleStmt(ctx *SimpleStmtContext)
EnterSimpleStmt is called when production simpleStmt is entered.
func (*BasePLANListener) EnterStmt ¶
func (s *BasePLANListener) EnterStmt(ctx *StmtContext)
EnterStmt is called when production stmt is entered.
func (*BasePLANListener) EnterStmts ¶ added in v1.0.1
func (s *BasePLANListener) EnterStmts(ctx *StmtsContext)
EnterStmts is called when production stmts 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) ExitAssignIdxsDiv ¶ added in v1.0.1
func (s *BasePLANListener) ExitAssignIdxsDiv(ctx *AssignIdxsDivContext)
ExitAssignIdxsDiv is called when production assignIdxsDiv is exited.
func (*BasePLANListener) ExitAssignIdxsMod ¶ added in v1.0.1
func (s *BasePLANListener) ExitAssignIdxsMod(ctx *AssignIdxsModContext)
ExitAssignIdxsMod is called when production assignIdxsMod is exited.
func (*BasePLANListener) ExitAssignIdxsMul ¶ added in v1.0.1
func (s *BasePLANListener) ExitAssignIdxsMul(ctx *AssignIdxsMulContext)
ExitAssignIdxsMul is called when production assignIdxsMul is exited.
func (*BasePLANListener) ExitAssignIdxsPow ¶ added in v1.0.1
func (s *BasePLANListener) ExitAssignIdxsPow(ctx *AssignIdxsPowContext)
ExitAssignIdxsPow is called when production assignIdxsPow is exited.
func (*BasePLANListener) ExitAssignIdxsRegular ¶ added in v1.0.1
func (s *BasePLANListener) ExitAssignIdxsRegular(ctx *AssignIdxsRegularContext)
ExitAssignIdxsRegular is called when production assignIdxsRegular is exited.
func (*BasePLANListener) ExitAssignIdxsSub ¶ added in v1.0.1
func (s *BasePLANListener) ExitAssignIdxsSub(ctx *AssignIdxsSubContext)
ExitAssignIdxsSub is called when production assignIdxsSub is exited.
func (*BasePLANListener) ExitAssignIdxsSum ¶ added in v1.0.1
func (s *BasePLANListener) ExitAssignIdxsSum(ctx *AssignIdxsSumContext)
ExitAssignIdxsSum is called when production assignIdxsSum 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) ExitCompoundStmt ¶ added in v1.0.1
func (s *BasePLANListener) ExitCompoundStmt(ctx *CompoundStmtContext)
ExitCompoundStmt is called when production compoundStmt 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) 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) ExitFnStmt ¶ added in v1.0.1
func (s *BasePLANListener) ExitFnStmt(ctx *FnStmtContext)
ExitFnStmt is called when production fnStmt 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) ExitIdxs ¶ added in v1.0.1
func (s *BasePLANListener) ExitIdxs(ctx *IdxsContext)
ExitIdxs is called when production idxs 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) ExitIncludeStmt ¶ added in v1.0.1
func (s *BasePLANListener) ExitIncludeStmt(ctx *IncludeStmtContext)
ExitIncludeStmt is called when production includeStmt is exited.
func (*BasePLANListener) ExitList ¶
func (s *BasePLANListener) ExitList(ctx *ListContext)
ExitList is called when production list is exited.
func (*BasePLANListener) ExitProgFile ¶ added in v1.0.1
func (s *BasePLANListener) ExitProgFile(ctx *ProgFileContext)
ExitProgFile is called when production progFile is exited.
func (*BasePLANListener) ExitReturnStmt ¶
func (s *BasePLANListener) ExitReturnStmt(ctx *ReturnStmtContext)
ExitReturnStmt is called when production returnStmt is exited.
func (*BasePLANListener) ExitSimpleStmt ¶ added in v1.0.1
func (s *BasePLANListener) ExitSimpleStmt(ctx *SimpleStmtContext)
ExitSimpleStmt is called when production simpleStmt is exited.
func (*BasePLANListener) ExitStmt ¶
func (s *BasePLANListener) ExitStmt(ctx *StmtContext)
ExitStmt is called when production stmt is exited.
func (*BasePLANListener) ExitStmts ¶ added in v1.0.1
func (s *BasePLANListener) ExitStmts(ctx *StmtsContext)
ExitStmts is called when production stmts 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) VisitAssignIdxsDiv ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitAssignIdxsDiv(ctx *AssignIdxsDivContext) interface{}
func (*BasePLANVisitor) VisitAssignIdxsMod ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitAssignIdxsMod(ctx *AssignIdxsModContext) interface{}
func (*BasePLANVisitor) VisitAssignIdxsMul ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitAssignIdxsMul(ctx *AssignIdxsMulContext) interface{}
func (*BasePLANVisitor) VisitAssignIdxsPow ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitAssignIdxsPow(ctx *AssignIdxsPowContext) interface{}
func (*BasePLANVisitor) VisitAssignIdxsRegular ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitAssignIdxsRegular(ctx *AssignIdxsRegularContext) interface{}
func (*BasePLANVisitor) VisitAssignIdxsSub ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitAssignIdxsSub(ctx *AssignIdxsSubContext) interface{}
func (*BasePLANVisitor) VisitAssignIdxsSum ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitAssignIdxsSum(ctx *AssignIdxsSumContext) 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) VisitCompoundStmt ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitCompoundStmt(ctx *CompoundStmtContext) 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) VisitFnBody ¶
func (v *BasePLANVisitor) VisitFnBody(ctx *FnBodyContext) interface{}
func (*BasePLANVisitor) VisitFnParams ¶
func (v *BasePLANVisitor) VisitFnParams(ctx *FnParamsContext) interface{}
func (*BasePLANVisitor) VisitFnStmt ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitFnStmt(ctx *FnStmtContext) 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) VisitIdxs ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitIdxs(ctx *IdxsContext) interface{}
func (*BasePLANVisitor) VisitIfBlockStmt ¶
func (v *BasePLANVisitor) VisitIfBlockStmt(ctx *IfBlockStmtContext) interface{}
func (*BasePLANVisitor) VisitIfStmt ¶
func (v *BasePLANVisitor) VisitIfStmt(ctx *IfStmtContext) interface{}
func (*BasePLANVisitor) VisitIncludeStmt ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitIncludeStmt(ctx *IncludeStmtContext) interface{}
func (*BasePLANVisitor) VisitList ¶
func (v *BasePLANVisitor) VisitList(ctx *ListContext) interface{}
func (*BasePLANVisitor) VisitProgFile ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitProgFile(ctx *ProgFileContext) interface{}
func (*BasePLANVisitor) VisitReturnStmt ¶
func (v *BasePLANVisitor) VisitReturnStmt(ctx *ReturnStmtContext) interface{}
func (*BasePLANVisitor) VisitSimpleStmt ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitSimpleStmt(ctx *SimpleStmtContext) interface{}
func (*BasePLANVisitor) VisitStmt ¶
func (v *BasePLANVisitor) VisitStmt(ctx *StmtContext) interface{}
func (*BasePLANVisitor) VisitStmts ¶ added in v1.0.1
func (v *BasePLANVisitor) VisitStmts(ctx *StmtsContext) 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 CompoundStmtContext ¶ added in v1.0.1
type CompoundStmtContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCompoundStmtContext ¶ added in v1.0.1
func NewCompoundStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompoundStmtContext
func NewEmptyCompoundStmtContext ¶ added in v1.0.1
func NewEmptyCompoundStmtContext() *CompoundStmtContext
func (*CompoundStmtContext) Accept ¶ added in v1.0.1
func (s *CompoundStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*CompoundStmtContext) EnterRule ¶ added in v1.0.1
func (s *CompoundStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*CompoundStmtContext) ExitRule ¶ added in v1.0.1
func (s *CompoundStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*CompoundStmtContext) FnStmt ¶ added in v1.0.1
func (s *CompoundStmtContext) FnStmt() IFnStmtContext
func (*CompoundStmtContext) ForStmt ¶ added in v1.0.1
func (s *CompoundStmtContext) ForStmt() IForStmtContext
func (*CompoundStmtContext) GetParser ¶ added in v1.0.1
func (s *CompoundStmtContext) GetParser() antlr.Parser
func (*CompoundStmtContext) GetRuleContext ¶ added in v1.0.1
func (s *CompoundStmtContext) GetRuleContext() antlr.RuleContext
func (*CompoundStmtContext) IfStmt ¶ added in v1.0.1
func (s *CompoundStmtContext) IfStmt() IIfStmtContext
func (*CompoundStmtContext) IsCompoundStmtContext ¶ added in v1.0.1
func (*CompoundStmtContext) IsCompoundStmtContext()
func (*CompoundStmtContext) ToStringTree ¶ added in v1.0.1
func (s *CompoundStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CompoundStmtContext) WhileStmt ¶ added in v1.0.1
func (s *CompoundStmtContext) WhileStmt() IWhileStmtContext
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 (s *ElifBlockStmtContext) Exp() IExpContext
func (*ElifBlockStmtContext) GetRuleContext ¶
func (s *ElifBlockStmtContext) GetRuleContext() antlr.RuleContext
func (*ElifBlockStmtContext) Stmt ¶
func (s *ElifBlockStmtContext) Stmt(i int) IStmtContext
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 ¶
func (s *ElseBlockStmtContext) Stmt(i int) IStmtContext
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 (s *ExpComparisonContext) Exp(i int) IExpContext
func (*ExpComparisonContext) GetOp ¶
func (s *ExpComparisonContext) GetOp() antlr.Token
func (*ExpComparisonContext) GetRuleContext ¶
func (s *ExpComparisonContext) GetRuleContext() antlr.RuleContext
func (*ExpComparisonContext) Gt ¶
func (s *ExpComparisonContext) Gt() antlr.TerminalNode
func (*ExpComparisonContext) GtEq ¶
func (s *ExpComparisonContext) GtEq() antlr.TerminalNode
func (*ExpComparisonContext) Lt ¶
func (s *ExpComparisonContext) Lt() antlr.TerminalNode
func (*ExpComparisonContext) LtEq ¶
func (s *ExpComparisonContext) LtEq() antlr.TerminalNode
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 (s *ExpEqualContext) Eq() antlr.TerminalNode
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 (s *ExpEqualContext) Neq() antlr.TerminalNode
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 (s *ExpLogicalAndContext) And() antlr.TerminalNode
func (*ExpLogicalAndContext) EnterRule ¶
func (s *ExpLogicalAndContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExpLogicalAndContext) ExitRule ¶
func (s *ExpLogicalAndContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExpLogicalAndContext) Exp ¶
func (s *ExpLogicalAndContext) Exp(i int) IExpContext
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 (s *ExpLogicalNotContext) Exp() IExpContext
func (*ExpLogicalNotContext) GetRuleContext ¶
func (s *ExpLogicalNotContext) GetRuleContext() antlr.RuleContext
func (*ExpLogicalNotContext) Not ¶
func (s *ExpLogicalNotContext) Not() antlr.TerminalNode
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 (s *ExpLogicalOrContext) Exp(i int) IExpContext
func (*ExpLogicalOrContext) GetRuleContext ¶
func (s *ExpLogicalOrContext) GetRuleContext() antlr.RuleContext
func (*ExpLogicalOrContext) Or ¶
func (s *ExpLogicalOrContext) Or() antlr.TerminalNode
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 (s *ExpMulDivModContext) Exp(i int) IExpContext
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 (s *ExpParenthesesContext) Exp() IExpContext
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 (s *ExpSumSubContext) Add() antlr.TerminalNode
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 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 FnStmtContext ¶ added in v1.0.1
type FnStmtContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFnStmtContext ¶ added in v1.0.1
func NewEmptyFnStmtContext() *FnStmtContext
func NewFnStmtContext ¶ added in v1.0.1
func NewFnStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FnStmtContext
func (*FnStmtContext) Accept ¶ added in v1.0.1
func (s *FnStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*FnStmtContext) EnterRule ¶ added in v1.0.1
func (s *FnStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*FnStmtContext) ExitRule ¶ added in v1.0.1
func (s *FnStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*FnStmtContext) FnBody ¶ added in v1.0.1
func (s *FnStmtContext) FnBody() IFnBodyContext
func (*FnStmtContext) GetName ¶ added in v1.0.1
func (s *FnStmtContext) GetName() antlr.Token
func (*FnStmtContext) GetParser ¶ added in v1.0.1
func (s *FnStmtContext) GetParser() antlr.Parser
func (*FnStmtContext) GetRuleContext ¶ added in v1.0.1
func (s *FnStmtContext) GetRuleContext() antlr.RuleContext
func (*FnStmtContext) Identifier ¶ added in v1.0.1
func (s *FnStmtContext) Identifier() antlr.TerminalNode
func (*FnStmtContext) IsFnStmtContext ¶ added in v1.0.1
func (*FnStmtContext) IsFnStmtContext()
func (*FnStmtContext) SetName ¶ added in v1.0.1
func (s *FnStmtContext) SetName(v antlr.Token)
func (*FnStmtContext) ToStringTree ¶ added in v1.0.1
func (s *FnStmtContext) 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 ICompoundStmtContext ¶ added in v1.0.1
type ICompoundStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures WhileStmt() IWhileStmtContext ForStmt() IForStmtContext IfStmt() IIfStmtContext FnStmt() IFnStmtContext // IsCompoundStmtContext differentiates from other interfaces. IsCompoundStmtContext() }
ICompoundStmtContext 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 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 IFnStmtContext ¶ added in v1.0.1
type IFnStmtContext 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 // IsFnStmtContext differentiates from other interfaces. IsFnStmtContext() }
IFnStmtContext 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 IIdxsContext ¶ added in v1.0.1
type IIdxsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllIdx() []IIdxContext Idx(i int) IIdxContext // IsIdxsContext differentiates from other interfaces. IsIdxsContext() }
IIdxsContext 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 IIncludeStmtContext ¶ added in v1.0.1
type IIncludeStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Exp() IExpContext // IsIncludeStmtContext differentiates from other interfaces. IsIncludeStmtContext() }
IIncludeStmtContext 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 IProgFileContext ¶ added in v1.0.1
type IProgFileContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures EOF() antlr.TerminalNode Stmts() IStmtsContext // IsProgFileContext differentiates from other interfaces. IsProgFileContext() }
IProgFileContext 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 ISimpleStmtContext ¶ added in v1.0.1
type ISimpleStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures Assignment() IAssignmentContext IncludeStmt() IIncludeStmtContext MethodInvoke() IMethodInvokeContext CsInvoke() ICsInvokeContext FnInvoke() IFnInvokeContext BreakStmt() IBreakStmtContext ContinueStmt() IContinueStmtContext ReturnStmt() IReturnStmtContext // IsSimpleStmtContext differentiates from other interfaces. IsSimpleStmtContext() }
ISimpleStmtContext is an interface to support dynamic dispatch.
type IStmtContext ¶
type IStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures SimpleStmt() ISimpleStmtContext CompoundStmt() ICompoundStmtContext // IsStmtContext differentiates from other interfaces. IsStmtContext() }
IStmtContext is an interface to support dynamic dispatch.
type IStmtsContext ¶ added in v1.0.1
type IStmtsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // Getter signatures AllStmt() []IStmtContext Stmt(i int) IStmtContext // IsStmtsContext differentiates from other interfaces. IsStmtsContext() }
IStmtsContext 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 (s *IdentifierCsInvokeContext) Closure() antlr.TerminalNode
func (*IdentifierCsInvokeContext) EnterRule ¶
func (s *IdentifierCsInvokeContext) EnterRule(listener antlr.ParseTreeListener)
func (*IdentifierCsInvokeContext) ExitRule ¶
func (s *IdentifierCsInvokeContext) ExitRule(listener antlr.ParseTreeListener)
func (*IdentifierCsInvokeContext) Exp ¶
func (s *IdentifierCsInvokeContext) Exp(i int) IExpContext
func (*IdentifierCsInvokeContext) GetName ¶
func (s *IdentifierCsInvokeContext) GetName() antlr.Token
func (*IdentifierCsInvokeContext) GetRuleContext ¶
func (s *IdentifierCsInvokeContext) GetRuleContext() antlr.RuleContext
func (*IdentifierCsInvokeContext) Identifier ¶
func (s *IdentifierCsInvokeContext) Identifier() antlr.TerminalNode
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 (s *IdentifierFnInvokeContext) Exp(i int) IExpContext
func (*IdentifierFnInvokeContext) GetName ¶
func (s *IdentifierFnInvokeContext) GetName() antlr.Token
func (*IdentifierFnInvokeContext) GetRuleContext ¶
func (s *IdentifierFnInvokeContext) GetRuleContext() antlr.RuleContext
func (*IdentifierFnInvokeContext) Identifier ¶
func (s *IdentifierFnInvokeContext) Identifier() antlr.TerminalNode
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 (s *IdentifierMethodInvokeContext) AllExp() []IExpContext
func (*IdentifierMethodInvokeContext) AllIdentifier ¶
func (s *IdentifierMethodInvokeContext) AllIdentifier() []antlr.TerminalNode
func (*IdentifierMethodInvokeContext) EnterRule ¶
func (s *IdentifierMethodInvokeContext) EnterRule(listener antlr.ParseTreeListener)
func (*IdentifierMethodInvokeContext) ExitRule ¶
func (s *IdentifierMethodInvokeContext) ExitRule(listener antlr.ParseTreeListener)
func (*IdentifierMethodInvokeContext) Exp ¶
func (s *IdentifierMethodInvokeContext) Exp(i int) IExpContext
func (*IdentifierMethodInvokeContext) GetName ¶
func (s *IdentifierMethodInvokeContext) GetName() antlr.Token
func (*IdentifierMethodInvokeContext) GetRuleContext ¶
func (s *IdentifierMethodInvokeContext) GetRuleContext() antlr.RuleContext
func (*IdentifierMethodInvokeContext) GetVar_ ¶
func (s *IdentifierMethodInvokeContext) GetVar_() antlr.Token
func (*IdentifierMethodInvokeContext) Identifier ¶
func (s *IdentifierMethodInvokeContext) Identifier(i int) antlr.TerminalNode
func (*IdentifierMethodInvokeContext) SetName ¶
func (s *IdentifierMethodInvokeContext) SetName(v antlr.Token)
func (*IdentifierMethodInvokeContext) SetVar_ ¶
func (s *IdentifierMethodInvokeContext) SetVar_(v antlr.Token)
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 IdxsContext ¶ added in v1.0.1
type IdxsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIdxsContext ¶ added in v1.0.1
func NewEmptyIdxsContext() *IdxsContext
func NewIdxsContext ¶ added in v1.0.1
func NewIdxsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdxsContext
func (*IdxsContext) Accept ¶ added in v1.0.1
func (s *IdxsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IdxsContext) AllIdx ¶ added in v1.0.1
func (s *IdxsContext) AllIdx() []IIdxContext
func (*IdxsContext) EnterRule ¶ added in v1.0.1
func (s *IdxsContext) EnterRule(listener antlr.ParseTreeListener)
func (*IdxsContext) ExitRule ¶ added in v1.0.1
func (s *IdxsContext) ExitRule(listener antlr.ParseTreeListener)
func (*IdxsContext) GetParser ¶ added in v1.0.1
func (s *IdxsContext) GetParser() antlr.Parser
func (*IdxsContext) GetRuleContext ¶ added in v1.0.1
func (s *IdxsContext) GetRuleContext() antlr.RuleContext
func (*IdxsContext) Idx ¶ added in v1.0.1
func (s *IdxsContext) Idx(i int) IIdxContext
func (*IdxsContext) IsIdxsContext ¶ added in v1.0.1
func (*IdxsContext) IsIdxsContext()
func (*IdxsContext) ToStringTree ¶ added in v1.0.1
func (s *IdxsContext) 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 (s *IfBlockStmtContext) Exp() IExpContext
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 IncludeStmtContext ¶ added in v1.0.1
type IncludeStmtContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIncludeStmtContext ¶ added in v1.0.1
func NewEmptyIncludeStmtContext() *IncludeStmtContext
func NewIncludeStmtContext ¶ added in v1.0.1
func NewIncludeStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IncludeStmtContext
func (*IncludeStmtContext) Accept ¶ added in v1.0.1
func (s *IncludeStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*IncludeStmtContext) EnterRule ¶ added in v1.0.1
func (s *IncludeStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*IncludeStmtContext) ExitRule ¶ added in v1.0.1
func (s *IncludeStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*IncludeStmtContext) Exp ¶ added in v1.0.1
func (s *IncludeStmtContext) Exp() IExpContext
func (*IncludeStmtContext) GetParser ¶ added in v1.0.1
func (s *IncludeStmtContext) GetParser() antlr.Parser
func (*IncludeStmtContext) GetRuleContext ¶ added in v1.0.1
func (s *IncludeStmtContext) GetRuleContext() antlr.RuleContext
func (*IncludeStmtContext) IsIncludeStmtContext ¶ added in v1.0.1
func (*IncludeStmtContext) IsIncludeStmtContext()
func (*IncludeStmtContext) ToStringTree ¶ added in v1.0.1
func (s *IncludeStmtContext) 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 // EnterProgFile is called when entering the progFile production. EnterProgFile(c *ProgFileContext) // EnterStmts is called when entering the stmts production. EnterStmts(c *StmtsContext) // EnterStmt is called when entering the stmt production. EnterStmt(c *StmtContext) // EnterSimpleStmt is called when entering the simpleStmt production. EnterSimpleStmt(c *SimpleStmtContext) // EnterCompoundStmt is called when entering the compoundStmt production. EnterCompoundStmt(c *CompoundStmtContext) // EnterWhileStmt is called when entering the whileStmt production. EnterWhileStmt(c *WhileStmtContext) // EnterForStmt is called when entering the forStmt production. EnterForStmt(c *ForStmtContext) // EnterIfStmt is called when entering the ifStmt production. EnterIfStmt(c *IfStmtContext) // 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) // EnterFnStmt is called when entering the fnStmt production. EnterFnStmt(c *FnStmtContext) // EnterFnBody is called when entering the fnBody production. EnterFnBody(c *FnBodyContext) // EnterFnParams is called when entering the fnParams production. EnterFnParams(c *FnParamsContext) // EnterIncludeStmt is called when entering the includeStmt production. EnterIncludeStmt(c *IncludeStmtContext) // 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) // EnterAssignIdxsRegular is called when entering the assignIdxsRegular production. EnterAssignIdxsRegular(c *AssignIdxsRegularContext) // EnterAssignIdxsSum is called when entering the assignIdxsSum production. EnterAssignIdxsSum(c *AssignIdxsSumContext) // EnterAssignIdxsSub is called when entering the assignIdxsSub production. EnterAssignIdxsSub(c *AssignIdxsSubContext) // EnterAssignIdxsMul is called when entering the assignIdxsMul production. EnterAssignIdxsMul(c *AssignIdxsMulContext) // EnterAssignIdxsDiv is called when entering the assignIdxsDiv production. EnterAssignIdxsDiv(c *AssignIdxsDivContext) // EnterAssignIdxsMod is called when entering the assignIdxsMod production. EnterAssignIdxsMod(c *AssignIdxsModContext) // EnterAssignIdxsPow is called when entering the assignIdxsPow production. EnterAssignIdxsPow(c *AssignIdxsPowContext) // 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) // EnterIdxs is called when entering the idxs production. EnterIdxs(c *IdxsContext) // 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) // EnterClosure is called when entering the closure production. EnterClosure(c *ClosureContext) // ExitProgFile is called when exiting the progFile production. ExitProgFile(c *ProgFileContext) // ExitStmts is called when exiting the stmts production. ExitStmts(c *StmtsContext) // ExitStmt is called when exiting the stmt production. ExitStmt(c *StmtContext) // ExitSimpleStmt is called when exiting the simpleStmt production. ExitSimpleStmt(c *SimpleStmtContext) // ExitCompoundStmt is called when exiting the compoundStmt production. ExitCompoundStmt(c *CompoundStmtContext) // ExitWhileStmt is called when exiting the whileStmt production. ExitWhileStmt(c *WhileStmtContext) // ExitForStmt is called when exiting the forStmt production. ExitForStmt(c *ForStmtContext) // ExitIfStmt is called when exiting the ifStmt production. ExitIfStmt(c *IfStmtContext) // 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) // ExitFnStmt is called when exiting the fnStmt production. ExitFnStmt(c *FnStmtContext) // ExitFnBody is called when exiting the fnBody production. ExitFnBody(c *FnBodyContext) // ExitFnParams is called when exiting the fnParams production. ExitFnParams(c *FnParamsContext) // ExitIncludeStmt is called when exiting the includeStmt production. ExitIncludeStmt(c *IncludeStmtContext) // 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) // ExitAssignIdxsRegular is called when exiting the assignIdxsRegular production. ExitAssignIdxsRegular(c *AssignIdxsRegularContext) // ExitAssignIdxsSum is called when exiting the assignIdxsSum production. ExitAssignIdxsSum(c *AssignIdxsSumContext) // ExitAssignIdxsSub is called when exiting the assignIdxsSub production. ExitAssignIdxsSub(c *AssignIdxsSubContext) // ExitAssignIdxsMul is called when exiting the assignIdxsMul production. ExitAssignIdxsMul(c *AssignIdxsMulContext) // ExitAssignIdxsDiv is called when exiting the assignIdxsDiv production. ExitAssignIdxsDiv(c *AssignIdxsDivContext) // ExitAssignIdxsMod is called when exiting the assignIdxsMod production. ExitAssignIdxsMod(c *AssignIdxsModContext) // ExitAssignIdxsPow is called when exiting the assignIdxsPow production. ExitAssignIdxsPow(c *AssignIdxsPowContext) // 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) // ExitIdxs is called when exiting the idxs production. ExitIdxs(c *IdxsContext) // 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) // ExitClosure is called when exiting the closure production. ExitClosure(c *ClosureContext) }
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) CompoundStmt ¶ added in v1.0.1
func (p *PLANParser) CompoundStmt() (localctx ICompoundStmtContext)
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) 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) FnStmt ¶ added in v1.0.1
func (p *PLANParser) FnStmt() (localctx IFnStmtContext)
func (*PLANParser) ForStmt ¶
func (p *PLANParser) ForStmt() (localctx IForStmtContext)
func (*PLANParser) Idx ¶
func (p *PLANParser) Idx() (localctx IIdxContext)
func (*PLANParser) Idxs ¶ added in v1.0.1
func (p *PLANParser) Idxs() (localctx IIdxsContext)
func (*PLANParser) IfBlock ¶
func (p *PLANParser) IfBlock() (localctx IIfBlockContext)
func (*PLANParser) IfStmt ¶
func (p *PLANParser) IfStmt() (localctx IIfStmtContext)
func (*PLANParser) IncludeStmt ¶ added in v1.0.1
func (p *PLANParser) IncludeStmt() (localctx IIncludeStmtContext)
func (*PLANParser) List ¶
func (p *PLANParser) List() (localctx IListContext)
func (*PLANParser) MethodInvoke ¶
func (p *PLANParser) MethodInvoke() (localctx IMethodInvokeContext)
func (*PLANParser) ProgFile ¶ added in v1.0.1
func (p *PLANParser) ProgFile() (localctx IProgFileContext)
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) SimpleStmt ¶ added in v1.0.1
func (p *PLANParser) SimpleStmt() (localctx ISimpleStmtContext)
func (*PLANParser) Stmt ¶
func (p *PLANParser) Stmt() (localctx IStmtContext)
func (*PLANParser) Stmts ¶ added in v1.0.1
func (p *PLANParser) Stmts() (localctx IStmtsContext)
func (*PLANParser) WhileStmt ¶
func (p *PLANParser) WhileStmt() (localctx IWhileStmtContext)
type PLANVisitor ¶
type PLANVisitor interface { antlr.ParseTreeVisitor // Visit a parse tree produced by PLANParser#progFile. VisitProgFile(ctx *ProgFileContext) interface{} // Visit a parse tree produced by PLANParser#stmts. VisitStmts(ctx *StmtsContext) interface{} // Visit a parse tree produced by PLANParser#stmt. VisitStmt(ctx *StmtContext) interface{} // Visit a parse tree produced by PLANParser#simpleStmt. VisitSimpleStmt(ctx *SimpleStmtContext) interface{} // Visit a parse tree produced by PLANParser#compoundStmt. VisitCompoundStmt(ctx *CompoundStmtContext) 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#ifStmt. VisitIfStmt(ctx *IfStmtContext) 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#fnStmt. VisitFnStmt(ctx *FnStmtContext) interface{} // Visit a parse tree produced by PLANParser#fnBody. VisitFnBody(ctx *FnBodyContext) interface{} // Visit a parse tree produced by PLANParser#fnParams. VisitFnParams(ctx *FnParamsContext) interface{} // Visit a parse tree produced by PLANParser#includeStmt. VisitIncludeStmt(ctx *IncludeStmtContext) 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#assignIdxsRegular. VisitAssignIdxsRegular(ctx *AssignIdxsRegularContext) interface{} // Visit a parse tree produced by PLANParser#assignIdxsSum. VisitAssignIdxsSum(ctx *AssignIdxsSumContext) interface{} // Visit a parse tree produced by PLANParser#assignIdxsSub. VisitAssignIdxsSub(ctx *AssignIdxsSubContext) interface{} // Visit a parse tree produced by PLANParser#assignIdxsMul. VisitAssignIdxsMul(ctx *AssignIdxsMulContext) interface{} // Visit a parse tree produced by PLANParser#assignIdxsDiv. VisitAssignIdxsDiv(ctx *AssignIdxsDivContext) interface{} // Visit a parse tree produced by PLANParser#assignIdxsMod. VisitAssignIdxsMod(ctx *AssignIdxsModContext) interface{} // Visit a parse tree produced by PLANParser#assignIdxsPow. VisitAssignIdxsPow(ctx *AssignIdxsPowContext) 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#idxs. VisitIdxs(ctx *IdxsContext) 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#closure. VisitClosure(ctx *ClosureContext) interface{} }
A complete Visitor for a parse tree produced by PLANParser.
type ProgFileContext ¶ added in v1.0.1
type ProgFileContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProgFileContext ¶ added in v1.0.1
func NewEmptyProgFileContext() *ProgFileContext
func NewProgFileContext ¶ added in v1.0.1
func NewProgFileContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgFileContext
func (*ProgFileContext) Accept ¶ added in v1.0.1
func (s *ProgFileContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*ProgFileContext) EOF ¶ added in v1.0.1
func (s *ProgFileContext) EOF() antlr.TerminalNode
func (*ProgFileContext) EnterRule ¶ added in v1.0.1
func (s *ProgFileContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProgFileContext) ExitRule ¶ added in v1.0.1
func (s *ProgFileContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProgFileContext) GetParser ¶ added in v1.0.1
func (s *ProgFileContext) GetParser() antlr.Parser
func (*ProgFileContext) GetRuleContext ¶ added in v1.0.1
func (s *ProgFileContext) GetRuleContext() antlr.RuleContext
func (*ProgFileContext) IsProgFileContext ¶ added in v1.0.1
func (*ProgFileContext) IsProgFileContext()
func (*ProgFileContext) Stmts ¶ added in v1.0.1
func (s *ProgFileContext) Stmts() IStmtsContext
func (*ProgFileContext) ToStringTree ¶ added in v1.0.1
func (s *ProgFileContext) 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 SimpleStmtContext ¶ added in v1.0.1
type SimpleStmtContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySimpleStmtContext ¶ added in v1.0.1
func NewEmptySimpleStmtContext() *SimpleStmtContext
func NewSimpleStmtContext ¶ added in v1.0.1
func NewSimpleStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleStmtContext
func (*SimpleStmtContext) Accept ¶ added in v1.0.1
func (s *SimpleStmtContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*SimpleStmtContext) Assignment ¶ added in v1.0.1
func (s *SimpleStmtContext) Assignment() IAssignmentContext
func (*SimpleStmtContext) BreakStmt ¶ added in v1.0.1
func (s *SimpleStmtContext) BreakStmt() IBreakStmtContext
func (*SimpleStmtContext) ContinueStmt ¶ added in v1.0.1
func (s *SimpleStmtContext) ContinueStmt() IContinueStmtContext
func (*SimpleStmtContext) CsInvoke ¶ added in v1.0.1
func (s *SimpleStmtContext) CsInvoke() ICsInvokeContext
func (*SimpleStmtContext) EnterRule ¶ added in v1.0.1
func (s *SimpleStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*SimpleStmtContext) ExitRule ¶ added in v1.0.1
func (s *SimpleStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*SimpleStmtContext) FnInvoke ¶ added in v1.0.1
func (s *SimpleStmtContext) FnInvoke() IFnInvokeContext
func (*SimpleStmtContext) GetParser ¶ added in v1.0.1
func (s *SimpleStmtContext) GetParser() antlr.Parser
func (*SimpleStmtContext) GetRuleContext ¶ added in v1.0.1
func (s *SimpleStmtContext) GetRuleContext() antlr.RuleContext
func (*SimpleStmtContext) IncludeStmt ¶ added in v1.0.1
func (s *SimpleStmtContext) IncludeStmt() IIncludeStmtContext
func (*SimpleStmtContext) IsSimpleStmtContext ¶ added in v1.0.1
func (*SimpleStmtContext) IsSimpleStmtContext()
func (*SimpleStmtContext) MethodInvoke ¶ added in v1.0.1
func (s *SimpleStmtContext) MethodInvoke() IMethodInvokeContext
func (*SimpleStmtContext) ReturnStmt ¶ added in v1.0.1
func (s *SimpleStmtContext) ReturnStmt() IReturnStmtContext
func (*SimpleStmtContext) ToStringTree ¶ added in v1.0.1
func (s *SimpleStmtContext) 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) CompoundStmt ¶ added in v1.0.1
func (s *StmtContext) CompoundStmt() ICompoundStmtContext
func (*StmtContext) EnterRule ¶
func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtContext) ExitRule ¶
func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtContext) GetParser ¶
func (s *StmtContext) GetParser() antlr.Parser
func (*StmtContext) GetRuleContext ¶
func (s *StmtContext) GetRuleContext() antlr.RuleContext
func (*StmtContext) IsStmtContext ¶
func (*StmtContext) IsStmtContext()
func (*StmtContext) SimpleStmt ¶ added in v1.0.1
func (s *StmtContext) SimpleStmt() ISimpleStmtContext
func (*StmtContext) ToStringTree ¶
func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StmtsContext ¶ added in v1.0.1
type StmtsContext struct { antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtsContext ¶ added in v1.0.1
func NewEmptyStmtsContext() *StmtsContext
func NewStmtsContext ¶ added in v1.0.1
func NewStmtsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtsContext
func (*StmtsContext) Accept ¶ added in v1.0.1
func (s *StmtsContext) Accept(visitor antlr.ParseTreeVisitor) interface{}
func (*StmtsContext) AllStmt ¶ added in v1.0.1
func (s *StmtsContext) AllStmt() []IStmtContext
func (*StmtsContext) EnterRule ¶ added in v1.0.1
func (s *StmtsContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtsContext) ExitRule ¶ added in v1.0.1
func (s *StmtsContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtsContext) GetParser ¶ added in v1.0.1
func (s *StmtsContext) GetParser() antlr.Parser
func (*StmtsContext) GetRuleContext ¶ added in v1.0.1
func (s *StmtsContext) GetRuleContext() antlr.RuleContext
func (*StmtsContext) IsStmtsContext ¶ added in v1.0.1
func (*StmtsContext) IsStmtsContext()
func (*StmtsContext) Stmt ¶ added in v1.0.1
func (s *StmtsContext) Stmt(i int) IStmtContext
func (*StmtsContext) ToStringTree ¶ added in v1.0.1
func (s *StmtsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
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