public abstract class IsArrayNode extends JavaScriptBaseNode
JSIsArrayNode| Modifier and Type | Class and Description |
|---|---|
static class |
IsArrayNode.IsArrayWrappedNode
Wrapper of @link{IsArrayNode} when you really need a JavaScriptNode.
|
protected static class |
IsArrayNode.Kind |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
MAX_JSCLASS_COUNT |
protected static int |
MAX_SHAPE_COUNT |
| Modifier | Constructor and Description |
|---|---|
protected |
IsArrayNode(IsArrayNode.Kind kind) |
| Modifier and Type | Method and Description |
|---|---|
static IsArrayNode |
createIsAnyArray() |
static IsArrayNode |
createIsArray() |
static IsArrayNode |
createIsFastArray() |
static IsArrayNode |
createIsFastOrTypedArray() |
protected static boolean |
doIsArrayJSClass(JSDynamicObject object,
boolean cachedResult,
JSClass cachedClass) |
protected static boolean |
doIsArrayShape(JSDynamicObject object,
com.oracle.truffle.api.object.Shape cachedShape,
boolean cachedResult) |
protected static boolean |
doJSArray(Object object) |
abstract boolean |
execute(Object operand) |
protected boolean |
isArray(JSDynamicObject object) |
protected static boolean |
isNotDynamicObject(Object object) |
copy, 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 static final int MAX_SHAPE_COUNT
protected static final int MAX_JSCLASS_COUNT
protected IsArrayNode(IsArrayNode.Kind kind)
public abstract boolean execute(Object operand)
protected static boolean doJSArray(Object object)
protected static boolean doIsArrayShape(JSDynamicObject object, com.oracle.truffle.api.object.Shape cachedShape, boolean cachedResult)
protected static boolean doIsArrayJSClass(JSDynamicObject object, boolean cachedResult, JSClass cachedClass)
protected final boolean isArray(JSDynamicObject object)
protected static boolean isNotDynamicObject(Object object)
public static IsArrayNode createIsAnyArray()
public static IsArrayNode createIsArray()
public static IsArrayNode createIsFastArray()
public static IsArrayNode createIsFastOrTypedArray()