Documentation ¶
Overview ¶
Example ¶
package main import ( "bramp.net/antlr4/mumps" "fmt" "github.com/antlr/antlr4/runtime/Go/antlr" ) type exampleListener struct { *mumps.BasemumpsListener } func (l *exampleListener) EnterEveryRule(ctx antlr.ParserRuleContext) { fmt.Println(ctx.GetText()) } func main() { // Setup the input is := antlr.NewInputStream("...some text to parse...") // Create the Lexer lexer := mumps.NewmumpsLexer(is) stream := antlr.NewCommonTokenStream(lexer, antlr.TokenDefaultChannel) // Create the Parser p := mumps.NewmumpsParser(stream) p.BuildParseTrees = true p.AddErrorListener(antlr.NewDiagnosticErrorListener(true)) // Finally walk the tree tree := p.Program() antlr.ParseTreeWalkerDefault.Walk(&exampleListener{}, tree) }
Output:
Index ¶
- func NewmumpsLexer(input antlr.CharStream) *mumpsLexer
- func NewmumpsParser(input antlr.TokenStream) *mumpsParser
- type ArgContext
- func (s *ArgContext) BANG() antlr.TerminalNode
- func (s *ArgContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgContext) Expression() IExpressionContext
- func (s *ArgContext) GetParser() antlr.Parser
- func (s *ArgContext) GetRuleContext() antlr.RuleContext
- func (*ArgContext) IsArgContext()
- func (s *ArgContext) STRING_LITERAL() antlr.TerminalNode
- func (s *ArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ArglistContext
- func (s *ArglistContext) AllArg() []IArgContext
- func (s *ArglistContext) AllCOMMA() []antlr.TerminalNode
- func (s *ArglistContext) AllSPACE() []antlr.TerminalNode
- func (s *ArglistContext) Arg(i int) IArgContext
- func (s *ArglistContext) COMMA(i int) antlr.TerminalNode
- func (s *ArglistContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArglistContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArglistContext) GetParser() antlr.Parser
- func (s *ArglistContext) GetRuleContext() antlr.RuleContext
- func (*ArglistContext) IsArglistContext()
- func (s *ArglistContext) SPACE(i int) antlr.TerminalNode
- func (s *ArglistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type AssignContext
- func (s *AssignContext) AllSPACE() []antlr.TerminalNode
- func (s *AssignContext) Arg() IArgContext
- func (s *AssignContext) Arglist() IArglistContext
- func (s *AssignContext) EQUALS() antlr.TerminalNode
- func (s *AssignContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AssignContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AssignContext) GetParser() antlr.Parser
- func (s *AssignContext) GetRuleContext() antlr.RuleContext
- func (*AssignContext) IsAssignContext()
- func (s *AssignContext) LPAREN() antlr.TerminalNode
- func (s *AssignContext) RPAREN() antlr.TerminalNode
- func (s *AssignContext) SPACE(i int) antlr.TerminalNode
- func (s *AssignContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BasemumpsListener
- func (s *BasemumpsListener) EnterArg(ctx *ArgContext)
- func (s *BasemumpsListener) EnterArglist(ctx *ArglistContext)
- func (s *BasemumpsListener) EnterAssign(ctx *AssignContext)
- func (s *BasemumpsListener) EnterBreak_(ctx *Break_Context)
- func (s *BasemumpsListener) EnterCode(ctx *CodeContext)
- func (s *BasemumpsListener) EnterCommand(ctx *CommandContext)
- func (s *BasemumpsListener) EnterCondition(ctx *ConditionContext)
- func (s *BasemumpsListener) EnterDo_(ctx *Do_Context)
- func (s *BasemumpsListener) EnterEof(ctx *EofContext)
- func (s *BasemumpsListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasemumpsListener) EnterExpression(ctx *ExpressionContext)
- func (s *BasemumpsListener) EnterFor_(ctx *For_Context)
- func (s *BasemumpsListener) EnterFunction(ctx *FunctionContext)
- func (s *BasemumpsListener) EnterHalt_(ctx *Halt_Context)
- func (s *BasemumpsListener) EnterHang_(ctx *Hang_Context)
- func (s *BasemumpsListener) EnterIdentifier(ctx *IdentifierContext)
- func (s *BasemumpsListener) EnterIf_(ctx *If_Context)
- func (s *BasemumpsListener) EnterKill_(ctx *Kill_Context)
- func (s *BasemumpsListener) EnterLabel(ctx *LabelContext)
- func (s *BasemumpsListener) EnterLine(ctx *LineContext)
- func (s *BasemumpsListener) EnterMerge_(ctx *Merge_Context)
- func (s *BasemumpsListener) EnterNew_(ctx *New_Context)
- func (s *BasemumpsListener) EnterParam(ctx *ParamContext)
- func (s *BasemumpsListener) EnterParamlist(ctx *ParamlistContext)
- func (s *BasemumpsListener) EnterPostcondition(ctx *PostconditionContext)
- func (s *BasemumpsListener) EnterProgram(ctx *ProgramContext)
- func (s *BasemumpsListener) EnterQuit_(ctx *Quit_Context)
- func (s *BasemumpsListener) EnterRead_(ctx *Read_Context)
- func (s *BasemumpsListener) EnterRoutinedecl(ctx *RoutinedeclContext)
- func (s *BasemumpsListener) EnterSet_(ctx *Set_Context)
- func (s *BasemumpsListener) EnterSubproc(ctx *SubprocContext)
- func (s *BasemumpsListener) EnterTerm(ctx *TermContext)
- func (s *BasemumpsListener) EnterVariable(ctx *VariableContext)
- func (s *BasemumpsListener) EnterView_(ctx *View_Context)
- func (s *BasemumpsListener) EnterWrite_(ctx *Write_Context)
- func (s *BasemumpsListener) EnterXecute_(ctx *Xecute_Context)
- func (s *BasemumpsListener) ExitArg(ctx *ArgContext)
- func (s *BasemumpsListener) ExitArglist(ctx *ArglistContext)
- func (s *BasemumpsListener) ExitAssign(ctx *AssignContext)
- func (s *BasemumpsListener) ExitBreak_(ctx *Break_Context)
- func (s *BasemumpsListener) ExitCode(ctx *CodeContext)
- func (s *BasemumpsListener) ExitCommand(ctx *CommandContext)
- func (s *BasemumpsListener) ExitCondition(ctx *ConditionContext)
- func (s *BasemumpsListener) ExitDo_(ctx *Do_Context)
- func (s *BasemumpsListener) ExitEof(ctx *EofContext)
- func (s *BasemumpsListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasemumpsListener) ExitExpression(ctx *ExpressionContext)
- func (s *BasemumpsListener) ExitFor_(ctx *For_Context)
- func (s *BasemumpsListener) ExitFunction(ctx *FunctionContext)
- func (s *BasemumpsListener) ExitHalt_(ctx *Halt_Context)
- func (s *BasemumpsListener) ExitHang_(ctx *Hang_Context)
- func (s *BasemumpsListener) ExitIdentifier(ctx *IdentifierContext)
- func (s *BasemumpsListener) ExitIf_(ctx *If_Context)
- func (s *BasemumpsListener) ExitKill_(ctx *Kill_Context)
- func (s *BasemumpsListener) ExitLabel(ctx *LabelContext)
- func (s *BasemumpsListener) ExitLine(ctx *LineContext)
- func (s *BasemumpsListener) ExitMerge_(ctx *Merge_Context)
- func (s *BasemumpsListener) ExitNew_(ctx *New_Context)
- func (s *BasemumpsListener) ExitParam(ctx *ParamContext)
- func (s *BasemumpsListener) ExitParamlist(ctx *ParamlistContext)
- func (s *BasemumpsListener) ExitPostcondition(ctx *PostconditionContext)
- func (s *BasemumpsListener) ExitProgram(ctx *ProgramContext)
- func (s *BasemumpsListener) ExitQuit_(ctx *Quit_Context)
- func (s *BasemumpsListener) ExitRead_(ctx *Read_Context)
- func (s *BasemumpsListener) ExitRoutinedecl(ctx *RoutinedeclContext)
- func (s *BasemumpsListener) ExitSet_(ctx *Set_Context)
- func (s *BasemumpsListener) ExitSubproc(ctx *SubprocContext)
- func (s *BasemumpsListener) ExitTerm(ctx *TermContext)
- func (s *BasemumpsListener) ExitVariable(ctx *VariableContext)
- func (s *BasemumpsListener) ExitView_(ctx *View_Context)
- func (s *BasemumpsListener) ExitWrite_(ctx *Write_Context)
- func (s *BasemumpsListener) ExitXecute_(ctx *Xecute_Context)
- func (s *BasemumpsListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BasemumpsListener) VisitTerminal(node antlr.TerminalNode)
- type Break_Context
- func (s *Break_Context) BREAK() antlr.TerminalNode
- func (s *Break_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Break_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Break_Context) GetParser() antlr.Parser
- func (s *Break_Context) GetRuleContext() antlr.RuleContext
- func (*Break_Context) IsBreak_Context()
- func (s *Break_Context) Postcondition() IPostconditionContext
- func (s *Break_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CodeContext
- func (s *CodeContext) AllCommand() []ICommandContext
- func (s *CodeContext) AllDOT() []antlr.TerminalNode
- func (s *CodeContext) AllSPACE() []antlr.TerminalNode
- func (s *CodeContext) CR() antlr.TerminalNode
- func (s *CodeContext) Command(i int) ICommandContext
- func (s *CodeContext) DOT(i int) antlr.TerminalNode
- func (s *CodeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CodeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CodeContext) GetParser() antlr.Parser
- func (s *CodeContext) GetRuleContext() antlr.RuleContext
- func (s *CodeContext) If_() IIf_Context
- func (*CodeContext) IsCodeContext()
- func (s *CodeContext) Label() ILabelContext
- func (s *CodeContext) SPACE(i int) antlr.TerminalNode
- func (s *CodeContext) Subproc() ISubprocContext
- func (s *CodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CommandContext
- func (s *CommandContext) Break_() IBreak_Context
- func (s *CommandContext) CLOSE() antlr.TerminalNode
- func (s *CommandContext) Do_() IDo_Context
- func (s *CommandContext) ELSE() antlr.TerminalNode
- func (s *CommandContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CommandContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CommandContext) For_() IFor_Context
- func (s *CommandContext) GOTO() antlr.TerminalNode
- func (s *CommandContext) GetParser() antlr.Parser
- func (s *CommandContext) GetRuleContext() antlr.RuleContext
- func (s *CommandContext) Halt_() IHalt_Context
- func (s *CommandContext) Hang_() IHang_Context
- func (*CommandContext) IsCommandContext()
- func (s *CommandContext) JOB() antlr.TerminalNode
- func (s *CommandContext) Kill_() IKill_Context
- func (s *CommandContext) LOCK() antlr.TerminalNode
- func (s *CommandContext) Merge_() IMerge_Context
- func (s *CommandContext) New_() INew_Context
- func (s *CommandContext) OPEN() antlr.TerminalNode
- func (s *CommandContext) Quit_() IQuit_Context
- func (s *CommandContext) Read_() IRead_Context
- func (s *CommandContext) Set_() ISet_Context
- func (s *CommandContext) TCOMMIT() antlr.TerminalNode
- func (s *CommandContext) TRESTART() antlr.TerminalNode
- func (s *CommandContext) TROLLBACK() antlr.TerminalNode
- func (s *CommandContext) TSTART() antlr.TerminalNode
- func (s *CommandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CommandContext) USE() antlr.TerminalNode
- func (s *CommandContext) View_() IView_Context
- func (s *CommandContext) Write_() IWrite_Context
- func (s *CommandContext) Xecute_() IXecute_Context
- type ConditionContext
- func (s *ConditionContext) AllTerm() []ITermContext
- func (s *ConditionContext) EQUALS() antlr.TerminalNode
- func (s *ConditionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ConditionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ConditionContext) GT() antlr.TerminalNode
- func (s *ConditionContext) GetParser() antlr.Parser
- func (s *ConditionContext) GetRuleContext() antlr.RuleContext
- func (*ConditionContext) IsConditionContext()
- func (s *ConditionContext) LT() antlr.TerminalNode
- func (s *ConditionContext) NGT() antlr.TerminalNode
- func (s *ConditionContext) NLT() antlr.TerminalNode
- func (s *ConditionContext) Term(i int) ITermContext
- func (s *ConditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Do_Context
- func (s *Do_Context) AllSPACE() []antlr.TerminalNode
- func (s *Do_Context) DO() antlr.TerminalNode
- func (s *Do_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Do_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Do_Context) GetParser() antlr.Parser
- func (s *Do_Context) GetRuleContext() antlr.RuleContext
- func (s *Do_Context) Identifier() IIdentifierContext
- func (*Do_Context) IsDo_Context()
- func (s *Do_Context) LPAREN() antlr.TerminalNode
- func (s *Do_Context) Paramlist() IParamlistContext
- func (s *Do_Context) Postcondition() IPostconditionContext
- func (s *Do_Context) RPAREN() antlr.TerminalNode
- func (s *Do_Context) SPACE(i int) antlr.TerminalNode
- func (s *Do_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EofContext
- func (s *EofContext) AllSPACE() []antlr.TerminalNode
- func (s *EofContext) CR() antlr.TerminalNode
- func (s *EofContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EofContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EofContext) GetParser() antlr.Parser
- func (s *EofContext) GetRuleContext() antlr.RuleContext
- func (*EofContext) IsEofContext()
- func (s *EofContext) SPACE(i int) antlr.TerminalNode
- func (s *EofContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ExpressionContext
- func (s *ExpressionContext) ADD(i int) antlr.TerminalNode
- func (s *ExpressionContext) AllADD() []antlr.TerminalNode
- func (s *ExpressionContext) AllDIVIDE() []antlr.TerminalNode
- func (s *ExpressionContext) AllEXPONENT() []antlr.TerminalNode
- func (s *ExpressionContext) AllExpression() []IExpressionContext
- func (s *ExpressionContext) AllINTDIVIDE() []antlr.TerminalNode
- func (s *ExpressionContext) AllMODULO() []antlr.TerminalNode
- func (s *ExpressionContext) AllMULTIPLY() []antlr.TerminalNode
- func (s *ExpressionContext) AllSPACE() []antlr.TerminalNode
- func (s *ExpressionContext) AllSUBTRACT() []antlr.TerminalNode
- func (s *ExpressionContext) DIVIDE(i int) antlr.TerminalNode
- func (s *ExpressionContext) EXPONENT(i int) antlr.TerminalNode
- func (s *ExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpressionContext) Expression(i int) IExpressionContext
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (s *ExpressionContext) INTDIVIDE(i int) antlr.TerminalNode
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) MODULO(i int) antlr.TerminalNode
- func (s *ExpressionContext) MULTIPLY(i int) antlr.TerminalNode
- func (s *ExpressionContext) SPACE(i int) antlr.TerminalNode
- func (s *ExpressionContext) SUBTRACT(i int) antlr.TerminalNode
- func (s *ExpressionContext) Term() ITermContext
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type For_Context
- func (s *For_Context) AllCOLON() []antlr.TerminalNode
- func (s *For_Context) AllCommand() []ICommandContext
- func (s *For_Context) AllSPACE() []antlr.TerminalNode
- func (s *For_Context) AllTerm() []ITermContext
- func (s *For_Context) COLON(i int) antlr.TerminalNode
- func (s *For_Context) Command(i int) ICommandContext
- func (s *For_Context) Condition() IConditionContext
- func (s *For_Context) EQUALS() antlr.TerminalNode
- func (s *For_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *For_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *For_Context) FOR() antlr.TerminalNode
- func (s *For_Context) GetParser() antlr.Parser
- func (s *For_Context) GetRuleContext() antlr.RuleContext
- func (*For_Context) IsFor_Context()
- func (s *For_Context) SPACE(i int) antlr.TerminalNode
- func (s *For_Context) Term(i int) ITermContext
- func (s *For_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type FunctionContext
- func (s *FunctionContext) Arglist() IArglistContext
- func (s *FunctionContext) DOLLAR() antlr.TerminalNode
- func (s *FunctionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FunctionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FunctionContext) GetParser() antlr.Parser
- func (s *FunctionContext) GetRuleContext() antlr.RuleContext
- func (s *FunctionContext) Identifier() IIdentifierContext
- func (*FunctionContext) IsFunctionContext()
- func (s *FunctionContext) LPAREN() antlr.TerminalNode
- func (s *FunctionContext) RPAREN() antlr.TerminalNode
- func (s *FunctionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Halt_Context
- func (s *Halt_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Halt_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Halt_Context) GetParser() antlr.Parser
- func (s *Halt_Context) GetRuleContext() antlr.RuleContext
- func (s *Halt_Context) HALT() antlr.TerminalNode
- func (*Halt_Context) IsHalt_Context()
- func (s *Halt_Context) Postcondition() IPostconditionContext
- func (s *Halt_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Hang_Context
- func (s *Hang_Context) AllSPACE() []antlr.TerminalNode
- func (s *Hang_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Hang_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Hang_Context) GetParser() antlr.Parser
- func (s *Hang_Context) GetRuleContext() antlr.RuleContext
- func (s *Hang_Context) HANG() antlr.TerminalNode
- func (*Hang_Context) IsHang_Context()
- func (s *Hang_Context) Postcondition() IPostconditionContext
- func (s *Hang_Context) SPACE(i int) antlr.TerminalNode
- func (s *Hang_Context) Term() ITermContext
- func (s *Hang_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IArgContext
- type IArglistContext
- type IAssignContext
- type IBreak_Context
- type ICodeContext
- type ICommandContext
- type IConditionContext
- type IDo_Context
- type IEofContext
- type IExpressionContext
- type IFor_Context
- type IFunctionContext
- type IHalt_Context
- type IHang_Context
- type IIdentifierContext
- type IIf_Context
- type IKill_Context
- type ILabelContext
- type ILineContext
- type IMerge_Context
- type INew_Context
- type IParamContext
- type IParamlistContext
- type IPostconditionContext
- type IProgramContext
- type IQuit_Context
- type IRead_Context
- type IRoutinedeclContext
- type ISet_Context
- type ISubprocContext
- type ITermContext
- type IVariableContext
- type IView_Context
- type IWrite_Context
- type IXecute_Context
- type IdentifierContext
- func (s *IdentifierContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *IdentifierContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *IdentifierContext) GetParser() antlr.Parser
- func (s *IdentifierContext) GetRuleContext() antlr.RuleContext
- func (s *IdentifierContext) IDENTIFIER() antlr.TerminalNode
- func (*IdentifierContext) IsIdentifierContext()
- func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type If_Context
- func (s *If_Context) AllSPACE() []antlr.TerminalNode
- func (s *If_Context) Command() ICommandContext
- func (s *If_Context) Condition() IConditionContext
- func (s *If_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *If_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *If_Context) GetParser() antlr.Parser
- func (s *If_Context) GetRuleContext() antlr.RuleContext
- func (s *If_Context) IF() antlr.TerminalNode
- func (*If_Context) IsIf_Context()
- func (s *If_Context) SPACE(i int) antlr.TerminalNode
- func (s *If_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Kill_Context
- func (s *Kill_Context) AllSPACE() []antlr.TerminalNode
- func (s *Kill_Context) Arglist() IArglistContext
- func (s *Kill_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Kill_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Kill_Context) GetParser() antlr.Parser
- func (s *Kill_Context) GetRuleContext() antlr.RuleContext
- func (*Kill_Context) IsKill_Context()
- func (s *Kill_Context) KILL() antlr.TerminalNode
- func (s *Kill_Context) Postcondition() IPostconditionContext
- func (s *Kill_Context) SPACE(i int) antlr.TerminalNode
- func (s *Kill_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LabelContext
- func (s *LabelContext) AllSPACE() []antlr.TerminalNode
- func (s *LabelContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LabelContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LabelContext) GetParser() antlr.Parser
- func (s *LabelContext) GetRuleContext() antlr.RuleContext
- func (s *LabelContext) Identifier() IIdentifierContext
- func (*LabelContext) IsLabelContext()
- func (s *LabelContext) SPACE(i int) antlr.TerminalNode
- func (s *LabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LineContext
- func (s *LineContext) CR() antlr.TerminalNode
- func (s *LineContext) Code() ICodeContext
- func (s *LineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LineContext) GetParser() antlr.Parser
- func (s *LineContext) GetRuleContext() antlr.RuleContext
- func (*LineContext) IsLineContext()
- func (s *LineContext) Routinedecl() IRoutinedeclContext
- func (s *LineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Merge_Context
- func (s *Merge_Context) AllCOMMA() []antlr.TerminalNode
- func (s *Merge_Context) AllEQUALS() []antlr.TerminalNode
- func (s *Merge_Context) AllSPACE() []antlr.TerminalNode
- func (s *Merge_Context) AllTerm() []ITermContext
- func (s *Merge_Context) COMMA(i int) antlr.TerminalNode
- func (s *Merge_Context) EQUALS(i int) antlr.TerminalNode
- func (s *Merge_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Merge_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Merge_Context) GetParser() antlr.Parser
- func (s *Merge_Context) GetRuleContext() antlr.RuleContext
- func (*Merge_Context) IsMerge_Context()
- func (s *Merge_Context) MERGE() antlr.TerminalNode
- func (s *Merge_Context) Postcondition() IPostconditionContext
- func (s *Merge_Context) SPACE(i int) antlr.TerminalNode
- func (s *Merge_Context) Term(i int) ITermContext
- func (s *Merge_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type New_Context
- func (s *New_Context) AllSPACE() []antlr.TerminalNode
- func (s *New_Context) Arglist() IArglistContext
- func (s *New_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *New_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *New_Context) GetParser() antlr.Parser
- func (s *New_Context) GetRuleContext() antlr.RuleContext
- func (*New_Context) IsNew_Context()
- func (s *New_Context) NEW() antlr.TerminalNode
- func (s *New_Context) Postcondition() IPostconditionContext
- func (s *New_Context) SPACE(i int) antlr.TerminalNode
- func (s *New_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ParamContext
- func (s *ParamContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParamContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParamContext) GetParser() antlr.Parser
- func (s *ParamContext) GetRuleContext() antlr.RuleContext
- func (*ParamContext) IsParamContext()
- func (s *ParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ParamContext) Variable() IVariableContext
- type ParamlistContext
- func (s *ParamlistContext) AllCOMMA() []antlr.TerminalNode
- func (s *ParamlistContext) AllParam() []IParamContext
- func (s *ParamlistContext) COMMA(i int) antlr.TerminalNode
- func (s *ParamlistContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ParamlistContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ParamlistContext) GetParser() antlr.Parser
- func (s *ParamlistContext) GetRuleContext() antlr.RuleContext
- func (*ParamlistContext) IsParamlistContext()
- func (s *ParamlistContext) Param(i int) IParamContext
- func (s *ParamlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type PostconditionContext
- func (s *PostconditionContext) COLON() antlr.TerminalNode
- func (s *PostconditionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *PostconditionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *PostconditionContext) Expression() IExpressionContext
- func (s *PostconditionContext) GetParser() antlr.Parser
- func (s *PostconditionContext) GetRuleContext() antlr.RuleContext
- func (*PostconditionContext) IsPostconditionContext()
- func (s *PostconditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ProgramContext
- func (s *ProgramContext) AllLine() []ILineContext
- func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProgramContext) Eof() IEofContext
- func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProgramContext) GetParser() antlr.Parser
- func (s *ProgramContext) GetRuleContext() antlr.RuleContext
- func (*ProgramContext) IsProgramContext()
- func (s *ProgramContext) Line(i int) ILineContext
- func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Quit_Context
- func (s *Quit_Context) AllSPACE() []antlr.TerminalNode
- func (s *Quit_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Quit_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Quit_Context) GetParser() antlr.Parser
- func (s *Quit_Context) GetRuleContext() antlr.RuleContext
- func (*Quit_Context) IsQuit_Context()
- func (s *Quit_Context) Postcondition() IPostconditionContext
- func (s *Quit_Context) QUIT() antlr.TerminalNode
- func (s *Quit_Context) SPACE(i int) antlr.TerminalNode
- func (s *Quit_Context) Term() ITermContext
- func (s *Quit_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Read_Context
- func (s *Read_Context) AllSPACE() []antlr.TerminalNode
- func (s *Read_Context) Arglist() IArglistContext
- func (s *Read_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Read_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Read_Context) GetParser() antlr.Parser
- func (s *Read_Context) GetRuleContext() antlr.RuleContext
- func (*Read_Context) IsRead_Context()
- func (s *Read_Context) Postcondition() IPostconditionContext
- func (s *Read_Context) READ() antlr.TerminalNode
- func (s *Read_Context) SPACE(i int) antlr.TerminalNode
- func (s *Read_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RoutinedeclContext
- func (s *RoutinedeclContext) AllSPACE() []antlr.TerminalNode
- func (s *RoutinedeclContext) CR() antlr.TerminalNode
- func (s *RoutinedeclContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RoutinedeclContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RoutinedeclContext) GetParser() antlr.Parser
- func (s *RoutinedeclContext) GetRuleContext() antlr.RuleContext
- func (s *RoutinedeclContext) Identifier() IIdentifierContext
- func (*RoutinedeclContext) IsRoutinedeclContext()
- func (s *RoutinedeclContext) LPAREN() antlr.TerminalNode
- func (s *RoutinedeclContext) PERCENT() antlr.TerminalNode
- func (s *RoutinedeclContext) Paramlist() IParamlistContext
- func (s *RoutinedeclContext) RPAREN() antlr.TerminalNode
- func (s *RoutinedeclContext) SPACE(i int) antlr.TerminalNode
- func (s *RoutinedeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Set_Context
- func (s *Set_Context) AllAssign() []IAssignContext
- func (s *Set_Context) AllCOMMA() []antlr.TerminalNode
- func (s *Set_Context) AllSPACE() []antlr.TerminalNode
- func (s *Set_Context) Assign(i int) IAssignContext
- func (s *Set_Context) COMMA(i int) antlr.TerminalNode
- func (s *Set_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Set_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Set_Context) GetParser() antlr.Parser
- func (s *Set_Context) GetRuleContext() antlr.RuleContext
- func (*Set_Context) IsSet_Context()
- func (s *Set_Context) Postcondition() IPostconditionContext
- func (s *Set_Context) SET() antlr.TerminalNode
- func (s *Set_Context) SPACE(i int) antlr.TerminalNode
- func (s *Set_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type SubprocContext
- func (s *SubprocContext) AllCommand() []ICommandContext
- func (s *SubprocContext) AllSPACE() []antlr.TerminalNode
- func (s *SubprocContext) Command(i int) ICommandContext
- func (s *SubprocContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SubprocContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SubprocContext) GetParser() antlr.Parser
- func (s *SubprocContext) GetRuleContext() antlr.RuleContext
- func (s *SubprocContext) Identifier() IIdentifierContext
- func (*SubprocContext) IsSubprocContext()
- func (s *SubprocContext) LPAREN() antlr.TerminalNode
- func (s *SubprocContext) Paramlist() IParamlistContext
- func (s *SubprocContext) RPAREN() antlr.TerminalNode
- func (s *SubprocContext) SPACE(i int) antlr.TerminalNode
- func (s *SubprocContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TermContext
- func (s *TermContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TermContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TermContext) Expression() IExpressionContext
- func (s *TermContext) Function() IFunctionContext
- func (s *TermContext) GetParser() antlr.Parser
- func (s *TermContext) GetRuleContext() antlr.RuleContext
- func (*TermContext) IsTermContext()
- func (s *TermContext) LPAREN() antlr.TerminalNode
- func (s *TermContext) NUMBER() antlr.TerminalNode
- func (s *TermContext) RPAREN() antlr.TerminalNode
- func (s *TermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TermContext) Variable() IVariableContext
- type VariableContext
- func (s *VariableContext) AMPERSAND(i int) antlr.TerminalNode
- func (s *VariableContext) AllAMPERSAND() []antlr.TerminalNode
- func (s *VariableContext) AllCARAT() []antlr.TerminalNode
- func (s *VariableContext) CARAT(i int) antlr.TerminalNode
- func (s *VariableContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VariableContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VariableContext) GetParser() antlr.Parser
- func (s *VariableContext) GetRuleContext() antlr.RuleContext
- func (s *VariableContext) Identifier() IIdentifierContext
- func (*VariableContext) IsVariableContext()
- func (s *VariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type View_Context
- func (s *View_Context) AllSPACE() []antlr.TerminalNode
- func (s *View_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *View_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *View_Context) GetParser() antlr.Parser
- func (s *View_Context) GetRuleContext() antlr.RuleContext
- func (s *View_Context) IDENTIFIER() antlr.TerminalNode
- func (*View_Context) IsView_Context()
- func (s *View_Context) Postcondition() IPostconditionContext
- func (s *View_Context) SPACE(i int) antlr.TerminalNode
- func (s *View_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *View_Context) VIEW() antlr.TerminalNode
- type Write_Context
- func (s *Write_Context) AllSPACE() []antlr.TerminalNode
- func (s *Write_Context) Arglist() IArglistContext
- func (s *Write_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Write_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Write_Context) GetParser() antlr.Parser
- func (s *Write_Context) GetRuleContext() antlr.RuleContext
- func (*Write_Context) IsWrite_Context()
- func (s *Write_Context) Postcondition() IPostconditionContext
- func (s *Write_Context) SPACE(i int) antlr.TerminalNode
- func (s *Write_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Write_Context) WRITE() antlr.TerminalNode
- type Xecute_Context
- func (s *Xecute_Context) AllSPACE() []antlr.TerminalNode
- func (s *Xecute_Context) EnterRule(listener antlr.ParseTreeListener)
- func (s *Xecute_Context) ExitRule(listener antlr.ParseTreeListener)
- func (s *Xecute_Context) GetParser() antlr.Parser
- func (s *Xecute_Context) GetRuleContext() antlr.RuleContext
- func (*Xecute_Context) IsXecute_Context()
- func (s *Xecute_Context) Postcondition() IPostconditionContext
- func (s *Xecute_Context) SPACE(i int) antlr.TerminalNode
- func (s *Xecute_Context) STRING_LITERAL() antlr.TerminalNode
- func (s *Xecute_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Xecute_Context) XECUTE() antlr.TerminalNode
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewmumpsLexer ¶
func NewmumpsLexer(input antlr.CharStream) *mumpsLexer
func NewmumpsParser ¶
func NewmumpsParser(input antlr.TokenStream) *mumpsParser
Types ¶
type ArgContext ¶
type ArgContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgContext ¶
func NewArgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgContext
func NewEmptyArgContext ¶
func NewEmptyArgContext() *ArgContext
func (*ArgContext) BANG ¶
func (s *ArgContext) BANG() antlr.TerminalNode
func (*ArgContext) EnterRule ¶
func (s *ArgContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgContext) ExitRule ¶
func (s *ArgContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgContext) Expression ¶
func (s *ArgContext) Expression() IExpressionContext
func (*ArgContext) GetParser ¶
func (s *ArgContext) GetParser() antlr.Parser
func (*ArgContext) GetRuleContext ¶
func (s *ArgContext) GetRuleContext() antlr.RuleContext
func (*ArgContext) IsArgContext ¶
func (*ArgContext) IsArgContext()
func (*ArgContext) STRING_LITERAL ¶
func (s *ArgContext) STRING_LITERAL() antlr.TerminalNode
func (*ArgContext) ToStringTree ¶
func (s *ArgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ArglistContext ¶
type ArglistContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArglistContext ¶
func NewArglistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArglistContext
func NewEmptyArglistContext ¶
func NewEmptyArglistContext() *ArglistContext
func (*ArglistContext) AllArg ¶
func (s *ArglistContext) AllArg() []IArgContext
func (*ArglistContext) AllCOMMA ¶
func (s *ArglistContext) AllCOMMA() []antlr.TerminalNode
func (*ArglistContext) AllSPACE ¶
func (s *ArglistContext) AllSPACE() []antlr.TerminalNode
func (*ArglistContext) Arg ¶
func (s *ArglistContext) Arg(i int) IArgContext
func (*ArglistContext) COMMA ¶
func (s *ArglistContext) COMMA(i int) antlr.TerminalNode
func (*ArglistContext) EnterRule ¶
func (s *ArglistContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArglistContext) ExitRule ¶
func (s *ArglistContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArglistContext) GetParser ¶
func (s *ArglistContext) GetParser() antlr.Parser
func (*ArglistContext) GetRuleContext ¶
func (s *ArglistContext) GetRuleContext() antlr.RuleContext
func (*ArglistContext) IsArglistContext ¶
func (*ArglistContext) IsArglistContext()
func (*ArglistContext) SPACE ¶
func (s *ArglistContext) SPACE(i int) antlr.TerminalNode
func (*ArglistContext) ToStringTree ¶
func (s *ArglistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type AssignContext ¶
type AssignContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssignContext ¶
func NewAssignContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AssignContext
func NewEmptyAssignContext ¶
func NewEmptyAssignContext() *AssignContext
func (*AssignContext) AllSPACE ¶
func (s *AssignContext) AllSPACE() []antlr.TerminalNode
func (*AssignContext) Arg ¶
func (s *AssignContext) Arg() IArgContext
func (*AssignContext) Arglist ¶
func (s *AssignContext) Arglist() IArglistContext
func (*AssignContext) EQUALS ¶
func (s *AssignContext) EQUALS() antlr.TerminalNode
func (*AssignContext) EnterRule ¶
func (s *AssignContext) EnterRule(listener antlr.ParseTreeListener)
func (*AssignContext) ExitRule ¶
func (s *AssignContext) ExitRule(listener antlr.ParseTreeListener)
func (*AssignContext) GetParser ¶
func (s *AssignContext) GetParser() antlr.Parser
func (*AssignContext) GetRuleContext ¶
func (s *AssignContext) GetRuleContext() antlr.RuleContext
func (*AssignContext) IsAssignContext ¶
func (*AssignContext) IsAssignContext()
func (*AssignContext) LPAREN ¶
func (s *AssignContext) LPAREN() antlr.TerminalNode
func (*AssignContext) RPAREN ¶
func (s *AssignContext) RPAREN() antlr.TerminalNode
func (*AssignContext) SPACE ¶
func (s *AssignContext) SPACE(i int) antlr.TerminalNode
func (*AssignContext) ToStringTree ¶
func (s *AssignContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BasemumpsListener ¶
type BasemumpsListener struct{}
BasemumpsListener is a complete listener for a parse tree produced by mumpsParser.
func (*BasemumpsListener) EnterArg ¶
func (s *BasemumpsListener) EnterArg(ctx *ArgContext)
EnterArg is called when production arg is entered.
func (*BasemumpsListener) EnterArglist ¶
func (s *BasemumpsListener) EnterArglist(ctx *ArglistContext)
EnterArglist is called when production arglist is entered.
func (*BasemumpsListener) EnterAssign ¶
func (s *BasemumpsListener) EnterAssign(ctx *AssignContext)
EnterAssign is called when production assign is entered.
func (*BasemumpsListener) EnterBreak_ ¶
func (s *BasemumpsListener) EnterBreak_(ctx *Break_Context)
EnterBreak_ is called when production break_ is entered.
func (*BasemumpsListener) EnterCode ¶
func (s *BasemumpsListener) EnterCode(ctx *CodeContext)
EnterCode is called when production code is entered.
func (*BasemumpsListener) EnterCommand ¶
func (s *BasemumpsListener) EnterCommand(ctx *CommandContext)
EnterCommand is called when production command is entered.
func (*BasemumpsListener) EnterCondition ¶
func (s *BasemumpsListener) EnterCondition(ctx *ConditionContext)
EnterCondition is called when production condition is entered.
func (*BasemumpsListener) EnterDo_ ¶
func (s *BasemumpsListener) EnterDo_(ctx *Do_Context)
EnterDo_ is called when production do_ is entered.
func (*BasemumpsListener) EnterEof ¶
func (s *BasemumpsListener) EnterEof(ctx *EofContext)
EnterEof is called when production eof is entered.
func (*BasemumpsListener) EnterEveryRule ¶
func (s *BasemumpsListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BasemumpsListener) EnterExpression ¶
func (s *BasemumpsListener) EnterExpression(ctx *ExpressionContext)
EnterExpression is called when production expression is entered.
func (*BasemumpsListener) EnterFor_ ¶
func (s *BasemumpsListener) EnterFor_(ctx *For_Context)
EnterFor_ is called when production for_ is entered.
func (*BasemumpsListener) EnterFunction ¶
func (s *BasemumpsListener) EnterFunction(ctx *FunctionContext)
EnterFunction is called when production function is entered.
func (*BasemumpsListener) EnterHalt_ ¶
func (s *BasemumpsListener) EnterHalt_(ctx *Halt_Context)
EnterHalt_ is called when production halt_ is entered.
func (*BasemumpsListener) EnterHang_ ¶
func (s *BasemumpsListener) EnterHang_(ctx *Hang_Context)
EnterHang_ is called when production hang_ is entered.
func (*BasemumpsListener) EnterIdentifier ¶
func (s *BasemumpsListener) EnterIdentifier(ctx *IdentifierContext)
EnterIdentifier is called when production identifier is entered.
func (*BasemumpsListener) EnterIf_ ¶
func (s *BasemumpsListener) EnterIf_(ctx *If_Context)
EnterIf_ is called when production if_ is entered.
func (*BasemumpsListener) EnterKill_ ¶
func (s *BasemumpsListener) EnterKill_(ctx *Kill_Context)
EnterKill_ is called when production kill_ is entered.
func (*BasemumpsListener) EnterLabel ¶
func (s *BasemumpsListener) EnterLabel(ctx *LabelContext)
EnterLabel is called when production label is entered.
func (*BasemumpsListener) EnterLine ¶
func (s *BasemumpsListener) EnterLine(ctx *LineContext)
EnterLine is called when production line is entered.
func (*BasemumpsListener) EnterMerge_ ¶
func (s *BasemumpsListener) EnterMerge_(ctx *Merge_Context)
EnterMerge_ is called when production merge_ is entered.
func (*BasemumpsListener) EnterNew_ ¶
func (s *BasemumpsListener) EnterNew_(ctx *New_Context)
EnterNew_ is called when production new_ is entered.
func (*BasemumpsListener) EnterParam ¶
func (s *BasemumpsListener) EnterParam(ctx *ParamContext)
EnterParam is called when production param is entered.
func (*BasemumpsListener) EnterParamlist ¶
func (s *BasemumpsListener) EnterParamlist(ctx *ParamlistContext)
EnterParamlist is called when production paramlist is entered.
func (*BasemumpsListener) EnterPostcondition ¶
func (s *BasemumpsListener) EnterPostcondition(ctx *PostconditionContext)
EnterPostcondition is called when production postcondition is entered.
func (*BasemumpsListener) EnterProgram ¶
func (s *BasemumpsListener) EnterProgram(ctx *ProgramContext)
EnterProgram is called when production program is entered.
func (*BasemumpsListener) EnterQuit_ ¶
func (s *BasemumpsListener) EnterQuit_(ctx *Quit_Context)
EnterQuit_ is called when production quit_ is entered.
func (*BasemumpsListener) EnterRead_ ¶
func (s *BasemumpsListener) EnterRead_(ctx *Read_Context)
EnterRead_ is called when production read_ is entered.
func (*BasemumpsListener) EnterRoutinedecl ¶
func (s *BasemumpsListener) EnterRoutinedecl(ctx *RoutinedeclContext)
EnterRoutinedecl is called when production routinedecl is entered.
func (*BasemumpsListener) EnterSet_ ¶
func (s *BasemumpsListener) EnterSet_(ctx *Set_Context)
EnterSet_ is called when production set_ is entered.
func (*BasemumpsListener) EnterSubproc ¶
func (s *BasemumpsListener) EnterSubproc(ctx *SubprocContext)
EnterSubproc is called when production subproc is entered.
func (*BasemumpsListener) EnterTerm ¶
func (s *BasemumpsListener) EnterTerm(ctx *TermContext)
EnterTerm is called when production term is entered.
func (*BasemumpsListener) EnterVariable ¶
func (s *BasemumpsListener) EnterVariable(ctx *VariableContext)
EnterVariable is called when production variable is entered.
func (*BasemumpsListener) EnterView_ ¶
func (s *BasemumpsListener) EnterView_(ctx *View_Context)
EnterView_ is called when production view_ is entered.
func (*BasemumpsListener) EnterWrite_ ¶
func (s *BasemumpsListener) EnterWrite_(ctx *Write_Context)
EnterWrite_ is called when production write_ is entered.
func (*BasemumpsListener) EnterXecute_ ¶
func (s *BasemumpsListener) EnterXecute_(ctx *Xecute_Context)
EnterXecute_ is called when production xecute_ is entered.
func (*BasemumpsListener) ExitArg ¶
func (s *BasemumpsListener) ExitArg(ctx *ArgContext)
ExitArg is called when production arg is exited.
func (*BasemumpsListener) ExitArglist ¶
func (s *BasemumpsListener) ExitArglist(ctx *ArglistContext)
ExitArglist is called when production arglist is exited.
func (*BasemumpsListener) ExitAssign ¶
func (s *BasemumpsListener) ExitAssign(ctx *AssignContext)
ExitAssign is called when production assign is exited.
func (*BasemumpsListener) ExitBreak_ ¶
func (s *BasemumpsListener) ExitBreak_(ctx *Break_Context)
ExitBreak_ is called when production break_ is exited.
func (*BasemumpsListener) ExitCode ¶
func (s *BasemumpsListener) ExitCode(ctx *CodeContext)
ExitCode is called when production code is exited.
func (*BasemumpsListener) ExitCommand ¶
func (s *BasemumpsListener) ExitCommand(ctx *CommandContext)
ExitCommand is called when production command is exited.
func (*BasemumpsListener) ExitCondition ¶
func (s *BasemumpsListener) ExitCondition(ctx *ConditionContext)
ExitCondition is called when production condition is exited.
func (*BasemumpsListener) ExitDo_ ¶
func (s *BasemumpsListener) ExitDo_(ctx *Do_Context)
ExitDo_ is called when production do_ is exited.
func (*BasemumpsListener) ExitEof ¶
func (s *BasemumpsListener) ExitEof(ctx *EofContext)
ExitEof is called when production eof is exited.
func (*BasemumpsListener) ExitEveryRule ¶
func (s *BasemumpsListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BasemumpsListener) ExitExpression ¶
func (s *BasemumpsListener) ExitExpression(ctx *ExpressionContext)
ExitExpression is called when production expression is exited.
func (*BasemumpsListener) ExitFor_ ¶
func (s *BasemumpsListener) ExitFor_(ctx *For_Context)
ExitFor_ is called when production for_ is exited.
func (*BasemumpsListener) ExitFunction ¶
func (s *BasemumpsListener) ExitFunction(ctx *FunctionContext)
ExitFunction is called when production function is exited.
func (*BasemumpsListener) ExitHalt_ ¶
func (s *BasemumpsListener) ExitHalt_(ctx *Halt_Context)
ExitHalt_ is called when production halt_ is exited.
func (*BasemumpsListener) ExitHang_ ¶
func (s *BasemumpsListener) ExitHang_(ctx *Hang_Context)
ExitHang_ is called when production hang_ is exited.
func (*BasemumpsListener) ExitIdentifier ¶
func (s *BasemumpsListener) ExitIdentifier(ctx *IdentifierContext)
ExitIdentifier is called when production identifier is exited.
func (*BasemumpsListener) ExitIf_ ¶
func (s *BasemumpsListener) ExitIf_(ctx *If_Context)
ExitIf_ is called when production if_ is exited.
func (*BasemumpsListener) ExitKill_ ¶
func (s *BasemumpsListener) ExitKill_(ctx *Kill_Context)
ExitKill_ is called when production kill_ is exited.
func (*BasemumpsListener) ExitLabel ¶
func (s *BasemumpsListener) ExitLabel(ctx *LabelContext)
ExitLabel is called when production label is exited.
func (*BasemumpsListener) ExitLine ¶
func (s *BasemumpsListener) ExitLine(ctx *LineContext)
ExitLine is called when production line is exited.
func (*BasemumpsListener) ExitMerge_ ¶
func (s *BasemumpsListener) ExitMerge_(ctx *Merge_Context)
ExitMerge_ is called when production merge_ is exited.
func (*BasemumpsListener) ExitNew_ ¶
func (s *BasemumpsListener) ExitNew_(ctx *New_Context)
ExitNew_ is called when production new_ is exited.
func (*BasemumpsListener) ExitParam ¶
func (s *BasemumpsListener) ExitParam(ctx *ParamContext)
ExitParam is called when production param is exited.
func (*BasemumpsListener) ExitParamlist ¶
func (s *BasemumpsListener) ExitParamlist(ctx *ParamlistContext)
ExitParamlist is called when production paramlist is exited.
func (*BasemumpsListener) ExitPostcondition ¶
func (s *BasemumpsListener) ExitPostcondition(ctx *PostconditionContext)
ExitPostcondition is called when production postcondition is exited.
func (*BasemumpsListener) ExitProgram ¶
func (s *BasemumpsListener) ExitProgram(ctx *ProgramContext)
ExitProgram is called when production program is exited.
func (*BasemumpsListener) ExitQuit_ ¶
func (s *BasemumpsListener) ExitQuit_(ctx *Quit_Context)
ExitQuit_ is called when production quit_ is exited.
func (*BasemumpsListener) ExitRead_ ¶
func (s *BasemumpsListener) ExitRead_(ctx *Read_Context)
ExitRead_ is called when production read_ is exited.
func (*BasemumpsListener) ExitRoutinedecl ¶
func (s *BasemumpsListener) ExitRoutinedecl(ctx *RoutinedeclContext)
ExitRoutinedecl is called when production routinedecl is exited.
func (*BasemumpsListener) ExitSet_ ¶
func (s *BasemumpsListener) ExitSet_(ctx *Set_Context)
ExitSet_ is called when production set_ is exited.
func (*BasemumpsListener) ExitSubproc ¶
func (s *BasemumpsListener) ExitSubproc(ctx *SubprocContext)
ExitSubproc is called when production subproc is exited.
func (*BasemumpsListener) ExitTerm ¶
func (s *BasemumpsListener) ExitTerm(ctx *TermContext)
ExitTerm is called when production term is exited.
func (*BasemumpsListener) ExitVariable ¶
func (s *BasemumpsListener) ExitVariable(ctx *VariableContext)
ExitVariable is called when production variable is exited.
func (*BasemumpsListener) ExitView_ ¶
func (s *BasemumpsListener) ExitView_(ctx *View_Context)
ExitView_ is called when production view_ is exited.
func (*BasemumpsListener) ExitWrite_ ¶
func (s *BasemumpsListener) ExitWrite_(ctx *Write_Context)
ExitWrite_ is called when production write_ is exited.
func (*BasemumpsListener) ExitXecute_ ¶
func (s *BasemumpsListener) ExitXecute_(ctx *Xecute_Context)
ExitXecute_ is called when production xecute_ is exited.
func (*BasemumpsListener) VisitErrorNode ¶
func (s *BasemumpsListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BasemumpsListener) VisitTerminal ¶
func (s *BasemumpsListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type Break_Context ¶
type Break_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBreak_Context ¶
func NewBreak_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Break_Context
func NewEmptyBreak_Context ¶
func NewEmptyBreak_Context() *Break_Context
func (*Break_Context) BREAK ¶
func (s *Break_Context) BREAK() antlr.TerminalNode
func (*Break_Context) EnterRule ¶
func (s *Break_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Break_Context) ExitRule ¶
func (s *Break_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Break_Context) GetParser ¶
func (s *Break_Context) GetParser() antlr.Parser
func (*Break_Context) GetRuleContext ¶
func (s *Break_Context) GetRuleContext() antlr.RuleContext
func (*Break_Context) IsBreak_Context ¶
func (*Break_Context) IsBreak_Context()
func (*Break_Context) Postcondition ¶
func (s *Break_Context) Postcondition() IPostconditionContext
func (*Break_Context) ToStringTree ¶
func (s *Break_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CodeContext ¶
type CodeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCodeContext ¶
func NewCodeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CodeContext
func NewEmptyCodeContext ¶
func NewEmptyCodeContext() *CodeContext
func (*CodeContext) AllCommand ¶
func (s *CodeContext) AllCommand() []ICommandContext
func (*CodeContext) AllDOT ¶
func (s *CodeContext) AllDOT() []antlr.TerminalNode
func (*CodeContext) AllSPACE ¶
func (s *CodeContext) AllSPACE() []antlr.TerminalNode
func (*CodeContext) CR ¶
func (s *CodeContext) CR() antlr.TerminalNode
func (*CodeContext) Command ¶
func (s *CodeContext) Command(i int) ICommandContext
func (*CodeContext) DOT ¶
func (s *CodeContext) DOT(i int) antlr.TerminalNode
func (*CodeContext) EnterRule ¶
func (s *CodeContext) EnterRule(listener antlr.ParseTreeListener)
func (*CodeContext) ExitRule ¶
func (s *CodeContext) ExitRule(listener antlr.ParseTreeListener)
func (*CodeContext) GetParser ¶
func (s *CodeContext) GetParser() antlr.Parser
func (*CodeContext) GetRuleContext ¶
func (s *CodeContext) GetRuleContext() antlr.RuleContext
func (*CodeContext) If_ ¶
func (s *CodeContext) If_() IIf_Context
func (*CodeContext) IsCodeContext ¶
func (*CodeContext) IsCodeContext()
func (*CodeContext) Label ¶
func (s *CodeContext) Label() ILabelContext
func (*CodeContext) SPACE ¶
func (s *CodeContext) SPACE(i int) antlr.TerminalNode
func (*CodeContext) Subproc ¶
func (s *CodeContext) Subproc() ISubprocContext
func (*CodeContext) ToStringTree ¶
func (s *CodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CommandContext ¶
type CommandContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommandContext ¶
func NewCommandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandContext
func NewEmptyCommandContext ¶
func NewEmptyCommandContext() *CommandContext
func (*CommandContext) Break_ ¶
func (s *CommandContext) Break_() IBreak_Context
func (*CommandContext) CLOSE ¶
func (s *CommandContext) CLOSE() antlr.TerminalNode
func (*CommandContext) Do_ ¶
func (s *CommandContext) Do_() IDo_Context
func (*CommandContext) ELSE ¶
func (s *CommandContext) ELSE() antlr.TerminalNode
func (*CommandContext) EnterRule ¶
func (s *CommandContext) EnterRule(listener antlr.ParseTreeListener)
func (*CommandContext) ExitRule ¶
func (s *CommandContext) ExitRule(listener antlr.ParseTreeListener)
func (*CommandContext) For_ ¶
func (s *CommandContext) For_() IFor_Context
func (*CommandContext) GOTO ¶
func (s *CommandContext) GOTO() antlr.TerminalNode
func (*CommandContext) GetParser ¶
func (s *CommandContext) GetParser() antlr.Parser
func (*CommandContext) GetRuleContext ¶
func (s *CommandContext) GetRuleContext() antlr.RuleContext
func (*CommandContext) Halt_ ¶
func (s *CommandContext) Halt_() IHalt_Context
func (*CommandContext) Hang_ ¶
func (s *CommandContext) Hang_() IHang_Context
func (*CommandContext) IsCommandContext ¶
func (*CommandContext) IsCommandContext()
func (*CommandContext) JOB ¶
func (s *CommandContext) JOB() antlr.TerminalNode
func (*CommandContext) Kill_ ¶
func (s *CommandContext) Kill_() IKill_Context
func (*CommandContext) LOCK ¶
func (s *CommandContext) LOCK() antlr.TerminalNode
func (*CommandContext) Merge_ ¶
func (s *CommandContext) Merge_() IMerge_Context
func (*CommandContext) New_ ¶
func (s *CommandContext) New_() INew_Context
func (*CommandContext) OPEN ¶
func (s *CommandContext) OPEN() antlr.TerminalNode
func (*CommandContext) Quit_ ¶
func (s *CommandContext) Quit_() IQuit_Context
func (*CommandContext) Read_ ¶
func (s *CommandContext) Read_() IRead_Context
func (*CommandContext) Set_ ¶
func (s *CommandContext) Set_() ISet_Context
func (*CommandContext) TCOMMIT ¶
func (s *CommandContext) TCOMMIT() antlr.TerminalNode
func (*CommandContext) TRESTART ¶
func (s *CommandContext) TRESTART() antlr.TerminalNode
func (*CommandContext) TROLLBACK ¶
func (s *CommandContext) TROLLBACK() antlr.TerminalNode
func (*CommandContext) TSTART ¶
func (s *CommandContext) TSTART() antlr.TerminalNode
func (*CommandContext) ToStringTree ¶
func (s *CommandContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CommandContext) USE ¶
func (s *CommandContext) USE() antlr.TerminalNode
func (*CommandContext) View_ ¶
func (s *CommandContext) View_() IView_Context
func (*CommandContext) Write_ ¶
func (s *CommandContext) Write_() IWrite_Context
func (*CommandContext) Xecute_ ¶
func (s *CommandContext) Xecute_() IXecute_Context
type ConditionContext ¶
type ConditionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewConditionContext ¶
func NewConditionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ConditionContext
func NewEmptyConditionContext ¶
func NewEmptyConditionContext() *ConditionContext
func (*ConditionContext) AllTerm ¶
func (s *ConditionContext) AllTerm() []ITermContext
func (*ConditionContext) EQUALS ¶
func (s *ConditionContext) EQUALS() antlr.TerminalNode
func (*ConditionContext) EnterRule ¶
func (s *ConditionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ConditionContext) ExitRule ¶
func (s *ConditionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ConditionContext) GT ¶
func (s *ConditionContext) GT() antlr.TerminalNode
func (*ConditionContext) GetParser ¶
func (s *ConditionContext) GetParser() antlr.Parser
func (*ConditionContext) GetRuleContext ¶
func (s *ConditionContext) GetRuleContext() antlr.RuleContext
func (*ConditionContext) IsConditionContext ¶
func (*ConditionContext) IsConditionContext()
func (*ConditionContext) LT ¶
func (s *ConditionContext) LT() antlr.TerminalNode
func (*ConditionContext) NGT ¶
func (s *ConditionContext) NGT() antlr.TerminalNode
func (*ConditionContext) NLT ¶
func (s *ConditionContext) NLT() antlr.TerminalNode
func (*ConditionContext) Term ¶
func (s *ConditionContext) Term(i int) ITermContext
func (*ConditionContext) ToStringTree ¶
func (s *ConditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Do_Context ¶
type Do_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDo_Context ¶
func NewDo_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Do_Context
func NewEmptyDo_Context ¶
func NewEmptyDo_Context() *Do_Context
func (*Do_Context) AllSPACE ¶
func (s *Do_Context) AllSPACE() []antlr.TerminalNode
func (*Do_Context) DO ¶
func (s *Do_Context) DO() antlr.TerminalNode
func (*Do_Context) EnterRule ¶
func (s *Do_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Do_Context) ExitRule ¶
func (s *Do_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Do_Context) GetParser ¶
func (s *Do_Context) GetParser() antlr.Parser
func (*Do_Context) GetRuleContext ¶
func (s *Do_Context) GetRuleContext() antlr.RuleContext
func (*Do_Context) Identifier ¶
func (s *Do_Context) Identifier() IIdentifierContext
func (*Do_Context) IsDo_Context ¶
func (*Do_Context) IsDo_Context()
func (*Do_Context) LPAREN ¶
func (s *Do_Context) LPAREN() antlr.TerminalNode
func (*Do_Context) Paramlist ¶
func (s *Do_Context) Paramlist() IParamlistContext
func (*Do_Context) Postcondition ¶
func (s *Do_Context) Postcondition() IPostconditionContext
func (*Do_Context) RPAREN ¶
func (s *Do_Context) RPAREN() antlr.TerminalNode
func (*Do_Context) SPACE ¶
func (s *Do_Context) SPACE(i int) antlr.TerminalNode
func (*Do_Context) ToStringTree ¶
func (s *Do_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EofContext ¶
type EofContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEofContext ¶
func NewEmptyEofContext() *EofContext
func NewEofContext ¶
func NewEofContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EofContext
func (*EofContext) AllSPACE ¶
func (s *EofContext) AllSPACE() []antlr.TerminalNode
func (*EofContext) CR ¶
func (s *EofContext) CR() antlr.TerminalNode
func (*EofContext) EnterRule ¶
func (s *EofContext) EnterRule(listener antlr.ParseTreeListener)
func (*EofContext) ExitRule ¶
func (s *EofContext) ExitRule(listener antlr.ParseTreeListener)
func (*EofContext) GetParser ¶
func (s *EofContext) GetParser() antlr.Parser
func (*EofContext) GetRuleContext ¶
func (s *EofContext) GetRuleContext() antlr.RuleContext
func (*EofContext) IsEofContext ¶
func (*EofContext) IsEofContext()
func (*EofContext) SPACE ¶
func (s *EofContext) SPACE(i int) antlr.TerminalNode
func (*EofContext) ToStringTree ¶
func (s *EofContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ExpressionContext ¶
type ExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExpressionContext ¶
func NewEmptyExpressionContext() *ExpressionContext
func NewExpressionContext ¶
func NewExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExpressionContext
func (*ExpressionContext) ADD ¶
func (s *ExpressionContext) ADD(i int) antlr.TerminalNode
func (*ExpressionContext) AllADD ¶
func (s *ExpressionContext) AllADD() []antlr.TerminalNode
func (*ExpressionContext) AllDIVIDE ¶
func (s *ExpressionContext) AllDIVIDE() []antlr.TerminalNode
func (*ExpressionContext) AllEXPONENT ¶
func (s *ExpressionContext) AllEXPONENT() []antlr.TerminalNode
func (*ExpressionContext) AllExpression ¶
func (s *ExpressionContext) AllExpression() []IExpressionContext
func (*ExpressionContext) AllINTDIVIDE ¶
func (s *ExpressionContext) AllINTDIVIDE() []antlr.TerminalNode
func (*ExpressionContext) AllMODULO ¶
func (s *ExpressionContext) AllMODULO() []antlr.TerminalNode
func (*ExpressionContext) AllMULTIPLY ¶
func (s *ExpressionContext) AllMULTIPLY() []antlr.TerminalNode
func (*ExpressionContext) AllSPACE ¶
func (s *ExpressionContext) AllSPACE() []antlr.TerminalNode
func (*ExpressionContext) AllSUBTRACT ¶
func (s *ExpressionContext) AllSUBTRACT() []antlr.TerminalNode
func (*ExpressionContext) DIVIDE ¶
func (s *ExpressionContext) DIVIDE(i int) antlr.TerminalNode
func (*ExpressionContext) EXPONENT ¶
func (s *ExpressionContext) EXPONENT(i int) antlr.TerminalNode
func (*ExpressionContext) EnterRule ¶
func (s *ExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExpressionContext) ExitRule ¶
func (s *ExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExpressionContext) Expression ¶
func (s *ExpressionContext) Expression(i int) IExpressionContext
func (*ExpressionContext) GetParser ¶
func (s *ExpressionContext) GetParser() antlr.Parser
func (*ExpressionContext) GetRuleContext ¶
func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
func (*ExpressionContext) INTDIVIDE ¶
func (s *ExpressionContext) INTDIVIDE(i int) antlr.TerminalNode
func (*ExpressionContext) IsExpressionContext ¶
func (*ExpressionContext) IsExpressionContext()
func (*ExpressionContext) MODULO ¶
func (s *ExpressionContext) MODULO(i int) antlr.TerminalNode
func (*ExpressionContext) MULTIPLY ¶
func (s *ExpressionContext) MULTIPLY(i int) antlr.TerminalNode
func (*ExpressionContext) SPACE ¶
func (s *ExpressionContext) SPACE(i int) antlr.TerminalNode
func (*ExpressionContext) SUBTRACT ¶
func (s *ExpressionContext) SUBTRACT(i int) antlr.TerminalNode
func (*ExpressionContext) Term ¶
func (s *ExpressionContext) Term() ITermContext
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type For_Context ¶
type For_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFor_Context ¶
func NewEmptyFor_Context() *For_Context
func NewFor_Context ¶
func NewFor_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *For_Context
func (*For_Context) AllCOLON ¶
func (s *For_Context) AllCOLON() []antlr.TerminalNode
func (*For_Context) AllCommand ¶
func (s *For_Context) AllCommand() []ICommandContext
func (*For_Context) AllSPACE ¶
func (s *For_Context) AllSPACE() []antlr.TerminalNode
func (*For_Context) AllTerm ¶
func (s *For_Context) AllTerm() []ITermContext
func (*For_Context) COLON ¶
func (s *For_Context) COLON(i int) antlr.TerminalNode
func (*For_Context) Command ¶
func (s *For_Context) Command(i int) ICommandContext
func (*For_Context) Condition ¶
func (s *For_Context) Condition() IConditionContext
func (*For_Context) EQUALS ¶
func (s *For_Context) EQUALS() antlr.TerminalNode
func (*For_Context) EnterRule ¶
func (s *For_Context) EnterRule(listener antlr.ParseTreeListener)
func (*For_Context) ExitRule ¶
func (s *For_Context) ExitRule(listener antlr.ParseTreeListener)
func (*For_Context) FOR ¶
func (s *For_Context) FOR() antlr.TerminalNode
func (*For_Context) GetParser ¶
func (s *For_Context) GetParser() antlr.Parser
func (*For_Context) GetRuleContext ¶
func (s *For_Context) GetRuleContext() antlr.RuleContext
func (*For_Context) IsFor_Context ¶
func (*For_Context) IsFor_Context()
func (*For_Context) SPACE ¶
func (s *For_Context) SPACE(i int) antlr.TerminalNode
func (*For_Context) Term ¶
func (s *For_Context) Term(i int) ITermContext
func (*For_Context) ToStringTree ¶
func (s *For_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type FunctionContext ¶
type FunctionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFunctionContext ¶
func NewEmptyFunctionContext() *FunctionContext
func NewFunctionContext ¶
func NewFunctionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FunctionContext
func (*FunctionContext) Arglist ¶
func (s *FunctionContext) Arglist() IArglistContext
func (*FunctionContext) DOLLAR ¶
func (s *FunctionContext) DOLLAR() antlr.TerminalNode
func (*FunctionContext) EnterRule ¶
func (s *FunctionContext) EnterRule(listener antlr.ParseTreeListener)
func (*FunctionContext) ExitRule ¶
func (s *FunctionContext) ExitRule(listener antlr.ParseTreeListener)
func (*FunctionContext) GetParser ¶
func (s *FunctionContext) GetParser() antlr.Parser
func (*FunctionContext) GetRuleContext ¶
func (s *FunctionContext) GetRuleContext() antlr.RuleContext
func (*FunctionContext) Identifier ¶
func (s *FunctionContext) Identifier() IIdentifierContext
func (*FunctionContext) IsFunctionContext ¶
func (*FunctionContext) IsFunctionContext()
func (*FunctionContext) LPAREN ¶
func (s *FunctionContext) LPAREN() antlr.TerminalNode
func (*FunctionContext) RPAREN ¶
func (s *FunctionContext) RPAREN() antlr.TerminalNode
func (*FunctionContext) ToStringTree ¶
func (s *FunctionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Halt_Context ¶
type Halt_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHalt_Context ¶
func NewEmptyHalt_Context() *Halt_Context
func NewHalt_Context ¶
func NewHalt_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Halt_Context
func (*Halt_Context) EnterRule ¶
func (s *Halt_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Halt_Context) ExitRule ¶
func (s *Halt_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Halt_Context) GetParser ¶
func (s *Halt_Context) GetParser() antlr.Parser
func (*Halt_Context) GetRuleContext ¶
func (s *Halt_Context) GetRuleContext() antlr.RuleContext
func (*Halt_Context) HALT ¶
func (s *Halt_Context) HALT() antlr.TerminalNode
func (*Halt_Context) IsHalt_Context ¶
func (*Halt_Context) IsHalt_Context()
func (*Halt_Context) Postcondition ¶
func (s *Halt_Context) Postcondition() IPostconditionContext
func (*Halt_Context) ToStringTree ¶
func (s *Halt_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Hang_Context ¶
type Hang_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHang_Context ¶
func NewEmptyHang_Context() *Hang_Context
func NewHang_Context ¶
func NewHang_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Hang_Context
func (*Hang_Context) AllSPACE ¶
func (s *Hang_Context) AllSPACE() []antlr.TerminalNode
func (*Hang_Context) EnterRule ¶
func (s *Hang_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Hang_Context) ExitRule ¶
func (s *Hang_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Hang_Context) GetParser ¶
func (s *Hang_Context) GetParser() antlr.Parser
func (*Hang_Context) GetRuleContext ¶
func (s *Hang_Context) GetRuleContext() antlr.RuleContext
func (*Hang_Context) HANG ¶
func (s *Hang_Context) HANG() antlr.TerminalNode
func (*Hang_Context) IsHang_Context ¶
func (*Hang_Context) IsHang_Context()
func (*Hang_Context) Postcondition ¶
func (s *Hang_Context) Postcondition() IPostconditionContext
func (*Hang_Context) SPACE ¶
func (s *Hang_Context) SPACE(i int) antlr.TerminalNode
func (*Hang_Context) Term ¶
func (s *Hang_Context) Term() ITermContext
func (*Hang_Context) ToStringTree ¶
func (s *Hang_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IArgContext ¶
type IArgContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArgContext differentiates from other interfaces. IsArgContext() }
IArgContext is an interface to support dynamic dispatch.
type IArglistContext ¶
type IArglistContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArglistContext differentiates from other interfaces. IsArglistContext() }
IArglistContext is an interface to support dynamic dispatch.
type IAssignContext ¶
type IAssignContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAssignContext differentiates from other interfaces. IsAssignContext() }
IAssignContext is an interface to support dynamic dispatch.
type IBreak_Context ¶
type IBreak_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBreak_Context differentiates from other interfaces. IsBreak_Context() }
IBreak_Context is an interface to support dynamic dispatch.
type ICodeContext ¶
type ICodeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCodeContext differentiates from other interfaces. IsCodeContext() }
ICodeContext is an interface to support dynamic dispatch.
type ICommandContext ¶
type ICommandContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCommandContext differentiates from other interfaces. IsCommandContext() }
ICommandContext is an interface to support dynamic dispatch.
type IConditionContext ¶
type IConditionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsConditionContext differentiates from other interfaces. IsConditionContext() }
IConditionContext is an interface to support dynamic dispatch.
type IDo_Context ¶
type IDo_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDo_Context differentiates from other interfaces. IsDo_Context() }
IDo_Context is an interface to support dynamic dispatch.
type IEofContext ¶
type IEofContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEofContext differentiates from other interfaces. IsEofContext() }
IEofContext is an interface to support dynamic dispatch.
type IExpressionContext ¶
type IExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExpressionContext differentiates from other interfaces. IsExpressionContext() }
IExpressionContext is an interface to support dynamic dispatch.
type IFor_Context ¶
type IFor_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFor_Context differentiates from other interfaces. IsFor_Context() }
IFor_Context is an interface to support dynamic dispatch.
type IFunctionContext ¶
type IFunctionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFunctionContext differentiates from other interfaces. IsFunctionContext() }
IFunctionContext is an interface to support dynamic dispatch.
type IHalt_Context ¶
type IHalt_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHalt_Context differentiates from other interfaces. IsHalt_Context() }
IHalt_Context is an interface to support dynamic dispatch.
type IHang_Context ¶
type IHang_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHang_Context differentiates from other interfaces. IsHang_Context() }
IHang_Context is an interface to support dynamic dispatch.
type IIdentifierContext ¶
type IIdentifierContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIdentifierContext differentiates from other interfaces. IsIdentifierContext() }
IIdentifierContext is an interface to support dynamic dispatch.
type IIf_Context ¶
type IIf_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsIf_Context differentiates from other interfaces. IsIf_Context() }
IIf_Context is an interface to support dynamic dispatch.
type IKill_Context ¶
type IKill_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsKill_Context differentiates from other interfaces. IsKill_Context() }
IKill_Context is an interface to support dynamic dispatch.
type ILabelContext ¶
type ILabelContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLabelContext differentiates from other interfaces. IsLabelContext() }
ILabelContext is an interface to support dynamic dispatch.
type ILineContext ¶
type ILineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLineContext differentiates from other interfaces. IsLineContext() }
ILineContext is an interface to support dynamic dispatch.
type IMerge_Context ¶
type IMerge_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMerge_Context differentiates from other interfaces. IsMerge_Context() }
IMerge_Context is an interface to support dynamic dispatch.
type INew_Context ¶
type INew_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNew_Context differentiates from other interfaces. IsNew_Context() }
INew_Context is an interface to support dynamic dispatch.
type IParamContext ¶
type IParamContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsParamContext differentiates from other interfaces. IsParamContext() }
IParamContext is an interface to support dynamic dispatch.
type IParamlistContext ¶
type IParamlistContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsParamlistContext differentiates from other interfaces. IsParamlistContext() }
IParamlistContext is an interface to support dynamic dispatch.
type IPostconditionContext ¶
type IPostconditionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPostconditionContext differentiates from other interfaces. IsPostconditionContext() }
IPostconditionContext is an interface to support dynamic dispatch.
type IProgramContext ¶
type IProgramContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsProgramContext differentiates from other interfaces. IsProgramContext() }
IProgramContext is an interface to support dynamic dispatch.
type IQuit_Context ¶
type IQuit_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsQuit_Context differentiates from other interfaces. IsQuit_Context() }
IQuit_Context is an interface to support dynamic dispatch.
type IRead_Context ¶
type IRead_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRead_Context differentiates from other interfaces. IsRead_Context() }
IRead_Context is an interface to support dynamic dispatch.
type IRoutinedeclContext ¶
type IRoutinedeclContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRoutinedeclContext differentiates from other interfaces. IsRoutinedeclContext() }
IRoutinedeclContext is an interface to support dynamic dispatch.
type ISet_Context ¶
type ISet_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSet_Context differentiates from other interfaces. IsSet_Context() }
ISet_Context is an interface to support dynamic dispatch.
type ISubprocContext ¶
type ISubprocContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSubprocContext differentiates from other interfaces. IsSubprocContext() }
ISubprocContext is an interface to support dynamic dispatch.
type ITermContext ¶
type ITermContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTermContext differentiates from other interfaces. IsTermContext() }
ITermContext is an interface to support dynamic dispatch.
type IVariableContext ¶
type IVariableContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVariableContext differentiates from other interfaces. IsVariableContext() }
IVariableContext is an interface to support dynamic dispatch.
type IView_Context ¶
type IView_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsView_Context differentiates from other interfaces. IsView_Context() }
IView_Context is an interface to support dynamic dispatch.
type IWrite_Context ¶
type IWrite_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWrite_Context differentiates from other interfaces. IsWrite_Context() }
IWrite_Context is an interface to support dynamic dispatch.
type IXecute_Context ¶
type IXecute_Context interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsXecute_Context differentiates from other interfaces. IsXecute_Context() }
IXecute_Context is an interface to support dynamic dispatch.
type IdentifierContext ¶
type IdentifierContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIdentifierContext ¶
func NewEmptyIdentifierContext() *IdentifierContext
func NewIdentifierContext ¶
func NewIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IdentifierContext
func (*IdentifierContext) EnterRule ¶
func (s *IdentifierContext) EnterRule(listener antlr.ParseTreeListener)
func (*IdentifierContext) ExitRule ¶
func (s *IdentifierContext) ExitRule(listener antlr.ParseTreeListener)
func (*IdentifierContext) GetParser ¶
func (s *IdentifierContext) GetParser() antlr.Parser
func (*IdentifierContext) GetRuleContext ¶
func (s *IdentifierContext) GetRuleContext() antlr.RuleContext
func (*IdentifierContext) IDENTIFIER ¶
func (s *IdentifierContext) IDENTIFIER() antlr.TerminalNode
func (*IdentifierContext) IsIdentifierContext ¶
func (*IdentifierContext) IsIdentifierContext()
func (*IdentifierContext) ToStringTree ¶
func (s *IdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type If_Context ¶
type If_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyIf_Context ¶
func NewEmptyIf_Context() *If_Context
func NewIf_Context ¶
func NewIf_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *If_Context
func (*If_Context) AllSPACE ¶
func (s *If_Context) AllSPACE() []antlr.TerminalNode
func (*If_Context) Command ¶
func (s *If_Context) Command() ICommandContext
func (*If_Context) Condition ¶
func (s *If_Context) Condition() IConditionContext
func (*If_Context) EnterRule ¶
func (s *If_Context) EnterRule(listener antlr.ParseTreeListener)
func (*If_Context) ExitRule ¶
func (s *If_Context) ExitRule(listener antlr.ParseTreeListener)
func (*If_Context) GetParser ¶
func (s *If_Context) GetParser() antlr.Parser
func (*If_Context) GetRuleContext ¶
func (s *If_Context) GetRuleContext() antlr.RuleContext
func (*If_Context) IF ¶
func (s *If_Context) IF() antlr.TerminalNode
func (*If_Context) IsIf_Context ¶
func (*If_Context) IsIf_Context()
func (*If_Context) SPACE ¶
func (s *If_Context) SPACE(i int) antlr.TerminalNode
func (*If_Context) ToStringTree ¶
func (s *If_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Kill_Context ¶
type Kill_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyKill_Context ¶
func NewEmptyKill_Context() *Kill_Context
func NewKill_Context ¶
func NewKill_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Kill_Context
func (*Kill_Context) AllSPACE ¶
func (s *Kill_Context) AllSPACE() []antlr.TerminalNode
func (*Kill_Context) Arglist ¶
func (s *Kill_Context) Arglist() IArglistContext
func (*Kill_Context) EnterRule ¶
func (s *Kill_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Kill_Context) ExitRule ¶
func (s *Kill_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Kill_Context) GetParser ¶
func (s *Kill_Context) GetParser() antlr.Parser
func (*Kill_Context) GetRuleContext ¶
func (s *Kill_Context) GetRuleContext() antlr.RuleContext
func (*Kill_Context) IsKill_Context ¶
func (*Kill_Context) IsKill_Context()
func (*Kill_Context) KILL ¶
func (s *Kill_Context) KILL() antlr.TerminalNode
func (*Kill_Context) Postcondition ¶
func (s *Kill_Context) Postcondition() IPostconditionContext
func (*Kill_Context) SPACE ¶
func (s *Kill_Context) SPACE(i int) antlr.TerminalNode
func (*Kill_Context) ToStringTree ¶
func (s *Kill_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LabelContext ¶
type LabelContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLabelContext ¶
func NewEmptyLabelContext() *LabelContext
func NewLabelContext ¶
func NewLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LabelContext
func (*LabelContext) AllSPACE ¶
func (s *LabelContext) AllSPACE() []antlr.TerminalNode
func (*LabelContext) EnterRule ¶
func (s *LabelContext) EnterRule(listener antlr.ParseTreeListener)
func (*LabelContext) ExitRule ¶
func (s *LabelContext) ExitRule(listener antlr.ParseTreeListener)
func (*LabelContext) GetParser ¶
func (s *LabelContext) GetParser() antlr.Parser
func (*LabelContext) GetRuleContext ¶
func (s *LabelContext) GetRuleContext() antlr.RuleContext
func (*LabelContext) Identifier ¶
func (s *LabelContext) Identifier() IIdentifierContext
func (*LabelContext) IsLabelContext ¶
func (*LabelContext) IsLabelContext()
func (*LabelContext) SPACE ¶
func (s *LabelContext) SPACE(i int) antlr.TerminalNode
func (*LabelContext) ToStringTree ¶
func (s *LabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LineContext ¶
type LineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLineContext ¶
func NewEmptyLineContext() *LineContext
func NewLineContext ¶
func NewLineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LineContext
func (*LineContext) CR ¶
func (s *LineContext) CR() antlr.TerminalNode
func (*LineContext) Code ¶
func (s *LineContext) Code() ICodeContext
func (*LineContext) EnterRule ¶
func (s *LineContext) EnterRule(listener antlr.ParseTreeListener)
func (*LineContext) ExitRule ¶
func (s *LineContext) ExitRule(listener antlr.ParseTreeListener)
func (*LineContext) GetParser ¶
func (s *LineContext) GetParser() antlr.Parser
func (*LineContext) GetRuleContext ¶
func (s *LineContext) GetRuleContext() antlr.RuleContext
func (*LineContext) IsLineContext ¶
func (*LineContext) IsLineContext()
func (*LineContext) Routinedecl ¶
func (s *LineContext) Routinedecl() IRoutinedeclContext
func (*LineContext) ToStringTree ¶
func (s *LineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Merge_Context ¶
type Merge_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMerge_Context ¶
func NewEmptyMerge_Context() *Merge_Context
func NewMerge_Context ¶
func NewMerge_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Merge_Context
func (*Merge_Context) AllCOMMA ¶
func (s *Merge_Context) AllCOMMA() []antlr.TerminalNode
func (*Merge_Context) AllEQUALS ¶
func (s *Merge_Context) AllEQUALS() []antlr.TerminalNode
func (*Merge_Context) AllSPACE ¶
func (s *Merge_Context) AllSPACE() []antlr.TerminalNode
func (*Merge_Context) AllTerm ¶
func (s *Merge_Context) AllTerm() []ITermContext
func (*Merge_Context) COMMA ¶
func (s *Merge_Context) COMMA(i int) antlr.TerminalNode
func (*Merge_Context) EQUALS ¶
func (s *Merge_Context) EQUALS(i int) antlr.TerminalNode
func (*Merge_Context) EnterRule ¶
func (s *Merge_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Merge_Context) ExitRule ¶
func (s *Merge_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Merge_Context) GetParser ¶
func (s *Merge_Context) GetParser() antlr.Parser
func (*Merge_Context) GetRuleContext ¶
func (s *Merge_Context) GetRuleContext() antlr.RuleContext
func (*Merge_Context) IsMerge_Context ¶
func (*Merge_Context) IsMerge_Context()
func (*Merge_Context) MERGE ¶
func (s *Merge_Context) MERGE() antlr.TerminalNode
func (*Merge_Context) Postcondition ¶
func (s *Merge_Context) Postcondition() IPostconditionContext
func (*Merge_Context) SPACE ¶
func (s *Merge_Context) SPACE(i int) antlr.TerminalNode
func (*Merge_Context) Term ¶
func (s *Merge_Context) Term(i int) ITermContext
func (*Merge_Context) ToStringTree ¶
func (s *Merge_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type New_Context ¶
type New_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNew_Context ¶
func NewEmptyNew_Context() *New_Context
func NewNew_Context ¶
func NewNew_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *New_Context
func (*New_Context) AllSPACE ¶
func (s *New_Context) AllSPACE() []antlr.TerminalNode
func (*New_Context) Arglist ¶
func (s *New_Context) Arglist() IArglistContext
func (*New_Context) EnterRule ¶
func (s *New_Context) EnterRule(listener antlr.ParseTreeListener)
func (*New_Context) ExitRule ¶
func (s *New_Context) ExitRule(listener antlr.ParseTreeListener)
func (*New_Context) GetParser ¶
func (s *New_Context) GetParser() antlr.Parser
func (*New_Context) GetRuleContext ¶
func (s *New_Context) GetRuleContext() antlr.RuleContext
func (*New_Context) IsNew_Context ¶
func (*New_Context) IsNew_Context()
func (*New_Context) NEW ¶
func (s *New_Context) NEW() antlr.TerminalNode
func (*New_Context) Postcondition ¶
func (s *New_Context) Postcondition() IPostconditionContext
func (*New_Context) SPACE ¶
func (s *New_Context) SPACE(i int) antlr.TerminalNode
func (*New_Context) ToStringTree ¶
func (s *New_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ParamContext ¶
type ParamContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParamContext ¶
func NewEmptyParamContext() *ParamContext
func NewParamContext ¶
func NewParamContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamContext
func (*ParamContext) EnterRule ¶
func (s *ParamContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParamContext) ExitRule ¶
func (s *ParamContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParamContext) GetParser ¶
func (s *ParamContext) GetParser() antlr.Parser
func (*ParamContext) GetRuleContext ¶
func (s *ParamContext) GetRuleContext() antlr.RuleContext
func (*ParamContext) IsParamContext ¶
func (*ParamContext) IsParamContext()
func (*ParamContext) ToStringTree ¶
func (s *ParamContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ParamContext) Variable ¶
func (s *ParamContext) Variable() IVariableContext
type ParamlistContext ¶
type ParamlistContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyParamlistContext ¶
func NewEmptyParamlistContext() *ParamlistContext
func NewParamlistContext ¶
func NewParamlistContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamlistContext
func (*ParamlistContext) AllCOMMA ¶
func (s *ParamlistContext) AllCOMMA() []antlr.TerminalNode
func (*ParamlistContext) AllParam ¶
func (s *ParamlistContext) AllParam() []IParamContext
func (*ParamlistContext) COMMA ¶
func (s *ParamlistContext) COMMA(i int) antlr.TerminalNode
func (*ParamlistContext) EnterRule ¶
func (s *ParamlistContext) EnterRule(listener antlr.ParseTreeListener)
func (*ParamlistContext) ExitRule ¶
func (s *ParamlistContext) ExitRule(listener antlr.ParseTreeListener)
func (*ParamlistContext) GetParser ¶
func (s *ParamlistContext) GetParser() antlr.Parser
func (*ParamlistContext) GetRuleContext ¶
func (s *ParamlistContext) GetRuleContext() antlr.RuleContext
func (*ParamlistContext) IsParamlistContext ¶
func (*ParamlistContext) IsParamlistContext()
func (*ParamlistContext) Param ¶
func (s *ParamlistContext) Param(i int) IParamContext
func (*ParamlistContext) ToStringTree ¶
func (s *ParamlistContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type PostconditionContext ¶
type PostconditionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPostconditionContext ¶
func NewEmptyPostconditionContext() *PostconditionContext
func NewPostconditionContext ¶
func NewPostconditionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PostconditionContext
func (*PostconditionContext) COLON ¶
func (s *PostconditionContext) COLON() antlr.TerminalNode
func (*PostconditionContext) EnterRule ¶
func (s *PostconditionContext) EnterRule(listener antlr.ParseTreeListener)
func (*PostconditionContext) ExitRule ¶
func (s *PostconditionContext) ExitRule(listener antlr.ParseTreeListener)
func (*PostconditionContext) Expression ¶
func (s *PostconditionContext) Expression() IExpressionContext
func (*PostconditionContext) GetParser ¶
func (s *PostconditionContext) GetParser() antlr.Parser
func (*PostconditionContext) GetRuleContext ¶
func (s *PostconditionContext) GetRuleContext() antlr.RuleContext
func (*PostconditionContext) IsPostconditionContext ¶
func (*PostconditionContext) IsPostconditionContext()
func (*PostconditionContext) ToStringTree ¶
func (s *PostconditionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ProgramContext ¶
type ProgramContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProgramContext ¶
func NewEmptyProgramContext() *ProgramContext
func NewProgramContext ¶
func NewProgramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramContext
func (*ProgramContext) AllLine ¶
func (s *ProgramContext) AllLine() []ILineContext
func (*ProgramContext) EnterRule ¶
func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProgramContext) Eof ¶
func (s *ProgramContext) Eof() IEofContext
func (*ProgramContext) ExitRule ¶
func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProgramContext) GetParser ¶
func (s *ProgramContext) GetParser() antlr.Parser
func (*ProgramContext) GetRuleContext ¶
func (s *ProgramContext) GetRuleContext() antlr.RuleContext
func (*ProgramContext) IsProgramContext ¶
func (*ProgramContext) IsProgramContext()
func (*ProgramContext) Line ¶
func (s *ProgramContext) Line(i int) ILineContext
func (*ProgramContext) ToStringTree ¶
func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Quit_Context ¶
type Quit_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyQuit_Context ¶
func NewEmptyQuit_Context() *Quit_Context
func NewQuit_Context ¶
func NewQuit_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Quit_Context
func (*Quit_Context) AllSPACE ¶
func (s *Quit_Context) AllSPACE() []antlr.TerminalNode
func (*Quit_Context) EnterRule ¶
func (s *Quit_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Quit_Context) ExitRule ¶
func (s *Quit_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Quit_Context) GetParser ¶
func (s *Quit_Context) GetParser() antlr.Parser
func (*Quit_Context) GetRuleContext ¶
func (s *Quit_Context) GetRuleContext() antlr.RuleContext
func (*Quit_Context) IsQuit_Context ¶
func (*Quit_Context) IsQuit_Context()
func (*Quit_Context) Postcondition ¶
func (s *Quit_Context) Postcondition() IPostconditionContext
func (*Quit_Context) QUIT ¶
func (s *Quit_Context) QUIT() antlr.TerminalNode
func (*Quit_Context) SPACE ¶
func (s *Quit_Context) SPACE(i int) antlr.TerminalNode
func (*Quit_Context) Term ¶
func (s *Quit_Context) Term() ITermContext
func (*Quit_Context) ToStringTree ¶
func (s *Quit_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Read_Context ¶
type Read_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRead_Context ¶
func NewEmptyRead_Context() *Read_Context
func NewRead_Context ¶
func NewRead_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Read_Context
func (*Read_Context) AllSPACE ¶
func (s *Read_Context) AllSPACE() []antlr.TerminalNode
func (*Read_Context) Arglist ¶
func (s *Read_Context) Arglist() IArglistContext
func (*Read_Context) EnterRule ¶
func (s *Read_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Read_Context) ExitRule ¶
func (s *Read_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Read_Context) GetParser ¶
func (s *Read_Context) GetParser() antlr.Parser
func (*Read_Context) GetRuleContext ¶
func (s *Read_Context) GetRuleContext() antlr.RuleContext
func (*Read_Context) IsRead_Context ¶
func (*Read_Context) IsRead_Context()
func (*Read_Context) Postcondition ¶
func (s *Read_Context) Postcondition() IPostconditionContext
func (*Read_Context) READ ¶
func (s *Read_Context) READ() antlr.TerminalNode
func (*Read_Context) SPACE ¶
func (s *Read_Context) SPACE(i int) antlr.TerminalNode
func (*Read_Context) ToStringTree ¶
func (s *Read_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RoutinedeclContext ¶
type RoutinedeclContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRoutinedeclContext ¶
func NewEmptyRoutinedeclContext() *RoutinedeclContext
func NewRoutinedeclContext ¶
func NewRoutinedeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RoutinedeclContext
func (*RoutinedeclContext) AllSPACE ¶
func (s *RoutinedeclContext) AllSPACE() []antlr.TerminalNode
func (*RoutinedeclContext) CR ¶
func (s *RoutinedeclContext) CR() antlr.TerminalNode
func (*RoutinedeclContext) EnterRule ¶
func (s *RoutinedeclContext) EnterRule(listener antlr.ParseTreeListener)
func (*RoutinedeclContext) ExitRule ¶
func (s *RoutinedeclContext) ExitRule(listener antlr.ParseTreeListener)
func (*RoutinedeclContext) GetParser ¶
func (s *RoutinedeclContext) GetParser() antlr.Parser
func (*RoutinedeclContext) GetRuleContext ¶
func (s *RoutinedeclContext) GetRuleContext() antlr.RuleContext
func (*RoutinedeclContext) Identifier ¶
func (s *RoutinedeclContext) Identifier() IIdentifierContext
func (*RoutinedeclContext) IsRoutinedeclContext ¶
func (*RoutinedeclContext) IsRoutinedeclContext()
func (*RoutinedeclContext) LPAREN ¶
func (s *RoutinedeclContext) LPAREN() antlr.TerminalNode
func (*RoutinedeclContext) PERCENT ¶
func (s *RoutinedeclContext) PERCENT() antlr.TerminalNode
func (*RoutinedeclContext) Paramlist ¶
func (s *RoutinedeclContext) Paramlist() IParamlistContext
func (*RoutinedeclContext) RPAREN ¶
func (s *RoutinedeclContext) RPAREN() antlr.TerminalNode
func (*RoutinedeclContext) SPACE ¶
func (s *RoutinedeclContext) SPACE(i int) antlr.TerminalNode
func (*RoutinedeclContext) ToStringTree ¶
func (s *RoutinedeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Set_Context ¶
type Set_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySet_Context ¶
func NewEmptySet_Context() *Set_Context
func NewSet_Context ¶
func NewSet_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Set_Context
func (*Set_Context) AllAssign ¶
func (s *Set_Context) AllAssign() []IAssignContext
func (*Set_Context) AllCOMMA ¶
func (s *Set_Context) AllCOMMA() []antlr.TerminalNode
func (*Set_Context) AllSPACE ¶
func (s *Set_Context) AllSPACE() []antlr.TerminalNode
func (*Set_Context) Assign ¶
func (s *Set_Context) Assign(i int) IAssignContext
func (*Set_Context) COMMA ¶
func (s *Set_Context) COMMA(i int) antlr.TerminalNode
func (*Set_Context) EnterRule ¶
func (s *Set_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Set_Context) ExitRule ¶
func (s *Set_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Set_Context) GetParser ¶
func (s *Set_Context) GetParser() antlr.Parser
func (*Set_Context) GetRuleContext ¶
func (s *Set_Context) GetRuleContext() antlr.RuleContext
func (*Set_Context) IsSet_Context ¶
func (*Set_Context) IsSet_Context()
func (*Set_Context) Postcondition ¶
func (s *Set_Context) Postcondition() IPostconditionContext
func (*Set_Context) SET ¶
func (s *Set_Context) SET() antlr.TerminalNode
func (*Set_Context) SPACE ¶
func (s *Set_Context) SPACE(i int) antlr.TerminalNode
func (*Set_Context) ToStringTree ¶
func (s *Set_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type SubprocContext ¶
type SubprocContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySubprocContext ¶
func NewEmptySubprocContext() *SubprocContext
func NewSubprocContext ¶
func NewSubprocContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubprocContext
func (*SubprocContext) AllCommand ¶
func (s *SubprocContext) AllCommand() []ICommandContext
func (*SubprocContext) AllSPACE ¶
func (s *SubprocContext) AllSPACE() []antlr.TerminalNode
func (*SubprocContext) Command ¶
func (s *SubprocContext) Command(i int) ICommandContext
func (*SubprocContext) EnterRule ¶
func (s *SubprocContext) EnterRule(listener antlr.ParseTreeListener)
func (*SubprocContext) ExitRule ¶
func (s *SubprocContext) ExitRule(listener antlr.ParseTreeListener)
func (*SubprocContext) GetParser ¶
func (s *SubprocContext) GetParser() antlr.Parser
func (*SubprocContext) GetRuleContext ¶
func (s *SubprocContext) GetRuleContext() antlr.RuleContext
func (*SubprocContext) Identifier ¶
func (s *SubprocContext) Identifier() IIdentifierContext
func (*SubprocContext) IsSubprocContext ¶
func (*SubprocContext) IsSubprocContext()
func (*SubprocContext) LPAREN ¶
func (s *SubprocContext) LPAREN() antlr.TerminalNode
func (*SubprocContext) Paramlist ¶
func (s *SubprocContext) Paramlist() IParamlistContext
func (*SubprocContext) RPAREN ¶
func (s *SubprocContext) RPAREN() antlr.TerminalNode
func (*SubprocContext) SPACE ¶
func (s *SubprocContext) SPACE(i int) antlr.TerminalNode
func (*SubprocContext) ToStringTree ¶
func (s *SubprocContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TermContext ¶
type TermContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTermContext ¶
func NewEmptyTermContext() *TermContext
func NewTermContext ¶
func NewTermContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TermContext
func (*TermContext) EnterRule ¶
func (s *TermContext) EnterRule(listener antlr.ParseTreeListener)
func (*TermContext) ExitRule ¶
func (s *TermContext) ExitRule(listener antlr.ParseTreeListener)
func (*TermContext) Expression ¶
func (s *TermContext) Expression() IExpressionContext
func (*TermContext) Function ¶
func (s *TermContext) Function() IFunctionContext
func (*TermContext) GetParser ¶
func (s *TermContext) GetParser() antlr.Parser
func (*TermContext) GetRuleContext ¶
func (s *TermContext) GetRuleContext() antlr.RuleContext
func (*TermContext) IsTermContext ¶
func (*TermContext) IsTermContext()
func (*TermContext) LPAREN ¶
func (s *TermContext) LPAREN() antlr.TerminalNode
func (*TermContext) NUMBER ¶
func (s *TermContext) NUMBER() antlr.TerminalNode
func (*TermContext) RPAREN ¶
func (s *TermContext) RPAREN() antlr.TerminalNode
func (*TermContext) ToStringTree ¶
func (s *TermContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TermContext) Variable ¶
func (s *TermContext) Variable() IVariableContext
type VariableContext ¶
type VariableContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVariableContext ¶
func NewEmptyVariableContext() *VariableContext
func NewVariableContext ¶
func NewVariableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VariableContext
func (*VariableContext) AMPERSAND ¶
func (s *VariableContext) AMPERSAND(i int) antlr.TerminalNode
func (*VariableContext) AllAMPERSAND ¶
func (s *VariableContext) AllAMPERSAND() []antlr.TerminalNode
func (*VariableContext) AllCARAT ¶
func (s *VariableContext) AllCARAT() []antlr.TerminalNode
func (*VariableContext) CARAT ¶
func (s *VariableContext) CARAT(i int) antlr.TerminalNode
func (*VariableContext) EnterRule ¶
func (s *VariableContext) EnterRule(listener antlr.ParseTreeListener)
func (*VariableContext) ExitRule ¶
func (s *VariableContext) ExitRule(listener antlr.ParseTreeListener)
func (*VariableContext) GetParser ¶
func (s *VariableContext) GetParser() antlr.Parser
func (*VariableContext) GetRuleContext ¶
func (s *VariableContext) GetRuleContext() antlr.RuleContext
func (*VariableContext) Identifier ¶
func (s *VariableContext) Identifier() IIdentifierContext
func (*VariableContext) IsVariableContext ¶
func (*VariableContext) IsVariableContext()
func (*VariableContext) ToStringTree ¶
func (s *VariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type View_Context ¶
type View_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyView_Context ¶
func NewEmptyView_Context() *View_Context
func NewView_Context ¶
func NewView_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *View_Context
func (*View_Context) AllSPACE ¶
func (s *View_Context) AllSPACE() []antlr.TerminalNode
func (*View_Context) EnterRule ¶
func (s *View_Context) EnterRule(listener antlr.ParseTreeListener)
func (*View_Context) ExitRule ¶
func (s *View_Context) ExitRule(listener antlr.ParseTreeListener)
func (*View_Context) GetParser ¶
func (s *View_Context) GetParser() antlr.Parser
func (*View_Context) GetRuleContext ¶
func (s *View_Context) GetRuleContext() antlr.RuleContext
func (*View_Context) IDENTIFIER ¶
func (s *View_Context) IDENTIFIER() antlr.TerminalNode
func (*View_Context) IsView_Context ¶
func (*View_Context) IsView_Context()
func (*View_Context) Postcondition ¶
func (s *View_Context) Postcondition() IPostconditionContext
func (*View_Context) SPACE ¶
func (s *View_Context) SPACE(i int) antlr.TerminalNode
func (*View_Context) ToStringTree ¶
func (s *View_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*View_Context) VIEW ¶
func (s *View_Context) VIEW() antlr.TerminalNode
type Write_Context ¶
type Write_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWrite_Context ¶
func NewEmptyWrite_Context() *Write_Context
func NewWrite_Context ¶
func NewWrite_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Write_Context
func (*Write_Context) AllSPACE ¶
func (s *Write_Context) AllSPACE() []antlr.TerminalNode
func (*Write_Context) Arglist ¶
func (s *Write_Context) Arglist() IArglistContext
func (*Write_Context) EnterRule ¶
func (s *Write_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Write_Context) ExitRule ¶
func (s *Write_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Write_Context) GetParser ¶
func (s *Write_Context) GetParser() antlr.Parser
func (*Write_Context) GetRuleContext ¶
func (s *Write_Context) GetRuleContext() antlr.RuleContext
func (*Write_Context) IsWrite_Context ¶
func (*Write_Context) IsWrite_Context()
func (*Write_Context) Postcondition ¶
func (s *Write_Context) Postcondition() IPostconditionContext
func (*Write_Context) SPACE ¶
func (s *Write_Context) SPACE(i int) antlr.TerminalNode
func (*Write_Context) ToStringTree ¶
func (s *Write_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Write_Context) WRITE ¶
func (s *Write_Context) WRITE() antlr.TerminalNode
type Xecute_Context ¶
type Xecute_Context struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyXecute_Context ¶
func NewEmptyXecute_Context() *Xecute_Context
func NewXecute_Context ¶
func NewXecute_Context(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Xecute_Context
func (*Xecute_Context) AllSPACE ¶
func (s *Xecute_Context) AllSPACE() []antlr.TerminalNode
func (*Xecute_Context) EnterRule ¶
func (s *Xecute_Context) EnterRule(listener antlr.ParseTreeListener)
func (*Xecute_Context) ExitRule ¶
func (s *Xecute_Context) ExitRule(listener antlr.ParseTreeListener)
func (*Xecute_Context) GetParser ¶
func (s *Xecute_Context) GetParser() antlr.Parser
func (*Xecute_Context) GetRuleContext ¶
func (s *Xecute_Context) GetRuleContext() antlr.RuleContext
func (*Xecute_Context) IsXecute_Context ¶
func (*Xecute_Context) IsXecute_Context()
func (*Xecute_Context) Postcondition ¶
func (s *Xecute_Context) Postcondition() IPostconditionContext
func (*Xecute_Context) SPACE ¶
func (s *Xecute_Context) SPACE(i int) antlr.TerminalNode
func (*Xecute_Context) STRING_LITERAL ¶
func (s *Xecute_Context) STRING_LITERAL() antlr.TerminalNode
func (*Xecute_Context) ToStringTree ¶
func (s *Xecute_Context) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Xecute_Context) XECUTE ¶
func (s *Xecute_Context) XECUTE() antlr.TerminalNode