C# 클래스 AlbLib.Scripting.ScriptExecutionMachine

상속: IScriptExecutor
파일 보기 프로젝트 열기: IllidanS4/AlbLib

공개 프로퍼티들

프로퍼티 타입 설명
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