public abstract static class NumberPrototypeBuiltins.JSNumberToStringNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSNumberToStringNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
isJSNumberInteger(JSNumberObject thisObj)
Guard used to ensure that the parameter is a JSNumberObject that hosts an Integer.
|
protected boolean |
isRadix10(Object radix) |
protected Object |
toString(JSNumberObject thisObj,
Object radix,
JSToIntegerAsIntNode toIntegerNode,
JSDoubleToStringNode doubleToString,
com.oracle.truffle.api.profiles.InlinedBranchProfile radixOtherBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile radixErrorBranch) |
protected Object |
toStringForeignObject(Object thisObj,
Object radix,
com.oracle.truffle.api.nodes.Node node,
JSToIntegerAsIntNode toIntegerNode,
JSDoubleToStringNode doubleToString,
com.oracle.truffle.api.profiles.InlinedBranchProfile radixOtherBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile radixErrorBranch,
com.oracle.truffle.api.interop.InteropLibrary interop) |
protected Object |
toStringIntRadix10(JSNumberObject thisObj,
Object radix) |
protected String |
toStringNoNumber(Object thisObj,
Object radix) |
protected Object |
toStringPrimitive(Object thisNumber,
Object radix,
IsNumberNode isNumber,
JSToDoubleNode toDouble,
JSToIntegerAsIntNode toIntegerNode,
JSDoubleToStringNode doubleToString,
com.oracle.truffle.api.profiles.InlinedBranchProfile radixOtherBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile radixErrorBranch) |
protected Object |
toStringPrimitiveIntRadix10(int thisInteger,
Object radix) |
protected Object |
toStringPrimitiveRadix10(Object thisNumber,
Object radix,
IsNumberNode isNumber,
JSDoubleToStringNode doubleToString) |
protected Object |
toStringPrimitiveRadixInt(Object thisNumber,
int radix,
IsNumberNode isNumber,
JSToDoubleNode toDouble,
JSDoubleToStringNode doubleToString,
com.oracle.truffle.api.profiles.InlinedBranchProfile radixOtherBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile radixErrorBranch) |
protected Object |
toStringRadix10(JSNumberObject thisObj,
Object radix,
JSDoubleToStringNode doubleToString) |
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 boolean isRadix10(Object radix)
protected static boolean isJSNumberInteger(JSNumberObject thisObj)
protected Object toStringIntRadix10(JSNumberObject thisObj, Object radix)
protected Object toStringRadix10(JSNumberObject thisObj, Object radix, JSDoubleToStringNode doubleToString)
protected Object toString(JSNumberObject thisObj, Object radix, JSToIntegerAsIntNode toIntegerNode, JSDoubleToStringNode doubleToString, com.oracle.truffle.api.profiles.InlinedBranchProfile radixOtherBranch, com.oracle.truffle.api.profiles.InlinedBranchProfile radixErrorBranch)
protected Object toStringPrimitiveIntRadix10(int thisInteger, Object radix)
protected Object toStringPrimitiveRadix10(Object thisNumber, Object radix, IsNumberNode isNumber, JSDoubleToStringNode doubleToString)
protected Object toStringPrimitiveRadixInt(Object thisNumber, int radix, IsNumberNode isNumber, JSToDoubleNode toDouble, JSDoubleToStringNode doubleToString, com.oracle.truffle.api.profiles.InlinedBranchProfile radixOtherBranch, com.oracle.truffle.api.profiles.InlinedBranchProfile radixErrorBranch)
protected Object toStringPrimitive(Object thisNumber, Object radix, IsNumberNode isNumber, JSToDoubleNode toDouble, JSToIntegerAsIntNode toIntegerNode, JSDoubleToStringNode doubleToString, com.oracle.truffle.api.profiles.InlinedBranchProfile radixOtherBranch, com.oracle.truffle.api.profiles.InlinedBranchProfile radixErrorBranch)
protected Object toStringForeignObject(Object thisObj, Object radix, com.oracle.truffle.api.nodes.Node node, JSToIntegerAsIntNode toIntegerNode, JSDoubleToStringNode doubleToString, com.oracle.truffle.api.profiles.InlinedBranchProfile radixOtherBranch, com.oracle.truffle.api.profiles.InlinedBranchProfile radixErrorBranch, com.oracle.truffle.api.interop.InteropLibrary interop)