Uses of Class
org.mozilla.javascript.Context
Packages that use Context
Package
Description
Provides the public API for the CommonJS Modules/1.1 implementation.
Provides default implementations for module providers.
-
Uses of Context in org.mozilla.javascript
Fields in org.mozilla.javascript declared as ContextModifier and TypeFieldDescriptionprivate final Context
IteratorLikeIterable.cx
(package private) Context
NativeJSON.StringifyState.cx
Methods in org.mozilla.javascript that return ContextModifier and TypeMethodDescriptionstatic Context
Context.enter()
Same as callingContextFactory.enterContext()
on the global ContextFactory instance.static Context
Deprecated.(package private) static final Context
Context.enter
(Context cx, ContextFactory factory) final Context
ContextFactory.enter()
Deprecated.useContextFactory.enterContext()
insteadContextFactory.enterContext()
Get a context associated with the current thread, creating one if need be.final Context
ContextFactory.enterContext
(Context cx) Get a Context associated with the current thread, using the given Context if need be.(package private) static Context
Context.getContext()
Internal method that reports an error for missing calls to enter().protected abstract Context
VMBridge.getContext
(Object contextHelper) GetContext
instance associated with the current thread or null if none.static Context
Context.getCurrentContext()
Get the current Context.protected Context
ContextFactory.makeContext()
Create newContext
instance to be associated with the current thread.Methods in org.mozilla.javascript with parameters of type ContextModifier and TypeMethodDescriptionRegExpProxy.action
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) static Object
private static void
Interpreter.addInstructionCount
(Context cx, Interpreter.CallFrame frame, int extra) static void
ScriptRuntime.addInstructionCount
(Context cx, int instructionsToAdd) private static Object
NativePromise.all
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static Object
ScriptRuntime.applyOrCall
(boolean isApply, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Function.prototype.apply and Function.prototype.callstatic Scriptable
ScriptRuntime.bind
(Context cx, Scriptable scope, String id) Returns the object in the scope chain that has a given property.Arguments.ThrowTypeError.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) ArrowFunction.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) BaseFunction.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Should be overridden.BoundFunction.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] extraArgs) Callable.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Perform the call.Delegator.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Function.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Call the function.FunctionObject.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Performs conversions on argument types if needed and invokes the underlying Java method or constructor.IdFunctionObject.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) InterpretedFunction.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Calls the function.LambdaConstructor.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) LambdaFunction.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeContinuation.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaClass.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaConstructor.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaMethod.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaTopPackage.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeScript.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) abstract Object
PolicySecurityController.SecureCaller.call
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static Object
Deprecated.The method is only present for compatibility.ScriptRuntime.NoSuchMethodShim.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Perform the call.abstract Object
SecureCaller.call
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Synchronizer.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Scriptable
NativeArray.callConstructorOrCreateArray
(Context cx, Scriptable scope, Scriptable arg, long length, boolean lengthAlways) static Object
ScriptRuntime.callIterator
(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 Object
ScriptableObject.callMethod
(Context cx, Scriptable obj, String methodName, Object[] args) Call a method of an object.static Ref
ScriptRuntime.callRef
(Callable function, Scriptable thisObj, Object[] args, Context cx) Perform function call in reference context.private Object
ES6Generator.callReturnOptionally
(Context cx, Scriptable scope, Object value) (package private) static Object
SecureCaller.callSecurely
(CodeSource codeSource, Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Call the specified callable using a protection domain belonging to the specified code source.static Object
ScriptRuntime.callSpecial
(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String filename, int lineNumber) private void
NativePromise.callThenable
(Context cx, Scriptable scope, Object resolution, Callable thenFunc) PolicySecurityController.callWithDomain
(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) SecurityController.callWithDomain
(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) CallCallable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
of callable under restricted security domain where an action is allowed only if it is allowed according to the Java stack on the moment of the execWithDomain call and securityDomain.static NativeContinuation
Interpreter.captureContinuation
(Context cx) private static NativeContinuation
Interpreter.captureContinuation
(Context cx, Interpreter.CallFrame frame, boolean requireContinuationsTopFrame) (package private) static void
ScriptRuntime.checkDeprecated
(Context cx, String name) static RegExpProxy
ScriptRuntime.checkRegExpProxy
(Context cx) private static Script
RegExpProxy.compileRegExp
(Context cx, String source, String flags) private static long
NativeArray.concatSpreadArg
(Context cx, Scriptable result, Scriptable arg, long offset) ArrowFunction.construct
(Context cx, Scriptable scope, Object[] args) BaseFunction.construct
(Context cx, Scriptable scope, Object[] args) BoundFunction.construct
(Context cx, Scriptable scope, Object[] extraArgs) Constructable.construct
(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.Delegator.construct
(Context cx, Scriptable scope, Object[] args) Note that if thedelegee
isnull
, this method creates a new instance of the Delegator itself rathert than forwarding the call to thedelegee
.Function.construct
(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.LambdaConstructor.construct
(Context cx, Scriptable scope, Object[] args) LambdaFunction.construct
(Context cx, Scriptable scope, Object[] args) NativeContinuation.construct
(Context cx, Scriptable scope, Object[] args) NativeJavaClass.construct
(Context cx, Scriptable scope, Object[] args) NativeJavaTopPackage.construct
(Context cx, Scriptable scope, Object[] args) NativeScript.construct
(Context cx, Scriptable scope, Object[] args) static NativeSymbol
NativeSymbol.construct
(Context cx, Scriptable scope, 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, String error, String message, Scriptable scope) Deprecated.UseScriptRuntime.constructError(String,String)
instead.static EcmaError
NativeGlobal.constructError
(Context cx, String error, String message, Scriptable scope, String sourceName, int lineNumber, int columnNumber, String lineSource) Deprecated.private static Scriptable
NativePromise.constructor
(Context cx, Scriptable scope, Object[] args) (package private) static Scriptable
NativeJavaClass.constructSpecific
(Context cx, Scriptable scope, Object[] args, MemberBox ctor) void
ContextFactory.Listener.contextCreated
(Context cx) Notify about newly createdContext
object.void
ContextListener.contextEntered
(Context cx) Deprecated.Rhino runtime never calls the method.void
ContextListener.contextExited
(Context cx) Deprecated.Rhino runtime never calls the method.void
ContextFactory.Listener.contextReleased
(Context cx) Notify that the specifiedContext
instance is no longer associated with the current thread.static Object
FunctionObject.convertArg
(Context cx, Scriptable scope, Object arg, int typeTag) static Object
FunctionObject.convertArg
(Context cx, Scriptable scope, Object arg, Class<?> desired) Deprecated.UseFunctionObject.getTypeTag(Class)
andFunctionObject.convertArg(Context, Scriptable, Object, int)
for type conversion.(package private) static Object
InterfaceAdapter.create
(Context cx, Class<?> cl, ScriptableObject object) Make glue object implementing interface cl that will call the supplied JS function when called.(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, Object staticSecurityDomain) Create function compiled from Function(...) constructor.Evaluator.createFunctionObject
(Context cx, Scriptable scope, Object bytecode, Object staticSecurityDomain) Create a function object.Interpreter.createFunctionObject
(Context cx, Scriptable scope, Object bytecode, Object staticSecurityDomain) BaseFunction.createObject
(Context cx, Scriptable scope) Creates new script object.FunctionObject.createObject
(Context cx, Scriptable scope) Return newScriptable
instance using the default constructor for the class of the underlying Java method.IdFunctionObject.createObject
(Context cx, Scriptable scope) (package private) static Ref
SpecialRef.createSpecial
(Context cx, Scriptable scope, Object object, String name) private static void
NativeSymbol.createStandardSymbol
(Context cx, Scriptable scope, ScriptableObject ctor, String name, SymbolKey key) private static XMLLib
ScriptRuntime.currentXMLLib
(Context cx) (package private) static String
ScriptRuntime.defaultObjectToSource
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static void
NativeArray.defineElem
(Context cx, Scriptable target, long index, Object value) void
ScriptableObject.defineOwnProperties
(Context cx, ScriptableObject props) Defines one or more properties on this object.protected void
Arguments.defineOwnProperty
(Context cx, Object id, ScriptableObject desc, boolean checkValid) protected void
IdScriptableObject.defineOwnProperty
(Context cx, Object key, ScriptableObject desc, boolean checkValid) protected void
NativeArray.defineOwnProperty
(Context cx, Object id, ScriptableObject desc, boolean checkValid) void
ScriptableObject.defineOwnProperty
(Context cx, Object id, ScriptableObject desc) Defines a property on an object.protected void
ScriptableObject.defineOwnProperty
(Context cx, Object id, ScriptableObject desc, boolean checkValid) Defines a property on an object.boolean
static Object
Deprecated.static Object
Deprecated.static Object
ScriptRuntime.delete
(Object obj, Object id, Context cx, Scriptable scope, boolean isName) The delete operatorboolean
static boolean
ScriptRuntime.deleteObjectElem
(Scriptable target, Object elem, Context cx) private static void
private static Object
JavaAdapter.doCall
(Context cx, Scriptable scope, Scriptable thisObj, Function f, Object[] args, long argsToWrap) private static int
Interpreter.doCallSpecial
(Context cx, Interpreter.CallFrame frame, Object[] stack, double[] sDbl, int stackTop, byte[] iCode, int indexReg) private static Object
NativePromise.doCatch
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static long
NativeArray.doConcat
(Context cx, Scriptable scope, Scriptable result, Object arg, long offset) private static int
Interpreter.doDelName
(Context cx, Interpreter.CallFrame frame, int op, Object[] stack, double[] sDbl, int stackTop) private static int
Interpreter.doElemIncDec
(Context cx, Interpreter.CallFrame frame, byte[] iCode, Object[] stack, double[] sDbl, int stackTop) private static Object
NativePromise.doFinally
(Context cx, Scriptable scope, Scriptable thisObj, LambdaConstructor defaultConstructor, Object[] args) private static int
Interpreter.doGetElem
(Context cx, Interpreter.CallFrame frame, Object[] stack, double[] sDbl, int stackTop) private static int
Interpreter.doInOrInstanceof
(Context cx, int op, Object[] stack, double[] sDbl, int stackTop) private static int
Interpreter.doRefMember
(Context cx, Object[] stack, double[] sDbl, int stackTop, int flags) private static int
Interpreter.doRefNsMember
(Context cx, Object[] stack, double[] sDbl, int stackTop, int flags) private static int
Interpreter.doRefNsName
(Context cx, Interpreter.CallFrame frame, Object[] stack, double[] sDbl, int stackTop, int flags) private static int
Interpreter.doSetElem
(Context cx, Interpreter.CallFrame frame, Object[] stack, double[] sDbl, int stackTop) protected Object
ContextFactory.doTopCall
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Execute top call to script or function.static Object
ScriptRuntime.doTopCall
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Deprecated.static Object
ScriptRuntime.doTopCall
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args, boolean isTopLevelStrict) private static int
Interpreter.doVarIncDec
(Context cx, Interpreter.CallFrame frame, Object[] stack, double[] sDbl, int stackTop, Object[] vars, double[] varDbls, int[] varAttributes, int indexReg) static Object
ScriptRuntime.elemIncrDecr
(Object obj, Object index, Context cx, int incrDecrMask) Deprecated.static Object
ScriptRuntime.elemIncrDecr
(Object obj, Object index, Context cx, Scriptable scope, int incrDecrMask) static Context
Deprecated.useContextFactory.enterContext(Context)
instead as this method relies on usage of a static singleton "global" ContextFactory.(package private) static final Context
Context.enter
(Context cx, ContextFactory factory) static void
ScriptRuntime.enterActivationFunction
(Context cx, Scriptable scope) final 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, Object[] args, boolean continuationRestart) static Scriptable
ScriptRuntime.enterWith
(Object obj, Context cx, Scriptable scope) static Object
static Object
Deprecated.static Object
Deprecated.static Object
ScriptRuntime.enumInit
(Object value, Context cx, Scriptable scope, int enumType) private static Object
ScriptRuntime.enumInitInOrder
(Context cx, ScriptRuntime.IdEnumeration x) static Object
static String
ScriptRuntime.escapeAttributeValue
(Object value, Context cx) Escapes the reserved characters in a value of an attributestatic String
ScriptRuntime.escapeTextValue
(Object value, Context cx) Escapes the reserved characters in a value of a text nodestatic Object
ScriptRuntime.evalSpecial
(Context cx, Scriptable scope, Object thisArg, Object[] args, String filename, int lineNumber) The eval function property of the global object.InterpretedFunction.exec
(Context cx, Scriptable scope) Script.exec
(Context cx, Scriptable scope) Execute the script.BaseFunction.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) ES6Generator.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) ES6Iterator.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) IdFunctionCall.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) 'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should be returnedIdScriptableObject.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) 'thisObj' will be null if invoked as constructor, in which case * instance of Scriptable should be returned.ImporterTopLevel.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) JavaAdapter.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeArray.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeBigInt.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeBoolean.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeCall.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeCallSite.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeContinuation.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeDate.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeError.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeGenerator.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeGlobal.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeIterator.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaTopPackage.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJSON.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeMap.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeMath.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeNumber.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeObject.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeScript.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeSet.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeString.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeSymbol.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeWeakMap.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeWeakSet.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeWith.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) SecurityController.execWithDomain
(Context cx, Scriptable scope, Script script, Object securityDomain) Deprecated.The application should not override this method and instead overrideSecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)
.static void
ScriptRuntime.exitActivationFunction
(Context cx) private static void
Interpreter.exitFrame
(Context cx, Interpreter.CallFrame frame, Object throwable) (package private) void
NativePromise.PromiseAllResolver.finalResolution
(Context cx, Scriptable scope) int
RegExpProxy.find_split
(Context cx, Scriptable scope, String target, String separator, Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) (package private) int
NativeJavaMethod.findCachedFunction
(Context cx, Object[] args) (package private) static int
NativeJavaMethod.findFunction
(Context cx, MemberBox[] methodsOrCtors, 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 Object
Interpreter.freezeGenerator
(Context cx, Interpreter.CallFrame frame, int stackTop, Interpreter.GeneratorState generatorState, boolean yieldStar) private Object
NativePromise.fulfillPromise
(Context cx, Scriptable scope, Object value) abstract Object
(package private) static Object[]
ScriptRuntime.getApplyArguments
(Context cx, 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 giventype
from the givenscope
.private static Scriptable
NativeObject.getCompatibleObject
(Context cx, Scriptable scope, Object arg) private static Object
NativeArray.getElem
(Context cx, Scriptable target, long index) static Callable
ScriptRuntime.getElemFunctionAndThis
(Object obj, Object elem, Context cx) Deprecated.static Callable
ScriptRuntime.getElemFunctionAndThis
(Object obj, 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 Object
NativePromise.getErrorObject
(Context cx, Scriptable scope, RhinoException re) (package private) static Function
ScriptRuntime.getExistingCtor
(Context cx, Scriptable scope, String constructorName) static ScriptableObject
(package private) static long
NativeArray.getLengthProperty
(Context cx, Scriptable obj) static Callable
ScriptRuntime.getNameFunctionAndThis
(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 giventype
from the givenscope
.static Object
ScriptRuntime.getObjectElem
(Object obj, Object elem, Context cx) Deprecated.static Object
ScriptRuntime.getObjectElem
(Object obj, Object elem, Context cx, Scriptable scope) Call obj.[[Get]](id)static Object
ScriptRuntime.getObjectElem
(Scriptable obj, Object elem, Context cx) static Object
ScriptRuntime.getObjectIndex
(Object obj, double dblIndex, Context cx) Deprecated.static Object
ScriptRuntime.getObjectIndex
(Object obj, double dblIndex, Context cx, Scriptable scope) A cheaper and less general version of the above for well-known argument types.static Object
ScriptRuntime.getObjectIndex
(Scriptable obj, int index, Context cx) static Object
ScriptRuntime.getObjectProp
(Object obj, String property, Context cx) Deprecated.static Object
ScriptRuntime.getObjectProp
(Object obj, String property, Context cx, Scriptable scope) Version of getObjectElem when elem is a valid JS identifier name.static Object
ScriptRuntime.getObjectProp
(Scriptable obj, String property, Context cx) static Object
ScriptRuntime.getObjectPropNoWarn
(Object obj, String property, Context cx) Deprecated.static Object
ScriptRuntime.getObjectPropNoWarn
(Object obj, String property, Context cx, Scriptable scope) protected ScriptableObject
Arguments.getOwnPropertyDescriptor
(Context cx, Object id) protected ScriptableObject
IdScriptableObject.getOwnPropertyDescriptor
(Context cx, Object id) protected ScriptableObject
NativeArray.getOwnPropertyDescriptor
(Context cx, Object id) protected ScriptableObject
NativeString.getOwnPropertyDescriptor
(Context cx, Object id) protected ScriptableObject
ScriptableObject.getOwnPropertyDescriptor
(Context cx, 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
(Object obj, String property, Context cx) Deprecated.static Callable
ScriptRuntime.getPropFunctionAndThis
(Object obj, 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
(Object obj, String property, Context cx, Scriptable thisObj) static RegExpProxy
ScriptRuntime.getRegExpProxy
(Context cx) private static NativeSymbol
NativeSymbol.getSelf
(Context cx, Scriptable scope, Object thisObj) Evaluator.getSourcePositionFromStack
(Context cx, int[] linep) Get the source position information by examining the stack.Interpreter.getSourcePositionFromStack
(Context cx, int[] linep) static Scriptable
ScriptRuntime.getTemplateLiteralCallSite
(Context cx, Scriptable scope, Object[] strings, int index) static Scriptable
ScriptRuntime.getTopCallScope
(Context cx) static Callable
ScriptRuntime.getValueFunctionAndThis
(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.boolean
boolean
protected boolean
ContextFactory.hasFeature
(Context cx, int featureIndex) Implementation ofContext.hasFeature(int featureIndex)
.static boolean
ScriptRuntime.hasObjectElem
(Scriptable target, Object elem, Context cx) static boolean
ScriptRuntime.hasTopCall
(Context cx) void
ImporterTopLevel.importPackage
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Deprecated.Kept only for compatibility.static boolean
The in operator.static void
ImporterTopLevel.init
(Context cx, Scriptable scope, boolean sealed) static void
JavaAdapter.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) (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, 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, 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, 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, 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) final void
NativeFunction.initScriptFunction
(Context cx, Scriptable scope) final 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
(Object a, Object b, Context cx) The instanceof operator.(package private) static Object
Interpreter.interpret
(InterpretedFunction ifun, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
Interpreter.interpretLoop
(Context cx, Interpreter.CallFrame frame, Object throwable) (package private) void
NativePromise.Reaction.invoke
(Context cx, Scriptable scope, Object arg) (package private) Object
InterfaceAdapter.invokeImpl
(Context cx, Object target, Scriptable topScope, Object thisObject, Method method, Object[] args) private static boolean
NativeArray.isConcatSpreadable
(Context cx, Scriptable scope, 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) static boolean
ScriptRuntime.isIteratorDone
(Context cx, 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
(String s, Context cx, boolean isStrict) private static boolean
private static Object
NativeArray.iterativeMethod
(Context cx, IdFunctionObject idFunctionObject, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "every", "filter", "forEach", "map", and "some".static Object
Context.javaToJS
(Object value, Scriptable scope, Context cx) Convenient method to convert java value to its closest representation in JavaScript.private static void
NativeError.js_captureStackTrace
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Scriptable
NativeArray.js_concat
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
NativeArray.js_copyWithin
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) static Object
JavaAdapter.js_createAdapter
(Context cx, Scriptable scope, Object[] args) private static Object
NativeGlobal.js_eval
(Context cx, Scriptable scope, Object[] args) This is an indirect call to eval, and thus uses the global environment.private static Object
NativeArray.js_fill
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private Object
NativeSymbol.js_for
(Context cx, Scriptable scope, Object[] args) private Object
NativeMap.js_forEach
(Context cx, Scriptable scope, Object arg1, Object arg2) private Object
NativeSet.js_forEach
(Context cx, Scriptable scope, Object arg1, Object arg2) private static Object
NativeArray.js_from
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private Scriptable
NativeJavaTopPackage.js_getClass
(Context cx, Scriptable scope, Object[] args) private static Boolean
NativeArray.js_includes
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
NativeArray.js_indexOf
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static String
NativeArray.js_join
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.3private Object
NativeSymbol.js_keyFor
(Context cx, Scriptable scope, Object[] args) private static Object
NativeArray.js_lastIndexOf
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
NativeArray.js_of
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static String
NativeString.js_pad
(Context cx, Scriptable thisObj, IdFunctionObject f, Object[] args, boolean atStart) private static Object
NativeArray.js_pop
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
NativeArray.js_push
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static CharSequence
NativeString.js_raw
(Context cx, Scriptable scope, Object[] args) String.raw (template, ...substitutions)private static String
NativeString.js_repeat
(Context cx, Scriptable thisObj, IdFunctionObject f, Object[] args) private static Scriptable
NativeArray.js_reverse
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.4private static Object
NativeArray.js_shift
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Scriptable
NativeArray.js_slice
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Scriptable
NativeArray.js_sort
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.5private static Object
NativeArray.js_splice
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) RegExpProxy.js_split
(Context _cx, Scriptable _scope, String thisString, Object[] _args) private static CharSequence
NativeString.js_substring
(Context cx, CharSequence target, Object[] args) private static String
NativeError.js_toSource
(Context cx, Scriptable scope, Scriptable thisObj) private static Object
NativeArray.js_unshift
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private Object
BaseFunction.jsConstructor
(Context cx, Scriptable scope, Object[] args) private static Object
NativeArray.jsConstructor
(Context cx, Scriptable scope, Object[] args) See ECMA 15.4.1,2private static Object
NativeIterator.jsConstructor
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static Scriptable
ScriptRuntime.lastStoredScriptable
(Context cx) static long
ScriptRuntime.lastUint32Result
(Context cx) (package private) static void
NativeMap.loadFromIterable
(Context cx, Scriptable scope, ScriptableObject map, 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, 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, Object arg1, BiConsumer<Object, 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.(package private) static NativeError
NativeError.make
(Context cx, Scriptable scope, IdFunctionObject ctorObj, Object[] args) (package private) static Scriptable
ES6Iterator.makeIteratorResult
(Context cx, Scriptable scope, Boolean done) (package private) static Scriptable
ES6Iterator.makeIteratorResult
(Context cx, Scriptable scope, Boolean done, Object value) static Ref
static Ref
static Object
ScriptRuntime.name
(Context cx, Scriptable scope, String name) Looks up a name in the scope chain and returns its value.static Object
ScriptRuntime.nameIncrDecr
(Scriptable scopeChain, String id, Context cx, int incrDecrMask) private static Object
ScriptRuntime.nameOrFunction
(Context cx, Scriptable scope, Scriptable parentScope, String name, boolean asFunctionCall) static Ref
ScriptRuntime.nameRef
(Object namespace, Object name, Context cx, Scriptable scope, int memberTypeFlags) static Ref
ScriptRuntime.nameRef
(Object name, Context cx, Scriptable scope, int memberTypeFlags) static Scriptable
ScriptRuntime.newArrayLiteral
(Object[] objects, int[] skipIndices, Context cx, Scriptable scope) static Scriptable
ScriptRuntime.newBuiltinObject
(Context cx, Scriptable scope, TopLevel.Builtins type, Object[] args) static Scriptable
ScriptRuntime.newCatchScope
(Throwable t, Scriptable lastCatchScope, String exceptionName, Context cx, Scriptable scope) (package private) static Scriptable
ScriptRuntime.newNativeError
(Context cx, Scriptable scope, TopLevel.NativeErrors type, Object[] args) static Scriptable
ScriptRuntime.newObject
(Object fun, Context cx, Scriptable scope, Object[] args) Operator new.static Scriptable
ScriptRuntime.newObject
(Context cx, Scriptable scope, String constructorName, Object[] args) static Scriptable
ScriptRuntime.newObjectLiteral
(Object[] propertyIds, Object[] propertyValues, int[] getterSetters, Context cx, Scriptable scope) static Scriptable
ScriptRuntime.newObjectLiteral
(Object[] propertyIds, Object[] propertyValues, Context cx, Scriptable scope) Deprecated.static Object
ScriptRuntime.newSpecial
(Context cx, Object fun, Object[] args, Scriptable scope, int callType) (package private) static Object
NativeWith.newWithSpecial
(Context cx, Scriptable scope, Object[] args) protected Object
ES6Iterator.next
(Context cx, Scriptable scope) private Object
NativeIterator.next
(Context cx, Scriptable scope) protected abstract Object
ES6Iterator.nextValue
(Context cx, Scriptable scope) protected Object
NativeArrayIterator.nextValue
(Context cx, Scriptable scope) protected Object
NativeCollectionIterator.nextValue
(Context cx, Scriptable scope) protected Object
NativeJavaMap.NativeJavaMapIterator.nextValue
(Context cx, Scriptable scope) protected Object
NativeJavaObject.JavaIterableIterator.nextValue
(Context cx, Scriptable scope) protected Object
NativeStringIterator.nextValue
(Context cx, Scriptable scope) private static void
Context.notifyDebugger_r
(Context cx, DebuggableScript dscript, String debugSource) protected void
ContextFactory.observeInstructionCount
(Context cx, int instructionCount) Implementation ofContext.observeInstructionCount(int instructionCount)
.protected void
ContextFactory.onContextCreated
(Context cx) protected void
ContextFactory.onContextReleased
(Context cx) private static Object
NativeJSON.parse
(Context cx, Scriptable scope, String jtext) static Object
NativeJSON.parse
(Context cx, Scriptable scope, String jtext, Callable reviver) private static Object
NativePromise.performRace
(Context cx, Scriptable scope, IteratorLikeIterable.Itr iterator, Scriptable thisObj, NativePromise.Capability cap) private static Interpreter.CallFrame
Interpreter.processThrowable
(Context cx, Object throwable, Interpreter.CallFrame frame, int indexReg, boolean instructionCounting) static Object
ScriptRuntime.propIncrDecr
(Object obj, String id, Context cx, int incrDecrMask) Deprecated.static Object
ScriptRuntime.propIncrDecr
(Object obj, String id, Context cx, Scriptable scope, int incrDecrMask) protected Slot
private static Object
NativePromise.race
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
NativeArray.reduceMethod
(Context cx, int id, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "reduce" and "reduceRight".RefCallable.refCall
(Context cx, Scriptable thisObj, Object[] args) Perform function call in reference context.static Object
static Object
static Object
ScriptRuntime.refIncrDecr
(Ref ref, Context cx, int incrDecrMask) Deprecated.static Object
ScriptRuntime.refIncrDecr
(Ref ref, Context cx, Scriptable scope, int incrDecrMask) static Object
Deprecated.static Object
ScriptRuntime.refSet
(Ref ref, Object value, Context cx, Scriptable scope) private static Object
NativePromise.reject
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private Object
NativePromise.ResolvingFunctions.reject
(Context cx, Scriptable scope, NativePromise promise, Object reason) private Object
NativePromise.rejectPromise
(Context cx, Scriptable scope, Object reason) static Object
ScriptRuntimeES6.requireObjectCoercible
(Context cx, Object val, IdFunctionObject idFuncObj) (package private) Object
NativePromise.PromiseAllResolver.resolve
(Context topCx, Scriptable topScope) (package private) Object
NativePromise.PromiseElementResolver.resolve
(Context cx, Scriptable scope, Object result, NativePromise.PromiseAllResolver resolver) private static Object
NativePromise.resolve
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private Object
NativePromise.ResolvingFunctions.resolve
(Context cx, Scriptable scope, NativePromise promise, Object resolution) private static Object
NativePromise.resolveInternal
(Context cx, Scriptable scope, Object constructor, Object arg) static Object
Interpreter.restartContinuation
(NativeContinuation c, Context cx, Scriptable scope, Object[] args) private Object
NativeGenerator.resume
(Context cx, Scriptable scope, int operation, Object value) private Scriptable
ES6Generator.resumeAbruptLocal
(Context cx, Scriptable scope, int op, Object value) private Scriptable
ES6Generator.resumeDelegee
(Context cx, Scriptable scope, Object value) private Scriptable
ES6Generator.resumeDelegeeReturn
(Context cx, Scriptable scope, Object value) private Scriptable
ES6Generator.resumeDelegeeThrow
(Context cx, Scriptable scope, Object value) InterpretedFunction.resumeGenerator
(Context cx, Scriptable scope, int operation, Object state, Object value) static Object
Interpreter.resumeGenerator
(Context cx, Scriptable scope, int operation, Object savedState, Object value) NativeFunction.resumeGenerator
(Context cx, Scriptable scope, int operation, Object state, Object value) Resume execution of a suspended generator.private Scriptable
ES6Generator.resumeLocal
(Context cx, Scriptable scope, Object value) Execute action using the supplied Context instance.static Object
ScriptRuntime.searchDefaultNamespace
(Context cx) abstract Object
Deprecated.UseRef.set(Context, Scriptable, Object)
insteadRef.set
(Context cx, Scriptable scope, Object value) Deprecated.SpecialRef.set
(Context cx, Scriptable scope, Object value) static Object
ScriptRuntime.setConst
(Scriptable bound, Object value, Context cx, String id) protected abstract void
VMBridge.setContext
(Object contextHelper, Context cx) AssociateContext
instance with the current thread or remove the current association ifcx
is null.static Object
ScriptRuntime.setDefaultNamespace
(Object namespace, Context cx) private static void
NativeArray.setElem
(Context cx, Scriptable target, long index, Object value) (package private) static boolean
AbstractEcmaObjectOperations.setIntegrityLevel
(Context cx, Object o, AbstractEcmaObjectOperations.INTEGRITY_LEVEL level) Implementation of Abstract Object operation setIntegrityLevel as defined by EcmaScriptprivate static Object
NativeArray.setLengthProperty
(Context cx, Scriptable target, long length) static Object
ScriptRuntime.setName
(Scriptable bound, Object value, Context cx, Scriptable scope, String id) static Object
ScriptRuntime.setObjectElem
(Object obj, Object elem, Object value, Context cx) Deprecated.static Object
ScriptRuntime.setObjectElem
(Object obj, Object elem, Object value, Context cx, Scriptable scope) Call obj.[[Put]](id, value)static Object
ScriptRuntime.setObjectElem
(Scriptable obj, Object elem, Object value, Context cx) static Object
ScriptRuntime.setObjectIndex
(Object obj, double dblIndex, Object value, Context cx) Deprecated.static Object
ScriptRuntime.setObjectIndex
(Object obj, double dblIndex, Object value, Context cx, Scriptable scope) A cheaper and less general version of the above for well-known argument types.static Object
ScriptRuntime.setObjectIndex
(Scriptable obj, int index, Object value, Context cx) static Object
ScriptRuntime.setObjectProp
(Object obj, String property, Object value, Context cx) Deprecated.static Object
ScriptRuntime.setObjectProp
(Object obj, String property, Object value, Context cx, Scriptable scope) Version of setObjectElem when elem is a valid JS identifier name.static Object
ScriptRuntime.setObjectProp
(Scriptable obj, String property, Object value, Context cx) private static void
NativeArray.setRawElem
(Context cx, Scriptable target, long index, Object value) static void
ScriptRuntime.setRegExpProxy
(Context cx, RegExpProxy proxy) static Ref
ScriptRuntime.specialRef
(Object obj, String specialProperty, Context cx) Deprecated.static Ref
ScriptRuntime.specialRef
(Object obj, String specialProperty, Context cx, Scriptable scope) 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 void
ScriptRuntime.storeScriptable
(Context cx, Scriptable value) static void
ScriptRuntime.storeUint32Result
(Context cx, long value) static Object
ScriptRuntime.strictSetName
(Scriptable bound, Object value, Context cx, Scriptable scope, String id) static Object
private static String
NativeString.tagify
(Context cx, Scriptable thisObj, IdFunctionObject f, String tag, String attribute, Object[] args) (package private) static boolean
AbstractEcmaObjectOperations.testIntegrityLevel
(Context cx, Object o, AbstractEcmaObjectOperations.INTEGRITY_LEVEL level) Implementation of Abstract Object operation testIntegrityLevel as defined by EcmaScriptprivate Object
NativePromise.then
(Context cx, Scriptable scope, LambdaConstructor defaultConstructor, Object[] args) static JavaScriptException
ScriptRuntime.throwCustomError
(Context cx, Scriptable scope, String constructorName, String message) Equivalent to executing "new $constructorName(message, sourceFileName, sourceLineNo)" from JavaScript.static JavaScriptException
ScriptRuntime.throwError
(Context cx, Scriptable scope, 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
ScriptRuntime.toObject
(Context cx, Scriptable scope, Object val) Convert the value to an object.static Scriptable
ScriptRuntime.toObject
(Context cx, Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Context, Scriptable, Object)
instead.static Scriptable
ScriptRuntime.toObjectOrNull
(Context cx, Object obj) Deprecated.static Scriptable
ScriptRuntime.toObjectOrNull
(Context cx, Object obj, Scriptable scope) private static Object
ScriptRuntime.topScopeName
(Context cx, Scriptable scope, String name) private static String
NativeArray.toStringHelper
(Context cx, Scriptable scope, Scriptable thisObj, boolean toSource, boolean toLocale) (package private) static ScriptRuntime.StringIdOrIndex
ScriptRuntime.toStringIdOrIndex
(Context cx, Object id) If toString(id) is a decimal presentation of int32 value, then id is index.static BaseFunction
ScriptRuntime.typeErrorThrower
(Context cx) Returns representation of the [[ThrowTypeError]] object.(package private) static String
ScriptRuntime.uneval
(Context cx, Scriptable scope, Object value) private static Object
NativeJSON.walk
(Context cx, Scriptable scope, Callable reviver, Scriptable holder, Object name) WrapFactory.wrap
(Context cx, Scriptable scope, Object obj, Class<?> staticType) Wrap the object.WrapFactory.wrapAsJavaObject
(Context cx, Scriptable scope, Object javaObject, Class<?> staticType) Wrap Java object as Scriptable instance to allow full access to its methods and fields from JavaScript.static Scriptable
ScriptRuntime.wrapException
(Throwable t, Scriptable scope, Context cx) WrapFactory.wrapJavaClass
(Context cx, Scriptable scope, Class<?> javaClass) Wrap a Java class as Scriptable instance to allow access to its static members and fields and use as constructor from JavaScript.WrapFactory.wrapNewObject
(Context cx, Scriptable scope, Object obj) Wrap an object newly created by a constructor call.RegExpProxy.wrapRegExp
(Context cx, Scriptable scope, Object compiled) static Scriptable
ScriptRuntime.wrapRegExp
(Context cx, Scriptable scope, Object compiled) Constructors in org.mozilla.javascript with parameters of type ContextModifierConstructorDescriptionArrowFunction
(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis) BoundFunction
(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis, Object[] boundArgs) (package private)
CallFrame
(Context cx, Scriptable thisObj, InterpretedFunction fnOrScript, Interpreter.CallFrame parentFrame) (package private)
Capability
(Context topCx, Scriptable topScope, Object pc) ImporterTopLevel
(Context cx, boolean sealed) IteratorLikeIterable
(Context cx, Scriptable scope, Object target) (package private)
StringifyState
(Context cx, Scriptable scope, String indent, String gap, Callable replacer, Object[] propertyList) -
Uses of Context in org.mozilla.javascript.commonjs.module
Methods in org.mozilla.javascript.commonjs.module with parameters of type ContextModifier and TypeMethodDescriptionRequire.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Require.construct
(Context cx, Scriptable scope, Object[] args) RequireBuilder.createRequire
(Context cx, Scriptable globalScope) Creates a new require() function.private Scriptable
Require.executeModuleScript
(Context cx, String id, Scriptable exports, ModuleScript moduleScript, boolean isMain) private static void
Require.executeOptionalScript
(Script script, Context cx, Scriptable executionScope) private Scriptable
Require.getExportedModuleInterface
(Context cx, String id, URI uri, URI base, boolean isMain) private ModuleScript
ModuleScriptProvider.getModuleScript
(Context cx, String moduleId, URI moduleUri, URI baseUri, Scriptable paths) Returns a module script.Require.requireMain
(Context cx, String mainModuleId) Calling this method establishes a module as being the main module of the program to which this require() instance belongs.Constructors in org.mozilla.javascript.commonjs.module with parameters of type ContextModifierConstructorDescriptionRequire
(Context cx, Scriptable nativeScope, ModuleScriptProvider moduleScriptProvider, Script preExec, Script postExec, boolean sandboxed) Creates a new instance of the require() function. -
Uses of Context in org.mozilla.javascript.commonjs.module.provider
Methods in org.mozilla.javascript.commonjs.module.provider with parameters of type ContextModifier and TypeMethodDescriptionCachingModuleScriptProviderBase.getModuleScript
(Context cx, String moduleId, URI moduleUri, URI baseUri, Scriptable paths) MultiModuleScriptProvider.getModuleScript
(Context cx, String moduleId, URI uri, URI base, Scriptable paths) SoftCachingModuleScriptProvider.getModuleScript
(Context cx, String moduleId, URI uri, URI base, Scriptable paths) -
Uses of Context in org.mozilla.javascript.debug
Methods in org.mozilla.javascript.debug with parameters of type ContextModifier and TypeMethodDescriptionDebugger.getFrame
(Context cx, DebuggableScript fnOrScript) Called when execution entered a particular function or script.void
Debugger.handleCompilationDone
(Context cx, DebuggableScript fnOrScript, String source) Called when compilation of a particular function or script into internal bytecode is done.void
DebugFrame.onDebuggerStatement
(Context cx) Called when the function or script executes a 'debugger' statement.void
DebugFrame.onEnter
(Context cx, Scriptable activation, Scriptable thisObj, Object[] args) Called when execution is ready to start bytecode interpretation for entered a particular function or script.void
DebugFrame.onExceptionThrown
(Context cx, Throwable ex) Called when thrown exception is handled by the function or script.void
Called when the function or script for this frame is about to return.void
DebugFrame.onLineChange
(Context cx, int lineNumber) Called when executed code reaches new line in the source. -
Uses of Context in org.mozilla.javascript.engine
Methods in org.mozilla.javascript.engine with parameters of type ContextModifier and TypeMethodDescriptionprivate void
RhinoScriptEngine.configureContext
(Context cx) protected boolean
RhinoScriptEngine.CtxFactory.hasFeature
(Context cx, int featureIndex) private Scriptable
RhinoScriptEngine.initScope
(Context cx, ScriptContext sc) protected void
RhinoScriptEngine.CtxFactory.onContextCreated
(Context cx) static void
Builtins.print
(Context cx, Scriptable thisObj, Object[] args, Function f) (package private) void
Builtins.register
(Context cx, ScriptableObject scope, ScriptContext sc) -
Uses of Context in org.mozilla.javascript.jdk18
Methods in org.mozilla.javascript.jdk18 that return ContextModifier and TypeMethodDescriptionprotected Context
VMBridge_jdk18.getContext
(Object contextHelper) Methods in org.mozilla.javascript.jdk18 with parameters of type ContextModifier and TypeMethodDescriptionprotected void
VMBridge_jdk18.setContext
(Object contextHelper, Context cx) -
Uses of Context in org.mozilla.javascript.json
Fields in org.mozilla.javascript.json declared as ContextConstructors in org.mozilla.javascript.json with parameters of type Context -
Uses of Context in org.mozilla.javascript.optimizer
Methods in org.mozilla.javascript.optimizer with parameters of type ContextModifier and TypeMethodDescriptionstatic Object
static Object
static Function
OptRuntime.bindThis
(NativeFunction fn, Context cx, Scriptable scope, Scriptable thisObj) static Object
OptRuntime.call0
(Callable fun, Scriptable thisObj, Context cx, Scriptable scope) Implement ....() call shrinking optimizer code.static Object
OptRuntime.call1
(Callable fun, Scriptable thisObj, Object arg0, Context cx, Scriptable scope) Implement ....(arg) call shrinking optimizer code.static Object
OptRuntime.call2
(Callable fun, Scriptable thisObj, Object arg0, Object arg1, Context cx, Scriptable scope) Implement ....(arg0, arg1) call shrinking optimizer code.static Object
OptRuntime.callN
(Callable fun, Scriptable thisObj, Object[] args, Context cx, Scriptable scope) Implement ....(arg0, arg1, ...) call shrinking optimizer code.static Object
OptRuntime.callName
(Object[] args, String name, Context cx, Scriptable scope) Implement name(args) call shrinking optimizer code.static Object
OptRuntime.callName0
(String name, Context cx, Scriptable scope) Implement name() call shrinking optimizer code.static Object
OptRuntime.callProp0
(Object value, String property, Context cx, Scriptable scope) Implement x.property() call shrinking optimizer code.static Object
OptRuntime.callSpecial
(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String fileName, int lineNumber) Codegen.createFunctionObject
(Context cx, Scriptable scope, Object bytecode, Object staticSecurityDomain) static Object
OptRuntime.elemIncrDecr
(Object obj, double index, Context cx, int incrDecrMask) Deprecated.static Object
OptRuntime.elemIncrDecr
(Object obj, double index, Context cx, Scriptable scope, int incrDecrMask) Codegen.getSourcePositionFromStack
(Context cx, int[] linep) static void
OptRuntime.initFunction
(NativeFunction fn, int functionType, Scriptable scope, Context cx) static Scriptable
OptRuntime.newArrayLiteral
(Object[] objects, String encodedInts, int skipCount, Context cx, Scriptable scope) static Object
OptRuntime.newObjectSpecial
(Context cx, Object fun, Object[] args, Scriptable scope, Scriptable callerThis, int callType) -
Uses of Context in org.mozilla.javascript.regexp
Fields in org.mozilla.javascript.regexp declared as ContextMethods in org.mozilla.javascript.regexp with parameters of type ContextModifier and TypeMethodDescriptionRegExpImpl.action
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) NativeRegExpCallable.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeRegExpCtor.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) Scriptable
NativeRegExp.compile
(Context cx, Scriptable scope, Object[] args) (package private) static RECompiled
RegExpImpl.compileRegExp
(Context cx, String source, String flags) NativeRegExpCallable.construct
(Context cx, Scriptable scope, Object[] args) NativeRegExpCtor.construct
(Context cx, Scriptable scope, Object[] args) private static NativeRegExp
RegExpImpl.createRegExp
(Context cx, Scriptable scope, Object[] args, int optarg, boolean forceFlat) private static void
RegExpImpl.do_replace
(GlobData rdata, Context cx, RegExpImpl regExpImpl) Analog of do_replace in jsstr.cNativeRegExp.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) Object
NativeRegExp.execSub
(Context cx, Scriptable scopeObj, Object[] args, int matchType) (package private) Object
NativeRegExp.executeRegExp
(Context cx, Scriptable scope, RegExpImpl res, String str, int[] indexp, int matchType) private static int
RegExpImpl.find_split
(Context cx, Scriptable scope, String target, String separator, int version, RegExpProxy reProxy, Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) int
RegExpImpl.find_split
(Context cx, Scriptable scope, String target, String separator, Scriptable reObj, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) private static RegExpImpl
static void
NativeRegExp.init
(Context cx, Scriptable scope, boolean sealed) private static SubString
RegExpImpl.interpretDollar
(Context cx, RegExpImpl res, String da, int dp, int[] skip) RegExpImpl.js_split
(Context cx, Scriptable scope, String target, Object[] args) private static void
RegExpImpl.match_glob
(GlobData mdata, Context cx, Scriptable scope, int count, RegExpImpl reImpl) private static Object
RegExpImpl.matchOrReplace
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, RegExpImpl reImpl, GlobData data, NativeRegExp re) Analog of C match_or_replace.private static void
RegExpImpl.replace_glob
(GlobData rdata, Context cx, Scriptable scope, RegExpImpl reImpl, int leftIndex, int leftlen) private static void
NativeRegExp.reportWarning
(Context cx, String messageId, String arg) RegExpImpl.wrapRegExp
(Context cx, Scriptable scope, Object compiled) Constructors in org.mozilla.javascript.regexp with parameters of type ContextModifierConstructorDescription(package private)
CompilerState
(Context cx, char[] source, int length, int flags) -
Uses of Context in org.mozilla.javascript.tools.debugger
Methods in org.mozilla.javascript.tools.debugger with parameters of type ContextModifier and TypeMethodDescriptionvoid
Dim.DimIProxy.contextCreated
(Context cx) Called when a Context is created.void
Main.contextCreated
(Context cx) Deprecated.The method is only present for compatibility and should not be called.void
Main.contextEntered
(Context cx) Deprecated.The method is only present for compatibility and should not be called.void
Main.contextExited
(Context cx) Deprecated.The method is only present for compatibility and should not be called.void
Dim.DimIProxy.contextReleased
(Context cx) Called when a Context is destroyed.void
Main.contextReleased
(Context cx) Deprecated.The method is only present for compatibility and should not be called.private static String
Dim.do_eval
(Context cx, Dim.StackFrame frame, String expr) Evaluates script in the given stack frame.static Dim.ContextData
Returns the ContextData for the given Context.Dim.DimIProxy.getFrame
(Context cx, DebuggableScript fnOrScript) Returns a StackFrame for the given function or script.private Object[]
Dim.getObjectIdsImpl
(Context cx, Object object) Returns an array of the property names on the given script object.private Object
Dim.getObjectPropertyImpl
(Context cx, Object object, Object id) Returns the value of a property on the given script object.private void
Dim.handleBreakpointHit
(Dim.StackFrame frame, Context cx) Called when a breakpoint has been hit.void
Dim.DimIProxy.handleCompilationDone
(Context cx, DebuggableScript fnOrScript, String source) Called when compilation is finished.private void
Dim.handleExceptionThrown
(Context cx, Throwable ex, Dim.StackFrame frame) Called when a script exception has been thrown.private void
Dim.interrupted
(Context cx, Dim.StackFrame frame, Throwable scriptException) Interrupts script execution.void
Dim.StackFrame.onDebuggerStatement
(Context cx) Called when a 'debugger' statement is executed.void
Dim.StackFrame.onEnter
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Called when the stack frame is entered.void
Dim.StackFrame.onExceptionThrown
(Context cx, Throwable exception) Called when an exception has been thrown.void
Called when the stack frame has been left.void
Dim.StackFrame.onLineChange
(Context cx, int lineno) Called when the current position has changed.Performs the action given byDim.DimIProxy.type
.Constructors in org.mozilla.javascript.tools.debugger with parameters of type ContextModifierConstructorDescriptionprivate
StackFrame
(Context cx, Dim dim, Dim.FunctionSource fsource) Creates a new StackFrame. -
Uses of Context in org.mozilla.javascript.tools.shell
Methods in org.mozilla.javascript.tools.shell with parameters of type ContextModifier and TypeMethodDescriptionprotected void
JavaPolicySecurity.callProcessFileSecure
(Context cx, Scriptable scope, String filename) protected abstract void
SecurityProxy.callProcessFileSecure
(Context cx, Scriptable scope, String filename) JavaPolicySecurity.callWithDomain
(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) static void
Global.defineClass
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Load a Java class that defines a JavaScript object using the conventions outlined in ScriptableObject.defineClass.static Object
Global.deserialize
(Context cx, Scriptable thisObj, Object[] args, Function funObj) static Object
Global.doctest
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Example: doctest("js> function f() {\n > return 3;\n > }\njs> f();\n3\n"); returns 2 (since 2 tests were executed).(package private) static void
Main.evalInlineScript
(Context cx, String scriptText) private boolean
Timers.executeNext
(Context cx, Scriptable scope) Put up to one task on the context's "microtask queue." If the next task is not ready to run for some time, then block the calling thread until the time is up.static void
Global.gc
(Context cx, Scriptable thisObj, Object[] args, Function funObj) String[]
Global.getPrompts
(Context cx) protected boolean
ShellContextFactory.hasFeature
(Context cx, int featureIndex) static void
Global.help
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Print a help message.void
Global.installRequire
(Context cx, List<String> modulePath, boolean sandboxed) static void
Global.load
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Load and execute a set of JavaScript source files.static void
Global.loadClass
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Load and execute a script compiled to a class file.private static Script
Main.loadCompiledScript
(Context cx, String path, byte[] data, Object securityDomain) protected void
ShellContextFactory.onContextCreated
(Context cx) static Object
Global.print
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Print the string values of its arguments.private static void
Main.printPromiseWarnings
(Context cx) static void
Main.processFile
(Context cx, Scriptable scope, String filename) static void
Main.processFileNoThrow
(Context cx, Scriptable scope, String filename) (package private) static void
Main.processFiles
(Context cx, String[] args) (package private) static void
Main.processFileSecure
(Context cx, Scriptable scope, String path, Object securityDomain) static void
Main.processSource
(Context cx, String filename) Evaluate JavaScript source.static void
Global.quit
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Call embedding-specific quit action passing its argument as int32 exit code.void
void
static Object
Global.readFile
(Context cx, Scriptable thisObj, Object[] args, Function funObj) The readFile reads the given file content and convert it to a string using the specified character coding or default character coding if explicit coding argument is not given.static Object
Global.readline
(Context cx, Scriptable thisObj, Object[] args, Function funObj) The readline reads one line from the standard input.static Object
Global.readUrl
(Context cx, Scriptable thisObj, Object[] args, Function funObj) The readUrl opens connection to the given URL, read all its data and converts them to a string using the specified character coding or default character coding if explicit coding argument is not given.void
Timers.runAllTimers
(Context cx, Scriptable scope) Execute all pending timers and microtasks, blocking the thread if we need to wait for any timers to time out.static Object
Global.runCommand
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Execute the specified command with the given argument and options as a separate process and return the exit status of the process.int
Global.runDoctest
(Context cx, Scriptable scope, String session, String sourceName, int lineNumber) static void
Global.seal
(Context cx, Scriptable thisObj, Object[] args, Function funObj) The seal function seals all supplied arguments.static void
Global.serialize
(Context cx, Scriptable thisObj, Object[] args, Function funObj) static Object
Global.spawn
(Context cx, Scriptable thisObj, Object[] args, Function funObj) The spawn function runs a given function or script in a different thread.static Object
Global.sync
(Context cx, Scriptable thisObj, Object[] args, Function funObj) The sync function creates a synchronized function (in the sense of a Java synchronized method) from an existing function.static Object
Global.toint32
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Convert the argument to int32 number.static double
Global.version
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Get and set the language version.static Object
Global.write
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Print just as in "print," but without the trailing newline.Constructors in org.mozilla.javascript.tools.shell with parameters of type Context -
Uses of Context in org.mozilla.javascript.typedarrays
Methods in org.mozilla.javascript.typedarrays with parameters of type ContextModifier and TypeMethodDescriptionNativeArrayBuffer.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeDataView.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeTypedArrayView.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static void
NativeArrayBuffer.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeDataView.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeFloat32Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeFloat64Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeInt16Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeInt32Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeInt8Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeUint16Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeUint32Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeUint8Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeUint8ClampedArray.init
(Context cx, Scriptable scope, boolean sealed) private NativeTypedArrayView
<T> NativeTypedArrayView.js_constructor
(Context cx, Scriptable scope, Object[] args) private Object
NativeTypedArrayView.js_subarray
(Context cx, Scriptable scope, int s, int e) private NativeArrayBuffer
NativeTypedArrayView.makeArrayBuffer
(Context cx, Scriptable scope, int length) -
Uses of Context in org.mozilla.javascript.xml
Methods in org.mozilla.javascript.xml with parameters of type ContextModifier and TypeMethodDescriptionCustom+
operator.abstract boolean
Implementation of ECMAScript [[Delete]].abstract Object
Implementation of ECMAScript [[Get]].abstract Scriptable
XMLObject.getExtraMethodSource
(Context cx) Return an additional object to look for methods that runtime should consider during method search.abstract Object
XMLObject.getFunctionProperty
(Context cx, int id) abstract Object
XMLObject.getFunctionProperty
(Context cx, String name) abstract boolean
Implementation of ECMAScript [[Has]].abstract boolean
abstract Ref
Generic reference to implement x.@y, x..y etc.abstract Ref
Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.abstract Ref
XMLLib.nameRef
(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) abstract Ref
XMLLib.nameRef
(Context cx, Object name, Scriptable scope, int memberTypeFlags) abstract void
Implementation of ECMAScript [[Put]].abstract Object
XMLLib.toDefaultXmlNamespace
(Context cx, Object uriValue) Construct namespace for default xml statement. -
Uses of Context in org.mozilla.javascript.xmlimpl
Methods in org.mozilla.javascript.xmlimpl with parameters of type ContextModifier and TypeMethodDescriptionfinal Object
(package private) Object
XMLLibImpl.addXMLObjects
(Context cx, XMLObject obj1, XMLObject obj2) private Object
XMLList.applyOrCall
(boolean isApply, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) XMLList.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) Namespace
XMLLibImpl.castToNamespace
(Context cx, Object namespaceObj) (package private) QName
QName.castToQName
(XMLLibImpl lib, Context cx, Object qnameValue) (package private) QName
XMLLibImpl.castToQName
(Context cx, Object qnameValue) XMLList.construct
(Context cx, Scriptable scope, Object[] args) (package private) QName
QName.constructQName
(XMLLibImpl lib, Context cx, Object nameValue) (package private) QName
QName.constructQName
(XMLLibImpl lib, Context cx, Object namespace, Object name) (package private) QName
XMLLibImpl.constructQName
(Context cx, Object nameValue) (package private) QName
XMLLibImpl.constructQName
(Context cx, Object namespace, Object name) boolean
final boolean
Implementation of ECMAScript [[Delete]].Namespace.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) QName.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) XMLCtor.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) XMLObjectImpl.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) final Object
Implementation of ECMAScript [[Get]](package private) Namespace
XMLLibImpl.getDefaultNamespace
(Context cx) private String
XMLLibImpl.getDefaultNamespaceURI
(Context cx) XML.getExtraMethodSource
(Context cx) XMLList.getExtraMethodSource
(Context cx) See ECMA 357, 11_2_2_1, Semantics, 3_e.XMLObjectImpl.getFunctionProperty
(Context cx, int id) XMLObjectImpl.getFunctionProperty
(Context cx, String name) boolean
final boolean
Implementation of ECMAScript [[Has]]static void
XMLLibImpl.init
(Context cx, Scriptable scope, boolean sealed) boolean
private Object
Namespace.jsConstructor
(Context cx, boolean inNewExpr, Object[] args) private Object
QName.jsConstructor
(Context cx, boolean inNewExpr, Object[] args) protected Object
XML.jsConstructor
(Context cx, boolean inNewExpr, Object[] args) protected Object
XMLList.jsConstructor
(Context cx, boolean inNewExpr, Object[] args) protected abstract Object
XMLObjectImpl.jsConstructor
(Context cx, boolean inNewExpr, Object[] args) Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.XMLLibImpl.nameRef
(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) XMLLibImpl.nameRef
(Context cx, Object name, Scriptable scope, int memberTypeFlags) final void
Implementation of ECMAScript [[Put]](package private) XMLName
XMLLibImpl.toAttributeName
(Context cx, Object nameValue) Deprecated.XMLLibImpl.toDefaultXmlNamespace
(Context cx, Object uriValue) (package private) XmlNode.QName
XMLLibImpl.toNodeQName
(Context cx, Object nameValue, boolean attribute) (package private) XmlNode.QName
XMLLibImpl.toNodeQName
(Context cx, Object namespaceValue, Object nameValue) (package private) XmlNode.QName
XMLLibImpl.toNodeQName
(Context cx, String name, boolean attribute) (package private) XMLName
(package private) XMLName
XMLLibImpl.toXMLNameFromString
(Context cx, String name) (package private) XMLName
XMLLibImpl.toXMLNameOrIndex
(Context cx, Object value) If value represents Uint32 index, make it available through ScriptRuntime.lastUint32Result(cx) and return null.private Ref
XMLLibImpl.xmlPrimaryReference
(Context cx, XMLName xmlName, Scriptable scope)
ContextFactory.enterContext(Context)
instead as this method relies on usage of a static singleton "global" ContextFactory.