protected static class ArrayPrototypeBuiltins.ArraySpeciesConstructorNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
ArraySpeciesConstructorNode(JSContext context,
boolean isTypedArrayImplementation) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
arraySpeciesCreate(Object originalArray,
long length)
ES6, 9.4.2.3 ArraySpeciesCreate(originalArray, length).
|
protected Object |
construct(Object constructor,
Object... userArgs) |
protected static ArrayPrototypeBuiltins.ArraySpeciesConstructorNode |
create(JSContext context,
boolean isTypedArrayImplementation) |
protected Object |
createEmptyContainer(Object thisObj,
long size) |
protected static JSFunctionObject |
getDefaultConstructor(JSRealm realm,
JSTypedArrayObject thisObj) |
protected boolean |
isArray(Object thisObj) |
protected Object |
speciesConstructor(JSDynamicObject thisObj,
JSDynamicObject defaultConstructor)
Implement 7.3.20 SpeciesConstructor.
|
JSTypedArrayObject |
typedArrayCreate(Object constr,
Object... args)
22.2.4.6 TypedArrayCreate().
|
protected JSTypedArrayObject |
typedArrayCreateSameType(JSTypedArrayObject thisObj,
Object... args) |
protected JSTypedArrayObject |
typedArraySpeciesCreate(JSTypedArrayObject thisObj,
Object... args) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected ArraySpeciesConstructorNode(JSContext context, boolean isTypedArrayImplementation)
protected static ArrayPrototypeBuiltins.ArraySpeciesConstructorNode create(JSContext context, boolean isTypedArrayImplementation)
protected final JSTypedArrayObject typedArraySpeciesCreate(JSTypedArrayObject thisObj, Object... args)
protected final JSTypedArrayObject typedArrayCreateSameType(JSTypedArrayObject thisObj, Object... args)
public final JSTypedArrayObject typedArrayCreate(Object constr, Object... args)
protected final Object arraySpeciesCreate(Object originalArray, long length)
protected final boolean isArray(Object thisObj)
protected static final JSFunctionObject getDefaultConstructor(JSRealm realm, JSTypedArrayObject thisObj)
protected final Object speciesConstructor(JSDynamicObject thisObj, JSDynamicObject defaultConstructor)