public abstract static class TypedArrayFunctionBuiltins.TypedArrayFromNode extends ArrayFunctionBuiltins.JSArrayFromNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedisConstructorTHROW_ERRORerrorBranch, isTypedArrayImplementationARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
TypedArrayFromNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
arrayFrom(Object thisObj,
Object source,
Object mapFn,
Object thisArg,
com.oracle.truffle.api.profiles.InlinedBranchProfile growBranch) |
protected JSDynamicObject |
arrayFromIterable(Object thisObj,
Object items,
Object usingIterator,
Object mapFn,
Object thisArg,
boolean mapping,
com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) |
protected Object |
notConstructor(Object thisObj,
Object source,
Object mapFn,
Object thisArg) |
arrayFromArrayLike, arrayFromCommon, callMapFn, getIterator, getIteratorValue, getSourceLength, iteratorCloseAbrupt, iteratorStepconstructOrArrayarrayCreate, createEmpty, hasProperty, hasProperty, nextElementIndex, previousElementIndex, read, read, setLength, setLength, setLength, throwLengthError, write, write, writeOwn, writeOwncheckCallbackIsFunction, checkHasDetachedBuffer, getArraySpeciesConstructorNode, getLength, isCallable, reportLoopCount, reportLoopCount, toObject, toObjectOrValidateTypedArray, validateTypedArraycopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected Object arrayFrom(Object thisObj, Object source, Object mapFn, Object thisArg, com.oracle.truffle.api.profiles.InlinedBranchProfile growBranch)
arrayFrom in class ArrayFunctionBuiltins.JSArrayFromNodeprotected Object notConstructor(Object thisObj, Object source, Object mapFn, Object thisArg)
protected JSDynamicObject arrayFromIterable(Object thisObj, Object items, Object usingIterator, Object mapFn, Object thisArg, boolean mapping, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)
arrayFromIterable in class ArrayFunctionBuiltins.JSArrayFromNode