public abstract class ToArrayIndexNoToPropertyKeyNode extends JavaScriptBaseNode
JSRuntime.INVALID_ARRAY_INDEX.| Modifier | Constructor and Description |
|---|---|
protected |
ToArrayIndexNoToPropertyKeyNode() |
| Modifier and Type | Method and Description |
|---|---|
protected static long |
convertFromString(com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.strings.TruffleString index,
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node stringReadNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile startsWithDigitBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile isArrayIndexBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile invalidArrayIndexBranch) |
protected static long |
convertFromStringNotInRange(com.oracle.truffle.api.strings.TruffleString index) |
protected static long |
doBigInt(BigInt value) |
protected static long |
doBigIntNonArrayIndex(BigInt value) |
protected static long |
doDoubleAsIntIndex(double value) |
protected static long |
doDoubleAsUintIndex(double value) |
protected static long |
doDoubleNonArrayIndex(double value) |
protected static long |
doInteger(int value) |
protected static long |
doIntegerNonArrayIndex(int value) |
protected static long |
doLong(long value) |
protected static long |
doLongNonArrayIndex(long value) |
protected static long |
doNonArrayIndex(Object value,
com.oracle.truffle.api.interop.InteropLibrary interop) |
protected static boolean |
doubleIsIntIndex(double d) |
protected static boolean |
doubleIsUintIndex(double d) |
abstract long |
executeLong(com.oracle.truffle.api.nodes.Node node,
Object value) |
protected static boolean |
notArrayIndex(Object o) |
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic abstract long executeLong(com.oracle.truffle.api.nodes.Node node,
Object value)
protected static long doInteger(int value)
protected static long doIntegerNonArrayIndex(int value)
protected static long doLong(long value)
protected static long doLongNonArrayIndex(long value)
protected static boolean doubleIsIntIndex(double d)
protected static long doDoubleAsIntIndex(double value)
protected static boolean doubleIsUintIndex(double d)
protected static long doDoubleAsUintIndex(double value)
protected static long doDoubleNonArrayIndex(double value)
protected static long doBigInt(BigInt value)
protected static long doBigIntNonArrayIndex(BigInt value)
protected static long convertFromString(com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.strings.TruffleString index,
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node stringReadNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile startsWithDigitBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile isArrayIndexBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile invalidArrayIndexBranch)
protected static long convertFromStringNotInRange(com.oracle.truffle.api.strings.TruffleString index)
protected static boolean notArrayIndex(Object o)
protected static long doNonArrayIndex(Object value, com.oracle.truffle.api.interop.InteropLibrary interop)