C# Класс Algo.Runtime.Build.Runtime.AlgorithmInterpreter

Provide a set of feature to interpreter an AlgorithmProgram
Наследование: IDisposable
Показать файл Открыть проект

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