Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.mozilla.javascript.ScriptRuntime
org.mozilla.javascript.optimizer.OptRuntime
public final class OptRuntime
extends ScriptRuntime
Nested Class Summary | |
static class |
Nested classes/interfaces inherited from class org.mozilla.javascript.ScriptRuntime | |
ScriptRuntime.MessageProvider |
Field Summary | |
static Double | |
static Double | |
static Double |
Fields inherited from class org.mozilla.javascript.ScriptRuntime | |
BooleanClass , ByteClass , CharacterClass , ClassClass , ContextClass , ContextFactoryClass , DateClass , DoubleClass , ENUMERATE_ARRAY , ENUMERATE_ARRAY_NO_ITERATOR , ENUMERATE_KEYS , ENUMERATE_KEYS_NO_ITERATOR , ENUMERATE_VALUES , ENUMERATE_VALUES_NO_ITERATOR , FloatClass , FunctionClass , IntegerClass , LongClass , NaN , NaNobj , NumberClass , ObjectClass , ScriptableClass , ScriptableObjectClass , ShortClass , StringClass , emptyArgs , emptyStrings , messageProvider , negativeZero |
Method Summary | |
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Object |
|
static Scriptable |
|
static Object |
|
static Object[] |
|
static Object[] |
|
static void |
|
static void | |
static Scriptable |
|
static Object |
|
static Object[] |
|
static void |
|
static Double |
|
public static final Double minusOneObj
public static final Double oneObj
public static final Double zeroObj
public static Object add(Object val1, double val2)
public static Object add(double val1, Object val2)
public static Object call0(Callable fun, Scriptable thisObj, Context cx, Scriptable scope)
Implement ....() call shrinking optimizer code.
public static Object call1(Callable fun, Scriptable thisObj, Object arg0, Context cx, Scriptable scope)
Implement ....(arg) call shrinking optimizer code.
public static Object call2(Callable fun, Scriptable thisObj, Object arg0, Object arg1, Context cx, Scriptable scope)
Implement ....(arg0, arg1) call shrinking optimizer code.
public static Object callN(Callable fun, Scriptable thisObj, Object[] args, Context cx, Scriptable scope)
Implement ....(arg0, arg1, ...) call shrinking optimizer code.
public static Object callName(Object[] args, String name, Context cx, Scriptable scope)
Implement name(args) call shrinking optimizer code.
public static Object callName0(String name, Context cx, Scriptable scope)
Implement name() call shrinking optimizer code.
public static Object callProp0(Object value, String property, Context cx, Scriptable scope)
Implement x.property() call shrinking optimizer code.
public static Object callSpecial(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String fileName, int lineNumber)
- Overrides:
- callSpecial in interface ScriptRuntime
public static Scriptable createNativeGenerator(NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack)
public static Object elemIncrDecr(Object obj, double index, Context cx, int incrDecrMask)
public static Object[] getGeneratorLocalsState(Object obj)
public static Object[] getGeneratorStackState(Object obj)
public static void initFunction(NativeFunction fn, int functionType, Scriptable scope, Context cx)
public static Scriptable newArrayLiteral(Object[] objects, String encodedInts, int skipCount, Context cx, Scriptable scope)
public static Object newObjectSpecial(Context cx, Object fun, Object[] args, Scriptable scope, Scriptable callerThis, int callType)
public static Object[] padStart(Object[] currentArgs, int count)
public static void throwStopIteration(Object obj)
public static Double wrapDouble(double num)