Package org.mozilla.javascript
Class AbstractEcmaObjectOperations
java.lang.Object
org.mozilla.javascript.AbstractEcmaObjectOperations
Abstract Object Operations as defined by EcmaScript
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static boolean
Implementation of Abstract Object operation setIntegrityLevel as defined by EcmaScriptstatic Constructable
speciesConstructor
(Context cx, Scriptable s, Constructable defaultConstructor) Implement the ECMAScript abstract operation "SpeciesConstructor" defined in section 7.2.33 of ECMA262.(package private) static boolean
Implementation of Abstract Object operation testIntegrityLevel as defined by EcmaScript
-
Constructor Details
-
AbstractEcmaObjectOperations
AbstractEcmaObjectOperations()
-
-
Method Details
-
testIntegrityLevel
static boolean testIntegrityLevel(Context cx, Object o, AbstractEcmaObjectOperations.INTEGRITY_LEVEL level) Implementation of Abstract Object operation testIntegrityLevel as defined by EcmaScript- Parameters:
cx
-o
-level
-- Returns:
- boolean
- See Also:
-
setIntegrityLevel
static boolean setIntegrityLevel(Context cx, Object o, AbstractEcmaObjectOperations.INTEGRITY_LEVEL level) Implementation of Abstract Object operation setIntegrityLevel as defined by EcmaScript- Parameters:
cx
-o
-level
-- Returns:
- boolean
- See Also:
-
speciesConstructor
public static Constructable speciesConstructor(Context cx, Scriptable s, Constructable defaultConstructor) Implement the ECMAScript abstract operation "SpeciesConstructor" defined in section 7.2.33 of ECMA262.- Parameters:
cx
- contexts
- the object for which we will find the "species constructor" as per the specdefaultConstructor
- as per the spec, the value that will be returned if there is no constructor on "s" or if the "species" symbol is not set.- See Also:
-