C# Class Rhino.Optimizer.OptRuntime

Inheritance: Rhino.ScriptRuntime
Datei anzeigen Open project: hazzik/Rhino.Net

Public Properties

Property Type Description
minusOneObj double
oneObj double
zeroObj double

Public Methods

Method Description
Add ( double val1, object val2 ) : object
Add ( object val1, double val2 ) : object
Call0 ( Callable fun, Scriptable thisObj, Context cx, Scriptable scope ) : object

Implement ....() call shrinking optimizer code.

Implement ....() call shrinking optimizer code.

Call1 ( Callable fun, Scriptable thisObj, object arg0, Context cx, Scriptable scope ) : object

Implement ....(arg) call shrinking optimizer code.

Implement ....(arg) call shrinking optimizer code.

Call2 ( Callable fun, Scriptable thisObj, object arg0, object arg1, Context cx, Scriptable scope ) : object

Implement ....(arg0, arg1) call shrinking optimizer code.

Implement ....(arg0, arg1) call shrinking optimizer code.

CallN ( Callable fun, Scriptable thisObj, object args, Context cx, Scriptable scope ) : object

Implement ....(arg0, arg1, ...) call shrinking optimizer code.

Implement ....(arg0, arg1, ...) call shrinking optimizer code.

CallName ( object args, string name, Context cx, Scriptable scope ) : object

Implement name(args) call shrinking optimizer code.

Implement name(args) call shrinking optimizer code.

CallName0 ( string name, Context cx, Scriptable scope ) : object

Implement name() call shrinking optimizer code.

Implement name() call shrinking optimizer code.

CallProp0 ( object value, string property, Context cx, Scriptable scope ) : object

Implement x.property() call shrinking optimizer code.

Implement x.property() call shrinking optimizer code.

CallSpecial ( Context cx, Callable fun, Scriptable thisObj, object args, Scriptable scope, Scriptable callerThis, int callType, string fileName, int lineNumber ) : object
CreateNativeGenerator ( NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack ) : Scriptable
ElemIncrDecr ( object obj, double index, Context cx, int incrDecrMask ) : object
GetGeneratorLocalsState ( object obj ) : object[]
GetGeneratorStackState ( object obj ) : object[]
InitFunction ( NativeFunction fn, int functionType, Scriptable scope, Context cx ) : void
Main ( System.Script script, string args ) : void
NewArrayLiteral ( object objects, string encodedInts, int skipCount, Context cx, Scriptable scope ) : Scriptable
NewObjectSpecial ( Context cx, object fun, object args, Scriptable scope, Scriptable callerThis, int callType ) : object
PadStart ( object currentArgs, int count ) : object[]
ThrowStopIteration ( object obj ) : void
WrapDouble ( double num ) : double

Private Methods

Method Description
DecodeIntArray ( string str, int arraySize ) : int[]
EncodeIntArray ( int array ) : string

Method Details

Add() public static method

public static Add ( double val1, object val2 ) : object
val1 double
val2 object
return object

Add() public static method

public static Add ( object val1, double val2 ) : object
val1 object
val2 double
return object

Call0() public static method

Implement ....() call shrinking optimizer code.
Implement ....() call shrinking optimizer code.
public static Call0 ( Callable fun, Scriptable thisObj, Context cx, Scriptable scope ) : object
fun Callable
thisObj Scriptable
cx Rhino.Context
scope Scriptable
return object

Call1() public static method

Implement ....(arg) call shrinking optimizer code.
Implement ....(arg) call shrinking optimizer code.
public static Call1 ( Callable fun, Scriptable thisObj, object arg0, Context cx, Scriptable scope ) : object
fun Callable
thisObj Scriptable
arg0 object
cx Rhino.Context
scope Scriptable
return object

Call2() public static method

Implement ....(arg0, arg1) call shrinking optimizer code.
Implement ....(arg0, arg1) call shrinking optimizer code.
public static Call2 ( Callable fun, Scriptable thisObj, object arg0, object arg1, Context cx, Scriptable scope ) : object
fun Callable
thisObj Scriptable
arg0 object
arg1 object
cx Rhino.Context
scope Scriptable
return object

CallN() public static method

Implement ....(arg0, arg1, ...) call shrinking optimizer code.
Implement ....(arg0, arg1, ...) call shrinking optimizer code.
public static CallN ( Callable fun, Scriptable thisObj, object args, Context cx, Scriptable scope ) : object
fun Callable
thisObj Scriptable
args object
cx Rhino.Context
scope Scriptable
return object

CallName() public static method

Implement name(args) call shrinking optimizer code.
Implement name(args) call shrinking optimizer code.
public static CallName ( object args, string name, Context cx, Scriptable scope ) : object
args object
name string
cx Rhino.Context
scope Scriptable
return object

CallName0() public static method

Implement name() call shrinking optimizer code.
Implement name() call shrinking optimizer code.
public static CallName0 ( string name, Context cx, Scriptable scope ) : object
name string
cx Rhino.Context
scope Scriptable
return object

CallProp0() public static method

Implement x.property() call shrinking optimizer code.
Implement x.property() call shrinking optimizer code.
public static CallProp0 ( object value, string property, Context cx, Scriptable scope ) : object
value object
property string
cx Rhino.Context
scope Scriptable
return object

CallSpecial() public static method

public static CallSpecial ( Context cx, Callable fun, Scriptable thisObj, object args, Scriptable scope, Scriptable callerThis, int callType, string fileName, int lineNumber ) : object
cx Rhino.Context
fun Callable
thisObj Scriptable
args object
scope Scriptable
callerThis Scriptable
callType int
fileName string
lineNumber int
return object

CreateNativeGenerator() public static method

public static CreateNativeGenerator ( NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack ) : Scriptable
funObj NativeFunction
scope Scriptable
thisObj Scriptable
maxLocals int
maxStack int
return Scriptable

ElemIncrDecr() public static method

public static ElemIncrDecr ( object obj, double index, Context cx, int incrDecrMask ) : object
obj object
index double
cx Rhino.Context
incrDecrMask int
return object

GetGeneratorLocalsState() public static method

public static GetGeneratorLocalsState ( object obj ) : object[]
obj object
return object[]

GetGeneratorStackState() public static method

public static GetGeneratorStackState ( object obj ) : object[]
obj object
return object[]

InitFunction() public static method

public static InitFunction ( NativeFunction fn, int functionType, Scriptable scope, Context cx ) : void
fn NativeFunction
functionType int
scope Scriptable
cx Rhino.Context
return void

Main() public static method

public static Main ( System.Script script, string args ) : void
script System.Script
args string
return void

NewArrayLiteral() public static method

public static NewArrayLiteral ( object objects, string encodedInts, int skipCount, Context cx, Scriptable scope ) : Scriptable
objects object
encodedInts string
skipCount int
cx Rhino.Context
scope Scriptable
return Scriptable

NewObjectSpecial() public static method

public static NewObjectSpecial ( Context cx, object fun, object args, Scriptable scope, Scriptable callerThis, int callType ) : object
cx Rhino.Context
fun object
args object
scope Scriptable
callerThis Scriptable
callType int
return object

PadStart() public static method

public static PadStart ( object currentArgs, int count ) : object[]
currentArgs object
count int
return object[]

ThrowStopIteration() public static method

public static ThrowStopIteration ( object obj ) : void
obj object
return void

WrapDouble() public static method

public static WrapDouble ( double num ) : double
num double
return double

Property Details

minusOneObj public_oe static_oe property

public static double minusOneObj
return double

oneObj public_oe static_oe property

public static double oneObj
return double

zeroObj public_oe static_oe property

public static double zeroObj
return double