C# Class AlbLib.Scripting.ScriptExecutionMachine

Inheritance: IScriptExecutor
Datei anzeigen Open project: IllidanS4/AlbLib

Public Properties

Property Type Description
DebugExecutor DebugExecutor

Public Methods

Method Description
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.

Method Details

Execute() public method

Executes a script. Does not throw any exceptions.
public Execute ( string script ) : bool
script string /// Script text. ///
return bool

Execute() public method

Executes a script.
public Execute ( string script, ScriptExecutionException &exception ) : bool
script string /// Script text. ///
exception ScriptExecutionException /// Thrown exception, if any, will be stored there. ///
return bool

OnComment() public method

Occurs when a comment is found.
public OnComment ( string comment ) : void
comment string /// Found comment. ///
return void

OnFunction() public abstract method

Occurs when a function is called.
public abstract OnFunction ( string function, int args ) : void
function string /// Found function name. ///
args int /// Found function arguments. ///
return void

Property Details

DebugExecutor public_oe static_oe property

Default debug executor.
public static DebugExecutor,AlbLib.Scripting DebugExecutor
return DebugExecutor