Class GlobalBuiltins.JSGlobalParseFloatNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
GlobalBuiltins

public abstract static class GlobalBuiltins.JSGlobalParseFloatNode extends JSBuiltinNode
Implementation of ECMAScript 5.1 15.1.2.3 parseFloat() method.
  • Field Details

    • trimWhitespaceNode

      protected JSTrimWhitespaceNode trimWhitespaceNode
    • regionEqualsNode

      protected com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode regionEqualsNode
    • floatParserNode

      protected FloatParserNode floatParserNode
  • Constructor Details

    • JSGlobalParseFloatNode

      public JSGlobalParseFloatNode(JSContext context, JSBuiltin builtin)
  • Method Details

    • parseFloatInt

      protected int parseFloatInt(int value)
    • parseFloatLong

      protected long parseFloatLong(long value)
    • parseFloatDouble

      protected double parseFloatDouble(double value, com.oracle.truffle.api.profiles.InlinedConditionProfile negativeZero)
    • parseFloatBoolean

      protected double parseFloatBoolean(boolean value)
    • parseFloatUndefined

      protected double parseFloatUndefined(Object value)
    • parseFloatNull

      protected double parseFloatNull(Object value)
    • parseFloat

      protected double parseFloat(com.oracle.truffle.api.strings.TruffleString value)
    • parseFloat

      protected double parseFloat(com.oracle.truffle.api.interop.TruffleObject value)
    • trimWhitespace

      protected com.oracle.truffle.api.strings.TruffleString trimWhitespace(com.oracle.truffle.api.strings.TruffleString s)
    • toString1

      protected final com.oracle.truffle.api.strings.TruffleString toString1(Object target)