private static java.lang.Object |
NativeMath.abs(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.acos(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.acosh(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
RegExpProxy.action(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args,
int actionType) |
|
static java.lang.Object |
ScriptRuntime.add(java.lang.Object val1,
java.lang.Object val2,
Context cx) |
|
private static void |
Interpreter.addInstructionCount(Context cx,
Interpreter.CallFrame frame,
int extra) |
|
static void |
ScriptRuntime.addInstructionCount(Context cx,
int instructionsToAdd) |
|
static void |
ScriptRuntimeES6.addSymbolSpecies(Context cx,
Scriptable scope,
IdScriptableObject constructor) |
Registers the symbol [Symbol.species] on the given constructor function.
|
private static java.lang.Object |
NativePromise.all(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativePromise.allSettled(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeReflect.apply(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
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
|
private static java.lang.Object |
NativeMath.asin(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.asinh(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.atan(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.atan2(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.atanh(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static Scriptable |
ScriptRuntime.bind(Context cx,
Scriptable scope,
java.lang.String id) |
Returns the object in the scope chain that has a given property.
|
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.
|
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 |
LambdaConstructor.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
java.lang.Object |
LambdaFunction.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
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 |
NativeProxy.call(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
see
https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-call-thisargument-argumentslist
|
java.lang.Object |
NativeProxy.Revoker.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) |
|
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 |
ScriptableObject.callMethod(Context cx,
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) |
|
private void |
NativePromise.callThenable(Context cx,
Scriptable scope,
java.lang.Object resolution,
Callable thenFunc) |
|
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) |
|
static NativeContinuation |
Interpreter.captureContinuation(Context cx) |
|
private static NativeContinuation |
Interpreter.captureContinuation(Context cx,
Interpreter.CallFrame frame,
boolean requireContinuationsTopFrame) |
|
private static java.lang.Object |
NativeMath.cbrt(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.ceil(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
(package private) static void |
ScriptRuntime.checkDeprecated(Context cx,
java.lang.String name) |
|
static RegExpProxy |
ScriptRuntime.checkRegExpProxy(Context cx) |
|
private static java.lang.Object |
NativeMath.clz32(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static Script |
NativeScript.compile(Context cx,
java.lang.String source) |
|
java.lang.Object |
RegExpProxy.compileRegExp(Context cx,
java.lang.String source,
java.lang.String flags) |
|
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 |
Constructable.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
Call the function as a constructor.
|
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 rather 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 |
LambdaConstructor.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
Scriptable |
LambdaFunction.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
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 |
NativeProxy.construct(Context cx,
Scriptable scope,
java.lang.Object[] args) |
see
https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget
|
private static Scriptable |
NativeReflect.construct(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
see https://262.ecma-international.org/12.0/#sec-reflect.construct
|
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.
|
private static Scriptable |
NativePromise.constructor(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private static NativeProxy |
NativeProxy.constructor(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
(package private) static Scriptable |
NativeJavaClass.constructSpecific(Context cx,
Scriptable scope,
java.lang.Object[] args,
MemberBox ctor) |
|
void |
ContextFactory.Listener.contextCreated(Context cx) |
Notify about newly created Context object.
|
void |
ContextListener.contextEntered(Context cx) |
Deprecated.
|
void |
ContextListener.contextExited(Context cx) |
Deprecated.
|
void |
ContextFactory.Listener.contextReleased(Context cx) |
Notify that the specified Context instance is no longer associated with the
current thread.
|
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.
|
private static java.lang.Object |
NativeMath.cos(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.cosh(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private void |
NativeConsole.count(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private void |
NativeConsole.countReset(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
(package private) static java.lang.Object |
InterfaceAdapter.create(Context cx,
java.lang.Class<?> cl,
ScriptableObject object) |
Make glue object implementing interface cl that will call the supplied JS function when
called.
|
static Scriptable |
ScriptRuntime.createArrowFunctionActivation(NativeFunction funObj,
Context cx,
Scriptable scope,
java.lang.Object[] args,
boolean isStrict,
boolean argsHasRest) |
|
(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,
Context cx,
Scriptable scope,
java.lang.Object[] args,
boolean isStrict,
boolean argsHasRest) |
|
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) |
|
(package private) static java.util.List<java.lang.Object> |
AbstractEcmaObjectOperations.createListFromArrayLike(Context cx,
Scriptable o,
java.util.function.Predicate<java.lang.Object> elementTypesPredicate,
java.lang.String msg) |
CreateListFromArrayLike ( obj [ , elementTypes ] )
|
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) |
|
private static XMLLib |
ScriptRuntime.currentXMLLib(Context cx) |
|
private static java.lang.String |
NativeDate.date_format(Context cx,
double t,
int methodId) |
|
private static double |
NativeDate.date_parseString(Context cx,
java.lang.String s) |
|
private static double |
NativeDate.DaylightSavingTA(Context cx,
double t) |
|
(package private) static java.lang.String |
ScriptRuntime.defaultObjectToSource(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static void |
NativeArray.defineElem(Context cx,
Scriptable target,
long index,
java.lang.Object value) |
|
private static void |
NativeArray.defineElemOrThrow(Context cx,
Scriptable target,
long index,
java.lang.Object value) |
|
void |
ScriptableObject.defineOwnProperties(Context cx,
ScriptableObject props) |
Defines one or more properties on this object.
|
protected boolean |
Arguments.defineOwnProperty(Context cx,
java.lang.Object id,
ScriptableObject desc,
boolean checkValid) |
|
protected boolean |
IdScriptableObject.defineOwnProperty(Context cx,
java.lang.Object key,
ScriptableObject desc,
boolean checkValid) |
|
protected boolean |
NativeArray.defineOwnProperty(Context cx,
java.lang.Object id,
ScriptableObject desc,
boolean checkValid) |
|
boolean |
NativeProxy.defineOwnProperty(Context cx,
java.lang.Object id,
ScriptableObject desc) |
see
https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc
|
boolean |
ScriptableObject.defineOwnProperty(Context cx,
java.lang.Object id,
ScriptableObject desc) |
Defines a property on an object.
|
protected boolean |
ScriptableObject.defineOwnProperty(Context cx,
java.lang.Object id,
ScriptableObject desc,
boolean checkValid) |
Defines a property on an object.
|
private static java.lang.Object |
NativeReflect.defineProperty(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
boolean |
Ref.delete(Context cx) |
|
static java.lang.Object |
ScriptRuntime.delete(java.lang.Object obj,
java.lang.Object id,
Context cx) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.delete(java.lang.Object obj,
java.lang.Object id,
Context cx,
boolean isName) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.delete(java.lang.Object obj,
java.lang.Object id,
Context cx,
Scriptable scope,
boolean isName) |
The delete operator
|
boolean |
SpecialRef.delete(Context cx) |
|
static boolean |
ScriptRuntime.deleteObjectElem(Scriptable target,
java.lang.Object elem,
Context cx) |
|
private static java.lang.Object |
NativeReflect.deleteProperty(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static void |
Interpreter.doAdd(java.lang.Object[] stack,
double[] sDbl,
int stackTop,
Context cx) |
|
private static java.lang.Object |
NativePromise.doAll(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args,
boolean failFast) |
|
private static java.lang.Object |
JavaAdapter.doCall(Context cx,
Scriptable scope,
Scriptable thisObj,
Function f,
java.lang.Object[] args,
long argsToWrap) |
|
private static int |
Interpreter.doCallSpecial(Context cx,
Interpreter.CallFrame frame,
java.lang.Object[] stack,
double[] sDbl,
int stackTop,
byte[] iCode,
int indexReg) |
|
private static java.lang.Object |
NativePromise.doCatch(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static long |
NativeArray.doConcat(Context cx,
Scriptable scope,
Scriptable result,
java.lang.Object arg,
long offset) |
|
private static int |
Interpreter.doDelName(Context cx,
Interpreter.CallFrame frame,
int op,
java.lang.Object[] stack,
double[] sDbl,
int stackTop) |
|
private static int |
Interpreter.doElemIncDec(Context cx,
Interpreter.CallFrame frame,
byte[] iCode,
java.lang.Object[] stack,
double[] sDbl,
int stackTop) |
|
private static java.lang.Object |
NativePromise.doFinally(Context cx,
Scriptable scope,
Scriptable thisObj,
LambdaConstructor defaultConstructor,
java.lang.Object[] args) |
|
private static int |
Interpreter.doGetElem(Context cx,
Interpreter.CallFrame frame,
java.lang.Object[] stack,
double[] sDbl,
int stackTop) |
|
private static int |
Interpreter.doInOrInstanceof(Context cx,
int op,
java.lang.Object[] stack,
double[] sDbl,
int stackTop) |
|
private static int |
Interpreter.doRefMember(Context cx,
java.lang.Object[] stack,
double[] sDbl,
int stackTop,
int flags) |
|
private static int |
Interpreter.doRefNsMember(Context cx,
java.lang.Object[] stack,
double[] sDbl,
int stackTop,
int flags) |
|
private static int |
Interpreter.doRefNsName(Context cx,
Interpreter.CallFrame frame,
java.lang.Object[] stack,
double[] sDbl,
int stackTop,
int flags) |
|
private static int |
Interpreter.doSetElem(Context cx,
Interpreter.CallFrame frame,
java.lang.Object[] stack,
double[] sDbl,
int stackTop) |
|
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) |
|
private static int |
Interpreter.doVarIncDec(Context cx,
Interpreter.CallFrame frame,
java.lang.Object[] stack,
double[] sDbl,
int stackTop,
java.lang.Object[] vars,
double[] varDbls,
int[] varAttributes,
int indexReg) |
|
static java.lang.Object |
ScriptRuntime.elemIncrDecr(java.lang.Object obj,
java.lang.Object index,
Context cx,
int incrDecrMask) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.elemIncrDecr(java.lang.Object obj,
java.lang.Object index,
Context cx,
Scriptable scope,
int incrDecrMask) |
|
static Context |
Context.enter(Context cx) |
Deprecated.
|
(package private) static Context |
Context.enter(Context cx,
ContextFactory factory) |
|
static void |
ScriptRuntime.enterActivationFunction(Context cx,
Scriptable scope) |
|
Context |
ContextFactory.enterContext(Context cx) |
Get a Context associated with the current thread, using the given Context if need be.
|
private static void |
Interpreter.enterFrame(Context cx,
Interpreter.CallFrame frame,
java.lang.Object[] args,
boolean continuationRestart) |
|
static Scriptable |
ScriptRuntime.enterWith(java.lang.Object obj,
Context cx,
Scriptable scope) |
|
static java.lang.Object |
ScriptRuntime.enumId(java.lang.Object enumObj,
Context cx) |
|
static java.lang.Object |
ScriptRuntime.enumInit(java.lang.Object value,
Context cx,
boolean enumValues) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.enumInit(java.lang.Object value,
Context cx,
int enumType) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.enumInit(java.lang.Object value,
Context cx,
Scriptable scope,
int enumType) |
|
private static java.lang.Object |
ScriptRuntime.enumInitInOrder(Context cx,
ScriptRuntime.IdEnumeration x) |
|
static java.lang.Boolean |
ScriptRuntime.enumNext(java.lang.Object enumObj,
Context cx) |
|
private static java.lang.Boolean |
ScriptRuntime.enumNextInOrder(ScriptRuntime.IdEnumeration enumObj,
Context cx) |
|
static java.lang.Object |
ScriptRuntime.enumValue(java.lang.Object enumObj,
Context cx) |
|
static java.lang.String |
ScriptRuntime.escapeAttributeValue(java.lang.Object value,
Context cx) |
Escapes the reserved characters in a value of an attribute
|
static java.lang.String |
ScriptRuntime.escapeTextValue(java.lang.Object value,
Context cx) |
Escapes the reserved characters in a value of a text node
|
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 |
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 |
NativeBigInt.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 |
NativeConsole.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 |
NativeMap.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 |
SecurityController.execWithDomain(Context cx,
Scriptable scope,
Script script,
java.lang.Object securityDomain) |
Deprecated.
|
static void |
ScriptRuntime.exitActivationFunction(Context cx) |
|
private static void |
Interpreter.exitFrame(Context cx,
Interpreter.CallFrame frame,
java.lang.Object throwable) |
|
private static java.lang.Object |
NativeMath.exp(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.expm1(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
(package private) void |
NativePromise.PromiseAllResolver.finalResolution(Context cx,
Scriptable scope) |
|
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) int |
NativeJavaMethod.findCachedFunction(Context cx,
java.lang.Object[] args) |
|
(package private) static int |
NativeJavaMethod.findFunction(Context cx,
MemberBox[] methodsOrCtors,
java.lang.Object[] args) |
Find the index of the correct function to call given the set of methods or constructors and
the arguments.
|
(package private) static NativeCall |
ScriptRuntime.findFunctionActivation(Context cx,
Function f) |
|
private static Scriptable |
NativeArray.flat(Context cx,
Scriptable scope,
Scriptable source,
double depth) |
|
private static java.lang.Object |
NativeMath.floor(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static java.lang.String |
NativeConsole.format(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private static java.lang.String |
NativeConsole.formatObj(Context cx,
Scriptable scope,
java.lang.Object arg) |
|
private static java.lang.Object |
Interpreter.freezeGenerator(Context cx,
Interpreter.CallFrame frame,
int stackTop,
Interpreter.GeneratorState generatorState,
boolean yieldStar) |
|
private static java.lang.Object |
NativeMath.fround(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private java.lang.Object |
NativePromise.fulfillPromise(Context cx,
Scriptable scope,
java.lang.Object value) |
|
private static java.lang.Object |
NativeReflect.get(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
abstract java.lang.Object |
Ref.get(Context cx) |
|
java.lang.Object |
SpecialRef.get(Context cx) |
|
(package private) static java.lang.Object[] |
ScriptRuntime.getApplyArguments(Context cx,
java.lang.Object arg1) |
|
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 .
|
private static Function |
NativeArray.getCallbackArg(Context cx,
java.lang.Object callbackArg) |
|
private static Scriptable |
NativeObject.getCompatibleObject(Context cx,
Scriptable scope,
java.lang.Object arg) |
|
private static java.lang.Object |
NativeArray.getElem(Context cx,
Scriptable target,
long index) |
|
static Callable |
ScriptRuntime.getElemFunctionAndThis(java.lang.Object obj,
java.lang.Object elem,
Context cx) |
Deprecated.
|
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.
|
private static java.lang.Object |
NativePromise.getErrorObject(Context cx,
Scriptable scope,
RhinoException re) |
|
(package private) static Function |
ScriptRuntime.getExistingCtor(Context cx,
Scriptable scope,
java.lang.String constructorName) |
|
static ScriptableObject |
ScriptRuntime.getGlobal(Context cx) |
|
(package private) static long |
NativeArray.getLengthProperty(Context cx,
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) |
Deprecated.
|
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) |
|
static java.lang.Object |
ScriptRuntime.getObjectIndex(java.lang.Object obj,
double dblIndex,
Context cx) |
Deprecated.
|
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) |
Deprecated.
|
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) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.getObjectPropNoWarn(java.lang.Object obj,
java.lang.String property,
Context cx,
Scriptable scope) |
|
protected ScriptableObject |
Arguments.getOwnPropertyDescriptor(Context cx,
java.lang.Object id) |
|
protected ScriptableObject |
IdScriptableObject.getOwnPropertyDescriptor(Context cx,
java.lang.Object id) |
|
protected ScriptableObject |
NativeArray.getOwnPropertyDescriptor(Context cx,
java.lang.Object id) |
|
protected ScriptableObject |
NativeProxy.getOwnPropertyDescriptor(Context cx,
java.lang.Object id) |
see
https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-getownproperty-p
|
private static Scriptable |
NativeReflect.getOwnPropertyDescriptor(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
protected ScriptableObject |
NativeString.getOwnPropertyDescriptor(Context cx,
java.lang.Object id) |
|
protected ScriptableObject |
ScriptableObject.getOwnPropertyDescriptor(Context cx,
java.lang.Object id) |
|
(package private) ScriptableObject |
AccessorSlot.getPropertyDescriptor(Context cx,
Scriptable scope) |
|
(package private) ScriptableObject |
LambdaSlot.getPropertyDescriptor(Context cx,
Scriptable scope) |
|
(package private) ScriptableObject |
Slot.getPropertyDescriptor(Context cx,
Scriptable scope) |
|
static Callable |
ScriptRuntime.getPropFunctionAndThis(java.lang.Object obj,
java.lang.String property,
Context cx) |
Deprecated.
|
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 Scriptable |
NativeReflect.getPrototypeOf(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static RegExpProxy |
ScriptRuntime.getRegExpProxy(Context cx) |
|
private static NativeSymbol |
NativeSymbol.getSelf(Context cx,
Scriptable scope,
java.lang.Object thisObj) |
|
java.lang.String |
Evaluator.getSourcePositionFromStack(Context cx,
int[] linep) |
Get the source position information by examining the stack.
|
java.lang.String |
Interpreter.getSourcePositionFromStack(Context cx,
int[] linep) |
|
static Scriptable |
ScriptRuntime.getTemplateLiteralCallSite(Context cx,
Scriptable scope,
java.lang.Object[] strings,
int index) |
|
static Scriptable |
ScriptRuntime.getTopCallScope(Context cx) |
|
static Callable |
ScriptRuntime.getValueFunctionAndThis(java.lang.Object value,
Context cx) |
Prepare for calling <expression>(...): return function corresponding to
<expression> and make parent scope of the function available as
ScriptRuntime.lastStoredScriptable() for consumption as thisObj.
|
private static java.lang.Object |
NativeReflect.has(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
boolean |
Ref.has(Context cx) |
|
boolean |
SpecialRef.has(Context cx) |
|
protected boolean |
ContextFactory.hasFeature(Context cx,
int featureIndex) |
|
static boolean |
ScriptRuntime.hasObjectElem(Scriptable target,
java.lang.Object elem,
Context cx) |
|
(package private) static boolean |
AbstractEcmaObjectOperations.hasOwnProperty(Context cx,
java.lang.Object o,
java.lang.Object property) |
Implementation of Abstract Object operation HasOwnProperty as defined by EcmaScript
|
static boolean |
ScriptRuntime.hasTopCall(Context cx) |
|
private static java.lang.Object |
NativeMath.hypot(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
void |
ImporterTopLevel.importPackage(Context cx,
Scriptable thisObj,
java.lang.Object[] args,
Function funObj) |
Deprecated.
|
private static java.lang.Object |
NativeMath.imul(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static boolean |
ScriptRuntime.in(java.lang.Object a,
java.lang.Object b,
Context cx) |
The in operator.
|
(package private) static void |
BaseFunction.init(Context cx,
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(Context cx,
Scriptable scope,
boolean sealed) |
|
static void |
NativeContinuation.init(Context cx,
Scriptable scope,
boolean sealed) |
|
static void |
NativeGlobal.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeIterator.init(Context cx,
ScriptableObject scope,
boolean sealed) |
|
static void |
NativeJavaTopPackage.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeMap.init(Context cx,
Scriptable scope,
boolean sealed) |
|
static void |
NativePromise.init(Context cx,
Scriptable scope,
boolean sealed) |
|
static void |
NativeProxy.init(Context cx,
Scriptable scope,
boolean sealed) |
|
static void |
NativeReflect.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeScript.init(Context cx,
Scriptable scope,
boolean sealed) |
|
(package private) static void |
NativeSet.init(Context cx,
Scriptable scope,
boolean sealed) |
|
static void |
NativeSymbol.init(Context cx,
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 |
CompilerEnvirons.initFromContext(Context cx) |
|
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 ScriptableObject |
ScriptRuntime.initSafeStandardObjects(Context cx,
ScriptableObject scope,
boolean sealed) |
|
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) |
|
void |
ImporterTopLevel.initStandardObjects(Context cx,
boolean sealed) |
|
static ScriptableObject |
ScriptRuntime.initStandardObjects(Context cx,
ScriptableObject scope,
boolean sealed) |
|
static boolean |
ScriptRuntime.instanceOf(java.lang.Object a,
java.lang.Object b,
Context cx) |
The instanceof operator.
|
private static double |
NativeDate.internalUTC(Context cx,
double t) |
|
(package private) static java.lang.Object |
Interpreter.interpret(InterpretedFunction ifun,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
Interpreter.interpretLoop(Context cx,
Interpreter.CallFrame frame,
java.lang.Object throwable) |
|
(package private) void |
NativePromise.Reaction.invoke(Context cx,
Scriptable scope,
java.lang.Object arg) |
|
(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 |
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 |
NativeJavaMap.NativeJavaMapIterator.isDone(Context cx,
Scriptable scope) |
|
protected boolean |
NativeJavaObject.JavaIterableIterator.isDone(Context cx,
Scriptable scope) |
|
protected boolean |
NativeStringIterator.isDone(Context cx,
Scriptable scope) |
|
private static java.lang.Object |
NativeReflect.isExtensible(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static boolean |
ScriptRuntime.isIteratorDone(Context cx,
java.lang.Object result) |
Given an iterator result, return true if and only if there is a "done" property that's true.
|
(package private) static boolean |
ScriptRuntime.isValidIdentifierName(java.lang.String s,
Context cx,
boolean isStrict) |
|
private static boolean |
ScriptRuntime.isVisible(Context cx,
java.lang.Object 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,
Context cx) |
Convenient method to convert java value to its closest representation in JavaScript.
|
private static java.lang.Object |
NativeArray.js_at(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static void |
NativeError.js_captureStackTrace(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static Scriptable |
NativeArray.js_concat(Context cx,
Scriptable scope,
Scriptable thisObj,
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 static java.lang.Object |
NativeArray.js_flat(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeArray.js_flatMap(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 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) |
|
(package private) static java.lang.Object |
NativeGlobal.js_parseInt(Context cx,
java.lang.Object[] args) |
The global method parseInt, as per ECMA-262 15.1.2.2.
|
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.CharSequence |
NativeString.js_raw(Context cx,
Scriptable scope,
java.lang.Object[] args) |
String.raw (template, ...substitutions)
|
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.CharSequence |
NativeString.js_substring(Context cx,
java.lang.CharSequence target,
java.lang.Object[] args) |
|
private static java.lang.String |
NativeError.js_toSource(Context cx,
Scriptable scope,
Scriptable thisObj) |
|
private static java.lang.Object |
NativeArray.js_unshift(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private void |
NativeConsole.jsAssert(Context cx,
Scriptable scope,
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 |
NativeDate.jsConstructor(Context cx,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeIterator.jsConstructor(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static Scriptable |
ScriptRuntime.lastStoredScriptable(Context cx) |
|
static long |
ScriptRuntime.lastUint32Result(Context cx) |
|
(package private) static long |
AbstractEcmaObjectOperations.lengthOfArrayLike(Context cx,
Scriptable o) |
LengthOfArrayLike ( obj )
|
(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.
|
static boolean |
ScriptRuntime.loadFromIterable(Context cx,
Scriptable scope,
java.lang.Object arg1,
java.util.function.BiConsumer<java.lang.Object,java.lang.Object> setter) |
This is used to handle all the special cases that are required when invoking
Object.fromEntries or constructing a NativeMap or NativeWeakMap from an iterable.
|
private static double |
NativeDate.LocalTime(Context cx,
double t) |
|
private static java.lang.Object |
NativeMath.log(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.log10(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.log1p(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.log2(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
(package private) static NativeError |
NativeError.make(Context cx,
Scriptable scope,
IdFunctionObject ctorObj,
java.lang.Object[] args) |
|
private static double |
NativeDate.makeDate(Context cx,
double date,
java.lang.Object[] args,
int methodId) |
|
(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) |
|
private static double |
NativeDate.makeTime(Context cx,
double date,
java.lang.Object[] args,
int methodId) |
|
private static java.lang.Object |
NativeMath.max(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static Ref |
ScriptRuntime.memberRef(java.lang.Object obj,
java.lang.Object namespace,
java.lang.Object elem,
Context cx,
int memberTypeFlags) |
|
static Ref |
ScriptRuntime.memberRef(java.lang.Object obj,
java.lang.Object elem,
Context cx,
int memberTypeFlags) |
|
private static java.lang.Object |
NativeMath.min(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
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,
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) |
|
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) |
|
(package private) static Scriptable |
ScriptRuntime.newNativeError(Context cx,
Scriptable scope,
TopLevel.NativeErrors type,
java.lang.Object[] args) |
|
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 |
NativeJavaMap.NativeJavaMapIterator.nextValue(Context cx,
Scriptable scope) |
|
protected java.lang.Object |
NativeJavaObject.JavaIterableIterator.nextValue(Context cx,
Scriptable scope) |
|
protected java.lang.Object |
NativeStringIterator.nextValue(Context cx,
Scriptable scope) |
|
private static void |
Context.notifyDebugger_r(Context cx,
DebuggableScript dscript,
java.lang.String debugSource) |
|
protected void |
ContextFactory.observeInstructionCount(Context cx,
int instructionCount) |
|
protected void |
ContextFactory.onContextCreated(Context cx) |
|
protected void |
ContextFactory.onContextReleased(Context cx) |
|
private static Scriptable |
NativeReflect.ownKeys(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static java.lang.Object[] |
ScriptRuntime.padAndRestArguments(Context cx,
Scriptable scope,
java.lang.Object[] args,
int argCount) |
Helper function for builtin objects that use the varargs form.
|
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) |
|
private static java.lang.Object |
NativeJSON.parse(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static double |
NativeDate.parseISOString(Context cx,
java.lang.String s) |
15.9.1.15 Date Time String Format
Parse input string according to simplified ISO-8601 Extended Format:
YYYY-MM-DD'T'HH:mm:ss.sss'Z'
or YYYY-MM-DD'T'HH:mm:ss.sss[+-]hh:mm
|
private static java.lang.Object |
NativePromise.performRace(Context cx,
Scriptable scope,
IteratorLikeIterable.Itr iterator,
Scriptable thisObj,
NativePromise.Capability cap) |
|
private static java.lang.Object |
NativeMath.pow(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeReflect.preventExtensions(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
void |
NativeConsole.ConsolePrinter.print(Context cx,
Scriptable scope,
NativeConsole.Level level,
java.lang.Object[] args,
ScriptStackElement[] stack) |
|
private void |
NativeConsole.print(Context cx,
Scriptable scope,
NativeConsole.Level level,
java.lang.String msg) |
|
private static Interpreter.CallFrame |
Interpreter.processThrowable(Context cx,
java.lang.Object throwable,
Interpreter.CallFrame frame,
int indexReg,
boolean instructionCounting) |
|
static java.lang.Object |
ScriptRuntime.propIncrDecr(java.lang.Object obj,
java.lang.String id,
Context cx,
int incrDecrMask) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.propIncrDecr(java.lang.Object obj,
java.lang.String id,
Context cx,
Scriptable scope,
int incrDecrMask) |
|
(package private) static void |
AbstractEcmaObjectOperations.put(Context cx,
Scriptable o,
int p,
java.lang.Object v,
boolean isThrow) |
Set ( O, P, V, Throw)
|
(package private) static void |
AbstractEcmaObjectOperations.put(Context cx,
Scriptable o,
java.lang.String p,
java.lang.Object v,
boolean isThrow) |
Set ( O, P, V, Throw)
|
protected Slot |
ScriptableObject.querySlot(Context cx,
java.lang.Object id) |
|
private static java.lang.Object |
NativePromise.race(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.random(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
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.refDel(Ref ref,
Context cx) |
|
static java.lang.Object |
ScriptRuntime.refGet(Ref ref,
Context cx) |
|
static java.lang.Object |
ScriptRuntime.refIncrDecr(Ref ref,
Context cx,
int incrDecrMask) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.refIncrDecr(Ref ref,
Context cx,
Scriptable scope,
int incrDecrMask) |
|
private void |
JavaMembers.reflect(Context cx,
Scriptable scope,
boolean includeProtected,
boolean includePrivate) |
|
static java.lang.Object |
ScriptRuntime.refSet(Ref ref,
java.lang.Object value,
Context cx) |
Deprecated.
|
static java.lang.Object |
ScriptRuntime.refSet(Ref ref,
java.lang.Object value,
Context cx,
Scriptable scope) |
|
private static java.lang.Object |
NativePromise.reject(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private java.lang.Object |
NativePromise.ResolvingFunctions.reject(Context cx,
Scriptable scope,
NativePromise promise,
java.lang.Object reason) |
|
private java.lang.Object |
NativePromise.rejectPromise(Context cx,
Scriptable scope,
java.lang.Object reason) |
|
static java.lang.Object |
ScriptRuntimeES6.requireObjectCoercible(Context cx,
java.lang.Object val,
IdFunctionObject idFuncObj) |
|
(package private) java.lang.Object |
NativePromise.PromiseAllResolver.resolve(Context topCx,
Scriptable topScope) |
|
(package private) java.lang.Object |
NativePromise.PromiseElementResolver.resolve(Context cx,
Scriptable scope,
java.lang.Object result,
NativePromise.PromiseAllResolver resolver) |
|
private static java.lang.Object |
NativePromise.resolve(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private java.lang.Object |
NativePromise.ResolvingFunctions.resolve(Context cx,
Scriptable scope,
NativePromise promise,
java.lang.Object resolution) |
|
private static java.lang.Object |
NativePromise.resolveInternal(Context cx,
Scriptable scope,
java.lang.Object constructor,
java.lang.Object arg) |
|
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) |
|
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) |
|
private static java.lang.Object |
NativeProxy.revocable(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.round(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
T |
ContextAction.run(Context cx) |
Execute action using the supplied Context instance.
|
static java.lang.Object |
ScriptRuntime.searchDefaultNamespace(Context cx) |
|
private static java.lang.Object |
NativeReflect.set(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
abstract java.lang.Object |
Ref.set(Context cx,
java.lang.Object value) |
Deprecated.
|
java.lang.Object |
Ref.set(Context cx,
Scriptable scope,
java.lang.Object value) |
|
java.lang.Object |
SpecialRef.set(Context cx,
java.lang.Object value) |
Deprecated.
|
java.lang.Object |
SpecialRef.set(Context cx,
Scriptable scope,
java.lang.Object value) |
|
static java.lang.Object |
ScriptRuntime.setConst(Scriptable bound,
java.lang.Object value,
Context cx,
java.lang.String id) |
|
protected abstract void |
VMBridge.setContext(java.lang.Object contextHelper,
Context cx) |
Associate Context instance with the current thread or remove the current association
if cx is null.
|
static java.lang.Object |
ScriptRuntime.setDefaultNamespace(java.lang.Object namespace,
Context cx) |
|
private static void |
NativeArray.setElem(Context cx,
Scriptable target,
long index,
java.lang.Object value) |
|
static void |
ScriptRuntime.setFunctionProtoAndParent(BaseFunction fn,
Context cx,
Scriptable scope) |
|
static void |
ScriptRuntime.setFunctionProtoAndParent(BaseFunction fn,
Context cx,
Scriptable scope,
boolean es6GeneratorFunction) |
|
(package private) static boolean |
AbstractEcmaObjectOperations.setIntegrityLevel(Context cx,
java.lang.Object o,
AbstractEcmaObjectOperations.INTEGRITY_LEVEL level) |
Implementation of Abstract Object operation setIntegrityLevel as defined by EcmaScript
|
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) |
Deprecated.
|
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) |
Deprecated.
|
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) |
Deprecated.
|
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) |
|
private static java.lang.Object |
NativeReflect.setPrototypeOf(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static void |
NativeArray.setRawElem(Context cx,
Scriptable target,
long index,
java.lang.Object value) |
|
static void |
ScriptRuntime.setRegExpProxy(Context cx,
RegExpProxy proxy) |
|
private static java.lang.Object |
NativeMath.sign(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.sin(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.sinh(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static Ref |
ScriptRuntime.specialRef(java.lang.Object obj,
java.lang.String specialProperty,
Context cx) |
Deprecated.
|
static Ref |
ScriptRuntime.specialRef(java.lang.Object obj,
java.lang.String specialProperty,
Context cx,
Scriptable scope) |
|
(package private) static Constructable |
AbstractEcmaObjectOperations.speciesConstructor(Context cx,
Scriptable s,
Constructable defaultConstructor) |
Implement the ECMAScript abstract operation "SpeciesConstructor" defined in section 7.2.33 of
ECMA262.
|
private static java.lang.Object |
NativeMath.sqrt(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static void |
ScriptRuntime.storeScriptable(Context cx,
Scriptable value) |
|
static void |
ScriptRuntime.storeUint32Result(Context cx,
long value) |
|
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.Object |
NativeJSON.stringify(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.String |
NativeString.tagify(Context cx,
Scriptable thisObj,
IdFunctionObject f,
java.lang.String tag,
java.lang.String attribute,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.tan(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
private static java.lang.Object |
NativeMath.tanh(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
(package private) static boolean |
AbstractEcmaObjectOperations.testIntegrityLevel(Context cx,
java.lang.Object o,
AbstractEcmaObjectOperations.INTEGRITY_LEVEL level) |
Implementation of Abstract Object operation testIntegrityLevel as defined by EcmaScript
|
private java.lang.Object |
NativePromise.then(Context cx,
Scriptable scope,
LambdaConstructor defaultConstructor,
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.
|
private void |
NativeConsole.time(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private void |
NativeConsole.timeEnd(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
private void |
NativeConsole.timeLog(Context cx,
Scriptable scope,
java.lang.Object[] args) |
|
static Scriptable |
ScriptRuntime.toIterator(Context cx,
Scriptable scope,
Scriptable obj,
boolean keyOnly) |
|
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.toObjectOrNull(Context cx,
java.lang.Object obj) |
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) |
|
private static java.lang.Object |
NativeMath.trunc(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args) |
|
static BaseFunction |
ScriptRuntime.typeErrorThrower(Context cx) |
Returns representation of the [[ThrowTypeError]] object.
|
(package private) static java.lang.String |
ScriptRuntime.uneval(Context cx,
Scriptable scope,
java.lang.Object value) |
|
private static java.lang.Object |
NativeJSON.walk(Context cx,
Scriptable scope,
Callable reviver,
Scriptable holder,
java.lang.Object name) |
|
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) |
|