C# Класс AlbLib.Scripting.ScriptExecutionMachine

Наследование: IScriptExecutor
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DebugExecutor DebugExecutor

Открытые методы

Метод Описание
Execute ( string script ) : bool

Executes a script. Does not throw any exceptions.

Execute ( string script, ScriptExecutionException &exception ) : bool

Executes a script.

OnComment ( string comment ) : void

Occurs when a comment is found.

OnFunction ( string function, int args ) : void

Occurs when a function is called.

Описание методов

Execute() публичный Метод

Executes a script. Does not throw any exceptions.
public Execute ( string script ) : bool
script string /// Script text. ///
Результат bool

Execute() публичный Метод

Executes a script.
public Execute ( string script, ScriptExecutionException &exception ) : bool
script string /// Script text. ///
exception ScriptExecutionException /// Thrown exception, if any, will be stored there. ///
Результат bool

OnComment() публичный Метод

Occurs when a comment is found.
public OnComment ( string comment ) : void
comment string /// Found comment. ///
Результат void

OnFunction() публичный абстрактный Метод

Occurs when a function is called.
public abstract OnFunction ( string function, int args ) : void
function string /// Found function name. ///
args int /// Found function arguments. ///
Результат void

Описание свойств

DebugExecutor публичное статическое свойство

Default debug executor.
public static DebugExecutor,AlbLib.Scripting DebugExecutor
Результат DebugExecutor