public abstract class ToArrayLengthNode extends JavaScriptBaseNode
| Modifier and Type | Method and Description |
|---|---|
static ToArrayLengthNode |
create() |
protected static long |
doDouble(double value) |
protected static long |
doInt(int value) |
protected static long |
doLong(long value) |
protected static long |
doSafeInteger(SafeInteger value) |
abstract long |
executeLong(Object value) |
boolean |
isTypeNumber(long result) |
protected static long |
rangeError(double value) |
protected static long |
rangeError(long value) |
protected static long |
rangeError(SafeInteger value) |
protected static long |
typeNotNumber(Object value) |
copy, getLanguage, getRealm, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic static ToArrayLengthNode create()
public abstract long executeLong(Object value)
public boolean isTypeNumber(long result)
protected static long doInt(int value)
protected static long doSafeInteger(SafeInteger value)
protected static long rangeError(SafeInteger value)
protected static long doLong(long value)
protected static long rangeError(long value)
protected static long doDouble(double value)
protected static long rangeError(double value)
protected static long typeNotNumber(Object value)