public abstract class IsArrayNode extends JavaScriptBaseNode
JSIsArrayNode| Modifier and Type | Class and Description |
|---|---|
protected static class |
IsArrayNode.Kind |
| Modifier | Constructor and Description |
|---|---|
protected |
IsArrayNode(IsArrayNode.Kind kind) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkResult(Object object,
boolean result) |
static IsArrayNode |
createIsAnyArray() |
static IsArrayNode |
createIsArray() |
static IsArrayNode |
createIsFastArray() |
static IsArrayNode |
createIsFastOrTypedArray() |
protected boolean |
doJSArgumentsObject(JSArgumentsObject object) |
protected boolean |
doJSArray(JSArrayObject object) |
protected boolean |
doJSFastArray(JSArrayObject object) |
protected boolean |
doJSFastArrayShape(JSArrayObject object,
com.oracle.truffle.api.object.Shape cachedShape) |
protected boolean |
doJSObjectPrototype(Object object) |
protected boolean |
doJSTypedArray(JSTypedArrayObject object) |
protected boolean |
doNotJSArray(Object object) |
protected boolean |
doOther(Object object) |
protected boolean |
doOtherCached(Object object,
Class<?> cachedClass) |
abstract boolean |
execute(Object operand) |
protected com.oracle.truffle.api.object.Shape |
getInitialArrayShape() |
protected boolean |
isArray(Object object) |
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 IsArrayNode(IsArrayNode.Kind kind)
public abstract boolean execute(Object operand)
protected final boolean doJSArray(JSArrayObject object)
protected final boolean doJSFastArrayShape(JSArrayObject object, com.oracle.truffle.api.object.Shape cachedShape)
protected final boolean doJSFastArray(JSArrayObject object)
protected final boolean doJSTypedArray(JSTypedArrayObject object)
protected final boolean doJSArgumentsObject(JSArgumentsObject object)
protected final boolean doJSObjectPrototype(Object object)
protected final boolean isArray(Object object)
protected final com.oracle.truffle.api.object.Shape getInitialArrayShape()
protected final boolean checkResult(Object object, boolean result)
protected final boolean doNotJSArray(Object object)
protected final boolean doOther(Object object)
public static IsArrayNode createIsAnyArray()
public static IsArrayNode createIsArray()
public static IsArrayNode createIsFastArray()
public static IsArrayNode createIsFastOrTypedArray()