public abstract static class GlobalBuiltins.JSGlobalParseIntNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined
INTERMEDIATE_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 thing,
Object radix) |
protected double |
parseIntDouble(double thing,
Object radix0,
com.oracle.truffle.api.profiles.BranchProfile needsRadixConversion) |
protected double |
parseIntDoubleNoRadix(double thing,
Object radix0) |
protected int |
parseIntDoubleToInt(double thing,
Object radix0) |
protected Object |
parseIntGeneric(Object thing,
Object radix0,
JSToStringNode toStringNode,
com.oracle.truffle.api.profiles.BranchProfile needsRadix16,
com.oracle.truffle.api.profiles.BranchProfile needsDontFitLong) |
protected Object |
parseIntInt(int thing,
Object radix0,
com.oracle.truffle.api.profiles.BranchProfile needsRadixConversion) |
protected int |
parseIntNoRadix(int thing,
Object radix0) |
protected Object |
parseIntStringInt10(String string,
int radix) |
protected int |
toInt32(Object target) |
copyUninitialized, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlined
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTags
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize
protected int toInt32(Object target)
protected int parseIntNoRadix(int thing, Object radix0)
protected Object parseIntInt(int thing, Object radix0, com.oracle.truffle.api.profiles.BranchProfile needsRadixConversion)
protected int parseIntDoubleToInt(double thing, Object radix0)
protected double parseIntDoubleNoRadix(double thing, Object radix0)
protected static boolean hasRegularToString(double value)
protected static boolean hasRegularToStringInInt32Range(double value)
protected double parseIntDouble(double thing, Object radix0, com.oracle.truffle.api.profiles.BranchProfile needsRadixConversion)
protected Object parseIntGeneric(Object thing, Object radix0, JSToStringNode toStringNode, com.oracle.truffle.api.profiles.BranchProfile needsRadix16, com.oracle.truffle.api.profiles.BranchProfile needsDontFitLong)