Package org.htmlunit.corejs.javascript
Class AbstractEcmaObjectOperations
java.lang.Object
org.htmlunit.corejs.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 TypeMethodDescriptioncreateListFromArrayLike
(Context cx, Scriptable o, Predicate<Object> elementTypesPredicate, String msg) CreateListFromArrayLike ( obj [ , elementTypes ] )(package private) static boolean
hasOwnProperty
(Context cx, Object o, Object property) Implementation of Abstract Object operation HasOwnProperty as defined by EcmaScript(package private) static boolean
isCompatiblePropertyDescriptor
(boolean extensible, ScriptableObject desc, ScriptableObject current) IsCompatiblePropertyDescriptor ( Extensible, Desc, Current )(package private) static long
lengthOfArrayLike
(Context cx, Scriptable o) LengthOfArrayLike ( obj )(package private) static void
put
(Context cx, Scriptable o, int p, Object v, boolean isThrow) Set ( O, P, V, Throw)(package private) static void
put
(Context cx, Scriptable o, String p, Object v, boolean isThrow) Set ( O, P, V, Throw)(package private) static boolean
Implementation of Abstract Object operation setIntegrityLevel as defined by EcmaScript(package private) static 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(package private) static boolean
validateAndApplyPropertyDescriptor
(Scriptable o, Scriptable p, boolean extensible, ScriptableObject desc, ScriptableObject current) ValidateAndApplyPropertyDescriptor ( O, P, extensible, Desc, current )
-
Constructor Details
-
AbstractEcmaObjectOperations
AbstractEcmaObjectOperations()
-
-
Method Details
-
hasOwnProperty
Implementation of Abstract Object operation HasOwnProperty as defined by EcmaScript- Parameters:
cx
-o
-property
-- Returns:
- boolean
- See Also:
-
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
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:
-
put
Set ( O, P, V, Throw)https://262.ecma-international.org/12.0/#sec-set-o-p-v-throw
-
put
Set ( O, P, V, Throw)https://262.ecma-international.org/12.0/#sec-set-o-p-v-throw
-
createListFromArrayLike
static List<Object> createListFromArrayLike(Context cx, Scriptable o, Predicate<Object> elementTypesPredicate, String msg) CreateListFromArrayLike ( obj [ , elementTypes ] )https://262.ecma-international.org/12.0/#sec-createlistfromarraylike
-
lengthOfArrayLike
LengthOfArrayLike ( obj )https://262.ecma-international.org/12.0/#sec-lengthofarraylike
-
isCompatiblePropertyDescriptor
static boolean isCompatiblePropertyDescriptor(boolean extensible, ScriptableObject desc, ScriptableObject current) IsCompatiblePropertyDescriptor ( Extensible, Desc, Current )https://262.ecma-international.org/12.0/#sec-iscompatiblepropertydescriptor
-
validateAndApplyPropertyDescriptor
static boolean validateAndApplyPropertyDescriptor(Scriptable o, Scriptable p, boolean extensible, ScriptableObject desc, ScriptableObject current) ValidateAndApplyPropertyDescriptor ( O, P, extensible, Desc, current )https://262.ecma-international.org/12.0/#sec-validateandapplypropertydescriptor
-