Class JSAbstractArgumentsArray
java.lang.Object
com.oracle.truffle.js.runtime.builtins.JSClass
com.oracle.truffle.js.runtime.builtins.JSNonProxy
com.oracle.truffle.js.runtime.builtins.JSAbstractArray
com.oracle.truffle.js.runtime.builtins.JSAbstractArgumentsArray
- Direct Known Subclasses:
JSArgumentsArray,JSSlowArgumentsArray
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.oracle.truffle.api.strings.TruffleStringstatic final com.oracle.truffle.api.strings.TruffleStringprotected static final com.oracle.truffle.api.strings.TruffleStringFields inherited from class com.oracle.truffle.js.runtime.builtins.JSAbstractArray
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_MESSAGEFields inherited from class com.oracle.truffle.js.runtime.builtins.JSNonProxy
GET_SYMBOL_SPECIES_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandefineOwnProperty(JSDynamicObject thisObj, Object key, PropertyDescriptor descriptor, boolean doThrow) 9.1.6 [[DefineOwnProperty]] (P, Desc).booleandelete(JSDynamicObject thisObj, long index, boolean isStrict) booleandelete(JSDynamicObject thisObj, Object key, boolean isStrict) 9.1.10 [[Delete]] (P).static voiddisconnectIndex(JSDynamicObject argumentsArray, long index, Object oldValue) static intgetConnectedArgumentCount(JSDynamicObject argumentsArray) static ObjectgetDisconnectedIndexValue(JSDynamicObject argumentsArray, long index) longgetLength(JSDynamicObject thisObj) getOwnProperty(JSDynamicObject thisObj, Object key) 9.1.5 [[GetOwnProperty]] (P).static booleanhasDisconnectedIndices(JSDynamicObject argumentsArray) protected static booleanisMappedArguments(JSDynamicObject thisObj) protected booleanisSlowArray(JSDynamicObject thisObj) protected JSDynamicObjectmakeSlowArray(JSDynamicObject thisObj) static ObjectsetDisconnectedIndexValue(JSDynamicObject argumentsArray, long index, Object value) static booleanwasIndexDisconnected(JSDynamicObject argumentsArray, long index) Methods inherited from class com.oracle.truffle.js.runtime.builtins.JSAbstractArray
arrayAccess, arrayGetAllocationSite, arrayGetArray, arrayGetArrayOffset, arrayGetArrayType, arrayGetHoleCount, arrayGetIndexOffset, arrayGetLength, arrayGetRegexResult, arrayGetRegexResultOriginalInput, arrayGetUsedLength, arraySetArray, arraySetArrayOffset, arraySetArrayType, arraySetHoleCount, arraySetIndexOffset, arraySetLength, arraySetLength, arraySetUsedLength, defineOwnPropertyIndex, getOwnHelper, getOwnHelper, getOwnPropertyKeys, hasOwnProperty, hasOwnProperty, ordinaryGetOwnPropertyArray, ownPropertyKeysFastArray, ownPropertyKeysSlowArray, preventExtensions, set, set, setLength, toArray, toArrayLengthOrRangeError, toArrayLengthOrRangeError, usesOrdinaryGetOwnPropertyMethods inherited from class com.oracle.truffle.js.runtime.builtins.JSNonProxy
checkProtoCycle, createSymbolSpeciesGetterFunction, deletePropertyDefault, getHelper, getHelper, getMethodHelper, getPrototypeOf, hasOnlyShapeProperties, hasProperty, hasProperty, invokeAccessorPropertySetter, isExtensible, ordinaryGetOwnProperty, ordinaryGetOwnPropertyIntl, ordinaryIsExtensible, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeys, ordinaryOwnPropertyKeysSlow, ordinaryPreventExtensions, ordinarySet, ordinarySetIndex, ordinarySetWithReceiver, performOrdinarySetWithOwnDescriptor, putConstructorSpeciesGetter, setIntegrityLevelFast, setPropertySlow, setPrototypeOf, testIntegrityLevelFast, usesOrdinaryIsExtensibleMethods inherited from class com.oracle.truffle.js.runtime.builtins.JSClass
filterOwnPropertyKeys, get, get, getIntrinsicDefaultProto, isInstance, isInstance, isInstance, isInstance, makeInitialShape, ownPropertyKeys, toString
-
Field Details
-
CALLEE
public static final com.oracle.truffle.api.strings.TruffleString CALLEE -
CALLER
public static final com.oracle.truffle.api.strings.TruffleString CALLER -
CLASS_NAME
protected static final com.oracle.truffle.api.strings.TruffleString CLASS_NAME
-
-
Constructor Details
-
JSAbstractArgumentsArray
public JSAbstractArgumentsArray()
-
-
Method Details
-
getLength
- Overrides:
getLengthin classJSAbstractArray
-
delete
- Overrides:
deletein classJSAbstractArray
-
delete
Description copied from class:JSClass9.1.10 [[Delete]] (P).- Overrides:
deletein classJSAbstractArray
-
isMappedArguments
-
makeSlowArray
- Overrides:
makeSlowArrayin classJSAbstractArray
-
getConnectedArgumentCount
-
wasIndexDisconnected
-
getDisconnectedIndexValue
-
setDisconnectedIndexValue
public static Object setDisconnectedIndexValue(JSDynamicObject argumentsArray, long index, Object value) -
disconnectIndex
-
hasDisconnectedIndices
-
defineOwnProperty
public boolean defineOwnProperty(JSDynamicObject thisObj, Object key, PropertyDescriptor descriptor, boolean doThrow) Description copied from class:JSClass9.1.6 [[DefineOwnProperty]] (P, Desc).- Overrides:
defineOwnPropertyin classJSAbstractArray
-
getOwnProperty
Description copied from class:JSClass9.1.5 [[GetOwnProperty]] (P).- Overrides:
getOwnPropertyin classJSAbstractArray
-
isSlowArray
- Overrides:
isSlowArrayin classJSAbstractArray
-