C# 클래스 AlbLib.Scripting.DebugExecutor

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

공개 메소드들

메소드 설명
DebugExecutor ( ) : System

Initializes new instance using Console.Out as an output.

DebugExecutor ( TextWriter output ) : System

Initializes new instance using output as an output.

Execute ( string script ) : 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.

메소드 상세

DebugExecutor() 공개 메소드

Initializes new instance using Console.Out as an output.
public DebugExecutor ( ) : System
리턴 System

DebugExecutor() 공개 메소드

Initializes new instance using output as an output.
public DebugExecutor ( TextWriter output ) : System
output System.IO.TextWriter /// Output where debug information will be written. ///
리턴 System

Execute() 공개 메소드

Executes a script.
/// When any exception raises in script execution. ///
public Execute ( string script ) : bool
script string /// Script text. ///
리턴 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 OnFunction ( string function, int args ) : void
function string /// Found function name. ///
args int /// Found function arguments. ///
리턴 void