C# 클래스 Interpreter

파일 보기 프로젝트 열기: oleg-shilo/cs-script 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Console IConsole
returnsValue bool

공개 메소드들

메소드 설명
AddNamespace ( string ns ) : void
AddReference ( string r ) : void
DefaultIncludeFile ( ) : string
FullExecutablePath ( ) : string
Interpreter ( ) : System
ProcessLine ( string line ) : bool
ReadIncludeFile ( string file ) : void
SetValue ( string name, object val ) : void

비공개 메소드들

메소드 설명
CompileLine ( string codeStr, CHash type, string assemblyName, string className ) : CompilerResults
CompileTemplate ( CompilerParameters cp, string codeStr, CHash type, string className ) : CompilerResults
ExecuteLine ( string codeStr ) : void
GetPublicRuntimeType ( object symVal ) : Type
MassageInput ( string s, bool &wasAssignment ) : string
ProcessCommand ( string line ) : void
ShowErrors ( CompilerResults cr, string codeStr ) : void
firstToken ( string s ) : string
word_within ( string s, string strs ) : bool

메소드 상세

AddNamespace() 공개 메소드

public AddNamespace ( string ns ) : void
ns string
리턴 void

AddReference() 공개 메소드

public AddReference ( string r ) : void
r string
리턴 void

DefaultIncludeFile() 공개 메소드

public DefaultIncludeFile ( ) : string
리턴 string

FullExecutablePath() 공개 메소드

public FullExecutablePath ( ) : string
리턴 string

Interpreter() 공개 메소드

public Interpreter ( ) : System
리턴 System

ProcessLine() 공개 메소드

public ProcessLine ( string line ) : bool
line string
리턴 bool

ReadIncludeFile() 공개 메소드

public ReadIncludeFile ( string file ) : void
file string
리턴 void

SetValue() 공개 메소드

public SetValue ( string name, object val ) : void
name string
val object
리턴 void

프로퍼티 상세

Console 공개적으로 정적으로 프로퍼티

public static IConsole Console
리턴 IConsole

returnsValue 공개적으로 프로퍼티

public bool returnsValue
리턴 bool