C# 클래스 Rhino.InterpretedFunction

상속: NativeFunction, System.Script
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object

Calls the function.

Calls the function.

Exec ( Context cx, Scriptable scope ) : object
GetDebuggableView ( ) : DebuggableScript
GetEncodedSource ( ) : string
GetFunctionName ( ) : string
IsScript ( ) : bool
ResumeGenerator ( Context cx, Scriptable scope, int operation, object state, object value ) : object

보호된 메소드들

메소드 설명
GetLanguageVersion ( ) : int
GetParamAndVarCount ( ) : int
GetParamCount ( ) : int
GetParamOrVarConst ( int index ) : bool
GetParamOrVarName ( int index ) : string

비공개 메소드들

메소드 설명
CreateFunction ( Context cx, Scriptable scope, InterpreterData idata, object staticSecurityDomain ) : InterpretedFunction

Create function compiled from Function(...) constructor.

Create function compiled from Function(...) constructor.

CreateFunction ( Context cx, Scriptable scope, Rhino parent, int index ) : InterpretedFunction

Create function embedded in script or another function.

Create function embedded in script or another function.

CreateScript ( InterpreterData idata, object staticSecurityDomain ) : InterpretedFunction

Create script from compiled bytecode.

Create script from compiled bytecode.

InterpretedFunction ( InterpreterData idata, object staticSecurityDomain ) : System
InterpretedFunction ( Rhino parent, int index ) : System

메소드 상세

Call() 공개 메소드

Calls the function.
Calls the function.
public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Context the current context
scope Scriptable the scope used for the call
thisObj Scriptable the value of "this"
args object /// function arguments. Must not be null. You can use /// ScriptRuntime.emptyArgs /// to pass empty arguments. ///
리턴 object

Exec() 공개 메소드

public Exec ( Context cx, Scriptable scope ) : object
cx Context
scope Scriptable
리턴 object

GetDebuggableView() 공개 메소드

public GetDebuggableView ( ) : DebuggableScript
리턴 DebuggableScript

GetEncodedSource() 공개 메소드

public GetEncodedSource ( ) : string
리턴 string

GetFunctionName() 공개 메소드

public GetFunctionName ( ) : string
리턴 string

GetLanguageVersion() 보호된 메소드

protected GetLanguageVersion ( ) : int
리턴 int

GetParamAndVarCount() 보호된 메소드

protected GetParamAndVarCount ( ) : int
리턴 int

GetParamCount() 보호된 메소드

protected GetParamCount ( ) : int
리턴 int

GetParamOrVarConst() 보호된 메소드

protected GetParamOrVarConst ( int index ) : bool
index int
리턴 bool

GetParamOrVarName() 보호된 메소드

protected GetParamOrVarName ( int index ) : string
index int
리턴 string

IsScript() 공개 메소드

public IsScript ( ) : bool
리턴 bool

ResumeGenerator() 공개 메소드

public ResumeGenerator ( Context cx, Scriptable scope, int operation, object state, object value ) : object
cx Context
scope Scriptable
operation int
state object
value object
리턴 object