public abstract static class ArrayPrototypeBuiltins.JSArrayIndexOfNode extends ArrayPrototypeBuiltins.ArrayForEachIndexCallOperation
| Type | Property and Description |
|---|---|
protected boolean |
shouldCheckHas |
ArrayPrototypeBuiltins.ArrayForEachIndexCallOperation.DefaultCallbackNodeJSBuiltinNode.Inlineable, JSBuiltinNode.InlinedTHROW_ERRORerrorBranch, isTypedArrayImplementationARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSArrayIndexOfNode(JSContext context,
JSBuiltin builtin,
boolean isTypedArrayImplementation,
boolean isForward) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
indexOf(Object thisObj,
Object[] args,
com.oracle.truffle.api.profiles.InlinedBranchProfile arrayWithContentBranch,
JSToIntegerAsLongNode toInteger) |
protected boolean |
isForward() |
protected ForEachIndexCallNode.CallbackNode |
makeCallbackNode() |
protected ForEachIndexCallNode.MaybeResultNode |
makeMaybeResultNode() |
protected boolean |
shouldCheckHasProperty() |
forEachIndexCallarrayCreate, 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 boolean shouldCheckHasProperty
shouldCheckHasProperty in class ArrayPrototypeBuiltins.ArrayForEachIndexCallOperationprotected Object indexOf(Object thisObj, Object[] args, com.oracle.truffle.api.profiles.InlinedBranchProfile arrayWithContentBranch, JSToIntegerAsLongNode toInteger)
protected boolean isForward()
isForward in class ArrayPrototypeBuiltins.ArrayForEachIndexCallOperationprotected boolean shouldCheckHasProperty()
shouldCheckHasProperty in class ArrayPrototypeBuiltins.ArrayForEachIndexCallOperationprotected final ForEachIndexCallNode.MaybeResultNode makeMaybeResultNode()
makeMaybeResultNode in class ArrayPrototypeBuiltins.ArrayForEachIndexCallOperationprotected final ForEachIndexCallNode.CallbackNode makeCallbackNode()
makeCallbackNode in class ArrayPrototypeBuiltins.ArrayForEachIndexCallOperation