C# Class Rhino.NativeScript

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

Public Methods

Method Description
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
Construct ( Context cx, Scriptable scope, object args ) : Scriptable
ExecIdCall ( IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
GetArity ( ) : int
GetClassName ( ) : string

Returns the name of this JavaScript class, "Script".

Returns the name of this JavaScript class, "Script".

GetLength ( ) : int

Protected Methods

Method Description
FindPrototypeId ( string s ) : int
InitPrototypeId ( int id ) : void

Private Methods

Method Description
Compile ( Context cx, string source ) : System.Script
Decompile ( int indent, int flags ) : string
Init ( Scriptable scope, bool @sealed ) : void
NativeScript ( System.Script script ) : System
RealThis ( Scriptable thisObj, IdFunctionObject f ) : NativeScript

Method Details

Call() public method

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

Construct() public method

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

ExecIdCall() public method

public ExecIdCall ( IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
f IdFunctionObject
cx Context
scope Scriptable
thisObj Scriptable
args object
return object

FindPrototypeId() protected method

protected FindPrototypeId ( string s ) : int
s string
return int

GetArity() public method

public GetArity ( ) : int
return int

GetClassName() public method

Returns the name of this JavaScript class, "Script".
Returns the name of this JavaScript class, "Script".
public GetClassName ( ) : string
return string

GetLength() public method

public GetLength ( ) : int
return int

InitPrototypeId() protected method

protected InitPrototypeId ( int id ) : void
id int
return void