C# Class VirtualExecutionSystem.MethodRunner

Inheritance: Mono.Cecil.Cil.BaseCodeVisitor
Show file Open project: kthompson/csharpos

Public Methods

Method Description
TerminateMethodBody ( MethodBody body ) : void
VisitExceptionHandler ( Mono.Cecil.Cil.ExceptionHandler eh ) : void
VisitExceptionHandlerCollection ( Mono.Cecil.Cil.ExceptionHandlerCollection seh ) : void
VisitInstruction ( IInstruction instr ) : void
VisitInstructionCollection ( InstructionCollection instructions ) : void
VisitMethodBody ( MethodBody body ) : void
VisitScope ( Scope s ) : void
VisitScopeCollection ( ScopeCollection scopes ) : void
VisitVariableDefinitionCollection ( VariableDefinitionCollection variables ) : void

Private Methods

Method Description
GetShortForm ( Instruction instr ) : int
LoadLocal ( int index ) : void
PerformAdd ( object p1, object p2 ) : void
PerformAnd ( object p1, object p2 ) : void
PerformJump ( Instruction p ) : void
SetLocal ( int index ) : void

Method Details

TerminateMethodBody() public method

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

VisitExceptionHandler() public method

public VisitExceptionHandler ( Mono.Cecil.Cil.ExceptionHandler eh ) : void
eh Mono.Cecil.Cil.ExceptionHandler
return void

VisitExceptionHandlerCollection() public method

public VisitExceptionHandlerCollection ( Mono.Cecil.Cil.ExceptionHandlerCollection seh ) : void
seh Mono.Cecil.Cil.ExceptionHandlerCollection
return void

VisitInstruction() public method

public VisitInstruction ( IInstruction instr ) : void
instr IInstruction
return void

VisitInstructionCollection() public method

public VisitInstructionCollection ( InstructionCollection instructions ) : void
instructions Mono.Cecil.Cil.InstructionCollection
return void

VisitMethodBody() public method

public VisitMethodBody ( MethodBody body ) : void
body MethodBody
return void

VisitScope() public method

public VisitScope ( Scope s ) : void
s Scope
return void

VisitScopeCollection() public method

public VisitScopeCollection ( ScopeCollection scopes ) : void
scopes ScopeCollection
return void

VisitVariableDefinitionCollection() public method

public VisitVariableDefinitionCollection ( VariableDefinitionCollection variables ) : void
variables VariableDefinitionCollection
return void