Documentation ¶
Overview ¶
Example ¶
package main import ( "bramp.net/antlr4/agc" "fmt" "github.com/antlr/antlr4/runtime/Go/antlr" ) type exampleListener struct { *agc.BaseagcListener } 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 := agc.NewagcLexer(is) stream := antlr.NewCommonTokenStream(lexer, antlr.TokenDefaultChannel) // Create the Parser p := agc.NewagcParser(stream) p.BuildParseTrees = true p.AddErrorListener(antlr.NewDiagnosticErrorListener(true)) // Finally walk the tree tree := p.Prog() antlr.ParseTreeWalkerDefault.Walk(&exampleListener{}, tree) }
Output:
Index ¶
- func NewagcLexer(input antlr.CharStream) *agcLexer
- func NewagcParser(input antlr.TokenStream) *agcParser
- type ArgumentContext
- func (s *ArgumentContext) AllExpression() []IExpressionContext
- func (s *ArgumentContext) AllWs() []IWsContext
- func (s *ArgumentContext) Comment() ICommentContext
- func (s *ArgumentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgumentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgumentContext) Expression(i int) IExpressionContext
- func (s *ArgumentContext) GetParser() antlr.Parser
- func (s *ArgumentContext) GetRuleContext() antlr.RuleContext
- func (*ArgumentContext) IsArgumentContext()
- func (s *ArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ArgumentContext) Ws(i int) IWsContext
- type Assignment_lineContext
- func (s *Assignment_lineContext) AllExpression() []IExpressionContext
- func (s *Assignment_lineContext) AllWs() []IWsContext
- func (s *Assignment_lineContext) Comment() ICommentContext
- func (s *Assignment_lineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Assignment_lineContext) Eol() IEolContext
- func (s *Assignment_lineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Assignment_lineContext) Expression(i int) IExpressionContext
- func (s *Assignment_lineContext) GetParser() antlr.Parser
- func (s *Assignment_lineContext) GetRuleContext() antlr.RuleContext
- func (*Assignment_lineContext) IsAssignment_lineContext()
- func (s *Assignment_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Assignment_lineContext) Variable() IVariableContext
- func (s *Assignment_lineContext) Ws(i int) IWsContext
- type AtomContext
- func (s *AtomContext) Decimal() IDecimalContext
- func (s *AtomContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AtomContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AtomContext) GetParser() antlr.Parser
- func (s *AtomContext) GetRuleContext() antlr.RuleContext
- func (s *AtomContext) Inte() IInteContext
- func (*AtomContext) IsAtomContext()
- func (s *AtomContext) Label() ILabelContext
- func (s *AtomContext) Register() IRegisterContext
- func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AtomContext) Variable() IVariableContext
- type Axt_opcodeContext
- func (s *Axt_opcodeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Axt_opcodeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Axt_opcodeContext) GetParser() antlr.Parser
- func (s *Axt_opcodeContext) GetRuleContext() antlr.RuleContext
- func (*Axt_opcodeContext) IsAxt_opcodeContext()
- func (s *Axt_opcodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type BaseagcListener
- func (s *BaseagcListener) EnterArgument(ctx *ArgumentContext)
- func (s *BaseagcListener) EnterAssignment_line(ctx *Assignment_lineContext)
- func (s *BaseagcListener) EnterAtom(ctx *AtomContext)
- func (s *BaseagcListener) EnterAxt_opcode(ctx *Axt_opcodeContext)
- func (s *BaseagcListener) EnterBlank_line(ctx *Blank_lineContext)
- func (s *BaseagcListener) EnterComment(ctx *CommentContext)
- func (s *BaseagcListener) EnterComment_line(ctx *Comment_lineContext)
- func (s *BaseagcListener) EnterDecimal(ctx *DecimalContext)
- func (s *BaseagcListener) EnterEol(ctx *EolContext)
- func (s *BaseagcListener) EnterErase_line(ctx *Erase_lineContext)
- func (s *BaseagcListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseagcListener) EnterExpression(ctx *ExpressionContext)
- func (s *BaseagcListener) EnterInstruction_line(ctx *Instruction_lineContext)
- func (s *BaseagcListener) EnterInte(ctx *InteContext)
- func (s *BaseagcListener) EnterLabel(ctx *LabelContext)
- func (s *BaseagcListener) EnterLine(ctx *LineContext)
- func (s *BaseagcListener) EnterMultiplyingExpression(ctx *MultiplyingExpressionContext)
- func (s *BaseagcListener) EnterOpcode(ctx *OpcodeContext)
- func (s *BaseagcListener) EnterOpcodes(ctx *OpcodesContext)
- func (s *BaseagcListener) EnterProg(ctx *ProgContext)
- func (s *BaseagcListener) EnterPseudo_opcode(ctx *Pseudo_opcodeContext)
- func (s *BaseagcListener) EnterRegister(ctx *RegisterContext)
- func (s *BaseagcListener) EnterStandard_opcode(ctx *Standard_opcodeContext)
- func (s *BaseagcListener) EnterVariable(ctx *VariableContext)
- func (s *BaseagcListener) EnterWs(ctx *WsContext)
- func (s *BaseagcListener) ExitArgument(ctx *ArgumentContext)
- func (s *BaseagcListener) ExitAssignment_line(ctx *Assignment_lineContext)
- func (s *BaseagcListener) ExitAtom(ctx *AtomContext)
- func (s *BaseagcListener) ExitAxt_opcode(ctx *Axt_opcodeContext)
- func (s *BaseagcListener) ExitBlank_line(ctx *Blank_lineContext)
- func (s *BaseagcListener) ExitComment(ctx *CommentContext)
- func (s *BaseagcListener) ExitComment_line(ctx *Comment_lineContext)
- func (s *BaseagcListener) ExitDecimal(ctx *DecimalContext)
- func (s *BaseagcListener) ExitEol(ctx *EolContext)
- func (s *BaseagcListener) ExitErase_line(ctx *Erase_lineContext)
- func (s *BaseagcListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseagcListener) ExitExpression(ctx *ExpressionContext)
- func (s *BaseagcListener) ExitInstruction_line(ctx *Instruction_lineContext)
- func (s *BaseagcListener) ExitInte(ctx *InteContext)
- func (s *BaseagcListener) ExitLabel(ctx *LabelContext)
- func (s *BaseagcListener) ExitLine(ctx *LineContext)
- func (s *BaseagcListener) ExitMultiplyingExpression(ctx *MultiplyingExpressionContext)
- func (s *BaseagcListener) ExitOpcode(ctx *OpcodeContext)
- func (s *BaseagcListener) ExitOpcodes(ctx *OpcodesContext)
- func (s *BaseagcListener) ExitProg(ctx *ProgContext)
- func (s *BaseagcListener) ExitPseudo_opcode(ctx *Pseudo_opcodeContext)
- func (s *BaseagcListener) ExitRegister(ctx *RegisterContext)
- func (s *BaseagcListener) ExitStandard_opcode(ctx *Standard_opcodeContext)
- func (s *BaseagcListener) ExitVariable(ctx *VariableContext)
- func (s *BaseagcListener) ExitWs(ctx *WsContext)
- func (s *BaseagcListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseagcListener) VisitTerminal(node antlr.TerminalNode)
- type Blank_lineContext
- func (s *Blank_lineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Blank_lineContext) Eol() IEolContext
- func (s *Blank_lineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Blank_lineContext) GetParser() antlr.Parser
- func (s *Blank_lineContext) GetRuleContext() antlr.RuleContext
- func (*Blank_lineContext) IsBlank_lineContext()
- func (s *Blank_lineContext) Label() ILabelContext
- func (s *Blank_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CommentContext
- func (s *CommentContext) COMMENT() antlr.TerminalNode
- func (s *CommentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CommentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CommentContext) GetParser() antlr.Parser
- func (s *CommentContext) GetRuleContext() antlr.RuleContext
- func (*CommentContext) IsCommentContext()
- func (s *CommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Comment_lineContext
- func (s *Comment_lineContext) Comment() ICommentContext
- func (s *Comment_lineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Comment_lineContext) Eol() IEolContext
- func (s *Comment_lineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Comment_lineContext) GetParser() antlr.Parser
- func (s *Comment_lineContext) GetRuleContext() antlr.RuleContext
- func (*Comment_lineContext) IsComment_lineContext()
- func (s *Comment_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Comment_lineContext) Ws() IWsContext
- type DecimalContext
- func (s *DecimalContext) DECIMAL() antlr.TerminalNode
- func (s *DecimalContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DecimalContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DecimalContext) GetParser() antlr.Parser
- func (s *DecimalContext) GetRuleContext() antlr.RuleContext
- func (*DecimalContext) IsDecimalContext()
- func (s *DecimalContext) MINUS() antlr.TerminalNode
- func (s *DecimalContext) PLUS() antlr.TerminalNode
- func (s *DecimalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EolContext
- func (s *EolContext) EOL() antlr.TerminalNode
- func (s *EolContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EolContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EolContext) GetParser() antlr.Parser
- func (s *EolContext) GetRuleContext() antlr.RuleContext
- func (*EolContext) IsEolContext()
- func (s *EolContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *EolContext) WS() antlr.TerminalNode
- type Erase_lineContext
- func (s *Erase_lineContext) AllExpression() []IExpressionContext
- func (s *Erase_lineContext) AllWs() []IWsContext
- func (s *Erase_lineContext) Comment() ICommentContext
- func (s *Erase_lineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Erase_lineContext) Eol() IEolContext
- func (s *Erase_lineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Erase_lineContext) Expression(i int) IExpressionContext
- func (s *Erase_lineContext) GetParser() antlr.Parser
- func (s *Erase_lineContext) GetRuleContext() antlr.RuleContext
- func (*Erase_lineContext) IsErase_lineContext()
- func (s *Erase_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Erase_lineContext) Variable() IVariableContext
- func (s *Erase_lineContext) Ws(i int) IWsContext
- type ExpressionContext
- func (s *ExpressionContext) AllMINUS() []antlr.TerminalNode
- func (s *ExpressionContext) AllMultiplyingExpression() []IMultiplyingExpressionContext
- func (s *ExpressionContext) AllPLUS() []antlr.TerminalNode
- func (s *ExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExpressionContext) GetParser() antlr.Parser
- func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
- func (*ExpressionContext) IsExpressionContext()
- func (s *ExpressionContext) MINUS(i int) antlr.TerminalNode
- func (s *ExpressionContext) MultiplyingExpression(i int) IMultiplyingExpressionContext
- func (s *ExpressionContext) PLUS(i int) antlr.TerminalNode
- func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IArgumentContext
- type IAssignment_lineContext
- type IAtomContext
- type IAxt_opcodeContext
- type IBlank_lineContext
- type ICommentContext
- type IComment_lineContext
- type IDecimalContext
- type IEolContext
- type IErase_lineContext
- type IExpressionContext
- type IInstruction_lineContext
- type IInteContext
- type ILabelContext
- type ILineContext
- type IMultiplyingExpressionContext
- type IOpcodeContext
- type IOpcodesContext
- type IProgContext
- type IPseudo_opcodeContext
- type IRegisterContext
- type IStandard_opcodeContext
- type IVariableContext
- type IWsContext
- type Instruction_lineContext
- func (s *Instruction_lineContext) AllArgument() []IArgumentContext
- func (s *Instruction_lineContext) AllEol() []IEolContext
- func (s *Instruction_lineContext) Argument(i int) IArgumentContext
- func (s *Instruction_lineContext) Comment_line() IComment_lineContext
- func (s *Instruction_lineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Instruction_lineContext) Eol(i int) IEolContext
- func (s *Instruction_lineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Instruction_lineContext) GetParser() antlr.Parser
- func (s *Instruction_lineContext) GetRuleContext() antlr.RuleContext
- func (*Instruction_lineContext) IsInstruction_lineContext()
- func (s *Instruction_lineContext) Label() ILabelContext
- func (s *Instruction_lineContext) Opcodes() IOpcodesContext
- func (s *Instruction_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *Instruction_lineContext) Ws() IWsContext
- type InteContext
- func (s *InteContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *InteContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *InteContext) GetParser() antlr.Parser
- func (s *InteContext) GetRuleContext() antlr.RuleContext
- func (s *InteContext) INTE() antlr.TerminalNode
- func (*InteContext) IsInteContext()
- func (s *InteContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LabelContext
- 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 (*LabelContext) IsLabelContext()
- func (s *LabelContext) LABEL() antlr.TerminalNode
- func (s *LabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LineContext
- func (s *LineContext) Assignment_line() IAssignment_lineContext
- func (s *LineContext) Blank_line() IBlank_lineContext
- func (s *LineContext) Comment_line() IComment_lineContext
- func (s *LineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LineContext) Erase_line() IErase_lineContext
- func (s *LineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LineContext) GetParser() antlr.Parser
- func (s *LineContext) GetRuleContext() antlr.RuleContext
- func (s *LineContext) Instruction_line() IInstruction_lineContext
- func (*LineContext) IsLineContext()
- func (s *LineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MultiplyingExpressionContext
- func (s *MultiplyingExpressionContext) AllAtom() []IAtomContext
- func (s *MultiplyingExpressionContext) AllDIV() []antlr.TerminalNode
- func (s *MultiplyingExpressionContext) AllTIMES() []antlr.TerminalNode
- func (s *MultiplyingExpressionContext) Atom(i int) IAtomContext
- func (s *MultiplyingExpressionContext) DIV(i int) antlr.TerminalNode
- func (s *MultiplyingExpressionContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MultiplyingExpressionContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MultiplyingExpressionContext) GetParser() antlr.Parser
- func (s *MultiplyingExpressionContext) GetRuleContext() antlr.RuleContext
- func (*MultiplyingExpressionContext) IsMultiplyingExpressionContext()
- func (s *MultiplyingExpressionContext) TIMES(i int) antlr.TerminalNode
- func (s *MultiplyingExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OpcodeContext
- func (s *OpcodeContext) Axt_opcode() IAxt_opcodeContext
- func (s *OpcodeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OpcodeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OpcodeContext) GetParser() antlr.Parser
- func (s *OpcodeContext) GetRuleContext() antlr.RuleContext
- func (*OpcodeContext) IsOpcodeContext()
- func (s *OpcodeContext) Pseudo_opcode() IPseudo_opcodeContext
- func (s *OpcodeContext) Standard_opcode() IStandard_opcodeContext
- func (s *OpcodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OpcodesContext
- func (s *OpcodesContext) AllOpcode() []IOpcodeContext
- func (s *OpcodesContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OpcodesContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OpcodesContext) GetParser() antlr.Parser
- func (s *OpcodesContext) GetRuleContext() antlr.RuleContext
- func (*OpcodesContext) IsOpcodesContext()
- func (s *OpcodesContext) Opcode(i int) IOpcodeContext
- func (s *OpcodesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *OpcodesContext) Ws() IWsContext
- type ProgContext
- func (s *ProgContext) AllLine() []ILineContext
- func (s *ProgContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ProgContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ProgContext) GetParser() antlr.Parser
- func (s *ProgContext) GetRuleContext() antlr.RuleContext
- func (*ProgContext) IsProgContext()
- func (s *ProgContext) Line(i int) ILineContext
- func (s *ProgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Pseudo_opcodeContext
- func (s *Pseudo_opcodeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Pseudo_opcodeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Pseudo_opcodeContext) GetParser() antlr.Parser
- func (s *Pseudo_opcodeContext) GetRuleContext() antlr.RuleContext
- func (*Pseudo_opcodeContext) IsPseudo_opcodeContext()
- func (s *Pseudo_opcodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type RegisterContext
- func (s *RegisterContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RegisterContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RegisterContext) GetParser() antlr.Parser
- func (s *RegisterContext) GetRuleContext() antlr.RuleContext
- func (*RegisterContext) IsRegisterContext()
- func (s *RegisterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type Standard_opcodeContext
- func (s *Standard_opcodeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *Standard_opcodeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *Standard_opcodeContext) GetParser() antlr.Parser
- func (s *Standard_opcodeContext) GetRuleContext() antlr.RuleContext
- func (*Standard_opcodeContext) IsStandard_opcodeContext()
- func (s *Standard_opcodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type VariableContext
- 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 (*VariableContext) IsVariableContext()
- func (s *VariableContext) LABEL() antlr.TerminalNode
- func (s *VariableContext) LPAREN() antlr.TerminalNode
- func (s *VariableContext) RPAREN() antlr.TerminalNode
- func (s *VariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type WsContext
- func (s *WsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *WsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *WsContext) GetParser() antlr.Parser
- func (s *WsContext) GetRuleContext() antlr.RuleContext
- func (*WsContext) IsWsContext()
- func (s *WsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *WsContext) WS() antlr.TerminalNode
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewagcLexer ¶
func NewagcLexer(input antlr.CharStream) *agcLexer
func NewagcParser ¶
func NewagcParser(input antlr.TokenStream) *agcParser
Types ¶
type ArgumentContext ¶
type ArgumentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgumentContext ¶
func NewArgumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgumentContext
func NewEmptyArgumentContext ¶
func NewEmptyArgumentContext() *ArgumentContext
func (*ArgumentContext) AllExpression ¶
func (s *ArgumentContext) AllExpression() []IExpressionContext
func (*ArgumentContext) AllWs ¶
func (s *ArgumentContext) AllWs() []IWsContext
func (*ArgumentContext) Comment ¶
func (s *ArgumentContext) Comment() ICommentContext
func (*ArgumentContext) EnterRule ¶
func (s *ArgumentContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgumentContext) ExitRule ¶
func (s *ArgumentContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgumentContext) Expression ¶
func (s *ArgumentContext) Expression(i int) IExpressionContext
func (*ArgumentContext) GetParser ¶
func (s *ArgumentContext) GetParser() antlr.Parser
func (*ArgumentContext) GetRuleContext ¶
func (s *ArgumentContext) GetRuleContext() antlr.RuleContext
func (*ArgumentContext) IsArgumentContext ¶
func (*ArgumentContext) IsArgumentContext()
func (*ArgumentContext) ToStringTree ¶
func (s *ArgumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ArgumentContext) Ws ¶
func (s *ArgumentContext) Ws(i int) IWsContext
type Assignment_lineContext ¶
type Assignment_lineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAssignment_lineContext ¶
func NewAssignment_lineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Assignment_lineContext
func NewEmptyAssignment_lineContext ¶
func NewEmptyAssignment_lineContext() *Assignment_lineContext
func (*Assignment_lineContext) AllExpression ¶
func (s *Assignment_lineContext) AllExpression() []IExpressionContext
func (*Assignment_lineContext) AllWs ¶
func (s *Assignment_lineContext) AllWs() []IWsContext
func (*Assignment_lineContext) Comment ¶
func (s *Assignment_lineContext) Comment() ICommentContext
func (*Assignment_lineContext) EnterRule ¶
func (s *Assignment_lineContext) EnterRule(listener antlr.ParseTreeListener)
func (*Assignment_lineContext) Eol ¶
func (s *Assignment_lineContext) Eol() IEolContext
func (*Assignment_lineContext) ExitRule ¶
func (s *Assignment_lineContext) ExitRule(listener antlr.ParseTreeListener)
func (*Assignment_lineContext) Expression ¶
func (s *Assignment_lineContext) Expression(i int) IExpressionContext
func (*Assignment_lineContext) GetParser ¶
func (s *Assignment_lineContext) GetParser() antlr.Parser
func (*Assignment_lineContext) GetRuleContext ¶
func (s *Assignment_lineContext) GetRuleContext() antlr.RuleContext
func (*Assignment_lineContext) IsAssignment_lineContext ¶
func (*Assignment_lineContext) IsAssignment_lineContext()
func (*Assignment_lineContext) ToStringTree ¶
func (s *Assignment_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Assignment_lineContext) Variable ¶
func (s *Assignment_lineContext) Variable() IVariableContext
func (*Assignment_lineContext) Ws ¶
func (s *Assignment_lineContext) Ws(i int) IWsContext
type AtomContext ¶
type AtomContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAtomContext ¶
func NewAtomContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AtomContext
func NewEmptyAtomContext ¶
func NewEmptyAtomContext() *AtomContext
func (*AtomContext) Decimal ¶
func (s *AtomContext) Decimal() IDecimalContext
func (*AtomContext) EnterRule ¶
func (s *AtomContext) EnterRule(listener antlr.ParseTreeListener)
func (*AtomContext) ExitRule ¶
func (s *AtomContext) ExitRule(listener antlr.ParseTreeListener)
func (*AtomContext) GetParser ¶
func (s *AtomContext) GetParser() antlr.Parser
func (*AtomContext) GetRuleContext ¶
func (s *AtomContext) GetRuleContext() antlr.RuleContext
func (*AtomContext) Inte ¶
func (s *AtomContext) Inte() IInteContext
func (*AtomContext) IsAtomContext ¶
func (*AtomContext) IsAtomContext()
func (*AtomContext) Label ¶
func (s *AtomContext) Label() ILabelContext
func (*AtomContext) Register ¶
func (s *AtomContext) Register() IRegisterContext
func (*AtomContext) ToStringTree ¶
func (s *AtomContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AtomContext) Variable ¶
func (s *AtomContext) Variable() IVariableContext
type Axt_opcodeContext ¶
type Axt_opcodeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAxt_opcodeContext ¶
func NewAxt_opcodeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Axt_opcodeContext
func NewEmptyAxt_opcodeContext ¶
func NewEmptyAxt_opcodeContext() *Axt_opcodeContext
func (*Axt_opcodeContext) EnterRule ¶
func (s *Axt_opcodeContext) EnterRule(listener antlr.ParseTreeListener)
func (*Axt_opcodeContext) ExitRule ¶
func (s *Axt_opcodeContext) ExitRule(listener antlr.ParseTreeListener)
func (*Axt_opcodeContext) GetParser ¶
func (s *Axt_opcodeContext) GetParser() antlr.Parser
func (*Axt_opcodeContext) GetRuleContext ¶
func (s *Axt_opcodeContext) GetRuleContext() antlr.RuleContext
func (*Axt_opcodeContext) IsAxt_opcodeContext ¶
func (*Axt_opcodeContext) IsAxt_opcodeContext()
func (*Axt_opcodeContext) ToStringTree ¶
func (s *Axt_opcodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type BaseagcListener ¶
type BaseagcListener struct{}
BaseagcListener is a complete listener for a parse tree produced by agcParser.
func (*BaseagcListener) EnterArgument ¶
func (s *BaseagcListener) EnterArgument(ctx *ArgumentContext)
EnterArgument is called when production argument is entered.
func (*BaseagcListener) EnterAssignment_line ¶
func (s *BaseagcListener) EnterAssignment_line(ctx *Assignment_lineContext)
EnterAssignment_line is called when production assignment_line is entered.
func (*BaseagcListener) EnterAtom ¶
func (s *BaseagcListener) EnterAtom(ctx *AtomContext)
EnterAtom is called when production atom is entered.
func (*BaseagcListener) EnterAxt_opcode ¶
func (s *BaseagcListener) EnterAxt_opcode(ctx *Axt_opcodeContext)
EnterAxt_opcode is called when production axt_opcode is entered.
func (*BaseagcListener) EnterBlank_line ¶
func (s *BaseagcListener) EnterBlank_line(ctx *Blank_lineContext)
EnterBlank_line is called when production blank_line is entered.
func (*BaseagcListener) EnterComment ¶
func (s *BaseagcListener) EnterComment(ctx *CommentContext)
EnterComment is called when production comment is entered.
func (*BaseagcListener) EnterComment_line ¶
func (s *BaseagcListener) EnterComment_line(ctx *Comment_lineContext)
EnterComment_line is called when production comment_line is entered.
func (*BaseagcListener) EnterDecimal ¶
func (s *BaseagcListener) EnterDecimal(ctx *DecimalContext)
EnterDecimal is called when production decimal is entered.
func (*BaseagcListener) EnterEol ¶
func (s *BaseagcListener) EnterEol(ctx *EolContext)
EnterEol is called when production eol is entered.
func (*BaseagcListener) EnterErase_line ¶
func (s *BaseagcListener) EnterErase_line(ctx *Erase_lineContext)
EnterErase_line is called when production erase_line is entered.
func (*BaseagcListener) EnterEveryRule ¶
func (s *BaseagcListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseagcListener) EnterExpression ¶
func (s *BaseagcListener) EnterExpression(ctx *ExpressionContext)
EnterExpression is called when production expression is entered.
func (*BaseagcListener) EnterInstruction_line ¶
func (s *BaseagcListener) EnterInstruction_line(ctx *Instruction_lineContext)
EnterInstruction_line is called when production instruction_line is entered.
func (*BaseagcListener) EnterInte ¶
func (s *BaseagcListener) EnterInte(ctx *InteContext)
EnterInte is called when production inte is entered.
func (*BaseagcListener) EnterLabel ¶
func (s *BaseagcListener) EnterLabel(ctx *LabelContext)
EnterLabel is called when production label is entered.
func (*BaseagcListener) EnterLine ¶
func (s *BaseagcListener) EnterLine(ctx *LineContext)
EnterLine is called when production line is entered.
func (*BaseagcListener) EnterMultiplyingExpression ¶
func (s *BaseagcListener) EnterMultiplyingExpression(ctx *MultiplyingExpressionContext)
EnterMultiplyingExpression is called when production multiplyingExpression is entered.
func (*BaseagcListener) EnterOpcode ¶
func (s *BaseagcListener) EnterOpcode(ctx *OpcodeContext)
EnterOpcode is called when production opcode is entered.
func (*BaseagcListener) EnterOpcodes ¶
func (s *BaseagcListener) EnterOpcodes(ctx *OpcodesContext)
EnterOpcodes is called when production opcodes is entered.
func (*BaseagcListener) EnterProg ¶
func (s *BaseagcListener) EnterProg(ctx *ProgContext)
EnterProg is called when production prog is entered.
func (*BaseagcListener) EnterPseudo_opcode ¶
func (s *BaseagcListener) EnterPseudo_opcode(ctx *Pseudo_opcodeContext)
EnterPseudo_opcode is called when production pseudo_opcode is entered.
func (*BaseagcListener) EnterRegister ¶
func (s *BaseagcListener) EnterRegister(ctx *RegisterContext)
EnterRegister is called when production register is entered.
func (*BaseagcListener) EnterStandard_opcode ¶
func (s *BaseagcListener) EnterStandard_opcode(ctx *Standard_opcodeContext)
EnterStandard_opcode is called when production standard_opcode is entered.
func (*BaseagcListener) EnterVariable ¶
func (s *BaseagcListener) EnterVariable(ctx *VariableContext)
EnterVariable is called when production variable is entered.
func (*BaseagcListener) EnterWs ¶
func (s *BaseagcListener) EnterWs(ctx *WsContext)
EnterWs is called when production ws is entered.
func (*BaseagcListener) ExitArgument ¶
func (s *BaseagcListener) ExitArgument(ctx *ArgumentContext)
ExitArgument is called when production argument is exited.
func (*BaseagcListener) ExitAssignment_line ¶
func (s *BaseagcListener) ExitAssignment_line(ctx *Assignment_lineContext)
ExitAssignment_line is called when production assignment_line is exited.
func (*BaseagcListener) ExitAtom ¶
func (s *BaseagcListener) ExitAtom(ctx *AtomContext)
ExitAtom is called when production atom is exited.
func (*BaseagcListener) ExitAxt_opcode ¶
func (s *BaseagcListener) ExitAxt_opcode(ctx *Axt_opcodeContext)
ExitAxt_opcode is called when production axt_opcode is exited.
func (*BaseagcListener) ExitBlank_line ¶
func (s *BaseagcListener) ExitBlank_line(ctx *Blank_lineContext)
ExitBlank_line is called when production blank_line is exited.
func (*BaseagcListener) ExitComment ¶
func (s *BaseagcListener) ExitComment(ctx *CommentContext)
ExitComment is called when production comment is exited.
func (*BaseagcListener) ExitComment_line ¶
func (s *BaseagcListener) ExitComment_line(ctx *Comment_lineContext)
ExitComment_line is called when production comment_line is exited.
func (*BaseagcListener) ExitDecimal ¶
func (s *BaseagcListener) ExitDecimal(ctx *DecimalContext)
ExitDecimal is called when production decimal is exited.
func (*BaseagcListener) ExitEol ¶
func (s *BaseagcListener) ExitEol(ctx *EolContext)
ExitEol is called when production eol is exited.
func (*BaseagcListener) ExitErase_line ¶
func (s *BaseagcListener) ExitErase_line(ctx *Erase_lineContext)
ExitErase_line is called when production erase_line is exited.
func (*BaseagcListener) ExitEveryRule ¶
func (s *BaseagcListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseagcListener) ExitExpression ¶
func (s *BaseagcListener) ExitExpression(ctx *ExpressionContext)
ExitExpression is called when production expression is exited.
func (*BaseagcListener) ExitInstruction_line ¶
func (s *BaseagcListener) ExitInstruction_line(ctx *Instruction_lineContext)
ExitInstruction_line is called when production instruction_line is exited.
func (*BaseagcListener) ExitInte ¶
func (s *BaseagcListener) ExitInte(ctx *InteContext)
ExitInte is called when production inte is exited.
func (*BaseagcListener) ExitLabel ¶
func (s *BaseagcListener) ExitLabel(ctx *LabelContext)
ExitLabel is called when production label is exited.
func (*BaseagcListener) ExitLine ¶
func (s *BaseagcListener) ExitLine(ctx *LineContext)
ExitLine is called when production line is exited.
func (*BaseagcListener) ExitMultiplyingExpression ¶
func (s *BaseagcListener) ExitMultiplyingExpression(ctx *MultiplyingExpressionContext)
ExitMultiplyingExpression is called when production multiplyingExpression is exited.
func (*BaseagcListener) ExitOpcode ¶
func (s *BaseagcListener) ExitOpcode(ctx *OpcodeContext)
ExitOpcode is called when production opcode is exited.
func (*BaseagcListener) ExitOpcodes ¶
func (s *BaseagcListener) ExitOpcodes(ctx *OpcodesContext)
ExitOpcodes is called when production opcodes is exited.
func (*BaseagcListener) ExitProg ¶
func (s *BaseagcListener) ExitProg(ctx *ProgContext)
ExitProg is called when production prog is exited.
func (*BaseagcListener) ExitPseudo_opcode ¶
func (s *BaseagcListener) ExitPseudo_opcode(ctx *Pseudo_opcodeContext)
ExitPseudo_opcode is called when production pseudo_opcode is exited.
func (*BaseagcListener) ExitRegister ¶
func (s *BaseagcListener) ExitRegister(ctx *RegisterContext)
ExitRegister is called when production register is exited.
func (*BaseagcListener) ExitStandard_opcode ¶
func (s *BaseagcListener) ExitStandard_opcode(ctx *Standard_opcodeContext)
ExitStandard_opcode is called when production standard_opcode is exited.
func (*BaseagcListener) ExitVariable ¶
func (s *BaseagcListener) ExitVariable(ctx *VariableContext)
ExitVariable is called when production variable is exited.
func (*BaseagcListener) ExitWs ¶
func (s *BaseagcListener) ExitWs(ctx *WsContext)
ExitWs is called when production ws is exited.
func (*BaseagcListener) VisitErrorNode ¶
func (s *BaseagcListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseagcListener) VisitTerminal ¶
func (s *BaseagcListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type Blank_lineContext ¶
type Blank_lineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBlank_lineContext ¶
func NewBlank_lineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Blank_lineContext
func NewEmptyBlank_lineContext ¶
func NewEmptyBlank_lineContext() *Blank_lineContext
func (*Blank_lineContext) EnterRule ¶
func (s *Blank_lineContext) EnterRule(listener antlr.ParseTreeListener)
func (*Blank_lineContext) Eol ¶
func (s *Blank_lineContext) Eol() IEolContext
func (*Blank_lineContext) ExitRule ¶
func (s *Blank_lineContext) ExitRule(listener antlr.ParseTreeListener)
func (*Blank_lineContext) GetParser ¶
func (s *Blank_lineContext) GetParser() antlr.Parser
func (*Blank_lineContext) GetRuleContext ¶
func (s *Blank_lineContext) GetRuleContext() antlr.RuleContext
func (*Blank_lineContext) IsBlank_lineContext ¶
func (*Blank_lineContext) IsBlank_lineContext()
func (*Blank_lineContext) Label ¶
func (s *Blank_lineContext) Label() ILabelContext
func (*Blank_lineContext) ToStringTree ¶
func (s *Blank_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CommentContext ¶
type CommentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommentContext ¶
func NewCommentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommentContext
func NewEmptyCommentContext ¶
func NewEmptyCommentContext() *CommentContext
func (*CommentContext) COMMENT ¶
func (s *CommentContext) COMMENT() antlr.TerminalNode
func (*CommentContext) EnterRule ¶
func (s *CommentContext) EnterRule(listener antlr.ParseTreeListener)
func (*CommentContext) ExitRule ¶
func (s *CommentContext) ExitRule(listener antlr.ParseTreeListener)
func (*CommentContext) GetParser ¶
func (s *CommentContext) GetParser() antlr.Parser
func (*CommentContext) GetRuleContext ¶
func (s *CommentContext) GetRuleContext() antlr.RuleContext
func (*CommentContext) IsCommentContext ¶
func (*CommentContext) IsCommentContext()
func (*CommentContext) ToStringTree ¶
func (s *CommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Comment_lineContext ¶
type Comment_lineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewComment_lineContext ¶
func NewComment_lineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Comment_lineContext
func NewEmptyComment_lineContext ¶
func NewEmptyComment_lineContext() *Comment_lineContext
func (*Comment_lineContext) Comment ¶
func (s *Comment_lineContext) Comment() ICommentContext
func (*Comment_lineContext) EnterRule ¶
func (s *Comment_lineContext) EnterRule(listener antlr.ParseTreeListener)
func (*Comment_lineContext) Eol ¶
func (s *Comment_lineContext) Eol() IEolContext
func (*Comment_lineContext) ExitRule ¶
func (s *Comment_lineContext) ExitRule(listener antlr.ParseTreeListener)
func (*Comment_lineContext) GetParser ¶
func (s *Comment_lineContext) GetParser() antlr.Parser
func (*Comment_lineContext) GetRuleContext ¶
func (s *Comment_lineContext) GetRuleContext() antlr.RuleContext
func (*Comment_lineContext) IsComment_lineContext ¶
func (*Comment_lineContext) IsComment_lineContext()
func (*Comment_lineContext) ToStringTree ¶
func (s *Comment_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Comment_lineContext) Ws ¶
func (s *Comment_lineContext) Ws() IWsContext
type DecimalContext ¶
type DecimalContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDecimalContext ¶
func NewDecimalContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DecimalContext
func NewEmptyDecimalContext ¶
func NewEmptyDecimalContext() *DecimalContext
func (*DecimalContext) DECIMAL ¶
func (s *DecimalContext) DECIMAL() antlr.TerminalNode
func (*DecimalContext) EnterRule ¶
func (s *DecimalContext) EnterRule(listener antlr.ParseTreeListener)
func (*DecimalContext) ExitRule ¶
func (s *DecimalContext) ExitRule(listener antlr.ParseTreeListener)
func (*DecimalContext) GetParser ¶
func (s *DecimalContext) GetParser() antlr.Parser
func (*DecimalContext) GetRuleContext ¶
func (s *DecimalContext) GetRuleContext() antlr.RuleContext
func (*DecimalContext) IsDecimalContext ¶
func (*DecimalContext) IsDecimalContext()
func (*DecimalContext) MINUS ¶
func (s *DecimalContext) MINUS() antlr.TerminalNode
func (*DecimalContext) PLUS ¶
func (s *DecimalContext) PLUS() antlr.TerminalNode
func (*DecimalContext) ToStringTree ¶
func (s *DecimalContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EolContext ¶
type EolContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEolContext ¶
func NewEmptyEolContext() *EolContext
func NewEolContext ¶
func NewEolContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EolContext
func (*EolContext) EOL ¶
func (s *EolContext) EOL() antlr.TerminalNode
func (*EolContext) EnterRule ¶
func (s *EolContext) EnterRule(listener antlr.ParseTreeListener)
func (*EolContext) ExitRule ¶
func (s *EolContext) ExitRule(listener antlr.ParseTreeListener)
func (*EolContext) GetParser ¶
func (s *EolContext) GetParser() antlr.Parser
func (*EolContext) GetRuleContext ¶
func (s *EolContext) GetRuleContext() antlr.RuleContext
func (*EolContext) IsEolContext ¶
func (*EolContext) IsEolContext()
func (*EolContext) ToStringTree ¶
func (s *EolContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*EolContext) WS ¶
func (s *EolContext) WS() antlr.TerminalNode
type Erase_lineContext ¶
type Erase_lineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyErase_lineContext ¶
func NewEmptyErase_lineContext() *Erase_lineContext
func NewErase_lineContext ¶
func NewErase_lineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Erase_lineContext
func (*Erase_lineContext) AllExpression ¶
func (s *Erase_lineContext) AllExpression() []IExpressionContext
func (*Erase_lineContext) AllWs ¶
func (s *Erase_lineContext) AllWs() []IWsContext
func (*Erase_lineContext) Comment ¶
func (s *Erase_lineContext) Comment() ICommentContext
func (*Erase_lineContext) EnterRule ¶
func (s *Erase_lineContext) EnterRule(listener antlr.ParseTreeListener)
func (*Erase_lineContext) Eol ¶
func (s *Erase_lineContext) Eol() IEolContext
func (*Erase_lineContext) ExitRule ¶
func (s *Erase_lineContext) ExitRule(listener antlr.ParseTreeListener)
func (*Erase_lineContext) Expression ¶
func (s *Erase_lineContext) Expression(i int) IExpressionContext
func (*Erase_lineContext) GetParser ¶
func (s *Erase_lineContext) GetParser() antlr.Parser
func (*Erase_lineContext) GetRuleContext ¶
func (s *Erase_lineContext) GetRuleContext() antlr.RuleContext
func (*Erase_lineContext) IsErase_lineContext ¶
func (*Erase_lineContext) IsErase_lineContext()
func (*Erase_lineContext) ToStringTree ¶
func (s *Erase_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Erase_lineContext) Variable ¶
func (s *Erase_lineContext) Variable() IVariableContext
func (*Erase_lineContext) Ws ¶
func (s *Erase_lineContext) Ws(i int) IWsContext
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) AllMINUS ¶
func (s *ExpressionContext) AllMINUS() []antlr.TerminalNode
func (*ExpressionContext) AllMultiplyingExpression ¶
func (s *ExpressionContext) AllMultiplyingExpression() []IMultiplyingExpressionContext
func (*ExpressionContext) AllPLUS ¶
func (s *ExpressionContext) AllPLUS() []antlr.TerminalNode
func (*ExpressionContext) EnterRule ¶
func (s *ExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExpressionContext) ExitRule ¶
func (s *ExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExpressionContext) GetParser ¶
func (s *ExpressionContext) GetParser() antlr.Parser
func (*ExpressionContext) GetRuleContext ¶
func (s *ExpressionContext) GetRuleContext() antlr.RuleContext
func (*ExpressionContext) IsExpressionContext ¶
func (*ExpressionContext) IsExpressionContext()
func (*ExpressionContext) MINUS ¶
func (s *ExpressionContext) MINUS(i int) antlr.TerminalNode
func (*ExpressionContext) MultiplyingExpression ¶
func (s *ExpressionContext) MultiplyingExpression(i int) IMultiplyingExpressionContext
func (*ExpressionContext) PLUS ¶
func (s *ExpressionContext) PLUS(i int) antlr.TerminalNode
func (*ExpressionContext) ToStringTree ¶
func (s *ExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IArgumentContext ¶
type IArgumentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArgumentContext differentiates from other interfaces. IsArgumentContext() }
IArgumentContext is an interface to support dynamic dispatch.
type IAssignment_lineContext ¶
type IAssignment_lineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAssignment_lineContext differentiates from other interfaces. IsAssignment_lineContext() }
IAssignment_lineContext is an interface to support dynamic dispatch.
type IAtomContext ¶
type IAtomContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAtomContext differentiates from other interfaces. IsAtomContext() }
IAtomContext is an interface to support dynamic dispatch.
type IAxt_opcodeContext ¶
type IAxt_opcodeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAxt_opcodeContext differentiates from other interfaces. IsAxt_opcodeContext() }
IAxt_opcodeContext is an interface to support dynamic dispatch.
type IBlank_lineContext ¶
type IBlank_lineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBlank_lineContext differentiates from other interfaces. IsBlank_lineContext() }
IBlank_lineContext is an interface to support dynamic dispatch.
type ICommentContext ¶
type ICommentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCommentContext differentiates from other interfaces. IsCommentContext() }
ICommentContext is an interface to support dynamic dispatch.
type IComment_lineContext ¶
type IComment_lineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsComment_lineContext differentiates from other interfaces. IsComment_lineContext() }
IComment_lineContext is an interface to support dynamic dispatch.
type IDecimalContext ¶
type IDecimalContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDecimalContext differentiates from other interfaces. IsDecimalContext() }
IDecimalContext is an interface to support dynamic dispatch.
type IEolContext ¶
type IEolContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEolContext differentiates from other interfaces. IsEolContext() }
IEolContext is an interface to support dynamic dispatch.
type IErase_lineContext ¶
type IErase_lineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsErase_lineContext differentiates from other interfaces. IsErase_lineContext() }
IErase_lineContext 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 IInstruction_lineContext ¶
type IInstruction_lineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsInstruction_lineContext differentiates from other interfaces. IsInstruction_lineContext() }
IInstruction_lineContext is an interface to support dynamic dispatch.
type IInteContext ¶
type IInteContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsInteContext differentiates from other interfaces. IsInteContext() }
IInteContext 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 IMultiplyingExpressionContext ¶
type IMultiplyingExpressionContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMultiplyingExpressionContext differentiates from other interfaces. IsMultiplyingExpressionContext() }
IMultiplyingExpressionContext is an interface to support dynamic dispatch.
type IOpcodeContext ¶
type IOpcodeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsOpcodeContext differentiates from other interfaces. IsOpcodeContext() }
IOpcodeContext is an interface to support dynamic dispatch.
type IOpcodesContext ¶
type IOpcodesContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsOpcodesContext differentiates from other interfaces. IsOpcodesContext() }
IOpcodesContext is an interface to support dynamic dispatch.
type IProgContext ¶
type IProgContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsProgContext differentiates from other interfaces. IsProgContext() }
IProgContext is an interface to support dynamic dispatch.
type IPseudo_opcodeContext ¶
type IPseudo_opcodeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsPseudo_opcodeContext differentiates from other interfaces. IsPseudo_opcodeContext() }
IPseudo_opcodeContext is an interface to support dynamic dispatch.
type IRegisterContext ¶
type IRegisterContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRegisterContext differentiates from other interfaces. IsRegisterContext() }
IRegisterContext is an interface to support dynamic dispatch.
type IStandard_opcodeContext ¶
type IStandard_opcodeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStandard_opcodeContext differentiates from other interfaces. IsStandard_opcodeContext() }
IStandard_opcodeContext 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 IWsContext ¶
type IWsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWsContext differentiates from other interfaces. IsWsContext() }
IWsContext is an interface to support dynamic dispatch.
type Instruction_lineContext ¶
type Instruction_lineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInstruction_lineContext ¶
func NewEmptyInstruction_lineContext() *Instruction_lineContext
func NewInstruction_lineContext ¶
func NewInstruction_lineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Instruction_lineContext
func (*Instruction_lineContext) AllArgument ¶
func (s *Instruction_lineContext) AllArgument() []IArgumentContext
func (*Instruction_lineContext) AllEol ¶
func (s *Instruction_lineContext) AllEol() []IEolContext
func (*Instruction_lineContext) Argument ¶
func (s *Instruction_lineContext) Argument(i int) IArgumentContext
func (*Instruction_lineContext) Comment_line ¶
func (s *Instruction_lineContext) Comment_line() IComment_lineContext
func (*Instruction_lineContext) EnterRule ¶
func (s *Instruction_lineContext) EnterRule(listener antlr.ParseTreeListener)
func (*Instruction_lineContext) Eol ¶
func (s *Instruction_lineContext) Eol(i int) IEolContext
func (*Instruction_lineContext) ExitRule ¶
func (s *Instruction_lineContext) ExitRule(listener antlr.ParseTreeListener)
func (*Instruction_lineContext) GetParser ¶
func (s *Instruction_lineContext) GetParser() antlr.Parser
func (*Instruction_lineContext) GetRuleContext ¶
func (s *Instruction_lineContext) GetRuleContext() antlr.RuleContext
func (*Instruction_lineContext) IsInstruction_lineContext ¶
func (*Instruction_lineContext) IsInstruction_lineContext()
func (*Instruction_lineContext) Label ¶
func (s *Instruction_lineContext) Label() ILabelContext
func (*Instruction_lineContext) Opcodes ¶
func (s *Instruction_lineContext) Opcodes() IOpcodesContext
func (*Instruction_lineContext) ToStringTree ¶
func (s *Instruction_lineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*Instruction_lineContext) Ws ¶
func (s *Instruction_lineContext) Ws() IWsContext
type InteContext ¶
type InteContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyInteContext ¶
func NewEmptyInteContext() *InteContext
func NewInteContext ¶
func NewInteContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InteContext
func (*InteContext) EnterRule ¶
func (s *InteContext) EnterRule(listener antlr.ParseTreeListener)
func (*InteContext) ExitRule ¶
func (s *InteContext) ExitRule(listener antlr.ParseTreeListener)
func (*InteContext) GetParser ¶
func (s *InteContext) GetParser() antlr.Parser
func (*InteContext) GetRuleContext ¶
func (s *InteContext) GetRuleContext() antlr.RuleContext
func (*InteContext) INTE ¶
func (s *InteContext) INTE() antlr.TerminalNode
func (*InteContext) IsInteContext ¶
func (*InteContext) IsInteContext()
func (*InteContext) ToStringTree ¶
func (s *InteContext) 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) 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) IsLabelContext ¶
func (*LabelContext) IsLabelContext()
func (*LabelContext) LABEL ¶
func (s *LabelContext) LABEL() 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) Assignment_line ¶
func (s *LineContext) Assignment_line() IAssignment_lineContext
func (*LineContext) Blank_line ¶
func (s *LineContext) Blank_line() IBlank_lineContext
func (*LineContext) Comment_line ¶
func (s *LineContext) Comment_line() IComment_lineContext
func (*LineContext) EnterRule ¶
func (s *LineContext) EnterRule(listener antlr.ParseTreeListener)
func (*LineContext) Erase_line ¶
func (s *LineContext) Erase_line() IErase_lineContext
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) Instruction_line ¶
func (s *LineContext) Instruction_line() IInstruction_lineContext
func (*LineContext) IsLineContext ¶
func (*LineContext) IsLineContext()
func (*LineContext) ToStringTree ¶
func (s *LineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MultiplyingExpressionContext ¶
type MultiplyingExpressionContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMultiplyingExpressionContext ¶
func NewEmptyMultiplyingExpressionContext() *MultiplyingExpressionContext
func NewMultiplyingExpressionContext ¶
func NewMultiplyingExpressionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MultiplyingExpressionContext
func (*MultiplyingExpressionContext) AllAtom ¶
func (s *MultiplyingExpressionContext) AllAtom() []IAtomContext
func (*MultiplyingExpressionContext) AllDIV ¶
func (s *MultiplyingExpressionContext) AllDIV() []antlr.TerminalNode
func (*MultiplyingExpressionContext) AllTIMES ¶
func (s *MultiplyingExpressionContext) AllTIMES() []antlr.TerminalNode
func (*MultiplyingExpressionContext) Atom ¶
func (s *MultiplyingExpressionContext) Atom(i int) IAtomContext
func (*MultiplyingExpressionContext) DIV ¶
func (s *MultiplyingExpressionContext) DIV(i int) antlr.TerminalNode
func (*MultiplyingExpressionContext) EnterRule ¶
func (s *MultiplyingExpressionContext) EnterRule(listener antlr.ParseTreeListener)
func (*MultiplyingExpressionContext) ExitRule ¶
func (s *MultiplyingExpressionContext) ExitRule(listener antlr.ParseTreeListener)
func (*MultiplyingExpressionContext) GetParser ¶
func (s *MultiplyingExpressionContext) GetParser() antlr.Parser
func (*MultiplyingExpressionContext) GetRuleContext ¶
func (s *MultiplyingExpressionContext) GetRuleContext() antlr.RuleContext
func (*MultiplyingExpressionContext) IsMultiplyingExpressionContext ¶
func (*MultiplyingExpressionContext) IsMultiplyingExpressionContext()
func (*MultiplyingExpressionContext) TIMES ¶
func (s *MultiplyingExpressionContext) TIMES(i int) antlr.TerminalNode
func (*MultiplyingExpressionContext) ToStringTree ¶
func (s *MultiplyingExpressionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OpcodeContext ¶
type OpcodeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOpcodeContext ¶
func NewEmptyOpcodeContext() *OpcodeContext
func NewOpcodeContext ¶
func NewOpcodeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OpcodeContext
func (*OpcodeContext) Axt_opcode ¶
func (s *OpcodeContext) Axt_opcode() IAxt_opcodeContext
func (*OpcodeContext) EnterRule ¶
func (s *OpcodeContext) EnterRule(listener antlr.ParseTreeListener)
func (*OpcodeContext) ExitRule ¶
func (s *OpcodeContext) ExitRule(listener antlr.ParseTreeListener)
func (*OpcodeContext) GetParser ¶
func (s *OpcodeContext) GetParser() antlr.Parser
func (*OpcodeContext) GetRuleContext ¶
func (s *OpcodeContext) GetRuleContext() antlr.RuleContext
func (*OpcodeContext) IsOpcodeContext ¶
func (*OpcodeContext) IsOpcodeContext()
func (*OpcodeContext) Pseudo_opcode ¶
func (s *OpcodeContext) Pseudo_opcode() IPseudo_opcodeContext
func (*OpcodeContext) Standard_opcode ¶
func (s *OpcodeContext) Standard_opcode() IStandard_opcodeContext
func (*OpcodeContext) ToStringTree ¶
func (s *OpcodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OpcodesContext ¶
type OpcodesContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOpcodesContext ¶
func NewEmptyOpcodesContext() *OpcodesContext
func NewOpcodesContext ¶
func NewOpcodesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OpcodesContext
func (*OpcodesContext) AllOpcode ¶
func (s *OpcodesContext) AllOpcode() []IOpcodeContext
func (*OpcodesContext) EnterRule ¶
func (s *OpcodesContext) EnterRule(listener antlr.ParseTreeListener)
func (*OpcodesContext) ExitRule ¶
func (s *OpcodesContext) ExitRule(listener antlr.ParseTreeListener)
func (*OpcodesContext) GetParser ¶
func (s *OpcodesContext) GetParser() antlr.Parser
func (*OpcodesContext) GetRuleContext ¶
func (s *OpcodesContext) GetRuleContext() antlr.RuleContext
func (*OpcodesContext) IsOpcodesContext ¶
func (*OpcodesContext) IsOpcodesContext()
func (*OpcodesContext) Opcode ¶
func (s *OpcodesContext) Opcode(i int) IOpcodeContext
func (*OpcodesContext) ToStringTree ¶
func (s *OpcodesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*OpcodesContext) Ws ¶
func (s *OpcodesContext) Ws() IWsContext
type ProgContext ¶
type ProgContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyProgContext ¶
func NewEmptyProgContext() *ProgContext
func NewProgContext ¶
func NewProgContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgContext
func (*ProgContext) AllLine ¶
func (s *ProgContext) AllLine() []ILineContext
func (*ProgContext) EnterRule ¶
func (s *ProgContext) EnterRule(listener antlr.ParseTreeListener)
func (*ProgContext) ExitRule ¶
func (s *ProgContext) ExitRule(listener antlr.ParseTreeListener)
func (*ProgContext) GetParser ¶
func (s *ProgContext) GetParser() antlr.Parser
func (*ProgContext) GetRuleContext ¶
func (s *ProgContext) GetRuleContext() antlr.RuleContext
func (*ProgContext) IsProgContext ¶
func (*ProgContext) IsProgContext()
func (*ProgContext) Line ¶
func (s *ProgContext) Line(i int) ILineContext
func (*ProgContext) ToStringTree ¶
func (s *ProgContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Pseudo_opcodeContext ¶
type Pseudo_opcodeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyPseudo_opcodeContext ¶
func NewEmptyPseudo_opcodeContext() *Pseudo_opcodeContext
func NewPseudo_opcodeContext ¶
func NewPseudo_opcodeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Pseudo_opcodeContext
func (*Pseudo_opcodeContext) EnterRule ¶
func (s *Pseudo_opcodeContext) EnterRule(listener antlr.ParseTreeListener)
func (*Pseudo_opcodeContext) ExitRule ¶
func (s *Pseudo_opcodeContext) ExitRule(listener antlr.ParseTreeListener)
func (*Pseudo_opcodeContext) GetParser ¶
func (s *Pseudo_opcodeContext) GetParser() antlr.Parser
func (*Pseudo_opcodeContext) GetRuleContext ¶
func (s *Pseudo_opcodeContext) GetRuleContext() antlr.RuleContext
func (*Pseudo_opcodeContext) IsPseudo_opcodeContext ¶
func (*Pseudo_opcodeContext) IsPseudo_opcodeContext()
func (*Pseudo_opcodeContext) ToStringTree ¶
func (s *Pseudo_opcodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type RegisterContext ¶
type RegisterContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRegisterContext ¶
func NewEmptyRegisterContext() *RegisterContext
func NewRegisterContext ¶
func NewRegisterContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RegisterContext
func (*RegisterContext) EnterRule ¶
func (s *RegisterContext) EnterRule(listener antlr.ParseTreeListener)
func (*RegisterContext) ExitRule ¶
func (s *RegisterContext) ExitRule(listener antlr.ParseTreeListener)
func (*RegisterContext) GetParser ¶
func (s *RegisterContext) GetParser() antlr.Parser
func (*RegisterContext) GetRuleContext ¶
func (s *RegisterContext) GetRuleContext() antlr.RuleContext
func (*RegisterContext) IsRegisterContext ¶
func (*RegisterContext) IsRegisterContext()
func (*RegisterContext) ToStringTree ¶
func (s *RegisterContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type Standard_opcodeContext ¶
type Standard_opcodeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStandard_opcodeContext ¶
func NewEmptyStandard_opcodeContext() *Standard_opcodeContext
func NewStandard_opcodeContext ¶
func NewStandard_opcodeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *Standard_opcodeContext
func (*Standard_opcodeContext) EnterRule ¶
func (s *Standard_opcodeContext) EnterRule(listener antlr.ParseTreeListener)
func (*Standard_opcodeContext) ExitRule ¶
func (s *Standard_opcodeContext) ExitRule(listener antlr.ParseTreeListener)
func (*Standard_opcodeContext) GetParser ¶
func (s *Standard_opcodeContext) GetParser() antlr.Parser
func (*Standard_opcodeContext) GetRuleContext ¶
func (s *Standard_opcodeContext) GetRuleContext() antlr.RuleContext
func (*Standard_opcodeContext) IsStandard_opcodeContext ¶
func (*Standard_opcodeContext) IsStandard_opcodeContext()
func (*Standard_opcodeContext) ToStringTree ¶
func (s *Standard_opcodeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
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) 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) IsVariableContext ¶
func (*VariableContext) IsVariableContext()
func (*VariableContext) LABEL ¶
func (s *VariableContext) LABEL() antlr.TerminalNode
func (*VariableContext) LPAREN ¶
func (s *VariableContext) LPAREN() antlr.TerminalNode
func (*VariableContext) RPAREN ¶
func (s *VariableContext) RPAREN() antlr.TerminalNode
func (*VariableContext) ToStringTree ¶
func (s *VariableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type WsContext ¶
type WsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWsContext ¶
func NewEmptyWsContext() *WsContext
func NewWsContext ¶
func (*WsContext) EnterRule ¶
func (s *WsContext) EnterRule(listener antlr.ParseTreeListener)
func (*WsContext) ExitRule ¶
func (s *WsContext) ExitRule(listener antlr.ParseTreeListener)
func (*WsContext) GetRuleContext ¶
func (s *WsContext) GetRuleContext() antlr.RuleContext
func (*WsContext) IsWsContext ¶
func (*WsContext) IsWsContext()
func (*WsContext) ToStringTree ¶
func (s *WsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*WsContext) WS ¶
func (s *WsContext) WS() antlr.TerminalNode