C# 클래스 JackCompiler.CodeGenerator

상속: ICodeGenerator
파일 보기 프로젝트 열기: selagroup/diagnostics-courses

공개 메소드들

메소드 설명
Add ( ) : void
And ( ) : void
Assignment ( Token varName, bool withArrayIndex ) : void
BeginClass ( string className ) : void
BeginIf ( ) : void
BeginWhile ( ) : void
Call ( string className, string subroutineName ) : void
ConstructorDeclaration ( Subroutine subroutine ) : void
DiscardReturnValueFromLastCall ( ) : void
Div ( ) : void
EmitBootstrapper ( ) : void
EmitEnvironment ( ) : void
EndClass ( ) : void
EndIf ( ) : void
EndSubroutine ( ) : void
EndWhile ( ) : void
Equal ( ) : void
False ( ) : void
FieldDeclaration ( Symbol variable ) : void
FunctionDeclaration ( Subroutine subroutine ) : void
Greater ( ) : void
GreaterOrEqual ( ) : void
InitSymbolTables ( SymbolTable classSymTable, SymbolTable methodSymTable ) : void
IntConst ( int value ) : void
Less ( ) : void
LessOrEqual ( ) : void
MethodDeclaration ( Subroutine subroutine ) : void
Mod ( ) : void
Mul ( ) : void
Negate ( ) : void
Not ( ) : void
NotEqual ( ) : void
Null ( ) : void
Or ( ) : void
PossibleElse ( ) : void
Return ( ) : void
SetOptions ( CodeGeneratorOptions options ) : void
StaticDeclaration ( Symbol variable ) : void
StrConst ( string value ) : void
Sub ( ) : void
This ( ) : void
True ( ) : void
VariableRead ( Token varName, bool withArrayIndex ) : void
WhileCondition ( ) : void

메소드 상세

Add() 공개 추상적인 메소드

public abstract Add ( ) : void
리턴 void

And() 공개 추상적인 메소드

public abstract And ( ) : void
리턴 void

Assignment() 공개 추상적인 메소드

public abstract Assignment ( Token varName, bool withArrayIndex ) : void
varName Token
withArrayIndex bool
리턴 void

BeginClass() 공개 추상적인 메소드

public abstract BeginClass ( string className ) : void
className string
리턴 void

BeginIf() 공개 추상적인 메소드

public abstract BeginIf ( ) : void
리턴 void

BeginWhile() 공개 추상적인 메소드

public abstract BeginWhile ( ) : void
리턴 void

Call() 공개 추상적인 메소드

public abstract Call ( string className, string subroutineName ) : void
className string
subroutineName string
리턴 void

ConstructorDeclaration() 공개 추상적인 메소드

public abstract ConstructorDeclaration ( Subroutine subroutine ) : void
subroutine Subroutine
리턴 void

DiscardReturnValueFromLastCall() 공개 추상적인 메소드

public abstract DiscardReturnValueFromLastCall ( ) : void
리턴 void

Div() 공개 추상적인 메소드

public abstract Div ( ) : void
리턴 void

EmitBootstrapper() 공개 추상적인 메소드

public abstract EmitBootstrapper ( ) : void
리턴 void

EmitEnvironment() 공개 추상적인 메소드

public abstract EmitEnvironment ( ) : void
리턴 void

EndClass() 공개 추상적인 메소드

public abstract EndClass ( ) : void
리턴 void

EndIf() 공개 추상적인 메소드

public abstract EndIf ( ) : void
리턴 void

EndSubroutine() 공개 추상적인 메소드

public abstract EndSubroutine ( ) : void
리턴 void

EndWhile() 공개 추상적인 메소드

public abstract EndWhile ( ) : void
리턴 void

Equal() 공개 추상적인 메소드

public abstract Equal ( ) : void
리턴 void

False() 공개 추상적인 메소드

public abstract False ( ) : void
리턴 void

FieldDeclaration() 공개 추상적인 메소드

public abstract FieldDeclaration ( Symbol variable ) : void
variable Symbol
리턴 void

FunctionDeclaration() 공개 추상적인 메소드

public abstract FunctionDeclaration ( Subroutine subroutine ) : void
subroutine Subroutine
리턴 void

Greater() 공개 추상적인 메소드

public abstract Greater ( ) : void
리턴 void

GreaterOrEqual() 공개 추상적인 메소드

public abstract GreaterOrEqual ( ) : void
리턴 void

InitSymbolTables() 공개 메소드

public InitSymbolTables ( SymbolTable classSymTable, SymbolTable methodSymTable ) : void
classSymTable SymbolTable
methodSymTable SymbolTable
리턴 void

IntConst() 공개 추상적인 메소드

public abstract IntConst ( int value ) : void
value int
리턴 void

Less() 공개 추상적인 메소드

public abstract Less ( ) : void
리턴 void

LessOrEqual() 공개 추상적인 메소드

public abstract LessOrEqual ( ) : void
리턴 void

MethodDeclaration() 공개 추상적인 메소드

public abstract MethodDeclaration ( Subroutine subroutine ) : void
subroutine Subroutine
리턴 void

Mod() 공개 추상적인 메소드

public abstract Mod ( ) : void
리턴 void

Mul() 공개 추상적인 메소드

public abstract Mul ( ) : void
리턴 void

Negate() 공개 추상적인 메소드

public abstract Negate ( ) : void
리턴 void

Not() 공개 추상적인 메소드

public abstract Not ( ) : void
리턴 void

NotEqual() 공개 추상적인 메소드

public abstract NotEqual ( ) : void
리턴 void

Null() 공개 추상적인 메소드

public abstract Null ( ) : void
리턴 void

Or() 공개 추상적인 메소드

public abstract Or ( ) : void
리턴 void

PossibleElse() 공개 추상적인 메소드

public abstract PossibleElse ( ) : void
리턴 void

Return() 공개 추상적인 메소드

public abstract Return ( ) : void
리턴 void

SetOptions() 공개 메소드

public SetOptions ( CodeGeneratorOptions options ) : void
options CodeGeneratorOptions
리턴 void

StaticDeclaration() 공개 추상적인 메소드

public abstract StaticDeclaration ( Symbol variable ) : void
variable Symbol
리턴 void

StrConst() 공개 추상적인 메소드

public abstract StrConst ( string value ) : void
value string
리턴 void

Sub() 공개 추상적인 메소드

public abstract Sub ( ) : void
리턴 void

This() 공개 추상적인 메소드

public abstract This ( ) : void
리턴 void

True() 공개 추상적인 메소드

public abstract True ( ) : void
리턴 void

VariableRead() 공개 추상적인 메소드

public abstract VariableRead ( Token varName, bool withArrayIndex ) : void
varName Token
withArrayIndex bool
리턴 void

WhileCondition() 공개 추상적인 메소드

public abstract WhileCondition ( ) : void
리턴 void