C# 클래스 Core.DlrEngine

파일 보기 프로젝트 열기: jflam/repl-lib 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_compilerOptions CompilerOptions
_engine ScriptEngine
_outputStream MemoryStream
_scope ScriptScope

공개 메소드들

메소드 설명
CreateScriptScope ( ) : ScriptScope
Execute ( string code ) : object
GetFileExtension ( ) : string
GetFileExtensions ( ) : IList
GetTokenInfos ( string code ) : List
InvokeMember ( object target, string method ) : object
ReadStandardOutput ( ) : string
Require ( string module ) : bool
Reset ( ScriptScope scope ) : void
SetVariable ( string name, object value ) : void

보호된 메소드들

메소드 설명
CreateScriptSourceFromString ( string code ) : Microsoft.Scripting.ScriptSource
CreateSourceUnit ( string code ) : SourceUnit
ResetOutputStream ( ) : void

메소드 상세

CreateScriptScope() 공개 메소드

public CreateScriptScope ( ) : ScriptScope
리턴 ScriptScope

CreateScriptSourceFromString() 보호된 메소드

protected CreateScriptSourceFromString ( string code ) : Microsoft.Scripting.ScriptSource
code string
리턴 Microsoft.Scripting.ScriptSource

CreateSourceUnit() 보호된 메소드

protected CreateSourceUnit ( string code ) : SourceUnit
code string
리턴 SourceUnit

Execute() 공개 메소드

public Execute ( string code ) : object
code string
리턴 object

GetFileExtension() 공개 메소드

public GetFileExtension ( ) : string
리턴 string

GetFileExtensions() 공개 메소드

public GetFileExtensions ( ) : IList
리턴 IList

GetTokenInfos() 공개 메소드

public GetTokenInfos ( string code ) : List
code string
리턴 List

InvokeMember() 공개 추상적인 메소드

public abstract InvokeMember ( object target, string method ) : object
target object
method string
리턴 object

ReadStandardOutput() 공개 메소드

public ReadStandardOutput ( ) : string
리턴 string

Require() 공개 추상적인 메소드

public abstract Require ( string module ) : bool
module string
리턴 bool

Reset() 공개 추상적인 메소드

public abstract Reset ( ScriptScope scope ) : void
scope ScriptScope
리턴 void

ResetOutputStream() 보호된 메소드

protected ResetOutputStream ( ) : void
리턴 void

SetVariable() 공개 메소드

public SetVariable ( string name, object value ) : void
name string
value object
리턴 void

프로퍼티 상세

_compilerOptions 보호되어 있는 프로퍼티

protected CompilerOptions _compilerOptions
리턴 CompilerOptions

_engine 보호되어 있는 프로퍼티

protected ScriptEngine _engine
리턴 ScriptEngine

_outputStream 보호되어 있는 프로퍼티

protected MemoryStream _outputStream
리턴 MemoryStream

_scope 보호되어 있는 프로퍼티

protected ScriptScope _scope
리턴 ScriptScope