public abstract class JSArrayPreviousElementIndexNode extends JSArrayElementIndexNode
context, MAX_CACHED_ARRAY_TYPES| Modifier | Constructor and Description |
|---|---|
protected |
JSArrayPreviousElementIndexNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static JSArrayPreviousElementIndexNode |
create(JSContext context) |
long |
doWithoutHolesCached(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
ScriptArray cachedArrayType) |
long |
doWithoutHolesUncached(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray) |
long |
executeLong(Object object,
long currentIndex) |
abstract long |
executeLong(Object object,
long currentIndex,
boolean isArray) |
long |
previousObjectViaEnumeration(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
JSHasPropertyNode hasPropertyNode) |
long |
previousObjectViaFullEnumeration(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
JSHasPropertyNode hasPropertyNode) |
long |
previousObjectViaIteration(Object object,
long currentIndex,
boolean isArray,
JSHasPropertyNode hasPropertyNode) |
long |
previousWithHolesCached(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
ScriptArray cachedArrayType,
JSArrayPreviousElementIndexNode previousElementIndexNode,
com.oracle.truffle.api.profiles.ConditionProfile isMinusOne) |
long |
previousWithHolesUncached(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
JSArrayPreviousElementIndexNode previousElementIndexNode,
com.oracle.truffle.api.profiles.ConditionProfile isMinusOne,
com.oracle.truffle.api.profiles.ValueProfile arrayTypeProfile) |
getArrayType, getArrayTypeIfArray, hasHoles, hasPrototypeElements, isArray, isSuitableForEnumBasedProcessing, isSuitableForEnumBasedProcessingUsingOwnKeys, isSupportedArraycopy, 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 JSArrayPreviousElementIndexNode(JSContext context)
public static JSArrayPreviousElementIndexNode create(JSContext context)
public final long executeLong(Object object, long currentIndex)
public abstract long executeLong(Object object, long currentIndex, boolean isArray)
public long doWithoutHolesCached(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
ScriptArray cachedArrayType)
public long doWithoutHolesUncached(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray)
public long previousWithHolesCached(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
ScriptArray cachedArrayType,
JSArrayPreviousElementIndexNode previousElementIndexNode,
com.oracle.truffle.api.profiles.ConditionProfile isMinusOne)
public long previousWithHolesUncached(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
JSArrayPreviousElementIndexNode previousElementIndexNode,
com.oracle.truffle.api.profiles.ConditionProfile isMinusOne,
com.oracle.truffle.api.profiles.ValueProfile arrayTypeProfile)
public long previousObjectViaEnumeration(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
JSHasPropertyNode hasPropertyNode)
public long previousObjectViaFullEnumeration(com.oracle.truffle.api.object.DynamicObject object,
long currentIndex,
boolean isArray,
JSHasPropertyNode hasPropertyNode)
public long previousObjectViaIteration(Object object, long currentIndex, boolean isArray, JSHasPropertyNode hasPropertyNode)