C# 클래스 Algo.Runtime.Build.Runtime.AlgorithmInterpreter

Provide a set of feature to interpreter an AlgorithmProgram
상속: IDisposable
파일 보기 프로젝트 열기: veler/AlgorithmSimulator

Private Properties

프로퍼티 타입 설명
AddStateChangeHistory void
Break void
ChangeState void
Pause void
RunAsync Task
Stop void

공개 메소드들

메소드 설명
AlgorithmInterpreter ( AlgorithmProgram program ) : Algo.Runtime.Build.AlgorithmDOM.DOM

Initialize a new instance of AlgorithmInterpreter

Dispose ( ) : void

Dispose the resources

Pause ( ) : void

Put the program in pause

Resume ( ) : void

Resume a paused program

StartAsync ( bool debugMode ) : Task

Start the interpreter

StepInto ( ) : void

Step into the current statement

StepOut ( ) : void

Step out the current method and pause in the parent block

StepOver ( ) : void

Step over the current statement without goind inside the method, if it's a method invocation

Stop ( ) : void

Stop the execution of the current interpreter

비공개 메소드들

메소드 설명
AddStateChangeHistory ( Algo.Runtime.Build.Runtime.AlgorithmInterpreterStateEventArgs algorithmInterpreterStateEventArgs ) : void

Add a new state to the historic

Break ( bool calledByChangeState, Algo.Runtime.Build.Runtime.AlgorithmInterpreterStateEventArgs algorithmInterpreterState = null ) : void

Put the program in pause after a breakpoint or an error

ChangeState ( object source, Algo.Runtime.Build.Runtime.AlgorithmInterpreterStateEventArgs e ) : void

Change the state of the algorithm interpreter

Pause ( bool calledByChangeState ) : void

Put the program in pause

RunAsync ( bool debugMode ) : Task

Start the interpreter

Stop ( bool calledByChangeState, bool withError = false ) : void

Stop the execution of the current interpreter

메소드 상세

AlgorithmInterpreter() 공개 메소드

Initialize a new instance of AlgorithmInterpreter
public AlgorithmInterpreter ( AlgorithmProgram program ) : Algo.Runtime.Build.AlgorithmDOM.DOM
program AlgorithmProgram the program to interpret
리턴 Algo.Runtime.Build.AlgorithmDOM.DOM

Dispose() 공개 메소드

Dispose the resources
public Dispose ( ) : void
리턴 void

Pause() 공개 메소드

Put the program in pause
public Pause ( ) : void
리턴 void

Resume() 공개 메소드

Resume a paused program
public Resume ( ) : void
리턴 void

StartAsync() 공개 메소드

Start the interpreter
public StartAsync ( bool debugMode ) : Task
debugMode bool Defines if the debug mode must be enabled or not
리턴 Task

StepInto() 공개 메소드

Step into the current statement
public StepInto ( ) : void
리턴 void

StepOut() 공개 메소드

Step out the current method and pause in the parent block
public StepOut ( ) : void
리턴 void

StepOver() 공개 메소드

Step over the current statement without goind inside the method, if it's a method invocation
public StepOver ( ) : void
리턴 void

Stop() 공개 메소드

Stop the execution of the current interpreter
public Stop ( ) : void
리턴 void