public abstract static class GlobalBuiltins.JSGlobalParseIntNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSGlobalParseIntNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
hasRegularToString(double value) |
protected static boolean |
hasRegularToStringInInt32Range(double value) |
protected static boolean |
isShortStringInt10(Object input,
Object radix) |
protected double |
parseIntDouble(double value,
Object radix0,
JSToInt32Node toInt32,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsRadixConversion,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsNaN) |
protected double |
parseIntDoubleNoRadix(double value,
Object radix0) |
protected int |
parseIntDoubleToInt(double value,
Object radix0) |
protected static Object |
parseIntGeneric(Object input,
Object radix0,
com.oracle.truffle.api.nodes.Node node,
JSToStringNode toStringNode,
JSToInt32Node toInt32,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsNaN,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsRadix16,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsDontFitLong,
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode,
com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode) |
protected Object |
parseIntInt(int value,
Object radix0,
JSToInt32Node toInt32,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsRadixConversion,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsNaN) |
protected int |
parseIntNoRadix(int value,
Object radix0) |
protected Object |
parseIntStringInt10(com.oracle.truffle.api.strings.TruffleString string,
int radix,
com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode) |
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected int parseIntNoRadix(int value,
Object radix0)
protected Object parseIntInt(int value, Object radix0, JSToInt32Node toInt32, com.oracle.truffle.api.profiles.InlinedBranchProfile needsRadixConversion, com.oracle.truffle.api.profiles.InlinedBranchProfile needsNaN)
protected int parseIntDoubleToInt(double value,
Object radix0)
protected double parseIntDoubleNoRadix(double value,
Object radix0)
protected static boolean hasRegularToString(double value)
protected static boolean hasRegularToStringInInt32Range(double value)
protected double parseIntDouble(double value,
Object radix0,
JSToInt32Node toInt32,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsRadixConversion,
com.oracle.truffle.api.profiles.InlinedBranchProfile needsNaN)
protected Object parseIntStringInt10(com.oracle.truffle.api.strings.TruffleString string, int radix, com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode)
protected static Object parseIntGeneric(Object input, Object radix0, com.oracle.truffle.api.nodes.Node node, JSToStringNode toStringNode, JSToInt32Node toInt32, com.oracle.truffle.api.profiles.InlinedBranchProfile needsNaN, com.oracle.truffle.api.profiles.InlinedBranchProfile needsRadix16, com.oracle.truffle.api.profiles.InlinedBranchProfile needsDontFitLong, com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node readRawNode, com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode substringNode)