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(com.oracle.truffle.api.object.DynamicObject constructor,
Object... userArgs) |
protected static ArrayPrototypeBuiltins.ArraySpeciesConstructorNode |
create(JSContext context,
boolean isTypedArrayImplementation) |
protected Object |
createEmptyContainer(Object thisObj,
long size) |
protected com.oracle.truffle.api.object.DynamicObject |
getDefaultConstructor(com.oracle.truffle.api.object.DynamicObject thisObj) |
protected boolean |
isArray(Object thisObj) |
protected com.oracle.truffle.api.object.DynamicObject |
speciesConstructor(com.oracle.truffle.api.object.DynamicObject thisObj,
com.oracle.truffle.api.object.DynamicObject defaultConstructor)
Implement 7.3.20 SpeciesConstructor.
|
com.oracle.truffle.api.object.DynamicObject |
typedArrayCreate(com.oracle.truffle.api.object.DynamicObject constr,
Object... args)
22.2.4.6 TypedArrayCreate().
|
protected com.oracle.truffle.api.object.DynamicObject |
typedArraySpeciesCreate(com.oracle.truffle.api.object.DynamicObject thisObj,
Object... args) |
copy, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected ArraySpeciesConstructorNode(JSContext context, boolean isTypedArrayImplementation)
protected static ArrayPrototypeBuiltins.ArraySpeciesConstructorNode create(JSContext context, boolean isTypedArrayImplementation)
protected final com.oracle.truffle.api.object.DynamicObject typedArraySpeciesCreate(com.oracle.truffle.api.object.DynamicObject thisObj,
Object... args)
public final com.oracle.truffle.api.object.DynamicObject typedArrayCreate(com.oracle.truffle.api.object.DynamicObject constr,
Object... args)
protected final Object arraySpeciesCreate(Object originalArray, long length)
protected final boolean isArray(Object thisObj)
protected Object construct(com.oracle.truffle.api.object.DynamicObject constructor, Object... userArgs)
protected final com.oracle.truffle.api.object.DynamicObject getDefaultConstructor(com.oracle.truffle.api.object.DynamicObject thisObj)
protected final com.oracle.truffle.api.object.DynamicObject speciesConstructor(com.oracle.truffle.api.object.DynamicObject thisObj,
com.oracle.truffle.api.object.DynamicObject defaultConstructor)