java.lang.Object |
RegExpProxy.action(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args,
int actionType) |
|
void |
FunctionObject.addAsConstructor(Scriptable scope,
Scriptable prototype) |
Define this function as a JavaScript constructor.
|
void |
IdFunctionObject.addAsProperty(Scriptable target) |
|
protected void |
IdScriptableObject.addIdFunctionProperty(Scriptable obj,
java.lang.Object tag,
int id,
java.lang.String name,
int arity) |
|
static java.lang.Object |
ScriptRuntime.applyOrCall(boolean isApply,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Function.prototype.apply and Function.prototype.call
See Ecma 15.3.4.[34]
|
static Scriptable |
ScriptRuntime.bind(Context cx,
Scriptable scope,
java.lang.String id) |
Returns the object in the scope chain that has a given property.
|
(package private) static <T extends Scriptable> BaseFunction |
ScriptableObject.buildClassCtor(Scriptable scope,
java.lang.Class<T> clazz,
boolean sealed,
boolean mapInheritance) |
|
protected static ScriptableObject |
ScriptableObject.buildDataDescriptor(Scriptable scope,
java.lang.Object value,
int attributes) |
|
void |
TopLevel.cacheBuiltins(Scriptable scope,
boolean sealed) |
Cache the built-in ECMAScript objects to protect them against
modifications by the script.
|
java.lang.Object |
Arguments.ThrowTypeError.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
ArrowFunction.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
BaseFunction.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Should be overridden.
|
java.lang.Object |
BoundFunction.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] extraArgs) |
|
java.lang.Object |
Callable.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Perform the call.
|
static java.lang.Object |
Context.call(ContextFactory factory,
Callable callable,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
Delegator.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
Function.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Call the function.
|
java.lang.Object |
FunctionObject.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Performs conversions on argument types if needed and
invokes the underlying Java method or constructor.
|
java.lang.Object |
IdFunctionObject.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
InterpretedFunction.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Calls the function.
|
java.lang.Object |
NativeContinuation.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeJavaClass.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeJavaConstructor.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeJavaMethod.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeJavaTopPackage.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeScript.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
abstract java.lang.Object |
PolicySecurityController.SecureCaller.call(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static java.lang.Object |
ScriptRuntime.call(Context cx,
java.lang.Object fun,
java.lang.Object thisArg,
java.lang.Object[] args,
Scriptable scope) |
Deprecated.
|
java.lang.Object |
ScriptRuntime.NoSuchMethodShim.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Perform the call.
|
abstract java.lang.Object |
SecureCaller.call(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
Synchronizer.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static Scriptable |
NativeArray.callConstructorOrCreateArray(Context cx,
Scriptable scope,
Scriptable arg,
long length,
boolean lengthAlways) |
|
java.lang.Object |
Context.callFunctionWithContinuations(Callable function,
Scriptable scope,
java.lang.Object[] args) |
Call function that may pause execution by capturing a continuation.
|
static java.lang.Object |
ScriptRuntime.callIterator(java.lang.Object obj,
Context cx,
Scriptable scope) |
Given an object, get the "Symbol.iterator" element, throw a TypeError if it
is not present, then call the result, (throwing a TypeError if the result is
not a function), and return that result, whatever it is.
|
static java.lang.Object |
JavaAdapter.callMethod(ContextFactory factory,
Scriptable thisObj,
Function f,
java.lang.Object[] args,
long argsToWrap) |
Utility method which dynamically binds a Context to the current thread,
if none already exists.
|
static java.lang.Object |
ScriptableObject.callMethod(Context cx,
Scriptable obj,
java.lang.String methodName,
java.lang.Object[] args) |
Call a method of an object.
|
static java.lang.Object |
ScriptableObject.callMethod(Scriptable obj,
java.lang.String methodName,
java.lang.Object[] args) |
Call a method of an object.
|
static Ref |
ScriptRuntime.callRef(Callable function,
Scriptable thisObj,
java.lang.Object[] args,
Context cx) |
Perform function call in reference context.
|
private java.lang.Object |
ES6Generator.callReturnOptionally(Context cx,
Scriptable scope,
java.lang.Object value) |
|
(package private) static java.lang.Object |
SecureCaller.callSecurely(java.security.CodeSource codeSource,
Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Call the specified callable using a protection domain belonging to the
specified code source.
|
static java.lang.Object |
ScriptRuntime.callSpecial(Context cx,
Callable fun,
Scriptable thisObj,
java.lang.Object[] args,
Scriptable scope,
Scriptable callerThis,
int callType,
java.lang.String filename,
int lineNumber) |
|
java.lang.Object |
PolicySecurityController.callWithDomain(java.lang.Object securityDomain,
Context cx,
Callable callable,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
SecurityController.callWithDomain(java.lang.Object securityDomain,
Context cx,
Callable callable,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
(package private) static Scriptable |
ScriptRuntime.checkDynamicScope(Scriptable possibleDynamicScope,
Scriptable staticTopScope) |
Return possibleDynamicScope if staticTopScope
is present on its prototype chain and return staticTopScope
otherwise.
|
Function |
Context.compileFunction(Scriptable scope,
java.lang.String source,
java.lang.String sourceName,
int lineno,
java.lang.Object securityDomain) |
Compile a JavaScript function.
|
(package private) Function |
Context.compileFunction(Scriptable scope,
java.lang.String source,
Evaluator compiler,
ErrorReporter compilationErrorReporter,
java.lang.String sourceName,
int lineno,
java.lang.Object securityDomain) |
|
private java.lang.Object |
Context.compileImpl(Scriptable scope,
java.lang.String sourceString,
java.lang.String sourceName,
int lineno,
java.lang.Object securityDomain,
boolean returnFunction,
Evaluator compiler,
ErrorReporter compilationErrorReporter) |
|
Script |
Context.compileReader(Scriptable scope,
java.io.Reader in,
java.lang.String sourceName,
int lineno,
java.lang.Object securityDomain) |
Deprecated.
|
private static long |
NativeArray.concatSpreadArg(Context cx,
Scriptable result,
Scriptable arg,
long offset) |
|
Scriptable |
ArrowFunction.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
Scriptable |
BaseFunction.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
Scriptable |
BoundFunction.construct(Context cx,
Scriptable scope,
java.lang.Object[] extraArgs) |
|
Scriptable |
Delegator.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
Note that if the delegee is null ,
this method creates a new instance of the Delegator itself
rathert than forwarding the call to the
delegee .
|
Scriptable |
Function.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
Call the function as a constructor.
|
Scriptable |
NativeContinuation.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
Scriptable |
NativeJavaClass.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
Scriptable |
NativeJavaTopPackage.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
Scriptable |
NativeScript.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
static NativeSymbol |
NativeSymbol.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
Use this when we need to create symbols internally because of the convoluted way we have to
construct them.
|
static EcmaError |
NativeGlobal.constructError(Context cx,
java.lang.String error,
java.lang.String message,
Scriptable scope) |
Deprecated.
|
static EcmaError |
NativeGlobal.constructError(Context cx,
java.lang.String error,
java.lang.String message,
Scriptable scope,
java.lang.String sourceName,
int lineNumber,
int columnNumber,
java.lang.String lineSource) |
Deprecated.
|
(package private) static Scriptable |
NativeJavaClass.constructSpecific(Context cx,
Scriptable scope,
java.lang.Object[] args,
MemberBox ctor) |
|
static java.lang.Object |
FunctionObject.convertArg(Context cx,
Scriptable scope,
java.lang.Object arg,
int typeTag) |
|
static java.lang.Object |
FunctionObject.convertArg(Context cx,
Scriptable scope,
java.lang.Object arg,
java.lang.Class<?> desired) |
Deprecated.
|
static Scriptable |
JavaAdapter.createAdapterWrapper(Scriptable obj,
java.lang.Object adapter) |
|
static Scriptable |
ScriptRuntime.createArrowFunctionActivation(NativeFunction funObj,
Scriptable scope,
java.lang.Object[] args,
boolean isStrict) |
|
(package private) static InterpretedFunction |
InterpretedFunction.createFunction(Context cx,
Scriptable scope,
InterpretedFunction parent,
int index) |
Create function embedded in script or another function.
|
(package private) static InterpretedFunction |
InterpretedFunction.createFunction(Context cx,
Scriptable scope,
InterpreterData idata,
java.lang.Object staticSecurityDomain) |
Create function compiled from Function(...) constructor.
|
static Scriptable |
ScriptRuntime.createFunctionActivation(NativeFunction funObj,
Scriptable scope,
java.lang.Object[] args) |
Deprecated.
|
static Scriptable |
ScriptRuntime.createFunctionActivation(NativeFunction funObj,
Scriptable scope,
java.lang.Object[] args,
boolean isStrict) |
|
Function |
Evaluator.createFunctionObject(Context cx,
Scriptable scope,
java.lang.Object bytecode,
java.lang.Object staticSecurityDomain) |
Create a function object.
|
Function |
Interpreter.createFunctionObject(Context cx,
Scriptable scope,
java.lang.Object bytecode,
java.lang.Object staticSecurityDomain) |
|
Scriptable |
BaseFunction.createObject(Context cx,
Scriptable scope) |
Creates new script object.
|
Scriptable |
FunctionObject.createObject(Context cx,
Scriptable scope) |
Return new Scriptable instance using the default
constructor for the class of the underlying Java method.
|
Scriptable |
IdFunctionObject.createObject(Context cx,
Scriptable scope) |
|
(package private) static Ref |
SpecialRef.createSpecial(Context cx,
Scriptable scope,
java.lang.Object object,
java.lang.String name) |
|
private static void |
NativeSymbol.createStandardSymbol(Context cx,
Scriptable scope,
ScriptableObject ctor,
java.lang.String name,
SymbolKey key) |
|
(package private) static java.lang.String |
ScriptRuntime.defaultObjectToSource(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
(package private) static java.lang.String |
ScriptRuntime.defaultObjectToString(Scriptable obj) |
|
static <T extends Scriptable> void |
ScriptableObject.defineClass(Scriptable scope,
java.lang.Class<T> clazz) |
Defines JavaScript objects from a Java class that implements Scriptable.
|
static <T extends Scriptable> void |
ScriptableObject.defineClass(Scriptable scope,
java.lang.Class<T> clazz,
boolean sealed) |
Defines JavaScript objects from a Java class, optionally
allowing sealing.
|
static <T extends Scriptable> java.lang.String |
ScriptableObject.defineClass(Scriptable scope,
java.lang.Class<T> clazz,
boolean sealed,
boolean mapInheritance) |
Defines JavaScript objects from a Java class, optionally
allowing sealing and mapping of Java inheritance to JavaScript
prototype-based inheritance.
|
void |
ConstProperties.defineConst(java.lang.String name,
Scriptable start) |
Reserves a definition spot for a const.
|
void |
ScriptableObject.defineConst(java.lang.String name,
Scriptable start) |
|
static void |
ScriptableObject.defineConstProperty(Scriptable destination,
java.lang.String propertyName) |
Utility method to add properties to arbitrary Scriptable object.
|
private static void |
NativeArray.defineElem(Context cx,
Scriptable target,
long index,
java.lang.Object value) |
|
static void |
ScriptableObject.defineProperty(Scriptable destination,
java.lang.String propertyName,
java.lang.Object value,
int attributes) |
Utility method to add properties to arbitrary Scriptable object.
|
static java.lang.Object |
ScriptRuntime.delete(java.lang.Object obj,
java.lang.Object id,
Context cx,
Scriptable scope,
boolean isName) |
The delete operator
See ECMA 11.4.1
In ECMA 0.19, the description of the delete operator (11.4.1)
assumes that the [[Delete]] method returns a value.
|
private static void |
NativeArray.deleteElem(Scriptable target,
long index) |
|
static boolean |
ScriptRuntime.deleteObjectElem(Scriptable target,
java.lang.Object elem,
Context cx) |
|
static boolean |
ScriptableObject.deleteProperty(Scriptable obj,
int index) |
Removes the property from an object or its prototype chain.
|
static boolean |
ScriptableObject.deleteProperty(Scriptable obj,
java.lang.String name) |
Removes the property from an object or its prototype chain.
|
private static java.lang.Object |
JavaAdapter.doCall(Context cx,
Scriptable scope,
Scriptable thisObj,
Function f,
java.lang.Object[] args,
long argsToWrap) |
|
private static long |
NativeArray.doConcat(Context cx,
Scriptable scope,
Scriptable result,
java.lang.Object arg,
long offset) |
|
private static java.lang.Object |
ScriptRuntime.doScriptableIncrDecr(Scriptable target,
java.lang.String id,
Scriptable protoChainStart,
java.lang.Object value,
int incrDecrMask) |
|
protected java.lang.Object |
ContextFactory.doTopCall(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Execute top call to script or function.
|
static java.lang.Object |
ScriptRuntime.doTopCall(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.doTopCall(Callable callable,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args,
boolean isTopLevelStrict) |
|
static java.lang.Object |
ScriptRuntime.elemIncrDecr(java.lang.Object obj,
java.lang.Object index,
Context cx,
Scriptable scope,
int incrDecrMask) |
|
static void |
ScriptRuntime.enterActivationFunction(Context cx,
Scriptable scope) |
|
static Scriptable |
ScriptRuntime.enterDotQuery(java.lang.Object value,
Scriptable scope) |
|
static Scriptable |
ScriptRuntime.enterWith(java.lang.Object obj,
Context cx,
Scriptable scope) |
|
static java.lang.Object |
ScriptRuntime.enumInit(java.lang.Object value,
Context cx,
Scriptable scope,
int enumType) |
|
private boolean |
EqualObjectGraphs.equalScriptables(Scriptable s1,
Scriptable s2) |
|
static java.lang.Object |
ScriptRuntime.evalSpecial(Context cx,
Scriptable scope,
java.lang.Object thisArg,
java.lang.Object[] args,
java.lang.String filename,
int lineNumber) |
The eval function property of the global object.
|
java.lang.Object |
Context.evaluateReader(Scriptable scope,
java.io.Reader in,
java.lang.String sourceName,
int lineno,
java.lang.Object securityDomain) |
Evaluate a reader as JavaScript source.
|
java.lang.Object |
Context.evaluateString(Scriptable scope,
java.lang.String source,
java.lang.String sourceName,
int lineno,
java.lang.Object securityDomain) |
Evaluate a JavaScript source string.
|
java.lang.Object |
InterpretedFunction.exec(Context cx,
Scriptable scope) |
|
java.lang.Object |
Script.exec(Context cx,
Scriptable scope) |
Execute the script.
|
java.lang.Object |
BaseFunction.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
ES6Generator.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
ES6Iterator.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
IdFunctionCall.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned
|
java.lang.Object |
IdScriptableObject.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned.
|
java.lang.Object |
ImporterTopLevel.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
JavaAdapter.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeArray.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeBoolean.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeCall.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeCallSite.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeContinuation.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeDate.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeError.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeGenerator.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeGlobal.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeIterator.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeJavaTopPackage.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeJSON.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeMap.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeMath.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeNumber.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeObject.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeScript.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeSet.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeString.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeSymbol.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeWeakMap.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeWeakSet.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
NativeWith.execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
Context.executeScriptWithContinuations(Script script,
Scriptable scope) |
Execute script that may pause execution by capturing a continuation.
|
java.lang.Object |
SecurityController.execWithDomain(Context cx,
Scriptable scope,
Script script,
java.lang.Object securityDomain) |
Deprecated.
|
IdFunctionObject |
IdScriptableObject.exportAsJSClass(int maxPrototypeId,
Scriptable scope,
boolean sealed) |
|
int |
RegExpProxy.find_split(Context cx,
Scriptable scope,
java.lang.String target,
java.lang.String separator,
Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
java.lang.String[][] parensp) |
|
(package private) NativeJavaPackage |
NativeJavaPackage.forcePackage(java.lang.String name,
Scriptable scope) |
|
java.lang.Object |
Arguments.get(int index,
Scriptable start) |
|
static ClassCache |
ClassCache.get(Scriptable scope) |
Search for ClassCache object in the given scope.
|
java.lang.Object |
Delegator.get(int index,
Scriptable start) |
|
java.lang.Object |
Delegator.get(java.lang.String name,
Scriptable start) |
|
java.lang.Object |
Delegator.get(Symbol key,
Scriptable start) |
|
java.lang.Object |
IdScriptableObject.get(java.lang.String name,
Scriptable start) |
|
java.lang.Object |
IdScriptableObject.get(Symbol key,
Scriptable start) |
|
java.lang.Object |
ImporterTopLevel.get(java.lang.String name,
Scriptable start) |
|
(package private) java.lang.Object |
JavaMembers.get(Scriptable scope,
java.lang.String name,
java.lang.Object javaObject,
boolean isStatic) |
|
java.lang.Object |
NativeArray.get(int index,
Scriptable start) |
|
java.lang.Object |
NativeJavaArray.get(int index,
Scriptable start) |
|
java.lang.Object |
NativeJavaArray.get(java.lang.String id,
Scriptable start) |
|
java.lang.Object |
NativeJavaArray.get(Symbol key,
Scriptable start) |
|
java.lang.Object |
NativeJavaClass.get(java.lang.String name,
Scriptable start) |
|
java.lang.Object |
NativeJavaList.get(int index,
Scriptable start) |
|
java.lang.Object |
NativeJavaList.get(java.lang.String name,
Scriptable start) |
|
java.lang.Object |
NativeJavaList.get(Symbol key,
Scriptable start) |
|
java.lang.Object |
NativeJavaMap.get(int index,
Scriptable start) |
|
java.lang.Object |
NativeJavaMap.get(java.lang.String name,
Scriptable start) |
|
java.lang.Object |
NativeJavaObject.get(int index,
Scriptable start) |
|
java.lang.Object |
NativeJavaObject.get(java.lang.String name,
Scriptable start) |
|
java.lang.Object |
NativeJavaObject.get(Symbol key,
Scriptable start) |
|
java.lang.Object |
NativeJavaPackage.get(int index,
Scriptable start) |
|
java.lang.Object |
NativeJavaPackage.get(java.lang.String id,
Scriptable start) |
|
java.lang.Object |
NativeString.get(int index,
Scriptable start) |
|
java.lang.Object |
NativeWith.get(int index,
Scriptable start) |
|
java.lang.Object |
NativeWith.get(java.lang.String id,
Scriptable start) |
|
java.lang.Object |
NativeWith.get(Symbol key,
Scriptable start) |
|
java.lang.Object |
Scriptable.get(int index,
Scriptable start) |
Get a property from the object selected by an integral index.
|
java.lang.Object |
Scriptable.get(java.lang.String name,
Scriptable start) |
Get a named property from the object.
|
java.lang.Object |
ScriptableObject.get(int index,
Scriptable start) |
Returns the value of the indexed property or NOT_FOUND.
|
java.lang.Object |
ScriptableObject.get(java.lang.String name,
Scriptable start) |
Returns the value of the named property or NOT_FOUND.
|
java.lang.Object |
ScriptableObject.get(Symbol key,
Scriptable start) |
Another version of Get that supports Symbol keyed properties.
|
java.lang.Object |
SymbolScriptable.get(Symbol key,
Scriptable start) |
Return the value of the property with the specified key, or
NOT_FOUND.
|
private static java.lang.Class<?> |
JavaAdapter.getAdapterClass(Scriptable scope,
java.lang.Class<?> superClass,
java.lang.Class<?>[] interfaces,
Scriptable obj) |
|
static java.lang.Object[] |
ScriptRuntime.getArrayElements(Scriptable object) |
|
static Scriptable |
ScriptableObject.getArrayPrototype(Scriptable scope) |
|
int |
ScriptableObject.getAttributes(int index,
Scriptable start) |
Deprecated.
|
int |
ScriptableObject.getAttributes(java.lang.String name,
Scriptable start) |
Deprecated.
|
private static Scriptable |
ScriptableObject.getBase(Scriptable obj,
int index) |
|
private static Scriptable |
ScriptableObject.getBase(Scriptable obj,
java.lang.String name) |
|
private static Scriptable |
ScriptableObject.getBase(Scriptable obj,
Symbol key) |
|
static Function |
TopLevel.getBuiltinCtor(Context cx,
Scriptable scope,
TopLevel.Builtins type) |
Static helper method to get a built-in object constructor with the given
type from the given scope .
|
static Scriptable |
TopLevel.getBuiltinPrototype(Scriptable scope,
TopLevel.Builtins type) |
Static helper method to get a built-in object prototype with the given
type from the given scope .
|
(package private) static Callable |
ScriptRuntime.getCallable(Scriptable thisObj) |
|
static Scriptable |
ScriptableObject.getClassPrototype(Scriptable scope,
java.lang.String className) |
Get the prototype for the named class.
|
private static Scriptable |
NativeObject.getCompatibleObject(Context cx,
Scriptable scope,
java.lang.Object arg) |
|
static java.lang.Object |
ScriptableObject.getDefaultValue(Scriptable object,
java.lang.Class<?> typeHint) |
|
private static java.lang.Object |
NativeArray.getElem(Context cx,
Scriptable target,
long index) |
|
java.lang.Object[] |
Context.getElements(Scriptable object) |
Get the elements of a JavaScript array.
|
static Callable |
ScriptRuntime.getElemFunctionAndThis(java.lang.Object obj,
java.lang.Object elem,
Context cx,
Scriptable scope) |
Prepare for calling obj[id](...): return function corresponding to
obj[id] and make obj properly converted to Scriptable available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
|
(package private) static Function |
ScriptRuntime.getExistingCtor(Context cx,
Scriptable scope,
java.lang.String constructorName) |
|
private java.lang.Object |
JavaMembers.getExplicitFunction(Scriptable scope,
java.lang.String name,
java.lang.Object javaObject,
boolean isStatic) |
|
(package private) java.util.Map<java.lang.String,FieldAndMethods> |
JavaMembers.getFieldAndMethodsObjects(Scriptable scope,
java.lang.Object javaObject,
boolean isStatic) |
|
private static java.lang.Object |
NativeCallSite.getFileName(Scriptable obj) |
|
static Function |
JavaAdapter.getFunction(Scriptable obj,
java.lang.String functionName) |
|
private static java.lang.Object |
NativeCallSite.getFunctionName(Scriptable obj) |
|
static Scriptable |
ScriptableObject.getFunctionPrototype(Scriptable scope) |
Get the Function.prototype property.
|
static Scriptable |
ScriptableObject.getGeneratorFunctionPrototype(Scriptable scope) |
|
private static java.lang.Object[] |
EqualObjectGraphs.getIds(Scriptable s) |
|
(package private) static long |
NativeArray.getLengthProperty(Context cx,
Scriptable obj,
boolean throwIfTooLarge) |
|
static ScriptableObject |
ScriptRuntime.getLibraryScopeOrNull(Scriptable scope) |
|
private static java.lang.Object |
NativeCallSite.getLineNumber(Scriptable obj) |
|
static Callable |
ScriptRuntime.getNameFunctionAndThis(java.lang.String name,
Context cx,
Scriptable scope) |
Prepare for calling name(...): return function corresponding to
name and make current top scope available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
|
(package private) static Function |
TopLevel.getNativeErrorCtor(Context cx,
Scriptable scope,
TopLevel.NativeErrors type) |
Static helper method to get a native error constructor with the given
type from the given scope .
|
static java.lang.Object |
ScriptRuntime.getObjectElem(java.lang.Object obj,
java.lang.Object elem,
Context cx,
Scriptable scope) |
Call obj.[[Get]](id)
|
static java.lang.Object |
ScriptRuntime.getObjectElem(Scriptable obj,
java.lang.Object elem,
Context cx) |
|
private static ObjToIntMap |
JavaAdapter.getObjectFunctionNames(Scriptable obj) |
|
static java.lang.Object |
ScriptRuntime.getObjectIndex(java.lang.Object obj,
double dblIndex,
Context cx,
Scriptable scope) |
A cheaper and less general version of the above for well-known argument
types.
|
static java.lang.Object |
ScriptRuntime.getObjectIndex(Scriptable obj,
int index,
Context cx) |
|
static java.lang.Object |
ScriptRuntime.getObjectProp(java.lang.Object obj,
java.lang.String property,
Context cx,
Scriptable scope) |
Version of getObjectElem when elem is a valid JS identifier name.
|
static java.lang.Object |
ScriptRuntime.getObjectProp(Scriptable obj,
java.lang.String property,
Context cx) |
|
static java.lang.Object |
ScriptRuntime.getObjectPropNoWarn(java.lang.Object obj,
java.lang.String property,
Context cx,
Scriptable scope) |
|
static Scriptable |
ScriptableObject.getObjectPrototype(Scriptable scope) |
Get the Object.prototype property.
|
private java.lang.Object |
ImporterTopLevel.getPackageProperty(java.lang.String name,
Scriptable start) |
|
(package private) java.lang.Object |
NativeJavaPackage.getPkgProperty(java.lang.String name,
Scriptable start,
boolean createPkg) |
|
java.lang.Object |
NativeError.ProtoProps.getPrepareStackTrace(Scriptable thisObj) |
|
static java.lang.Object |
ScriptableObject.getProperty(Scriptable obj,
int index) |
Gets an indexed property from an object or any object in its prototype chain.
|
static java.lang.Object |
ScriptableObject.getProperty(Scriptable obj,
java.lang.String name) |
Gets a named property from an object or any object in its prototype chain.
|
static java.lang.Object |
ScriptableObject.getProperty(Scriptable obj,
Symbol key) |
This is a version of getProperty that works with Symbols.
|
(package private) ScriptableObject |
ScriptableObject.GetterSlot.getPropertyDescriptor(Context cx,
Scriptable scope) |
|
(package private) ScriptableObject |
ScriptableObject.Slot.getPropertyDescriptor(Context cx,
Scriptable scope) |
|
static java.lang.Object[] |
ScriptableObject.getPropertyIds(Scriptable obj) |
Returns an array of all ids from an object and its prototypes.
|
static Callable |
ScriptRuntime.getPropFunctionAndThis(java.lang.Object obj,
java.lang.String property,
Context cx,
Scriptable scope) |
Prepare for calling obj.property(...): return function corresponding to
obj.property and make obj properly converted to Scriptable available
as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
|
private static Callable |
ScriptRuntime.getPropFunctionAndThisHelper(java.lang.Object obj,
java.lang.String property,
Context cx,
Scriptable thisObj) |
|
private static java.lang.Object |
NativeArray.getRawElem(Scriptable target,
long index) |
|
private static java.lang.Object[] |
EqualObjectGraphs.getSortedIds(Scriptable s) |
|
java.lang.Object |
NativeError.getStackDelegated(Scriptable target) |
|
java.lang.Object |
NativeError.ProtoProps.getStackTraceLimit(Scriptable thisObj) |
|
static java.lang.Object |
NativeIterator.getStopIterationObject(Scriptable scope) |
Get the value of the "StopIteration" object.
|
static java.lang.Object |
ScriptRuntime.getTopLevelProp(Scriptable scope,
java.lang.String id) |
|
static Scriptable |
ScriptableObject.getTopLevelScope(Scriptable obj) |
Get the global scope.
|
static java.lang.Object |
ScriptableObject.getTopScopeValue(Scriptable scope,
java.lang.Object key) |
Get arbitrary application-specific value associated with the top scope
of the given scope.
|
static <T> T |
ScriptableObject.getTypedProperty(Scriptable s,
int index,
java.lang.Class<T> type) |
Gets an indexed property from an object or any object in its prototype
chain and coerces it to the requested Java type.
|
static <T> T |
ScriptableObject.getTypedProperty(Scriptable s,
java.lang.String name,
java.lang.Class<T> type) |
Gets a named property from an object or any object in its prototype chain
and coerces it to the requested Java type.
|
private static java.lang.Object |
EqualObjectGraphs.getValue(Scriptable s,
java.lang.Object id) |
|
(package private) java.lang.Object |
ScriptableObject.GetterSlot.getValue(Scriptable start) |
|
(package private) java.lang.Object |
ScriptableObject.Slot.getValue(Scriptable start) |
|
boolean |
Arguments.has(int index,
Scriptable start) |
|
boolean |
Delegator.has(int index,
Scriptable start) |
|
boolean |
Delegator.has(java.lang.String name,
Scriptable start) |
|
boolean |
Delegator.has(Symbol key,
Scriptable start) |
|
boolean |
IdScriptableObject.has(java.lang.String name,
Scriptable start) |
|
boolean |
IdScriptableObject.has(Symbol key,
Scriptable start) |
|
boolean |
ImporterTopLevel.has(java.lang.String name,
Scriptable start) |
|
boolean |
NativeArray.has(int index,
Scriptable start) |
|
boolean |
NativeJavaArray.has(int index,
Scriptable start) |
|
boolean |
NativeJavaArray.has(java.lang.String id,
Scriptable start) |
|
boolean |
NativeJavaArray.has(Symbol key,
Scriptable start) |
|
boolean |
NativeJavaClass.has(java.lang.String name,
Scriptable start) |
|
boolean |
NativeJavaList.has(int index,
Scriptable start) |
|
boolean |
NativeJavaList.has(java.lang.String name,
Scriptable start) |
|
boolean |
NativeJavaList.has(Symbol key,
Scriptable start) |
|
boolean |
NativeJavaMap.has(int index,
Scriptable start) |
|
boolean |
NativeJavaMap.has(java.lang.String name,
Scriptable start) |
|
boolean |
NativeJavaObject.has(int index,
Scriptable start) |
|
boolean |
NativeJavaObject.has(java.lang.String name,
Scriptable start) |
|
boolean |
NativeJavaObject.has(Symbol key,
Scriptable start) |
|
boolean |
NativeJavaPackage.has(int index,
Scriptable start) |
|
boolean |
NativeJavaPackage.has(java.lang.String id,
Scriptable start) |
|
boolean |
NativeString.has(int index,
Scriptable start) |
|
boolean |
NativeWith.has(int index,
Scriptable start) |
|
boolean |
NativeWith.has(java.lang.String id,
Scriptable start) |
|
boolean |
NativeWith.has(Symbol key,
Scriptable start) |
|
boolean |
Scriptable.has(int index,
Scriptable start) |
Indicates whether or not an indexed property is defined in an object.
|
boolean |
Scriptable.has(java.lang.String name,
Scriptable start) |
Indicates whether or not a named property is defined in an object.
|
boolean |
ScriptableObject.has(int index,
Scriptable start) |
Returns true if the property index is defined.
|
boolean |
ScriptableObject.has(java.lang.String name,
Scriptable start) |
Returns true if the named property is defined.
|
boolean |
ScriptableObject.has(Symbol key,
Scriptable start) |
A version of "has" that supports symbols.
|
boolean |
SymbolScriptable.has(Symbol key,
Scriptable start) |
Return true if the specified property exists.
|
boolean |
ArrowFunction.hasInstance(Scriptable instance) |
|
boolean |
BaseFunction.hasInstance(Scriptable instance) |
Implements the instanceof operator for JavaScript Function objects.
|
boolean |
BoundFunction.hasInstance(Scriptable instance) |
|
boolean |
Delegator.hasInstance(Scriptable instance) |
|
boolean |
NativeIterator.StopIteration.hasInstance(Scriptable instance) |
|
boolean |
NativeJavaArray.hasInstance(Scriptable value) |
|
boolean |
NativeJavaClass.hasInstance(Scriptable value) |
Determines if prototype is a wrapped Java object and performs
a Java "instanceof".
|
boolean |
NativeJavaObject.hasInstance(Scriptable value) |
|
boolean |
NativeWith.hasInstance(Scriptable value) |
|
boolean |
Scriptable.hasInstance(Scriptable instance) |
The instanceof operator.
|
boolean |
ScriptableObject.hasInstance(Scriptable instance) |
Implements the instanceof operator.
|
static boolean |
ScriptRuntime.hasObjectElem(Scriptable target,
java.lang.Object elem,
Context cx) |
|
static boolean |
ScriptableObject.hasProperty(Scriptable obj,
int index) |
Returns whether an indexed property is defined in an object or any object
in its prototype chain.
|
static boolean |
ScriptableObject.hasProperty(Scriptable obj,
java.lang.String name) |
Returns whether a named property is defined in an object or any object
in its prototype chain.
|
static boolean |
ScriptableObject.hasProperty(Scriptable obj,
Symbol key) |
A version of hasProperty for properties with Symbol keys.
|
void |
ImporterTopLevel.importPackage(Context cx,
Scriptable thisObj,
java.lang.Object[] args,
Function funObj) |
Deprecated.
|
(package private) static void |
BaseFunction.init(Scriptable scope,
boolean sealed) |
|
static void |
ImporterTopLevel.init(Context cx,
Scriptable scope,
boolean sealed) |
|
static void |
JavaAdapter.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeArray.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeBoolean.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeCall.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeCallSite.init(Scriptable scope,
boolean sealed) |
|
static void |
NativeContinuation.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeDate.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeError.init(Scriptable scope,
boolean sealed) |
|
static void |
NativeGlobal.init(Context cx,
Scriptable scope,
boolean sealed) |
|
static void |
NativeJavaTopPackage.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeJSON.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeMap.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeMath.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeNumber.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeObject.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeScript.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeSet.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeString.init(Scriptable scope,
boolean sealed) |
|
static void |
NativeSymbol.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeWeakMap.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeWeakSet.init(Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeWith.init(Scriptable scope,
boolean sealed) |
|
(package private) void |
FunctionObject.initAsConstructor(Scriptable scope,
Scriptable prototype) |
|
(package private) static java.lang.Object |
BaseFunction.initAsGeneratorFunction(Scriptable scope,
boolean sealed) |
|
private static Interpreter.CallFrame |
Interpreter.initFrame(Context cx,
Scriptable callerScope,
Scriptable thisObj,
java.lang.Object[] args,
double[] argsDbl,
int argShift,
int argCount,
InterpretedFunction fnOrScript,
Interpreter.CallFrame parentFrame) |
|
private static Interpreter.CallFrame |
Interpreter.initFrameForApplyOrCall(Context cx,
Interpreter.CallFrame frame,
int indexReg,
java.lang.Object[] stack,
double[] sDbl,
int stackTop,
int op,
Scriptable calleeScope,
IdFunctionObject ifun,
InterpretedFunction iApplyCallable) |
|
private static Interpreter.CallFrame |
Interpreter.initFrameForNoSuchMethod(Context cx,
Interpreter.CallFrame frame,
int indexReg,
java.lang.Object[] stack,
double[] sDbl,
int stackTop,
int op,
Scriptable funThisObj,
Scriptable calleeScope,
ScriptRuntime.NoSuchMethodShim noSuchMethodShim,
InterpretedFunction ifun) |
Call __noSuchMethod__.
|
void |
IdFunctionObject.initFunction(java.lang.String name,
Scriptable scope) |
|
private static void |
Interpreter.initFunction(Context cx,
Scriptable scope,
InterpretedFunction parent,
int index) |
|
static void |
ScriptRuntime.initFunction(Context cx,
Scriptable scope,
NativeFunction function,
int type,
boolean fromEvalCode) |
|
(package private) void |
Interpreter.CallFrame.initializeArgs(Context cx,
Scriptable callerScope,
java.lang.Object[] args,
double[] argsDbl,
int argShift,
int argCount) |
|
static void |
ScriptRuntime.initScript(NativeFunction funObj,
Scriptable thisObj,
Context cx,
Scriptable scope,
boolean evalScript) |
|
void |
NativeFunction.initScriptFunction(Context cx,
Scriptable scope) |
|
void |
NativeFunction.initScriptFunction(Context cx,
Scriptable scope,
boolean es6GeneratorFunction) |
|
(package private) static java.lang.Object |
Interpreter.interpret(InterpretedFunction ifun,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
InterfaceAdapter.invoke(ContextFactory cf,
java.lang.Object target,
Scriptable topScope,
java.lang.Object thisObject,
java.lang.reflect.Method method,
java.lang.Object[] args) |
|
(package private) java.lang.Object |
InterfaceAdapter.invokeImpl(Context cx,
java.lang.Object target,
Scriptable topScope,
java.lang.Object thisObject,
java.lang.reflect.Method method,
java.lang.Object[] args) |
|
private static boolean |
ScriptRuntime.isArrayLike(Scriptable obj) |
|
private static boolean |
NativeArray.isConcatSpreadable(Context cx,
Scriptable scope,
java.lang.Object val) |
|
protected abstract boolean |
ES6Iterator.isDone(Context cx,
Scriptable scope) |
|
protected boolean |
NativeArrayIterator.isDone(Context cx,
Scriptable scope) |
|
protected boolean |
NativeCollectionIterator.isDone(Context cx,
Scriptable scope) |
|
protected boolean |
NativeStringIterator.isDone(Context cx,
Scriptable scope) |
|
boolean |
RegExpProxy.isRegExp(Scriptable obj) |
|
private static java.lang.Object |
NativeArray.iterativeMethod(Context cx,
IdFunctionObject idFunctionObject,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Implements the methods "every", "filter", "forEach", "map", and "some".
|
static java.lang.Object |
Context.javaToJS(java.lang.Object value,
Scriptable scope) |
Convenient method to convert java value to its closest representation
in JavaScript.
|
private static java.lang.String |
NativeJSON.jo(Scriptable value,
NativeJSON.StringifyState state) |
|
private static void |
NativeError.js_captureStackTrace(Context cx,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static Scriptable |
NativeArray.js_concat(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private java.lang.Object |
ImporterTopLevel.js_construct(Scriptable scope,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeArray.js_copyWithin(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
(package private) static java.lang.Object |
JavaAdapter.js_createAdapter(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeGlobal.js_eval(Context cx,
Scriptable scope,
java.lang.Object[] args) |
This is an indirect call to eval, and thus uses the global environment.
|
private static java.lang.Object |
NativeArray.js_fill(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private java.lang.Object |
NativeSymbol.js_for(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private java.lang.Object |
NativeMap.js_forEach(Context cx,
Scriptable scope,
java.lang.Object arg1,
java.lang.Object arg2) |
|
private java.lang.Object |
NativeSet.js_forEach(Context cx,
Scriptable scope,
java.lang.Object arg1,
java.lang.Object arg2) |
|
private static java.lang.Object |
NativeArray.js_from(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private Scriptable |
NativeJavaTopPackage.js_getClass(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private static java.lang.Boolean |
NativeArray.js_includes(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeArray.js_indexOf(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private java.lang.Object |
NativeMap.js_iterator(Scriptable scope,
NativeCollectionIterator.Type type) |
|
private java.lang.Object |
NativeSet.js_iterator(Scriptable scope,
NativeCollectionIterator.Type type) |
|
private static java.lang.String |
NativeArray.js_join(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
See ECMA 15.4.4.3
|
private java.lang.Object |
NativeSymbol.js_keyFor(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeArray.js_lastIndexOf(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeArray.js_of(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.String |
NativeString.js_pad(Context cx,
Scriptable thisObj,
IdFunctionObject f,
java.lang.Object[] args,
boolean atStart) |
|
private static java.lang.Object |
NativeArray.js_pop(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeArray.js_push(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.String |
NativeString.js_repeat(Context cx,
Scriptable thisObj,
IdFunctionObject f,
java.lang.Object[] args) |
|
private static Scriptable |
NativeArray.js_reverse(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
See ECMA 15.4.4.4
|
private static java.lang.Object |
NativeArray.js_shift(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static Scriptable |
NativeArray.js_slice(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static Scriptable |
NativeArray.js_sort(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
See ECMA 15.4.4.5
|
private static java.lang.Object |
NativeArray.js_splice(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
RegExpProxy.js_split(Context _cx,
Scriptable _scope,
java.lang.String thisString,
java.lang.Object[] _args) |
|
private static java.lang.String |
NativeError.js_toSource(Context cx,
Scriptable scope,
Scriptable thisObj) |
|
private static java.lang.Object |
NativeCallSite.js_toString(Scriptable obj) |
|
private static java.lang.Object |
NativeError.js_toString(Scriptable thisObj) |
|
private static java.lang.Object |
NativeArray.js_unshift(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private java.lang.Object |
BaseFunction.jsConstructor(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeArray.jsConstructor(Context cx,
Scriptable scope,
java.lang.Object[] args) |
See ECMA 15.4.1,2
|
private static java.lang.Object |
NativeIterator.jsConstructor(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static boolean |
ScriptRuntime.jsDelegatesTo(Scriptable lhs,
Scriptable rhs) |
Delegates to
|
static Scriptable |
ScriptRuntime.leaveDotQuery(Scriptable scope) |
|
static Scriptable |
ScriptRuntime.leaveWith(Scriptable scope) |
|
(package private) static void |
NativeMap.loadFromIterable(Context cx,
Scriptable scope,
ScriptableObject map,
java.lang.Object arg1) |
If an "iterable" object was passed to the constructor, there are many many things
to do...
|
(package private) static void |
NativeSet.loadFromIterable(Context cx,
Scriptable scope,
ScriptableObject set,
java.lang.Object arg1) |
If an "iterable" object was passed to the constructor, there are many many things
to do.
|
(package private) static JavaMembers |
JavaMembers.lookupClass(Scriptable scope,
java.lang.Class<?> dynamicType,
java.lang.Class<?> staticType,
boolean includeProtected) |
|
(package private) static NativeCallSite |
NativeCallSite.make(Scriptable scope,
Scriptable ctorObj) |
|
(package private) static NativeError |
NativeError.make(Context cx,
Scriptable scope,
IdFunctionObject ctorObj,
java.lang.Object[] args) |
|
(package private) static Scriptable |
ES6Iterator.makeIteratorResult(Context cx,
Scriptable scope,
java.lang.Boolean done) |
|
(package private) static Scriptable |
ES6Iterator.makeIteratorResult(Context cx,
Scriptable scope,
java.lang.Boolean done,
java.lang.Object value) |
|
void |
IdFunctionObject.markAsConstructor(Scriptable prototypeProperty) |
|
static java.lang.Object |
ScriptRuntime.name(Context cx,
Scriptable scope,
java.lang.String name) |
Looks up a name in the scope chain and returns its value.
|
static java.lang.Object |
ScriptRuntime.nameIncrDecr(Scriptable scopeChain,
java.lang.String id,
int incrDecrMask) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.nameIncrDecr(Scriptable scopeChain,
java.lang.String id,
Context cx,
int incrDecrMask) |
|
private static java.lang.Object |
ScriptRuntime.nameOrFunction(Context cx,
Scriptable scope,
Scriptable parentScope,
java.lang.String name,
boolean asFunctionCall) |
|
static Ref |
ScriptRuntime.nameRef(java.lang.Object namespace,
java.lang.Object name,
Context cx,
Scriptable scope,
int memberTypeFlags) |
|
static Ref |
ScriptRuntime.nameRef(java.lang.Object name,
Context cx,
Scriptable scope,
int memberTypeFlags) |
|
Scriptable |
Context.newArray(Scriptable scope,
int length) |
Create an array with a specified initial length.
|
Scriptable |
Context.newArray(Scriptable scope,
java.lang.Object[] elements) |
Create an array with a set of initial elements.
|
static Scriptable |
ScriptRuntime.newArrayLiteral(java.lang.Object[] objects,
int[] skipIndices,
Context cx,
Scriptable scope) |
|
static Scriptable |
ScriptRuntime.newBuiltinObject(Context cx,
Scriptable scope,
TopLevel.Builtins type,
java.lang.Object[] args) |
|
static Scriptable |
ScriptRuntime.newCatchScope(java.lang.Throwable t,
Scriptable lastCatchScope,
java.lang.String exceptionName,
Context cx,
Scriptable scope) |
|
private IdFunctionObject |
IdScriptableObject.newIdFunction(java.lang.Object tag,
int id,
java.lang.String name,
int arity,
Scriptable scope) |
|
protected abstract java.lang.Object |
VMBridge.newInterfaceProxy(java.lang.Object proxyHelper,
ContextFactory cf,
InterfaceAdapter adapter,
java.lang.Object target,
Scriptable topScope) |
|
(package private) static Scriptable |
ScriptRuntime.newNativeError(Context cx,
Scriptable scope,
TopLevel.NativeErrors type,
java.lang.Object[] args) |
|
Scriptable |
Context.newObject(Scriptable scope) |
Create a new JavaScript object.
|
Scriptable |
Context.newObject(Scriptable scope,
java.lang.String constructorName) |
Create a new JavaScript object by executing the named constructor.
|
Scriptable |
Context.newObject(Scriptable scope,
java.lang.String constructorName,
java.lang.Object[] args) |
Creates a new JavaScript object by executing the named constructor.
|
static Scriptable |
ScriptRuntime.newObject(java.lang.Object fun,
Context cx,
Scriptable scope,
java.lang.Object[] args) |
Operator new.
|
static Scriptable |
ScriptRuntime.newObject(Context cx,
Scriptable scope,
java.lang.String constructorName,
java.lang.Object[] args) |
|
static Scriptable |
ScriptRuntime.newObjectLiteral(java.lang.Object[] propertyIds,
java.lang.Object[] propertyValues,
int[] getterSetters,
Context cx,
Scriptable scope) |
|
static Scriptable |
ScriptRuntime.newObjectLiteral(java.lang.Object[] propertyIds,
java.lang.Object[] propertyValues,
Context cx,
Scriptable scope) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.newSpecial(Context cx,
java.lang.Object fun,
java.lang.Object[] args,
Scriptable scope,
int callType) |
|
(package private) static java.lang.Object |
NativeWith.newWithSpecial(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
protected java.lang.Object |
ES6Iterator.next(Context cx,
Scriptable scope) |
|
private java.lang.Object |
NativeIterator.next(Context cx,
Scriptable scope) |
|
protected abstract java.lang.Object |
ES6Iterator.nextValue(Context cx,
Scriptable scope) |
|
protected java.lang.Object |
NativeArrayIterator.nextValue(Context cx,
Scriptable scope) |
|
protected java.lang.Object |
NativeCollectionIterator.nextValue(Context cx,
Scriptable scope) |
|
protected java.lang.Object |
NativeStringIterator.nextValue(Context cx,
Scriptable scope) |
|
static java.lang.RuntimeException |
ScriptRuntime.notFoundError(Scriptable object,
java.lang.String property) |
|
private static java.lang.Object |
NativeJSON.parse(Context cx,
Scriptable scope,
java.lang.String jtext) |
|
static java.lang.Object |
NativeJSON.parse(Context cx,
Scriptable scope,
java.lang.String jtext,
Callable reviver) |
|
static java.lang.Object |
ScriptRuntime.propIncrDecr(java.lang.Object obj,
java.lang.String id,
Context cx,
Scriptable scope,
int incrDecrMask) |
|
void |
Arguments.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
Arguments.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
|
void |
Delegator.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
Delegator.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
|
void |
Delegator.put(Symbol symbol,
Scriptable start,
java.lang.Object value) |
|
void |
IdScriptableObject.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
|
void |
IdScriptableObject.put(Symbol key,
Scriptable start,
java.lang.Object value) |
|
(package private) void |
JavaMembers.put(Scriptable scope,
java.lang.String name,
java.lang.Object javaObject,
java.lang.Object value,
boolean isStatic) |
|
void |
NativeArray.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeArray.put(java.lang.String id,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaArray.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaArray.put(java.lang.String id,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaClass.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaList.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaMap.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaMap.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaObject.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaObject.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaObject.put(Symbol symbol,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaPackage.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeJavaPackage.put(java.lang.String id,
Scriptable start,
java.lang.Object value) |
|
void |
NativeString.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeSymbol.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeSymbol.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
|
void |
NativeSymbol.put(Symbol key,
Scriptable start,
java.lang.Object value) |
|
void |
NativeWith.put(int index,
Scriptable start,
java.lang.Object value) |
|
void |
NativeWith.put(java.lang.String id,
Scriptable start,
java.lang.Object value) |
|
void |
NativeWith.put(Symbol symbol,
Scriptable start,
java.lang.Object value) |
|
void |
Scriptable.put(int index,
Scriptable start,
java.lang.Object value) |
Sets an indexed property in this object.
|
void |
Scriptable.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
Sets a named property in this object.
|
void |
ScriptableObject.put(int index,
Scriptable start,
java.lang.Object value) |
Sets the value of the indexed property, creating it if need be.
|
void |
ScriptableObject.put(java.lang.String name,
Scriptable start,
java.lang.Object value) |
Sets the value of the named property, creating it if need be.
|
void |
ScriptableObject.put(Symbol key,
Scriptable start,
java.lang.Object value) |
Implementation of put required by SymbolScriptable objects.
|
void |
SymbolScriptable.put(Symbol key,
Scriptable start,
java.lang.Object value) |
Add a new property to to the object.
|
void |
ConstProperties.putConst(java.lang.String name,
Scriptable start,
java.lang.Object value) |
Sets a named const property in this object.
|
void |
ScriptableObject.putConst(java.lang.String name,
Scriptable start,
java.lang.Object value) |
Sets the value of the named const property, creating it if need be.
|
private boolean |
ScriptableObject.putConstImpl(java.lang.String name,
int index,
Scriptable start,
java.lang.Object value,
int constFlag) |
|
static void |
ScriptableObject.putConstProperty(Scriptable obj,
java.lang.String name,
java.lang.Object value) |
Puts a named property in an object or in an object in its prototype chain.
|
private boolean |
ScriptableObject.putImpl(java.lang.Object key,
int index,
Scriptable start,
java.lang.Object value) |
|
static void |
ScriptableObject.putProperty(Scriptable obj,
int index,
java.lang.Object value) |
Puts an indexed property in an object or in an object in its prototype chain.
|
static void |
ScriptableObject.putProperty(Scriptable obj,
java.lang.String name,
java.lang.Object value) |
Puts a named property in an object or in an object in its prototype chain.
|
static void |
ScriptableObject.putProperty(Scriptable obj,
Symbol key,
java.lang.Object value) |
This is a version of putProperty for Symbol keys.
|
static java.lang.Object |
JavaAdapter.readAdapterObject(Scriptable self,
java.io.ObjectInputStream in) |
|
private static BaseFunction |
BaseFunction.realFunction(Scriptable thisObj,
IdFunctionObject f) |
|
private ImporterTopLevel |
ImporterTopLevel.realThis(Scriptable thisObj,
IdFunctionObject f) |
|
private static NativeMap |
NativeMap.realThis(Scriptable thisObj,
IdFunctionObject f) |
|
private static NativeScript |
NativeScript.realThis(Scriptable thisObj,
IdFunctionObject f) |
|
private static NativeSet |
NativeSet.realThis(Scriptable thisObj,
IdFunctionObject f) |
|
private static NativeString |
NativeString.realThis(Scriptable thisObj,
IdFunctionObject f) |
|
private static NativeWeakMap |
NativeWeakMap.realThis(Scriptable thisObj,
IdFunctionObject f) |
|
private static NativeWeakSet |
NativeWeakSet.realThis(Scriptable thisObj,
IdFunctionObject f) |
|
static void |
ScriptableObject.redefineProperty(Scriptable obj,
java.lang.String name,
boolean isConst) |
If hasProperty(obj, name) would return true, then if the property that
was found is compatible with the new property, this method just returns.
|
private static java.lang.Object |
NativeArray.reduceMethod(Context cx,
int id,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
Implements the methods "reduce" and "reduceRight".
|
Ref |
RefCallable.refCall(Context cx,
Scriptable thisObj,
java.lang.Object[] args) |
Perform function call in reference context.
|
static java.lang.Object |
ScriptRuntime.refIncrDecr(Ref ref,
Context cx,
Scriptable scope,
int incrDecrMask) |
|
private void |
JavaMembers.reflect(Scriptable scope,
boolean includeProtected,
boolean includePrivate) |
|
static java.lang.Object |
ScriptRuntime.refSet(Ref ref,
java.lang.Object value,
Context cx,
Scriptable scope) |
|
static java.lang.Object |
Interpreter.restartContinuation(NativeContinuation c,
Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private java.lang.Object |
NativeGenerator.resume(Context cx,
Scriptable scope,
int operation,
java.lang.Object value) |
|
private Scriptable |
ES6Generator.resumeAbruptLocal(Context cx,
Scriptable scope,
int op,
java.lang.Object value) |
|
java.lang.Object |
Context.resumeContinuation(java.lang.Object continuation,
Scriptable scope,
java.lang.Object functionResult) |
|
private Scriptable |
ES6Generator.resumeDelegee(Context cx,
Scriptable scope,
java.lang.Object value) |
|
private Scriptable |
ES6Generator.resumeDelegeeReturn(Context cx,
Scriptable scope,
java.lang.Object value) |
|
private Scriptable |
ES6Generator.resumeDelegeeThrow(Context cx,
Scriptable scope,
java.lang.Object value) |
|
java.lang.Object |
InterpretedFunction.resumeGenerator(Context cx,
Scriptable scope,
int operation,
java.lang.Object state,
java.lang.Object value) |
|
static java.lang.Object |
Interpreter.resumeGenerator(Context cx,
Scriptable scope,
int operation,
java.lang.Object savedState,
java.lang.Object value) |
|
java.lang.Object |
NativeFunction.resumeGenerator(Context cx,
Scriptable scope,
int operation,
java.lang.Object state,
java.lang.Object value) |
Resume execution of a suspended generator.
|
private Scriptable |
ES6Generator.resumeLocal(Context cx,
Scriptable scope,
java.lang.Object value) |
|
(package private) void |
IdScriptableObject.PrototypeValues.set(int id,
Scriptable start,
java.lang.Object value) |
|
java.lang.Object |
Ref.set(Context cx,
Scriptable scope,
java.lang.Object value) |
|
java.lang.Object |
SpecialRef.set(Context cx,
Scriptable scope,
java.lang.Object value) |
|
void |
ScriptableObject.setAttributes(int index,
Scriptable start,
int attributes) |
Deprecated.
|
void |
ScriptableObject.setAttributes(java.lang.String name,
Scriptable start,
int attributes) |
Deprecated.
|
static void |
ScriptRuntime.setBuiltinProtoAndParent(ScriptableObject object,
Scriptable scope,
TopLevel.Builtins type) |
|
static java.lang.Object |
ScriptRuntime.setConst(Scriptable bound,
java.lang.Object value,
Context cx,
java.lang.String id) |
|
void |
Delegator.setDelegee(Scriptable obj) |
Set the delegee.
|
private static void |
NativeArray.setElem(Context cx,
Scriptable target,
long index,
java.lang.Object value) |
|
static void |
ScriptRuntime.setFunctionProtoAndParent(BaseFunction fn,
Scriptable scope) |
|
static void |
ScriptRuntime.setFunctionProtoAndParent(BaseFunction fn,
Scriptable scope,
boolean es6GeneratorFunction) |
|
private static java.lang.Object |
NativeArray.setLengthProperty(Context cx,
Scriptable target,
long length) |
|
static java.lang.Object |
ScriptRuntime.setName(Scriptable bound,
java.lang.Object value,
Context cx,
Scriptable scope,
java.lang.String id) |
|
static java.lang.Object |
ScriptRuntime.setObjectElem(java.lang.Object obj,
java.lang.Object elem,
java.lang.Object value,
Context cx,
Scriptable scope) |
Call obj.[[Put]](id, value)
|
static java.lang.Object |
ScriptRuntime.setObjectElem(Scriptable obj,
java.lang.Object elem,
java.lang.Object value,
Context cx) |
|
static java.lang.Object |
ScriptRuntime.setObjectIndex(java.lang.Object obj,
double dblIndex,
java.lang.Object value,
Context cx,
Scriptable scope) |
A cheaper and less general version of the above for well-known argument
types.
|
static java.lang.Object |
ScriptRuntime.setObjectIndex(Scriptable obj,
int index,
java.lang.Object value,
Context cx) |
|
static java.lang.Object |
ScriptRuntime.setObjectProp(java.lang.Object obj,
java.lang.String property,
java.lang.Object value,
Context cx,
Scriptable scope) |
Version of setObjectElem when elem is a valid JS identifier name.
|
static java.lang.Object |
ScriptRuntime.setObjectProp(Scriptable obj,
java.lang.String property,
java.lang.Object value,
Context cx) |
|
static void |
ScriptRuntime.setObjectProtoAndParent(ScriptableObject object,
Scriptable scope) |
|
void |
Delegator.setParentScope(Scriptable parent) |
|
void |
NativeJavaObject.setParentScope(Scriptable m) |
Sets the parent (enclosing) scope of the object.
|
void |
NativeWith.setParentScope(Scriptable parent) |
|
void |
Scriptable.setParentScope(Scriptable parent) |
Set the parent scope of the object.
|
void |
ScriptableObject.setParentScope(Scriptable m) |
Sets the parent (enclosing) scope of the object.
|
void |
NativeError.ProtoProps.setPrepareStackTrace(Scriptable thisObj,
java.lang.Object value) |
|
void |
Delegator.setPrototype(Scriptable prototype) |
|
void |
NativeJavaObject.setPrototype(Scriptable m) |
Sets the prototype of the object.
|
void |
NativeWith.setPrototype(Scriptable prototype) |
|
void |
Scriptable.setPrototype(Scriptable prototype) |
Set the prototype of the object.
|
void |
ScriptableObject.setPrototype(Scriptable m) |
Sets the prototype of the object.
|
private static void |
NativeArray.setRawElem(Context cx,
Scriptable target,
long index,
java.lang.Object value) |
|
void |
NativeError.setStackDelegated(Scriptable target,
java.lang.Object value) |
|
void |
NativeError.ProtoProps.setStackTraceLimit(Scriptable thisObj,
java.lang.Object value) |
|
(package private) boolean |
ScriptableObject.GetterSlot.setValue(java.lang.Object value,
Scriptable owner,
Scriptable start) |
|
(package private) boolean |
ScriptableObject.Slot.setValue(java.lang.Object value,
Scriptable owner,
Scriptable start) |
|
static Ref |
ScriptRuntime.specialRef(java.lang.Object obj,
java.lang.String specialProperty,
Context cx,
Scriptable scope) |
|
private static void |
ScriptRuntime.storeScriptable(Context cx,
Scriptable value) |
|
private static java.lang.Object |
NativeJSON.str(java.lang.Object key,
Scriptable holder,
NativeJSON.StringifyState state) |
|
static java.lang.Object |
ScriptRuntime.strictSetName(Scriptable bound,
java.lang.Object value,
Context cx,
Scriptable scope,
java.lang.String id) |
|
static java.lang.Object |
NativeJSON.stringify(Context cx,
Scriptable scope,
java.lang.Object value,
java.lang.Object replacer,
java.lang.Object space) |
|
private static java.lang.String |
NativeString.tagify(Scriptable thisObj,
java.lang.String tag,
java.lang.String attribute,
java.lang.Object[] args) |
|
static JavaScriptException |
ScriptRuntime.throwCustomError(Context cx,
Scriptable scope,
java.lang.String constructorName,
java.lang.String message) |
Equivalent to executing "new $constructorName(message, sourceFileName, sourceLineNo)" from JavaScript.
|
static JavaScriptException |
ScriptRuntime.throwError(Context cx,
Scriptable scope,
java.lang.String message) |
Equivalent to executing "new Error(message, sourceFileName, sourceLineNo)" from JavaScript.
|
static Scriptable |
ScriptRuntime.toIterator(Context cx,
Scriptable scope,
Scriptable obj,
boolean keyOnly) |
|
static Scriptable |
Context.toObject(java.lang.Object value,
Scriptable scope) |
Convert the value to an JavaScript object value.
|
static Scriptable |
Context.toObject(java.lang.Object value,
Scriptable scope,
java.lang.Class<?> staticType) |
Deprecated.
|
static Scriptable |
ScriptRuntime.toObject(Context cx,
Scriptable scope,
java.lang.Object val) |
Convert the value to an object.
|
static Scriptable |
ScriptRuntime.toObject(Context cx,
Scriptable scope,
java.lang.Object val,
java.lang.Class<?> staticClass) |
Deprecated.
|
static Scriptable |
ScriptRuntime.toObject(Scriptable scope,
java.lang.Object val) |
|
static Scriptable |
ScriptRuntime.toObject(Scriptable scope,
java.lang.Object val,
java.lang.Class<?> staticClass) |
Deprecated.
|
static Scriptable |
ScriptRuntime.toObjectOrNull(Context cx,
java.lang.Object obj,
Scriptable scope) |
|
private static java.lang.Object |
ScriptRuntime.topScopeName(Context cx,
Scriptable scope,
java.lang.String name) |
|
private static java.lang.String |
NativeArray.toStringHelper(Context cx,
Scriptable scope,
Scriptable thisObj,
boolean toSource,
boolean toLocale) |
|
static java.lang.String |
ScriptRuntime.typeofName(Scriptable scope,
java.lang.String id) |
The typeof operator that correctly handles the undefined case
|
(package private) static java.lang.String |
ScriptRuntime.uneval(Context cx,
Scriptable scope,
java.lang.Object value) |
|
static java.lang.Object |
ScriptRuntime.updateDotQuery(boolean value,
Scriptable scope) |
|
private static java.lang.Object |
NativeJSON.walk(Context cx,
Scriptable scope,
Callable reviver,
Scriptable holder,
java.lang.Object name) |
|
static NativeJavaArray |
NativeJavaArray.wrap(Scriptable scope,
java.lang.Object array) |
|
static java.lang.Object |
NativeJavaObject.wrap(Scriptable scope,
java.lang.Object obj,
java.lang.Class<?> staticType) |
Deprecated.
|
java.lang.Object |
WrapFactory.wrap(Context cx,
Scriptable scope,
java.lang.Object obj,
java.lang.Class<?> staticType) |
Wrap the object.
|
Scriptable |
WrapFactory.wrapAsJavaObject(Context cx,
Scriptable scope,
java.lang.Object javaObject,
java.lang.Class<?> staticType) |
Wrap Java object as Scriptable instance to allow full access to its
methods and fields from JavaScript.
|
static Scriptable |
ScriptRuntime.wrapException(java.lang.Throwable t,
Scriptable scope,
Context cx) |
|
Scriptable |
WrapFactory.wrapJavaClass(Context cx,
Scriptable scope,
java.lang.Class<?> javaClass) |
Wrap a Java class as Scriptable instance to allow access to its static
members and fields and use as constructor from JavaScript.
|
Scriptable |
WrapFactory.wrapNewObject(Context cx,
Scriptable scope,
java.lang.Object obj) |
Wrap an object newly created by a constructor call.
|
Scriptable |
RegExpProxy.wrapRegExp(Context cx,
Scriptable scope,
java.lang.Object compiled) |
|
static Scriptable |
ScriptRuntime.wrapRegExp(Context cx,
Scriptable scope,
java.lang.Object compiled) |
|