parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AssemblerLexerT__0       = 1
	AssemblerLexerT__1       = 2
	AssemblerLexerT__2       = 3
	AssemblerLexerT__3       = 4
	AssemblerLexerT__4       = 5
	AssemblerLexerT__5       = 6
	AssemblerLexerT__6       = 7
	AssemblerLexerT__7       = 8
	AssemblerLexerADD        = 9
	AssemblerLexerSUB        = 10
	AssemblerLexerMUL        = 11
	AssemblerLexerDIV        = 12
	AssemblerLexerMOD        = 13
	AssemblerLexerAND        = 14
	AssemblerLexerOR         = 15
	AssemblerLexerXOR        = 16
	AssemblerLexerLSH        = 17
	AssemblerLexerRSH        = 18
	AssemblerLexerJA         = 19
	AssemblerLexerJEQ        = 20
	AssemblerLexerJNE        = 21
	AssemblerLexerJLT        = 22
	AssemblerLexerJLE        = 23
	AssemblerLexerJGT        = 24
	AssemblerLexerJGE        = 25
	AssemblerLexerJSE        = 26
	AssemblerLexerLDA        = 27
	AssemblerLexerLDX        = 28
	AssemblerLexerLDB        = 29
	AssemblerLexerLDH        = 30
	AssemblerLexerSTA        = 31
	AssemblerLexerSTX        = 32
	AssemblerLexerTAX        = 33
	AssemblerLexerTXA        = 34
	AssemblerLexerNEG        = 35
	AssemblerLexerRET        = 36
	AssemblerLexerNUMBER     = 37
	AssemblerLexerCOMMENT    = 38
	AssemblerLexerIDENTIFIER = 39
	AssemblerLexerWHITESPACE = 40
	AssemblerLexerREGA       = 41
	AssemblerLexerREGX       = 42
)

AssemblerLexer tokens.

View Source
const (
	AssemblerParserEOF        = antlr.TokenEOF
	AssemblerParserT__0       = 1
	AssemblerParserT__1       = 2
	AssemblerParserT__2       = 3
	AssemblerParserT__3       = 4
	AssemblerParserT__4       = 5
	AssemblerParserT__5       = 6
	AssemblerParserT__6       = 7
	AssemblerParserT__7       = 8
	AssemblerParserADD        = 9
	AssemblerParserSUB        = 10
	AssemblerParserMUL        = 11
	AssemblerParserDIV        = 12
	AssemblerParserMOD        = 13
	AssemblerParserAND        = 14
	AssemblerParserOR         = 15
	AssemblerParserXOR        = 16
	AssemblerParserLSH        = 17
	AssemblerParserRSH        = 18
	AssemblerParserJA         = 19
	AssemblerParserJEQ        = 20
	AssemblerParserJNE        = 21
	AssemblerParserJLT        = 22
	AssemblerParserJLE        = 23
	AssemblerParserJGT        = 24
	AssemblerParserJGE        = 25
	AssemblerParserJSE        = 26
	AssemblerParserLDA        = 27
	AssemblerParserLDX        = 28
	AssemblerParserLDB        = 29
	AssemblerParserLDH        = 30
	AssemblerParserSTA        = 31
	AssemblerParserSTX        = 32
	AssemblerParserTAX        = 33
	AssemblerParserTXA        = 34
	AssemblerParserNEG        = 35
	AssemblerParserRET        = 36
	AssemblerParserNUMBER     = 37
	AssemblerParserCOMMENT    = 38
	AssemblerParserIDENTIFIER = 39
	AssemblerParserWHITESPACE = 40
	AssemblerParserREGA       = 41
	AssemblerParserREGX       = 42
)

AssemblerParser tokens.

View Source
const (
	AssemblerParserRULE_program                  = 0
	AssemblerParserRULE_labelDefinition          = 1
	AssemblerParserRULE_label                    = 2
	AssemblerParserRULE_comment                  = 3
	AssemblerParserRULE_instruction              = 4
	AssemblerParserRULE_aluOperation             = 5
	AssemblerParserRULE_aluOperator              = 6
	AssemblerParserRULE_jumpOperation            = 7
	AssemblerParserRULE_jumpOperator             = 8
	AssemblerParserRULE_jumpConditionalOperation = 9
	AssemblerParserRULE_jumpConditionalOperator  = 10
	AssemblerParserRULE_ifTrue                   = 11
	AssemblerParserRULE_ifFalse                  = 12
	AssemblerParserRULE_loadOperation            = 13
	AssemblerParserRULE_loadOperator             = 14
	AssemblerParserRULE_storeOperation           = 15
	AssemblerParserRULE_storeOperator            = 16
	AssemblerParserRULE_simpleOperation          = 17
	AssemblerParserRULE_returnOperation          = 18
	AssemblerParserRULE_number                   = 19
	AssemblerParserRULE_literalNumber            = 20
	AssemblerParserRULE_indirectX                = 21
	AssemblerParserRULE_absoluteNumber           = 22
	AssemblerParserRULE_registerA                = 23
	AssemblerParserRULE_registerX                = 24
	AssemblerParserRULE_registerR                = 25
	AssemblerParserRULE_extension                = 26
)

AssemblerParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbsoluteNumberContext

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

func NewAbsoluteNumberContext

func NewAbsoluteNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AbsoluteNumberContext

func NewEmptyAbsoluteNumberContext

func NewEmptyAbsoluteNumberContext() *AbsoluteNumberContext

func (*AbsoluteNumberContext) Accept

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

func (*AbsoluteNumberContext) EnterRule

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

func (*AbsoluteNumberContext) ExitRule

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

func (*AbsoluteNumberContext) GetParser

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

func (*AbsoluteNumberContext) GetRuleContext

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

func (*AbsoluteNumberContext) IsAbsoluteNumberContext

func (*AbsoluteNumberContext) IsAbsoluteNumberContext()

func (*AbsoluteNumberContext) Number

func (*AbsoluteNumberContext) ToStringTree

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

type AluOperationContext

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

func NewAluOperationContext

func NewAluOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AluOperationContext

func NewEmptyAluOperationContext

func NewEmptyAluOperationContext() *AluOperationContext

func (*AluOperationContext) Accept

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

func (*AluOperationContext) AluOperator

func (s *AluOperationContext) AluOperator() IAluOperatorContext

func (*AluOperationContext) EnterRule

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

func (*AluOperationContext) ExitRule

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

func (*AluOperationContext) GetParser

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

func (*AluOperationContext) GetRuleContext

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

func (*AluOperationContext) IsAluOperationContext

func (*AluOperationContext) IsAluOperationContext()

func (*AluOperationContext) LiteralNumber

func (s *AluOperationContext) LiteralNumber() ILiteralNumberContext

func (*AluOperationContext) RegisterX

func (s *AluOperationContext) RegisterX() IRegisterXContext

func (*AluOperationContext) ToStringTree

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

type AluOperatorContext

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

func NewAluOperatorContext

func NewAluOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AluOperatorContext

func NewEmptyAluOperatorContext

func NewEmptyAluOperatorContext() *AluOperatorContext

func (*AluOperatorContext) ADD

func (*AluOperatorContext) AND

func (*AluOperatorContext) Accept

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

func (*AluOperatorContext) DIV

func (*AluOperatorContext) EnterRule

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

func (*AluOperatorContext) ExitRule

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

func (*AluOperatorContext) GetParser

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

func (*AluOperatorContext) GetRuleContext

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

func (*AluOperatorContext) IsAluOperatorContext

func (*AluOperatorContext) IsAluOperatorContext()

func (*AluOperatorContext) LSH

func (*AluOperatorContext) MOD

func (*AluOperatorContext) MUL

func (*AluOperatorContext) OR

func (*AluOperatorContext) RSH

func (*AluOperatorContext) SUB

func (*AluOperatorContext) ToStringTree

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

func (*AluOperatorContext) XOR

type AssemblerLexer added in v1.0.0

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

func NewAssemblerLexer added in v1.0.0

func NewAssemblerLexer(input antlr.CharStream) *AssemblerLexer

type AssemblerListener added in v1.0.0

type AssemblerListener interface {
	antlr.ParseTreeListener

	// EnterProgram is called when entering the program production.
	EnterProgram(c *ProgramContext)

	// EnterLabelDefinition is called when entering the labelDefinition production.
	EnterLabelDefinition(c *LabelDefinitionContext)

	// EnterLabel is called when entering the label production.
	EnterLabel(c *LabelContext)

	// EnterComment is called when entering the comment production.
	EnterComment(c *CommentContext)

	// EnterInstruction is called when entering the instruction production.
	EnterInstruction(c *InstructionContext)

	// EnterAluOperation is called when entering the aluOperation production.
	EnterAluOperation(c *AluOperationContext)

	// EnterAluOperator is called when entering the aluOperator production.
	EnterAluOperator(c *AluOperatorContext)

	// EnterJumpOperation is called when entering the jumpOperation production.
	EnterJumpOperation(c *JumpOperationContext)

	// EnterJumpOperator is called when entering the jumpOperator production.
	EnterJumpOperator(c *JumpOperatorContext)

	// EnterJumpConditionalOperation is called when entering the jumpConditionalOperation production.
	EnterJumpConditionalOperation(c *JumpConditionalOperationContext)

	// EnterJumpConditionalOperator is called when entering the jumpConditionalOperator production.
	EnterJumpConditionalOperator(c *JumpConditionalOperatorContext)

	// EnterIfTrue is called when entering the ifTrue production.
	EnterIfTrue(c *IfTrueContext)

	// EnterIfFalse is called when entering the ifFalse production.
	EnterIfFalse(c *IfFalseContext)

	// EnterLoadOperation is called when entering the loadOperation production.
	EnterLoadOperation(c *LoadOperationContext)

	// EnterLoadOperator is called when entering the loadOperator production.
	EnterLoadOperator(c *LoadOperatorContext)

	// EnterStoreOperation is called when entering the storeOperation production.
	EnterStoreOperation(c *StoreOperationContext)

	// EnterStoreOperator is called when entering the storeOperator production.
	EnterStoreOperator(c *StoreOperatorContext)

	// EnterSimpleOperation is called when entering the simpleOperation production.
	EnterSimpleOperation(c *SimpleOperationContext)

	// EnterReturnOperation is called when entering the returnOperation production.
	EnterReturnOperation(c *ReturnOperationContext)

	// EnterNumber is called when entering the number production.
	EnterNumber(c *NumberContext)

	// EnterLiteralNumber is called when entering the literalNumber production.
	EnterLiteralNumber(c *LiteralNumberContext)

	// EnterIndirectX is called when entering the indirectX production.
	EnterIndirectX(c *IndirectXContext)

	// EnterAbsoluteNumber is called when entering the absoluteNumber production.
	EnterAbsoluteNumber(c *AbsoluteNumberContext)

	// EnterRegisterA is called when entering the registerA production.
	EnterRegisterA(c *RegisterAContext)

	// EnterRegisterX is called when entering the registerX production.
	EnterRegisterX(c *RegisterXContext)

	// EnterRegisterR is called when entering the registerR production.
	EnterRegisterR(c *RegisterRContext)

	// EnterExtension is called when entering the extension production.
	EnterExtension(c *ExtensionContext)

	// ExitProgram is called when exiting the program production.
	ExitProgram(c *ProgramContext)

	// ExitLabelDefinition is called when exiting the labelDefinition production.
	ExitLabelDefinition(c *LabelDefinitionContext)

	// ExitLabel is called when exiting the label production.
	ExitLabel(c *LabelContext)

	// ExitComment is called when exiting the comment production.
	ExitComment(c *CommentContext)

	// ExitInstruction is called when exiting the instruction production.
	ExitInstruction(c *InstructionContext)

	// ExitAluOperation is called when exiting the aluOperation production.
	ExitAluOperation(c *AluOperationContext)

	// ExitAluOperator is called when exiting the aluOperator production.
	ExitAluOperator(c *AluOperatorContext)

	// ExitJumpOperation is called when exiting the jumpOperation production.
	ExitJumpOperation(c *JumpOperationContext)

	// ExitJumpOperator is called when exiting the jumpOperator production.
	ExitJumpOperator(c *JumpOperatorContext)

	// ExitJumpConditionalOperation is called when exiting the jumpConditionalOperation production.
	ExitJumpConditionalOperation(c *JumpConditionalOperationContext)

	// ExitJumpConditionalOperator is called when exiting the jumpConditionalOperator production.
	ExitJumpConditionalOperator(c *JumpConditionalOperatorContext)

	// ExitIfTrue is called when exiting the ifTrue production.
	ExitIfTrue(c *IfTrueContext)

	// ExitIfFalse is called when exiting the ifFalse production.
	ExitIfFalse(c *IfFalseContext)

	// ExitLoadOperation is called when exiting the loadOperation production.
	ExitLoadOperation(c *LoadOperationContext)

	// ExitLoadOperator is called when exiting the loadOperator production.
	ExitLoadOperator(c *LoadOperatorContext)

	// ExitStoreOperation is called when exiting the storeOperation production.
	ExitStoreOperation(c *StoreOperationContext)

	// ExitStoreOperator is called when exiting the storeOperator production.
	ExitStoreOperator(c *StoreOperatorContext)

	// ExitSimpleOperation is called when exiting the simpleOperation production.
	ExitSimpleOperation(c *SimpleOperationContext)

	// ExitReturnOperation is called when exiting the returnOperation production.
	ExitReturnOperation(c *ReturnOperationContext)

	// ExitNumber is called when exiting the number production.
	ExitNumber(c *NumberContext)

	// ExitLiteralNumber is called when exiting the literalNumber production.
	ExitLiteralNumber(c *LiteralNumberContext)

	// ExitIndirectX is called when exiting the indirectX production.
	ExitIndirectX(c *IndirectXContext)

	// ExitAbsoluteNumber is called when exiting the absoluteNumber production.
	ExitAbsoluteNumber(c *AbsoluteNumberContext)

	// ExitRegisterA is called when exiting the registerA production.
	ExitRegisterA(c *RegisterAContext)

	// ExitRegisterX is called when exiting the registerX production.
	ExitRegisterX(c *RegisterXContext)

	// ExitRegisterR is called when exiting the registerR production.
	ExitRegisterR(c *RegisterRContext)

	// ExitExtension is called when exiting the extension production.
	ExitExtension(c *ExtensionContext)
}

AssemblerListener is a complete listener for a parse tree produced by AssemblerParser.

type AssemblerParser added in v1.0.0

type AssemblerParser struct {
	*antlr.BaseParser
}

func NewAssemblerParser added in v1.0.0

func NewAssemblerParser(input antlr.TokenStream) *AssemblerParser

func (*AssemblerParser) AbsoluteNumber added in v1.0.0

func (p *AssemblerParser) AbsoluteNumber() (localctx IAbsoluteNumberContext)

func (*AssemblerParser) AluOperation added in v1.0.0

func (p *AssemblerParser) AluOperation() (localctx IAluOperationContext)

func (*AssemblerParser) AluOperator added in v1.0.0

func (p *AssemblerParser) AluOperator() (localctx IAluOperatorContext)

func (*AssemblerParser) Comment added in v1.0.0

func (p *AssemblerParser) Comment() (localctx ICommentContext)

func (*AssemblerParser) Extension added in v1.0.0

func (p *AssemblerParser) Extension() (localctx IExtensionContext)

func (*AssemblerParser) IfFalse added in v1.0.0

func (p *AssemblerParser) IfFalse() (localctx IIfFalseContext)

func (*AssemblerParser) IfTrue added in v1.0.0

func (p *AssemblerParser) IfTrue() (localctx IIfTrueContext)

func (*AssemblerParser) IndirectX added in v1.0.0

func (p *AssemblerParser) IndirectX() (localctx IIndirectXContext)

func (*AssemblerParser) Instruction added in v1.0.0

func (p *AssemblerParser) Instruction() (localctx IInstructionContext)

func (*AssemblerParser) JumpConditionalOperation added in v1.0.0

func (p *AssemblerParser) JumpConditionalOperation() (localctx IJumpConditionalOperationContext)

func (*AssemblerParser) JumpConditionalOperator added in v1.0.0

func (p *AssemblerParser) JumpConditionalOperator() (localctx IJumpConditionalOperatorContext)

func (*AssemblerParser) JumpOperation added in v1.0.0

func (p *AssemblerParser) JumpOperation() (localctx IJumpOperationContext)

func (*AssemblerParser) JumpOperator added in v1.0.0

func (p *AssemblerParser) JumpOperator() (localctx IJumpOperatorContext)

func (*AssemblerParser) Label added in v1.0.0

func (p *AssemblerParser) Label() (localctx ILabelContext)

func (*AssemblerParser) LabelDefinition added in v1.0.0

func (p *AssemblerParser) LabelDefinition() (localctx ILabelDefinitionContext)

func (*AssemblerParser) LiteralNumber added in v1.0.0

func (p *AssemblerParser) LiteralNumber() (localctx ILiteralNumberContext)

func (*AssemblerParser) LoadOperation added in v1.0.0

func (p *AssemblerParser) LoadOperation() (localctx ILoadOperationContext)

func (*AssemblerParser) LoadOperator added in v1.0.0

func (p *AssemblerParser) LoadOperator() (localctx ILoadOperatorContext)

func (*AssemblerParser) Number added in v1.0.0

func (p *AssemblerParser) Number() (localctx INumberContext)

func (*AssemblerParser) Program added in v1.0.0

func (p *AssemblerParser) Program() (localctx IProgramContext)

func (*AssemblerParser) RegisterA added in v1.0.0

func (p *AssemblerParser) RegisterA() (localctx IRegisterAContext)

func (*AssemblerParser) RegisterR added in v1.0.0

func (p *AssemblerParser) RegisterR() (localctx IRegisterRContext)

func (*AssemblerParser) RegisterX added in v1.0.0

func (p *AssemblerParser) RegisterX() (localctx IRegisterXContext)

func (*AssemblerParser) ReturnOperation added in v1.0.0

func (p *AssemblerParser) ReturnOperation() (localctx IReturnOperationContext)

func (*AssemblerParser) SimpleOperation added in v1.0.0

func (p *AssemblerParser) SimpleOperation() (localctx ISimpleOperationContext)

func (*AssemblerParser) StoreOperation added in v1.0.0

func (p *AssemblerParser) StoreOperation() (localctx IStoreOperationContext)

func (*AssemblerParser) StoreOperator added in v1.0.0

func (p *AssemblerParser) StoreOperator() (localctx IStoreOperatorContext)

type AssemblerVisitor added in v1.0.0

type AssemblerVisitor interface {
	antlr.ParseTreeVisitor

	// Visit a parse tree produced by AssemblerParser#program.
	VisitProgram(ctx *ProgramContext) interface{}

	// Visit a parse tree produced by AssemblerParser#labelDefinition.
	VisitLabelDefinition(ctx *LabelDefinitionContext) interface{}

	// Visit a parse tree produced by AssemblerParser#label.
	VisitLabel(ctx *LabelContext) interface{}

	// Visit a parse tree produced by AssemblerParser#comment.
	VisitComment(ctx *CommentContext) interface{}

	// Visit a parse tree produced by AssemblerParser#instruction.
	VisitInstruction(ctx *InstructionContext) interface{}

	// Visit a parse tree produced by AssemblerParser#aluOperation.
	VisitAluOperation(ctx *AluOperationContext) interface{}

	// Visit a parse tree produced by AssemblerParser#aluOperator.
	VisitAluOperator(ctx *AluOperatorContext) interface{}

	// Visit a parse tree produced by AssemblerParser#jumpOperation.
	VisitJumpOperation(ctx *JumpOperationContext) interface{}

	// Visit a parse tree produced by AssemblerParser#jumpOperator.
	VisitJumpOperator(ctx *JumpOperatorContext) interface{}

	// Visit a parse tree produced by AssemblerParser#jumpConditionalOperation.
	VisitJumpConditionalOperation(ctx *JumpConditionalOperationContext) interface{}

	// Visit a parse tree produced by AssemblerParser#jumpConditionalOperator.
	VisitJumpConditionalOperator(ctx *JumpConditionalOperatorContext) interface{}

	// Visit a parse tree produced by AssemblerParser#ifTrue.
	VisitIfTrue(ctx *IfTrueContext) interface{}

	// Visit a parse tree produced by AssemblerParser#ifFalse.
	VisitIfFalse(ctx *IfFalseContext) interface{}

	// Visit a parse tree produced by AssemblerParser#loadOperation.
	VisitLoadOperation(ctx *LoadOperationContext) interface{}

	// Visit a parse tree produced by AssemblerParser#loadOperator.
	VisitLoadOperator(ctx *LoadOperatorContext) interface{}

	// Visit a parse tree produced by AssemblerParser#storeOperation.
	VisitStoreOperation(ctx *StoreOperationContext) interface{}

	// Visit a parse tree produced by AssemblerParser#storeOperator.
	VisitStoreOperator(ctx *StoreOperatorContext) interface{}

	// Visit a parse tree produced by AssemblerParser#simpleOperation.
	VisitSimpleOperation(ctx *SimpleOperationContext) interface{}

	// Visit a parse tree produced by AssemblerParser#returnOperation.
	VisitReturnOperation(ctx *ReturnOperationContext) interface{}

	// Visit a parse tree produced by AssemblerParser#number.
	VisitNumber(ctx *NumberContext) interface{}

	// Visit a parse tree produced by AssemblerParser#literalNumber.
	VisitLiteralNumber(ctx *LiteralNumberContext) interface{}

	// Visit a parse tree produced by AssemblerParser#indirectX.
	VisitIndirectX(ctx *IndirectXContext) interface{}

	// Visit a parse tree produced by AssemblerParser#absoluteNumber.
	VisitAbsoluteNumber(ctx *AbsoluteNumberContext) interface{}

	// Visit a parse tree produced by AssemblerParser#registerA.
	VisitRegisterA(ctx *RegisterAContext) interface{}

	// Visit a parse tree produced by AssemblerParser#registerX.
	VisitRegisterX(ctx *RegisterXContext) interface{}

	// Visit a parse tree produced by AssemblerParser#registerR.
	VisitRegisterR(ctx *RegisterRContext) interface{}

	// Visit a parse tree produced by AssemblerParser#extension.
	VisitExtension(ctx *ExtensionContext) interface{}
}

A complete Visitor for a parse tree produced by AssemblerParser.

type BaseAssemblerListener added in v1.0.0

type BaseAssemblerListener struct{}

BaseAssemblerListener is a complete listener for a parse tree produced by AssemblerParser.

func (*BaseAssemblerListener) EnterAbsoluteNumber added in v1.0.0

func (s *BaseAssemblerListener) EnterAbsoluteNumber(ctx *AbsoluteNumberContext)

EnterAbsoluteNumber is called when production absoluteNumber is entered.

func (*BaseAssemblerListener) EnterAluOperation added in v1.0.0

func (s *BaseAssemblerListener) EnterAluOperation(ctx *AluOperationContext)

EnterAluOperation is called when production aluOperation is entered.

func (*BaseAssemblerListener) EnterAluOperator added in v1.0.0

func (s *BaseAssemblerListener) EnterAluOperator(ctx *AluOperatorContext)

EnterAluOperator is called when production aluOperator is entered.

func (*BaseAssemblerListener) EnterComment added in v1.0.0

func (s *BaseAssemblerListener) EnterComment(ctx *CommentContext)

EnterComment is called when production comment is entered.

func (*BaseAssemblerListener) EnterEveryRule added in v1.0.0

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

EnterEveryRule is called when any rule is entered.

func (*BaseAssemblerListener) EnterExtension added in v1.0.0

func (s *BaseAssemblerListener) EnterExtension(ctx *ExtensionContext)

EnterExtension is called when production extension is entered.

func (*BaseAssemblerListener) EnterIfFalse added in v1.0.0

func (s *BaseAssemblerListener) EnterIfFalse(ctx *IfFalseContext)

EnterIfFalse is called when production ifFalse is entered.

func (*BaseAssemblerListener) EnterIfTrue added in v1.0.0

func (s *BaseAssemblerListener) EnterIfTrue(ctx *IfTrueContext)

EnterIfTrue is called when production ifTrue is entered.

func (*BaseAssemblerListener) EnterIndirectX added in v1.0.0

func (s *BaseAssemblerListener) EnterIndirectX(ctx *IndirectXContext)

EnterIndirectX is called when production indirectX is entered.

func (*BaseAssemblerListener) EnterInstruction added in v1.0.0

func (s *BaseAssemblerListener) EnterInstruction(ctx *InstructionContext)

EnterInstruction is called when production instruction is entered.

func (*BaseAssemblerListener) EnterJumpConditionalOperation added in v1.0.0

func (s *BaseAssemblerListener) EnterJumpConditionalOperation(ctx *JumpConditionalOperationContext)

EnterJumpConditionalOperation is called when production jumpConditionalOperation is entered.

func (*BaseAssemblerListener) EnterJumpConditionalOperator added in v1.0.0

func (s *BaseAssemblerListener) EnterJumpConditionalOperator(ctx *JumpConditionalOperatorContext)

EnterJumpConditionalOperator is called when production jumpConditionalOperator is entered.

func (*BaseAssemblerListener) EnterJumpOperation added in v1.0.0

func (s *BaseAssemblerListener) EnterJumpOperation(ctx *JumpOperationContext)

EnterJumpOperation is called when production jumpOperation is entered.

func (*BaseAssemblerListener) EnterJumpOperator added in v1.0.0

func (s *BaseAssemblerListener) EnterJumpOperator(ctx *JumpOperatorContext)

EnterJumpOperator is called when production jumpOperator is entered.

func (*BaseAssemblerListener) EnterLabel added in v1.0.0

func (s *BaseAssemblerListener) EnterLabel(ctx *LabelContext)

EnterLabel is called when production label is entered.

func (*BaseAssemblerListener) EnterLabelDefinition added in v1.0.0

func (s *BaseAssemblerListener) EnterLabelDefinition(ctx *LabelDefinitionContext)

EnterLabelDefinition is called when production labelDefinition is entered.

func (*BaseAssemblerListener) EnterLiteralNumber added in v1.0.0

func (s *BaseAssemblerListener) EnterLiteralNumber(ctx *LiteralNumberContext)

EnterLiteralNumber is called when production literalNumber is entered.

func (*BaseAssemblerListener) EnterLoadOperation added in v1.0.0

func (s *BaseAssemblerListener) EnterLoadOperation(ctx *LoadOperationContext)

EnterLoadOperation is called when production loadOperation is entered.

func (*BaseAssemblerListener) EnterLoadOperator added in v1.0.0

func (s *BaseAssemblerListener) EnterLoadOperator(ctx *LoadOperatorContext)

EnterLoadOperator is called when production loadOperator is entered.

func (*BaseAssemblerListener) EnterNumber added in v1.0.0

func (s *BaseAssemblerListener) EnterNumber(ctx *NumberContext)

EnterNumber is called when production number is entered.

func (*BaseAssemblerListener) EnterProgram added in v1.0.0

func (s *BaseAssemblerListener) EnterProgram(ctx *ProgramContext)

EnterProgram is called when production program is entered.

func (*BaseAssemblerListener) EnterRegisterA added in v1.0.0

func (s *BaseAssemblerListener) EnterRegisterA(ctx *RegisterAContext)

EnterRegisterA is called when production registerA is entered.

func (*BaseAssemblerListener) EnterRegisterR added in v1.0.0

func (s *BaseAssemblerListener) EnterRegisterR(ctx *RegisterRContext)

EnterRegisterR is called when production registerR is entered.

func (*BaseAssemblerListener) EnterRegisterX added in v1.0.0

func (s *BaseAssemblerListener) EnterRegisterX(ctx *RegisterXContext)

EnterRegisterX is called when production registerX is entered.

func (*BaseAssemblerListener) EnterReturnOperation added in v1.0.0

func (s *BaseAssemblerListener) EnterReturnOperation(ctx *ReturnOperationContext)

EnterReturnOperation is called when production returnOperation is entered.

func (*BaseAssemblerListener) EnterSimpleOperation added in v1.0.0

func (s *BaseAssemblerListener) EnterSimpleOperation(ctx *SimpleOperationContext)

EnterSimpleOperation is called when production simpleOperation is entered.

func (*BaseAssemblerListener) EnterStoreOperation added in v1.0.0

func (s *BaseAssemblerListener) EnterStoreOperation(ctx *StoreOperationContext)

EnterStoreOperation is called when production storeOperation is entered.

func (*BaseAssemblerListener) EnterStoreOperator added in v1.0.0

func (s *BaseAssemblerListener) EnterStoreOperator(ctx *StoreOperatorContext)

EnterStoreOperator is called when production storeOperator is entered.

func (*BaseAssemblerListener) ExitAbsoluteNumber added in v1.0.0

func (s *BaseAssemblerListener) ExitAbsoluteNumber(ctx *AbsoluteNumberContext)

ExitAbsoluteNumber is called when production absoluteNumber is exited.

func (*BaseAssemblerListener) ExitAluOperation added in v1.0.0

func (s *BaseAssemblerListener) ExitAluOperation(ctx *AluOperationContext)

ExitAluOperation is called when production aluOperation is exited.

func (*BaseAssemblerListener) ExitAluOperator added in v1.0.0

func (s *BaseAssemblerListener) ExitAluOperator(ctx *AluOperatorContext)

ExitAluOperator is called when production aluOperator is exited.

func (*BaseAssemblerListener) ExitComment added in v1.0.0

func (s *BaseAssemblerListener) ExitComment(ctx *CommentContext)

ExitComment is called when production comment is exited.

func (*BaseAssemblerListener) ExitEveryRule added in v1.0.0

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

ExitEveryRule is called when any rule is exited.

func (*BaseAssemblerListener) ExitExtension added in v1.0.0

func (s *BaseAssemblerListener) ExitExtension(ctx *ExtensionContext)

ExitExtension is called when production extension is exited.

func (*BaseAssemblerListener) ExitIfFalse added in v1.0.0

func (s *BaseAssemblerListener) ExitIfFalse(ctx *IfFalseContext)

ExitIfFalse is called when production ifFalse is exited.

func (*BaseAssemblerListener) ExitIfTrue added in v1.0.0

func (s *BaseAssemblerListener) ExitIfTrue(ctx *IfTrueContext)

ExitIfTrue is called when production ifTrue is exited.

func (*BaseAssemblerListener) ExitIndirectX added in v1.0.0

func (s *BaseAssemblerListener) ExitIndirectX(ctx *IndirectXContext)

ExitIndirectX is called when production indirectX is exited.

func (*BaseAssemblerListener) ExitInstruction added in v1.0.0

func (s *BaseAssemblerListener) ExitInstruction(ctx *InstructionContext)

ExitInstruction is called when production instruction is exited.

func (*BaseAssemblerListener) ExitJumpConditionalOperation added in v1.0.0

func (s *BaseAssemblerListener) ExitJumpConditionalOperation(ctx *JumpConditionalOperationContext)

ExitJumpConditionalOperation is called when production jumpConditionalOperation is exited.

func (*BaseAssemblerListener) ExitJumpConditionalOperator added in v1.0.0

func (s *BaseAssemblerListener) ExitJumpConditionalOperator(ctx *JumpConditionalOperatorContext)

ExitJumpConditionalOperator is called when production jumpConditionalOperator is exited.

func (*BaseAssemblerListener) ExitJumpOperation added in v1.0.0

func (s *BaseAssemblerListener) ExitJumpOperation(ctx *JumpOperationContext)

ExitJumpOperation is called when production jumpOperation is exited.

func (*BaseAssemblerListener) ExitJumpOperator added in v1.0.0

func (s *BaseAssemblerListener) ExitJumpOperator(ctx *JumpOperatorContext)

ExitJumpOperator is called when production jumpOperator is exited.

func (*BaseAssemblerListener) ExitLabel added in v1.0.0

func (s *BaseAssemblerListener) ExitLabel(ctx *LabelContext)

ExitLabel is called when production label is exited.

func (*BaseAssemblerListener) ExitLabelDefinition added in v1.0.0

func (s *BaseAssemblerListener) ExitLabelDefinition(ctx *LabelDefinitionContext)

ExitLabelDefinition is called when production labelDefinition is exited.

func (*BaseAssemblerListener) ExitLiteralNumber added in v1.0.0

func (s *BaseAssemblerListener) ExitLiteralNumber(ctx *LiteralNumberContext)

ExitLiteralNumber is called when production literalNumber is exited.

func (*BaseAssemblerListener) ExitLoadOperation added in v1.0.0

func (s *BaseAssemblerListener) ExitLoadOperation(ctx *LoadOperationContext)

ExitLoadOperation is called when production loadOperation is exited.

func (*BaseAssemblerListener) ExitLoadOperator added in v1.0.0

func (s *BaseAssemblerListener) ExitLoadOperator(ctx *LoadOperatorContext)

ExitLoadOperator is called when production loadOperator is exited.

func (*BaseAssemblerListener) ExitNumber added in v1.0.0

func (s *BaseAssemblerListener) ExitNumber(ctx *NumberContext)

ExitNumber is called when production number is exited.

func (*BaseAssemblerListener) ExitProgram added in v1.0.0

func (s *BaseAssemblerListener) ExitProgram(ctx *ProgramContext)

ExitProgram is called when production program is exited.

func (*BaseAssemblerListener) ExitRegisterA added in v1.0.0

func (s *BaseAssemblerListener) ExitRegisterA(ctx *RegisterAContext)

ExitRegisterA is called when production registerA is exited.

func (*BaseAssemblerListener) ExitRegisterR added in v1.0.0

func (s *BaseAssemblerListener) ExitRegisterR(ctx *RegisterRContext)

ExitRegisterR is called when production registerR is exited.

func (*BaseAssemblerListener) ExitRegisterX added in v1.0.0

func (s *BaseAssemblerListener) ExitRegisterX(ctx *RegisterXContext)

ExitRegisterX is called when production registerX is exited.

func (*BaseAssemblerListener) ExitReturnOperation added in v1.0.0

func (s *BaseAssemblerListener) ExitReturnOperation(ctx *ReturnOperationContext)

ExitReturnOperation is called when production returnOperation is exited.

func (*BaseAssemblerListener) ExitSimpleOperation added in v1.0.0

func (s *BaseAssemblerListener) ExitSimpleOperation(ctx *SimpleOperationContext)

ExitSimpleOperation is called when production simpleOperation is exited.

func (*BaseAssemblerListener) ExitStoreOperation added in v1.0.0

func (s *BaseAssemblerListener) ExitStoreOperation(ctx *StoreOperationContext)

ExitStoreOperation is called when production storeOperation is exited.

func (*BaseAssemblerListener) ExitStoreOperator added in v1.0.0

func (s *BaseAssemblerListener) ExitStoreOperator(ctx *StoreOperatorContext)

ExitStoreOperator is called when production storeOperator is exited.

func (*BaseAssemblerListener) VisitErrorNode added in v1.0.0

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

VisitErrorNode is called when an error node is visited.

func (*BaseAssemblerListener) VisitTerminal added in v1.0.0

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

VisitTerminal is called when a terminal node is visited.

type BaseAssemblerVisitor added in v1.0.0

type BaseAssemblerVisitor struct {
	*antlr.BaseParseTreeVisitor
}

func (*BaseAssemblerVisitor) VisitAbsoluteNumber added in v1.0.0

func (v *BaseAssemblerVisitor) VisitAbsoluteNumber(ctx *AbsoluteNumberContext) interface{}

func (*BaseAssemblerVisitor) VisitAluOperation added in v1.0.0

func (v *BaseAssemblerVisitor) VisitAluOperation(ctx *AluOperationContext) interface{}

func (*BaseAssemblerVisitor) VisitAluOperator added in v1.0.0

func (v *BaseAssemblerVisitor) VisitAluOperator(ctx *AluOperatorContext) interface{}

func (*BaseAssemblerVisitor) VisitComment added in v1.0.0

func (v *BaseAssemblerVisitor) VisitComment(ctx *CommentContext) interface{}

func (*BaseAssemblerVisitor) VisitExtension added in v1.0.0

func (v *BaseAssemblerVisitor) VisitExtension(ctx *ExtensionContext) interface{}

func (*BaseAssemblerVisitor) VisitIfFalse added in v1.0.0

func (v *BaseAssemblerVisitor) VisitIfFalse(ctx *IfFalseContext) interface{}

func (*BaseAssemblerVisitor) VisitIfTrue added in v1.0.0

func (v *BaseAssemblerVisitor) VisitIfTrue(ctx *IfTrueContext) interface{}

func (*BaseAssemblerVisitor) VisitIndirectX added in v1.0.0

func (v *BaseAssemblerVisitor) VisitIndirectX(ctx *IndirectXContext) interface{}

func (*BaseAssemblerVisitor) VisitInstruction added in v1.0.0

func (v *BaseAssemblerVisitor) VisitInstruction(ctx *InstructionContext) interface{}

func (*BaseAssemblerVisitor) VisitJumpConditionalOperation added in v1.0.0

func (v *BaseAssemblerVisitor) VisitJumpConditionalOperation(ctx *JumpConditionalOperationContext) interface{}

func (*BaseAssemblerVisitor) VisitJumpConditionalOperator added in v1.0.0

func (v *BaseAssemblerVisitor) VisitJumpConditionalOperator(ctx *JumpConditionalOperatorContext) interface{}

func (*BaseAssemblerVisitor) VisitJumpOperation added in v1.0.0

func (v *BaseAssemblerVisitor) VisitJumpOperation(ctx *JumpOperationContext) interface{}

func (*BaseAssemblerVisitor) VisitJumpOperator added in v1.0.0

func (v *BaseAssemblerVisitor) VisitJumpOperator(ctx *JumpOperatorContext) interface{}

func (*BaseAssemblerVisitor) VisitLabel added in v1.0.0

func (v *BaseAssemblerVisitor) VisitLabel(ctx *LabelContext) interface{}

func (*BaseAssemblerVisitor) VisitLabelDefinition added in v1.0.0

func (v *BaseAssemblerVisitor) VisitLabelDefinition(ctx *LabelDefinitionContext) interface{}

func (*BaseAssemblerVisitor) VisitLiteralNumber added in v1.0.0

func (v *BaseAssemblerVisitor) VisitLiteralNumber(ctx *LiteralNumberContext) interface{}

func (*BaseAssemblerVisitor) VisitLoadOperation added in v1.0.0

func (v *BaseAssemblerVisitor) VisitLoadOperation(ctx *LoadOperationContext) interface{}

func (*BaseAssemblerVisitor) VisitLoadOperator added in v1.0.0

func (v *BaseAssemblerVisitor) VisitLoadOperator(ctx *LoadOperatorContext) interface{}

func (*BaseAssemblerVisitor) VisitNumber added in v1.0.0

func (v *BaseAssemblerVisitor) VisitNumber(ctx *NumberContext) interface{}

func (*BaseAssemblerVisitor) VisitProgram added in v1.0.0

func (v *BaseAssemblerVisitor) VisitProgram(ctx *ProgramContext) interface{}

func (*BaseAssemblerVisitor) VisitRegisterA added in v1.0.0

func (v *BaseAssemblerVisitor) VisitRegisterA(ctx *RegisterAContext) interface{}

func (*BaseAssemblerVisitor) VisitRegisterR added in v1.0.0

func (v *BaseAssemblerVisitor) VisitRegisterR(ctx *RegisterRContext) interface{}

func (*BaseAssemblerVisitor) VisitRegisterX added in v1.0.0

func (v *BaseAssemblerVisitor) VisitRegisterX(ctx *RegisterXContext) interface{}

func (*BaseAssemblerVisitor) VisitReturnOperation added in v1.0.0

func (v *BaseAssemblerVisitor) VisitReturnOperation(ctx *ReturnOperationContext) interface{}

func (*BaseAssemblerVisitor) VisitSimpleOperation added in v1.0.0

func (v *BaseAssemblerVisitor) VisitSimpleOperation(ctx *SimpleOperationContext) interface{}

func (*BaseAssemblerVisitor) VisitStoreOperation added in v1.0.0

func (v *BaseAssemblerVisitor) VisitStoreOperation(ctx *StoreOperationContext) interface{}

func (*BaseAssemblerVisitor) VisitStoreOperator added in v1.0.0

func (v *BaseAssemblerVisitor) VisitStoreOperator(ctx *StoreOperatorContext) interface{}

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

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

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 ExtensionContext

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

func NewEmptyExtensionContext

func NewEmptyExtensionContext() *ExtensionContext

func NewExtensionContext

func NewExtensionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtensionContext

func (*ExtensionContext) Accept

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

func (*ExtensionContext) EnterRule

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

func (*ExtensionContext) ExitRule

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

func (*ExtensionContext) GetParser

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

func (*ExtensionContext) GetRuleContext

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

func (*ExtensionContext) IDENTIFIER

func (s *ExtensionContext) IDENTIFIER() antlr.TerminalNode

func (*ExtensionContext) IsExtensionContext

func (*ExtensionContext) IsExtensionContext()

func (*ExtensionContext) ToStringTree

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

type IAbsoluteNumberContext

type IAbsoluteNumberContext interface {
	antlr.ParserRuleContext

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

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

IAbsoluteNumberContext is an interface to support dynamic dispatch.

type IAluOperationContext

type IAluOperationContext interface {
	antlr.ParserRuleContext

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

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

IAluOperationContext is an interface to support dynamic dispatch.

type IAluOperatorContext

type IAluOperatorContext interface {
	antlr.ParserRuleContext

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

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

IAluOperatorContext 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 IExtensionContext

type IExtensionContext interface {
	antlr.ParserRuleContext

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

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

IExtensionContext is an interface to support dynamic dispatch.

type IIfFalseContext

type IIfFalseContext interface {
	antlr.ParserRuleContext

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

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

IIfFalseContext is an interface to support dynamic dispatch.

type IIfTrueContext

type IIfTrueContext interface {
	antlr.ParserRuleContext

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

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

IIfTrueContext is an interface to support dynamic dispatch.

type IIndirectXContext

type IIndirectXContext interface {
	antlr.ParserRuleContext

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

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

IIndirectXContext is an interface to support dynamic dispatch.

type IInstructionContext

type IInstructionContext interface {
	antlr.ParserRuleContext

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

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

IInstructionContext is an interface to support dynamic dispatch.

type IJumpConditionalOperationContext

type IJumpConditionalOperationContext interface {
	antlr.ParserRuleContext

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

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

IJumpConditionalOperationContext is an interface to support dynamic dispatch.

type IJumpConditionalOperatorContext

type IJumpConditionalOperatorContext interface {
	antlr.ParserRuleContext

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

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

IJumpConditionalOperatorContext is an interface to support dynamic dispatch.

type IJumpOperationContext

type IJumpOperationContext interface {
	antlr.ParserRuleContext

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

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

IJumpOperationContext is an interface to support dynamic dispatch.

type IJumpOperatorContext

type IJumpOperatorContext interface {
	antlr.ParserRuleContext

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

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

IJumpOperatorContext 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 ILabelDefinitionContext

type ILabelDefinitionContext interface {
	antlr.ParserRuleContext

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

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

ILabelDefinitionContext is an interface to support dynamic dispatch.

type ILiteralNumberContext

type ILiteralNumberContext interface {
	antlr.ParserRuleContext

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

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

ILiteralNumberContext is an interface to support dynamic dispatch.

type ILoadOperationContext

type ILoadOperationContext interface {
	antlr.ParserRuleContext

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

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

ILoadOperationContext is an interface to support dynamic dispatch.

type ILoadOperatorContext

type ILoadOperatorContext interface {
	antlr.ParserRuleContext

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

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

ILoadOperatorContext is an interface to support dynamic dispatch.

type INumberContext

type INumberContext interface {
	antlr.ParserRuleContext

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

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

INumberContext 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 IRegisterAContext

type IRegisterAContext interface {
	antlr.ParserRuleContext

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

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

IRegisterAContext is an interface to support dynamic dispatch.

type IRegisterRContext

type IRegisterRContext interface {
	antlr.ParserRuleContext

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

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

IRegisterRContext is an interface to support dynamic dispatch.

type IRegisterXContext

type IRegisterXContext interface {
	antlr.ParserRuleContext

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

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

IRegisterXContext is an interface to support dynamic dispatch.

type IReturnOperationContext

type IReturnOperationContext interface {
	antlr.ParserRuleContext

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

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

IReturnOperationContext is an interface to support dynamic dispatch.

type ISimpleOperationContext

type ISimpleOperationContext interface {
	antlr.ParserRuleContext

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

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

ISimpleOperationContext is an interface to support dynamic dispatch.

type IStoreOperationContext

type IStoreOperationContext interface {
	antlr.ParserRuleContext

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

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

IStoreOperationContext is an interface to support dynamic dispatch.

type IStoreOperatorContext

type IStoreOperatorContext interface {
	antlr.ParserRuleContext

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

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

IStoreOperatorContext is an interface to support dynamic dispatch.

type IfFalseContext

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

func NewEmptyIfFalseContext

func NewEmptyIfFalseContext() *IfFalseContext

func NewIfFalseContext

func NewIfFalseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfFalseContext

func (*IfFalseContext) Accept

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

func (*IfFalseContext) EnterRule

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

func (*IfFalseContext) ExitRule

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

func (*IfFalseContext) GetParser

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

func (*IfFalseContext) GetRuleContext

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

func (*IfFalseContext) IsIfFalseContext

func (*IfFalseContext) IsIfFalseContext()

func (*IfFalseContext) Label

func (s *IfFalseContext) Label() ILabelContext

func (*IfFalseContext) Number

func (s *IfFalseContext) Number() INumberContext

func (*IfFalseContext) ToStringTree

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

type IfTrueContext

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

func NewEmptyIfTrueContext

func NewEmptyIfTrueContext() *IfTrueContext

func NewIfTrueContext

func NewIfTrueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IfTrueContext

func (*IfTrueContext) Accept

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

func (*IfTrueContext) EnterRule

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

func (*IfTrueContext) ExitRule

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

func (*IfTrueContext) GetParser

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

func (*IfTrueContext) GetRuleContext

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

func (*IfTrueContext) IsIfTrueContext

func (*IfTrueContext) IsIfTrueContext()

func (*IfTrueContext) Label

func (s *IfTrueContext) Label() ILabelContext

func (*IfTrueContext) Number

func (s *IfTrueContext) Number() INumberContext

func (*IfTrueContext) ToStringTree

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

type IndirectXContext

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

func NewEmptyIndirectXContext

func NewEmptyIndirectXContext() *IndirectXContext

func NewIndirectXContext

func NewIndirectXContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *IndirectXContext

func (*IndirectXContext) Accept

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

func (*IndirectXContext) EnterRule

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

func (*IndirectXContext) ExitRule

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

func (*IndirectXContext) GetParser

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

func (*IndirectXContext) GetRuleContext

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

func (*IndirectXContext) IsIndirectXContext

func (*IndirectXContext) IsIndirectXContext()

func (*IndirectXContext) Number

func (s *IndirectXContext) Number() INumberContext

func (*IndirectXContext) ToStringTree

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

type InstructionContext

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

func NewEmptyInstructionContext

func NewEmptyInstructionContext() *InstructionContext

func NewInstructionContext

func NewInstructionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *InstructionContext

func (*InstructionContext) Accept

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

func (*InstructionContext) AluOperation

func (s *InstructionContext) AluOperation() IAluOperationContext

func (*InstructionContext) EnterRule

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

func (*InstructionContext) ExitRule

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

func (*InstructionContext) GetParser

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

func (*InstructionContext) GetRuleContext

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

func (*InstructionContext) IsInstructionContext

func (*InstructionContext) IsInstructionContext()

func (*InstructionContext) JumpConditionalOperation

func (s *InstructionContext) JumpConditionalOperation() IJumpConditionalOperationContext

func (*InstructionContext) JumpOperation

func (s *InstructionContext) JumpOperation() IJumpOperationContext

func (*InstructionContext) LoadOperation

func (s *InstructionContext) LoadOperation() ILoadOperationContext

func (*InstructionContext) ReturnOperation

func (s *InstructionContext) ReturnOperation() IReturnOperationContext

func (*InstructionContext) SimpleOperation

func (s *InstructionContext) SimpleOperation() ISimpleOperationContext

func (*InstructionContext) StoreOperation

func (s *InstructionContext) StoreOperation() IStoreOperationContext

func (*InstructionContext) ToStringTree

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

type JumpConditionalOperationContext

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

func NewEmptyJumpConditionalOperationContext

func NewEmptyJumpConditionalOperationContext() *JumpConditionalOperationContext

func NewJumpConditionalOperationContext

func NewJumpConditionalOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JumpConditionalOperationContext

func (*JumpConditionalOperationContext) Accept

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

func (*JumpConditionalOperationContext) EnterRule

func (*JumpConditionalOperationContext) ExitRule

func (*JumpConditionalOperationContext) GetParser

func (*JumpConditionalOperationContext) GetRuleContext

func (*JumpConditionalOperationContext) IfFalse

func (*JumpConditionalOperationContext) IfTrue

func (*JumpConditionalOperationContext) IsJumpConditionalOperationContext

func (*JumpConditionalOperationContext) IsJumpConditionalOperationContext()

func (*JumpConditionalOperationContext) JumpConditionalOperator

func (*JumpConditionalOperationContext) LiteralNumber

func (*JumpConditionalOperationContext) RegisterX

func (*JumpConditionalOperationContext) ToStringTree

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

type JumpConditionalOperatorContext

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

func NewEmptyJumpConditionalOperatorContext

func NewEmptyJumpConditionalOperatorContext() *JumpConditionalOperatorContext

func NewJumpConditionalOperatorContext

func NewJumpConditionalOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JumpConditionalOperatorContext

func (*JumpConditionalOperatorContext) Accept

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

func (*JumpConditionalOperatorContext) EnterRule

func (*JumpConditionalOperatorContext) ExitRule

func (*JumpConditionalOperatorContext) GetParser

func (*JumpConditionalOperatorContext) GetRuleContext

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

func (*JumpConditionalOperatorContext) IsJumpConditionalOperatorContext

func (*JumpConditionalOperatorContext) IsJumpConditionalOperatorContext()

func (*JumpConditionalOperatorContext) JEQ

func (*JumpConditionalOperatorContext) JGE

func (*JumpConditionalOperatorContext) JGT

func (*JumpConditionalOperatorContext) JLE

func (*JumpConditionalOperatorContext) JLT

func (*JumpConditionalOperatorContext) JNE

func (*JumpConditionalOperatorContext) JSE

func (*JumpConditionalOperatorContext) ToStringTree

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

type JumpOperationContext

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

func NewEmptyJumpOperationContext

func NewEmptyJumpOperationContext() *JumpOperationContext

func NewJumpOperationContext

func NewJumpOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JumpOperationContext

func (*JumpOperationContext) Accept

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

func (*JumpOperationContext) EnterRule

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

func (*JumpOperationContext) ExitRule

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

func (*JumpOperationContext) GetParser

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

func (*JumpOperationContext) GetRuleContext

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

func (*JumpOperationContext) IsJumpOperationContext

func (*JumpOperationContext) IsJumpOperationContext()

func (*JumpOperationContext) JumpOperator

func (s *JumpOperationContext) JumpOperator() IJumpOperatorContext

func (*JumpOperationContext) Number

func (*JumpOperationContext) ToStringTree

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

type JumpOperatorContext

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

func NewEmptyJumpOperatorContext

func NewEmptyJumpOperatorContext() *JumpOperatorContext

func NewJumpOperatorContext

func NewJumpOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *JumpOperatorContext

func (*JumpOperatorContext) Accept

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

func (*JumpOperatorContext) EnterRule

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

func (*JumpOperatorContext) ExitRule

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

func (*JumpOperatorContext) GetParser

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

func (*JumpOperatorContext) GetRuleContext

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

func (*JumpOperatorContext) IsJumpOperatorContext

func (*JumpOperatorContext) IsJumpOperatorContext()

func (*JumpOperatorContext) JA

func (*JumpOperatorContext) ToStringTree

func (s *JumpOperatorContext) 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) Accept

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

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() antlr.TerminalNode

func (*LabelContext) IsLabelContext

func (*LabelContext) IsLabelContext()

func (*LabelContext) ToStringTree

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

type LabelDefinitionContext

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

func NewEmptyLabelDefinitionContext

func NewEmptyLabelDefinitionContext() *LabelDefinitionContext

func NewLabelDefinitionContext

func NewLabelDefinitionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LabelDefinitionContext

func (*LabelDefinitionContext) Accept

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

func (*LabelDefinitionContext) EnterRule

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

func (*LabelDefinitionContext) ExitRule

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

func (*LabelDefinitionContext) GetParser

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

func (*LabelDefinitionContext) GetRuleContext

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

func (*LabelDefinitionContext) IDENTIFIER

func (s *LabelDefinitionContext) IDENTIFIER() antlr.TerminalNode

func (*LabelDefinitionContext) IsLabelDefinitionContext

func (*LabelDefinitionContext) IsLabelDefinitionContext()

func (*LabelDefinitionContext) ToStringTree

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

type LiteralNumberContext

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

func NewEmptyLiteralNumberContext

func NewEmptyLiteralNumberContext() *LiteralNumberContext

func NewLiteralNumberContext

func NewLiteralNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralNumberContext

func (*LiteralNumberContext) Accept

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

func (*LiteralNumberContext) EnterRule

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

func (*LiteralNumberContext) ExitRule

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

func (*LiteralNumberContext) GetParser

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

func (*LiteralNumberContext) GetRuleContext

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

func (*LiteralNumberContext) IsLiteralNumberContext

func (*LiteralNumberContext) IsLiteralNumberContext()

func (*LiteralNumberContext) Number

func (*LiteralNumberContext) ToStringTree

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

type LoadOperationContext

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

func NewEmptyLoadOperationContext

func NewEmptyLoadOperationContext() *LoadOperationContext

func NewLoadOperationContext

func NewLoadOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LoadOperationContext

func (*LoadOperationContext) AbsoluteNumber

func (s *LoadOperationContext) AbsoluteNumber() IAbsoluteNumberContext

func (*LoadOperationContext) Accept

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

func (*LoadOperationContext) EnterRule

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

func (*LoadOperationContext) ExitRule

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

func (*LoadOperationContext) Extension

func (s *LoadOperationContext) Extension() IExtensionContext

func (*LoadOperationContext) GetParser

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

func (*LoadOperationContext) GetRuleContext

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

func (*LoadOperationContext) IndirectX

func (s *LoadOperationContext) IndirectX() IIndirectXContext

func (*LoadOperationContext) IsLoadOperationContext

func (*LoadOperationContext) IsLoadOperationContext()

func (*LoadOperationContext) LoadOperator

func (s *LoadOperationContext) LoadOperator() ILoadOperatorContext

func (*LoadOperationContext) RegisterR

func (s *LoadOperationContext) RegisterR() IRegisterRContext

func (*LoadOperationContext) ToStringTree

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

type LoadOperatorContext

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

func NewEmptyLoadOperatorContext

func NewEmptyLoadOperatorContext() *LoadOperatorContext

func NewLoadOperatorContext

func NewLoadOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LoadOperatorContext

func (*LoadOperatorContext) Accept

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

func (*LoadOperatorContext) EnterRule

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

func (*LoadOperatorContext) ExitRule

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

func (*LoadOperatorContext) GetParser

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

func (*LoadOperatorContext) GetRuleContext

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

func (*LoadOperatorContext) IsLoadOperatorContext

func (*LoadOperatorContext) IsLoadOperatorContext()

func (*LoadOperatorContext) LDA

func (*LoadOperatorContext) LDB

func (*LoadOperatorContext) LDH

func (*LoadOperatorContext) LDX

func (*LoadOperatorContext) ToStringTree

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

type NumberContext

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

func NewEmptyNumberContext

func NewEmptyNumberContext() *NumberContext

func NewNumberContext

func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext

func (*NumberContext) Accept

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

func (*NumberContext) EnterRule

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

func (*NumberContext) ExitRule

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

func (*NumberContext) GetParser

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

func (*NumberContext) GetRuleContext

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

func (*NumberContext) IsNumberContext

func (*NumberContext) IsNumberContext()

func (*NumberContext) NUMBER

func (s *NumberContext) NUMBER() antlr.TerminalNode

func (*NumberContext) ToStringTree

func (s *NumberContext) 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) Accept

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

func (*ProgramContext) AllInstruction

func (s *ProgramContext) AllInstruction() []IInstructionContext

func (*ProgramContext) AllLabelDefinition

func (s *ProgramContext) AllLabelDefinition() []ILabelDefinitionContext

func (*ProgramContext) EOF

func (*ProgramContext) EnterRule

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

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

func (s *ProgramContext) Instruction(i int) IInstructionContext

func (*ProgramContext) IsProgramContext

func (*ProgramContext) IsProgramContext()

func (*ProgramContext) LabelDefinition

func (s *ProgramContext) LabelDefinition(i int) ILabelDefinitionContext

func (*ProgramContext) ToStringTree

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

type RegisterAContext

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

func NewEmptyRegisterAContext

func NewEmptyRegisterAContext() *RegisterAContext

func NewRegisterAContext

func NewRegisterAContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RegisterAContext

func (*RegisterAContext) Accept

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

func (*RegisterAContext) EnterRule

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

func (*RegisterAContext) ExitRule

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

func (*RegisterAContext) GetParser

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

func (*RegisterAContext) GetRuleContext

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

func (*RegisterAContext) IsRegisterAContext

func (*RegisterAContext) IsRegisterAContext()

func (*RegisterAContext) REGA

func (*RegisterAContext) ToStringTree

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

type RegisterRContext

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

func NewEmptyRegisterRContext

func NewEmptyRegisterRContext() *RegisterRContext

func NewRegisterRContext

func NewRegisterRContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RegisterRContext

func (*RegisterRContext) Accept

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

func (*RegisterRContext) EnterRule

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

func (*RegisterRContext) ExitRule

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

func (*RegisterRContext) GetParser

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

func (*RegisterRContext) GetRuleContext

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

func (*RegisterRContext) IsRegisterRContext

func (*RegisterRContext) IsRegisterRContext()

func (*RegisterRContext) NUMBER

func (s *RegisterRContext) NUMBER() antlr.TerminalNode

func (*RegisterRContext) ToStringTree

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

type RegisterXContext

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

func NewEmptyRegisterXContext

func NewEmptyRegisterXContext() *RegisterXContext

func NewRegisterXContext

func NewRegisterXContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RegisterXContext

func (*RegisterXContext) Accept

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

func (*RegisterXContext) EnterRule

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

func (*RegisterXContext) ExitRule

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

func (*RegisterXContext) GetParser

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

func (*RegisterXContext) GetRuleContext

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

func (*RegisterXContext) IsRegisterXContext

func (*RegisterXContext) IsRegisterXContext()

func (*RegisterXContext) REGX

func (*RegisterXContext) ToStringTree

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

type ReturnOperationContext

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

func NewEmptyReturnOperationContext

func NewEmptyReturnOperationContext() *ReturnOperationContext

func NewReturnOperationContext

func NewReturnOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReturnOperationContext

func (*ReturnOperationContext) Accept

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

func (*ReturnOperationContext) EnterRule

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

func (*ReturnOperationContext) ExitRule

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

func (*ReturnOperationContext) GetParser

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

func (*ReturnOperationContext) GetRuleContext

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

func (*ReturnOperationContext) IsReturnOperationContext

func (*ReturnOperationContext) IsReturnOperationContext()

func (*ReturnOperationContext) LiteralNumber

func (s *ReturnOperationContext) LiteralNumber() ILiteralNumberContext

func (*ReturnOperationContext) RET

func (*ReturnOperationContext) RegisterA

func (*ReturnOperationContext) ToStringTree

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

type SimpleOperationContext

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

func NewEmptySimpleOperationContext

func NewEmptySimpleOperationContext() *SimpleOperationContext

func NewSimpleOperationContext

func NewSimpleOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SimpleOperationContext

func (*SimpleOperationContext) Accept

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

func (*SimpleOperationContext) EnterRule

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

func (*SimpleOperationContext) ExitRule

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

func (*SimpleOperationContext) GetParser

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

func (*SimpleOperationContext) GetRuleContext

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

func (*SimpleOperationContext) IsSimpleOperationContext

func (*SimpleOperationContext) IsSimpleOperationContext()

func (*SimpleOperationContext) NEG

func (*SimpleOperationContext) TAX

func (*SimpleOperationContext) TXA

func (*SimpleOperationContext) ToStringTree

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

type StoreOperationContext

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

func NewEmptyStoreOperationContext

func NewEmptyStoreOperationContext() *StoreOperationContext

func NewStoreOperationContext

func NewStoreOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StoreOperationContext

func (*StoreOperationContext) Accept

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

func (*StoreOperationContext) EnterRule

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

func (*StoreOperationContext) ExitRule

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

func (*StoreOperationContext) GetParser

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

func (*StoreOperationContext) GetRuleContext

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

func (*StoreOperationContext) IsStoreOperationContext

func (*StoreOperationContext) IsStoreOperationContext()

func (*StoreOperationContext) RegisterR

func (*StoreOperationContext) StoreOperator

func (s *StoreOperationContext) StoreOperator() IStoreOperatorContext

func (*StoreOperationContext) ToStringTree

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

type StoreOperatorContext

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

func NewEmptyStoreOperatorContext

func NewEmptyStoreOperatorContext() *StoreOperatorContext

func NewStoreOperatorContext

func NewStoreOperatorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StoreOperatorContext

func (*StoreOperatorContext) Accept

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

func (*StoreOperatorContext) EnterRule

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

func (*StoreOperatorContext) ExitRule

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

func (*StoreOperatorContext) GetParser

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

func (*StoreOperatorContext) GetRuleContext

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

func (*StoreOperatorContext) IsStoreOperatorContext

func (*StoreOperatorContext) IsStoreOperatorContext()

func (*StoreOperatorContext) STA

func (*StoreOperatorContext) STX

func (*StoreOperatorContext) ToStringTree

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

Jump to

Keyboard shortcuts

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