public abstract static class GlobalBuiltins.JSGlobalParseFloatNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined| Modifier and Type | Field and Description |
|---|---|
protected FloatParserNode |
floatParserNode |
protected com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode |
regionEqualsNode |
protected JSTrimWhitespaceNode |
trimWhitespaceNode |
ARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSGlobalParseFloatNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
parseFloat(com.oracle.truffle.api.interop.TruffleObject value) |
protected double |
parseFloat(com.oracle.truffle.api.strings.TruffleString value) |
protected double |
parseFloatBoolean(boolean value) |
protected double |
parseFloatDouble(double value,
com.oracle.truffle.api.profiles.InlinedConditionProfile negativeZero) |
protected int |
parseFloatInt(int value) |
protected double |
parseFloatNull(Object value) |
protected double |
parseFloatUndefined(Object value) |
protected com.oracle.truffle.api.strings.TruffleString |
trimWhitespace(com.oracle.truffle.api.strings.TruffleString s) |
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 JSTrimWhitespaceNode trimWhitespaceNode
protected com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode regionEqualsNode
protected FloatParserNode floatParserNode
protected int parseFloatInt(int value)
protected double parseFloatDouble(double value,
com.oracle.truffle.api.profiles.InlinedConditionProfile negativeZero)
protected double parseFloatBoolean(boolean value)
protected double parseFloatUndefined(Object value)
protected double parseFloatNull(Object value)
protected double parseFloat(com.oracle.truffle.api.strings.TruffleString value)
protected double parseFloat(com.oracle.truffle.api.interop.TruffleObject value)
protected com.oracle.truffle.api.strings.TruffleString trimWhitespace(com.oracle.truffle.api.strings.TruffleString s)