C# Class Rhino.IdFunctionObject

Inheritance: BaseFunction
显示文件 Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
AddAsProperty ( Scriptable target ) : void
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
CreateObject ( Context cx, Scriptable scope ) : Scriptable
ExportAsScopeProperty ( ) : void
GetArity ( ) : int
GetFunctionName ( ) : string
GetLength ( ) : int
GetPrototype ( ) : Scriptable
HasTag ( object tag ) : bool
IdFunctionObject ( IdFunctionCall idcall, object tag, int id, int arity ) : System
IdFunctionObject ( IdFunctionCall idcall, object tag, int id, string name, int arity, Scriptable scope ) : System
InitFunction ( string name, Scriptable scope ) : void
MarkAsConstructor ( Scriptable prototypeProperty ) : void
MethodId ( ) : int
Unknown ( ) : Exception

Private Methods

Method Description
Decompile ( int indent, int flags ) : string

Method Details

AddAsProperty() public method

public AddAsProperty ( Scriptable target ) : void
target Scriptable
return void

Call() public method

public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Context
scope Scriptable
thisObj Scriptable
args object
return object

CreateObject() public method

public CreateObject ( Context cx, Scriptable scope ) : Scriptable
cx Context
scope Scriptable
return Scriptable

ExportAsScopeProperty() public method

public ExportAsScopeProperty ( ) : void
return void

GetArity() public method

public GetArity ( ) : int
return int

GetFunctionName() public method

public GetFunctionName ( ) : string
return string

GetLength() public method

public GetLength ( ) : int
return int

GetPrototype() public method

public GetPrototype ( ) : Scriptable
return Scriptable

HasTag() public method

public HasTag ( object tag ) : bool
tag object
return bool

IdFunctionObject() public method

public IdFunctionObject ( IdFunctionCall idcall, object tag, int id, int arity ) : System
idcall IdFunctionCall
tag object
id int
arity int
return System

IdFunctionObject() public method

public IdFunctionObject ( IdFunctionCall idcall, object tag, int id, string name, int arity, Scriptable scope ) : System
idcall IdFunctionCall
tag object
id int
name string
arity int
scope Scriptable
return System

InitFunction() public method

public InitFunction ( string name, Scriptable scope ) : void
name string
scope Scriptable
return void

MarkAsConstructor() public method

public MarkAsConstructor ( Scriptable prototypeProperty ) : void
prototypeProperty Scriptable
return void

MethodId() public method

public MethodId ( ) : int
return int

Unknown() public method

public Unknown ( ) : Exception
return System.Exception