C# 클래스 Compiler.Emitter

파일 보기 프로젝트 열기: kthompson/csharpos

공개 메소드들

메소드 설명
Emit ( ICodeNode node, int si ) : void
Emit ( IEnumerable collection, int si ) : void
EmitAssignExpression ( Cecil.Decompiler.Ast.AssignExpression node, int si ) : void
EmitBinaryExpression ( TypedBinaryExpression node, int si ) : void
EmitBlockStatement ( Cecil.Decompiler.Ast.BlockStatement node, int si ) : void
EmitExpression ( Expression node, int si ) : void
EmitExpressionStatement ( Cecil.Decompiler.Ast.ExpressionStatement node, int si ) : void
EmitLiteralExpression ( Cecil.Decompiler.Ast.LiteralExpression node, int si ) : void
EmitReturnStatement ( Cecil.Decompiler.Ast.ReturnStatement node, int si ) : void
EmitStatement ( Cecil.Decompiler.Ast.Statement node, int si ) : void
EmitUnaryExpression ( Cecil.Decompiler.Ast.UnaryExpression node, int si ) : void
EmitVariableReferenceExpression ( Cecil.Decompiler.Ast.VariableReferenceExpression node, int si ) : void
Emitter ( ) : System
Emitter ( TextWriter writer ) : System
Section ( SectionType type ) : Section
TerminateMethodBody ( MethodBody body ) : void
VisitMethodDefinition ( Mono.Cecil.MethodDefinition method ) : void

보호된 메소드들

메소드 설명
GetMappedLabel ( string ilLabel ) : string
GetUniqueLabel ( ) : string
VisitMethodBody ( MethodBody body ) : void

비공개 메소드들

메소드 설명
EmitArgumentReferenceExpression ( Cecil.Decompiler.Ast.ArgumentReferenceExpression node, int si ) : void
EmitBranchPattern ( System.Action test, System.Action @else, System.Action then ) : void
EmitBranchPattern ( System.Action test, System.Action @else, System.Action then, string jmpType ) : void
EmitComparePattern ( string left, string right, System.Action then, System.Action @else ) : void
EmitComparePattern ( string left, string right, System.Action then, System.Action @else, string jmpType ) : void
EmitMethodEntry ( int localVariableSize ) : void
GetVariableSize ( Mono.Cecil.Cil.VariableDefinition variable ) : int
LookupVariable ( Expression node ) : int

메소드 상세

Emit() 공개 메소드

public Emit ( ICodeNode node, int si ) : void
node ICodeNode
si int
리턴 void

Emit() 공개 메소드

public Emit ( IEnumerable collection, int si ) : void
collection IEnumerable
si int
리턴 void

EmitAssignExpression() 공개 메소드

public EmitAssignExpression ( Cecil.Decompiler.Ast.AssignExpression node, int si ) : void
node Cecil.Decompiler.Ast.AssignExpression
si int
리턴 void

EmitBinaryExpression() 공개 메소드

public EmitBinaryExpression ( TypedBinaryExpression node, int si ) : void
node Compiler.Ast.TypedBinaryExpression
si int
리턴 void

EmitBlockStatement() 공개 메소드

public EmitBlockStatement ( Cecil.Decompiler.Ast.BlockStatement node, int si ) : void
node Cecil.Decompiler.Ast.BlockStatement
si int
리턴 void

EmitExpression() 공개 메소드

public EmitExpression ( Expression node, int si ) : void
node Expression
si int
리턴 void

EmitExpressionStatement() 공개 메소드

public EmitExpressionStatement ( Cecil.Decompiler.Ast.ExpressionStatement node, int si ) : void
node Cecil.Decompiler.Ast.ExpressionStatement
si int
리턴 void

EmitLiteralExpression() 공개 메소드

public EmitLiteralExpression ( Cecil.Decompiler.Ast.LiteralExpression node, int si ) : void
node Cecil.Decompiler.Ast.LiteralExpression
si int
리턴 void

EmitReturnStatement() 공개 메소드

public EmitReturnStatement ( Cecil.Decompiler.Ast.ReturnStatement node, int si ) : void
node Cecil.Decompiler.Ast.ReturnStatement
si int
리턴 void

EmitStatement() 공개 메소드

public EmitStatement ( Cecil.Decompiler.Ast.Statement node, int si ) : void
node Cecil.Decompiler.Ast.Statement
si int
리턴 void

EmitUnaryExpression() 공개 메소드

public EmitUnaryExpression ( Cecil.Decompiler.Ast.UnaryExpression node, int si ) : void
node Cecil.Decompiler.Ast.UnaryExpression
si int
리턴 void

EmitVariableReferenceExpression() 공개 메소드

public EmitVariableReferenceExpression ( Cecil.Decompiler.Ast.VariableReferenceExpression node, int si ) : void
node Cecil.Decompiler.Ast.VariableReferenceExpression
si int
리턴 void

Emitter() 공개 메소드

public Emitter ( ) : System
리턴 System

Emitter() 공개 메소드

public Emitter ( TextWriter writer ) : System
writer System.IO.TextWriter
리턴 System

GetMappedLabel() 보호된 메소드

protected GetMappedLabel ( string ilLabel ) : string
ilLabel string
리턴 string

GetUniqueLabel() 보호된 메소드

protected GetUniqueLabel ( ) : string
리턴 string

Section() 공개 메소드

public Section ( SectionType type ) : Section
type SectionType
리턴 Section

TerminateMethodBody() 공개 메소드

public TerminateMethodBody ( MethodBody body ) : void
body Mono.Cecil.Cil.MethodBody
리턴 void

VisitMethodBody() 보호된 메소드

protected VisitMethodBody ( MethodBody body ) : void
body Mono.Cecil.Cil.MethodBody
리턴 void

VisitMethodDefinition() 공개 메소드

public VisitMethodDefinition ( Mono.Cecil.MethodDefinition method ) : void
method Mono.Cecil.MethodDefinition
리턴 void