public abstract static class ArrayPrototypeBuiltins.FlattenIntoArrayNode extends JavaScriptBaseNode
| Modifier and Type | Field and Description |
|---|---|
protected JSContext |
context |
protected boolean |
withMapCallback |
| Modifier | Constructor and Description |
|---|---|
protected |
FlattenIntoArrayNode(JSContext context,
boolean withMapCallback) |
| Modifier and Type | Method and Description |
|---|---|
static ArrayPrototypeBuiltins.FlattenIntoArrayNode |
create(JSContext context,
boolean withCallback) |
protected abstract long |
executeLong(JSDynamicObject target,
Object source,
long sourceLen,
long start,
long depth,
Object callback,
Object thisArg) |
protected long |
flatten(JSDynamicObject target,
Object source,
long sourceLen,
long start,
long depth,
Object callback,
Object thisArg) |
protected Object |
forEachIndexCall(Object arrayObj,
Object callbackObj,
Object thisArg,
long fromIndex,
long length,
Object initialResult) |
protected long |
getLength(Object thisObject) |
protected ForEachIndexCallNode.CallbackNode |
makeCallbackNode() |
protected ForEachIndexCallNode.MaybeResultNode |
makeMaybeResultNode() |
protected Object |
toObject(Object target) |
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 final JSContext context
protected final boolean withMapCallback
protected FlattenIntoArrayNode(JSContext context, boolean withMapCallback)
public static ArrayPrototypeBuiltins.FlattenIntoArrayNode create(JSContext context, boolean withCallback)
protected abstract long executeLong(JSDynamicObject target, Object source, long sourceLen, long start, long depth, Object callback, Object thisArg)
protected long flatten(JSDynamicObject target, Object source, long sourceLen, long start, long depth, Object callback, Object thisArg)
protected final Object forEachIndexCall(Object arrayObj, Object callbackObj, Object thisArg, long fromIndex, long length, Object initialResult)
protected ForEachIndexCallNode.CallbackNode makeCallbackNode()
protected long getLength(Object thisObject)
protected ForEachIndexCallNode.MaybeResultNode makeMaybeResultNode()