C# Class AlbLib.Scripting.ScriptExecutionMachine

Inheritance: IScriptExecutor
Afficher le fichier Open project: IllidanS4/AlbLib

Méthodes publiques

Свойство Type Description
DebugExecutor DebugExecutor

Méthodes publiques

Méthode 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 méthode

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

Execute() public méthode

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

OnComment() public méthode

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

OnFunction() public abstract méthode

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

Property Details

DebugExecutor public_oe static_oe property

Default debug executor.
public static DebugExecutor,AlbLib.Scripting DebugExecutor
Résultat DebugExecutor