public abstract class ArrayBufferViewGetByteLengthNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
ArrayBufferViewGetByteLengthNode() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
executeInt(com.oracle.truffle.api.nodes.Node node,
JSTypedArrayObject obj,
JSContext context) |
protected static TypedArray |
getArrayType(JSTypedArrayObject obj) |
protected static int |
getByteLength(JSTypedArrayObject obj,
JSContext context,
TypedArray cachedArray) |
protected static int |
getByteLengthDetached(JSTypedArrayObject obj,
JSContext context) |
protected static int |
getByteLengthOverLimit(JSTypedArrayObject obj,
JSContext context) |
protected boolean |
hasDetachedBuffer(JSTypedArrayObject object,
JSContext context) |
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, toStringpublic abstract int executeInt(com.oracle.truffle.api.nodes.Node node,
JSTypedArrayObject obj,
JSContext context)
protected static int getByteLength(JSTypedArrayObject obj, JSContext context, TypedArray cachedArray)
protected static int getByteLengthOverLimit(JSTypedArrayObject obj, JSContext context)
protected static int getByteLengthDetached(JSTypedArrayObject obj, JSContext context)
protected static TypedArray getArrayType(JSTypedArrayObject obj)
protected boolean hasDetachedBuffer(JSTypedArrayObject object, JSContext context)