public abstract static class ArrayFunctionBuiltins.JSArrayFromNode extends ArrayFunctionBuiltins.JSArrayFunctionOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedTHROW_ERRORerrorBranch, isTypedArrayImplementationINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSArrayFromNode(JSContext context,
JSBuiltin builtin,
boolean isTypedArray) |
| Modifier and Type | Method and Description |
|---|---|
protected com.oracle.truffle.api.object.DynamicObject |
arrayFrom(Object thisObj,
Object[] args) |
protected com.oracle.truffle.api.object.DynamicObject |
arrayFromArrayLike(Object thisObj,
Object items,
Object mapFn,
Object thisArg,
boolean mapping,
boolean setLength) |
protected com.oracle.truffle.api.object.DynamicObject |
arrayFromIntl(Object thisObj,
Object items,
Object mapFn,
Object thisArg,
boolean setLength) |
protected com.oracle.truffle.api.object.DynamicObject |
arrayFromIterable(Object thisObj,
Object items,
Object mapFn,
Object thisArg,
boolean mapping) |
protected com.oracle.truffle.api.object.DynamicObject |
arrayFromIterable(Object thisObj,
Object items,
Object usingIterator,
Object mapFn,
Object thisArg,
boolean mapping) |
protected Object |
callMapFn(Object target,
com.oracle.truffle.api.object.DynamicObject function,
Object... userArguments) |
protected IteratorRecord |
getIterator(Object object,
Object usingIterator) |
protected Object |
getIteratorValue(com.oracle.truffle.api.object.DynamicObject iteratorResult) |
protected long |
getSourceLength(Object thisObject) |
protected void |
iteratorCloseAbrupt(com.oracle.truffle.api.object.DynamicObject iterator) |
protected Object |
iteratorStep(IteratorRecord iteratorRecord) |
constructOrArray, isTypedArrayConstructorhasProperty, hasProperty, nextElementIndex, previousElementIndex, read, read, setLength, setLength, setLength, throwLengthError, write, write, writeOwn, writeOwncheckCallbackIsFunction, checkHasDetachedBuffer, getArraySpeciesConstructorNode, getLength, isCallable, reportLoopCount, reportLoopCount, toObject, validateTypedArraycopyUninitialized, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected void iteratorCloseAbrupt(com.oracle.truffle.api.object.DynamicObject iterator)
protected IteratorRecord getIterator(Object object, Object usingIterator)
protected Object getIteratorValue(com.oracle.truffle.api.object.DynamicObject iteratorResult)
protected Object iteratorStep(IteratorRecord iteratorRecord)
protected final Object callMapFn(Object target, com.oracle.truffle.api.object.DynamicObject function, Object... userArguments)
protected long getSourceLength(Object thisObject)
protected com.oracle.truffle.api.object.DynamicObject arrayFrom(Object thisObj, Object[] args)
protected com.oracle.truffle.api.object.DynamicObject arrayFromIntl(Object thisObj, Object items, Object mapFn, Object thisArg, boolean setLength)
protected com.oracle.truffle.api.object.DynamicObject arrayFromIterable(Object thisObj, Object items, Object mapFn, Object thisArg, boolean mapping)
protected com.oracle.truffle.api.object.DynamicObject arrayFromIterable(Object thisObj, Object items, Object usingIterator, Object mapFn, Object thisArg, boolean mapping)