C# 클래스 Rhino.NativeFunction

상속: BaseFunction
파일 보기 프로젝트 열기: hazzik/Rhino.Net

공개 메소드들

메소드 설명
GetArity ( ) : int
GetDebuggableView ( ) : DebuggableScript
GetEncodedSource ( ) : string

Get encoded source string.

Get encoded source string.

GetLength ( ) : int
InitScriptFunction ( Context cx, Scriptable scope ) : void
ResumeGenerator ( Context cx, Scriptable scope, int operation, object state, object value ) : object

Resume execution of a suspended generator.

Resume execution of a suspended generator.

보호된 메소드들

메소드 설명
GetLanguageVersion ( ) : int
GetParamAndVarCount ( ) : int

Get number of declared parameters and variables defined through var statements.

Get number of declared parameters and variables defined through var statements.

GetParamCount ( ) : int

Get number of declared parameters.

Get number of declared parameters. It should be 0 for scripts.

GetParamOrVarConst ( int index ) : bool

Get parameter or variable const-ness.

Get parameter or variable const-ness. If index < GetParamCount() , then return the const-ness of the corresponding parameter. Otherwise return whether the variable is const.

GetParamOrVarName ( int index ) : string

Get parameter or variable name.

Get parameter or variable name. If index < GetParamCount() , then return the name of the corresponding parameter. Otherwise return the name of variable.

비공개 메소드들

메소드 설명
Decompile ( int indent, int flags ) : string
JsGet_name ( ) : string

메소드 상세

GetArity() 공개 메소드

public GetArity ( ) : int
리턴 int

GetDebuggableView() 공개 메소드

public GetDebuggableView ( ) : DebuggableScript
리턴 DebuggableScript

GetEncodedSource() 공개 메소드

Get encoded source string.
Get encoded source string.
public GetEncodedSource ( ) : string
리턴 string

GetLanguageVersion() 보호된 추상적인 메소드

protected abstract GetLanguageVersion ( ) : int
리턴 int

GetLength() 공개 메소드

public GetLength ( ) : int
리턴 int

GetParamAndVarCount() 보호된 추상적인 메소드

Get number of declared parameters and variables defined through var statements.
Get number of declared parameters and variables defined through var statements.
protected abstract GetParamAndVarCount ( ) : int
리턴 int

GetParamCount() 보호된 추상적인 메소드

Get number of declared parameters.
Get number of declared parameters. It should be 0 for scripts.
protected abstract GetParamCount ( ) : int
리턴 int

GetParamOrVarConst() 보호된 메소드

Get parameter or variable const-ness.
Get parameter or variable const-ness. If index < GetParamCount() , then return the const-ness of the corresponding parameter. Otherwise return whether the variable is const.
protected GetParamOrVarConst ( int index ) : bool
index int
리턴 bool

GetParamOrVarName() 보호된 추상적인 메소드

Get parameter or variable name.
Get parameter or variable name. If index < GetParamCount() , then return the name of the corresponding parameter. Otherwise return the name of variable.
protected abstract GetParamOrVarName ( int index ) : string
index int
리턴 string

InitScriptFunction() 공개 메소드

public InitScriptFunction ( Context cx, Scriptable scope ) : void
cx Context
scope Scriptable
리턴 void

ResumeGenerator() 공개 메소드

Resume execution of a suspended generator.
Resume execution of a suspended generator.
public ResumeGenerator ( Context cx, Scriptable scope, int operation, object state, object value ) : object
cx Context The current context
scope Scriptable Scope for the parent generator function
operation int The resumption operation (next, send, etc.. )
state object The generator state (has locals, stack, etc.)
value object The return value of yield (if required).
리턴 object