public final class JSSlowArray extends JSAbstractArray
usesOrdinaryGetOwnProperty| Modifier and Type | Field and Description |
|---|---|
static com.oracle.truffle.api.strings.TruffleString |
CLASS_NAME |
static JSSlowArray |
INSTANCE |
ARRAY_LENGTH_NOT_WRITABLE, ARRAY_PROTOTYPE_NO_ELEMENTS_INVALIDATION, CANNOT_REDEFINE_PROPERTY_LENGTH, DEFAULT_JSARRAY_COMPARATOR, DEFAULT_JSARRAY_DOUBLE_COMPARATOR, DEFAULT_JSARRAY_INTEGER_COMPARATOR, LAZY_REGEX_ORIGINAL_INPUT_ID, LAZY_REGEX_RESULT_ID, LENGTH, MAKE_SLOW_ARRAY_NEVER_PART_OF_COMPILATION_MESSAGEGET_SYMBOL_SPECIES_NAME| Modifier and Type | Method and Description |
|---|---|
protected boolean |
defineOwnPropertyIndex(JSDynamicObject thisObj,
com.oracle.truffle.api.strings.TruffleString name,
PropertyDescriptor descriptor,
boolean doThrow)
Implements part "3" of 15.4.5.1 [[DefineOwnProperty]], redefining one of the index property
of an Array.
|
boolean |
delete(JSDynamicObject thisObj,
long index,
boolean isStrict) |
com.oracle.truffle.api.strings.TruffleString |
getClassName(JSDynamicObject object)
The [[Class]] internal property.
|
Object |
getOwnHelper(JSDynamicObject store,
Object thisObj,
long index,
com.oracle.truffle.api.nodes.Node encapsulatingNode)
Like getOwnProperty, but returns
null if value is not present instead of undefined. |
static boolean |
isJSSlowArray(JSDynamicObject obj) |
static boolean |
isJSSlowArray(Object obj) |
protected JSDynamicObject |
makeSlowArray(JSDynamicObject thisObj) |
boolean |
set(JSDynamicObject thisObj,
long index,
Object value,
Object receiver,
boolean isStrict,
com.oracle.truffle.api.nodes.Node encapsulatingNode) |
boolean |
setLength(JSDynamicObject thisObj,
long length,
boolean doThrow) |
arrayAccess, arrayGetAllocationSite, arrayGetArray, arrayGetArrayOffset, arrayGetArrayType, arrayGetHoleCount, arrayGetIndexOffset, arrayGetLength, arrayGetRegexResult, arrayGetRegexResultOriginalInput, arrayGetUsedLength, arraySetArray, arraySetArrayOffset, arraySetArrayType, arraySetHoleCount, arraySetIndexOffset, arraySetLength, arraySetLength, arraySetUsedLength, defineOwnProperty, delete, getBuiltinToStringTag, getLength, getOwnHelper, getOwnProperty, getOwnPropertyKeys, hasOwnProperty, hasOwnProperty, isSlowArray, ordinaryGetOwnPropertyArray, ownPropertyKeysFastArray, ownPropertyKeysSlowArray, preventExtensions, set, setIntegrityLevel, testIntegrityLevel, toArray, toArrayLengthOrRangeError, toArrayLengthOrRangeError, toDisplayStringImpl, usesOrdinaryGetOwnPropertycheckProtoCycle, createSymbolSpeciesGetterFunction, deletePropertyDefault, getHelper, getHelper, getMethodHelper, getPrototypeOf, hasOnlyShapeProperties, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryIsExtensible, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeysSlow, ordinarySet, ordinarySetIndex, ordinarySetWithReceiver, performOrdinarySetWithOwnDescriptor, preventExtensionsImpl, putConstructorSpeciesGetter, setIntegrityLevelFast, setPropertySlow, setPrototypeOf, testIntegrityLevelFast, toString, usesOrdinaryIsExtensibledefaultToString, filterOwnPropertyKeys, formatToString, get, get, getIntrinsicDefaultProto, getToStringTag, isInstance, isInstance, isInstance, isInstance, makeInitialShape, ownPropertyKeys, testIntegrityLevelDefaultpublic static final com.oracle.truffle.api.strings.TruffleString CLASS_NAME
public static final JSSlowArray INSTANCE
public static boolean isJSSlowArray(Object obj)
public static boolean isJSSlowArray(JSDynamicObject obj)
public com.oracle.truffle.api.strings.TruffleString getClassName(JSDynamicObject object)
JSClassgetClassName in class JSClassobject - object to be usedpublic Object getOwnHelper(JSDynamicObject store, Object thisObj, long index, com.oracle.truffle.api.nodes.Node encapsulatingNode)
JSNonProxynull if value is not present instead of undefined.getOwnHelper in class JSAbstractArraypublic boolean set(JSDynamicObject thisObj, long index, Object value, Object receiver, boolean isStrict, com.oracle.truffle.api.nodes.Node encapsulatingNode)
set in class JSAbstractArraypublic boolean delete(JSDynamicObject thisObj, long index, boolean isStrict)
delete in class JSAbstractArrayprotected JSDynamicObject makeSlowArray(JSDynamicObject thisObj)
makeSlowArray in class JSAbstractArrayprotected boolean defineOwnPropertyIndex(JSDynamicObject thisObj, com.oracle.truffle.api.strings.TruffleString name, PropertyDescriptor descriptor, boolean doThrow)
defineOwnPropertyIndex in class JSAbstractArraypublic boolean setLength(JSDynamicObject thisObj, long length, boolean doThrow)
setLength in class JSAbstractArray