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(JSDynamicObject constructor,
Object... userArgs) |
protected static ArrayPrototypeBuiltins.ArraySpeciesConstructorNode |
create(JSContext context,
boolean isTypedArrayImplementation) |
protected Object |
createEmptyContainer(Object thisObj,
long size) |
protected static JSDynamicObject |
getDefaultConstructor(JSRealm realm,
JSDynamicObject thisObj) |
protected boolean |
isArray(Object thisObj) |
protected JSDynamicObject |
speciesConstructor(JSDynamicObject thisObj,
JSDynamicObject defaultConstructor)
Implement 7.3.20 SpeciesConstructor.
|
JSTypedArrayObject |
typedArrayCreate(JSDynamicObject constr,
Object... args)
22.2.4.6 TypedArrayCreate().
|
protected JSTypedArrayObject |
typedArraySpeciesCreate(JSDynamicObject 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(JSDynamicObject thisObj, Object... args)
public final JSTypedArrayObject typedArrayCreate(JSDynamicObject constr, Object... args)
protected final Object arraySpeciesCreate(Object originalArray, long length)
protected final boolean isArray(Object thisObj)
protected Object construct(JSDynamicObject constructor, Object... userArgs)
protected static final JSDynamicObject getDefaultConstructor(JSRealm realm, JSDynamicObject thisObj)
protected final JSDynamicObject speciesConstructor(JSDynamicObject thisObj, JSDynamicObject defaultConstructor)