Class SLUnboxNode

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

public abstract class SLUnboxNode extends SLExpressionNode
The node to normalize any value to an SL value. This is useful to reduce the number of values expression nodes need to expect.
  • Field Details

  • Constructor Details

    • SLUnboxNode

      public SLUnboxNode()
  • Method Details

    • fromString

      public static com.oracle.truffle.api.strings.TruffleString fromString(String value, com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode fromJavaStringNode)
    • fromTruffleString

      public static com.oracle.truffle.api.strings.TruffleString fromTruffleString(com.oracle.truffle.api.strings.TruffleString value)
    • fromBoolean

      public static boolean fromBoolean(boolean value)
    • fromLong

      public static long fromLong(long value)
    • fromBigNumber

      public static SLBigInteger fromBigNumber(SLBigInteger value)
    • fromFunction

      public static SLFunction fromFunction(SLFunction value)
    • fromFunction

      public static SLNull fromFunction(SLNull value)
    • fromForeign

      public static Object fromForeign(Object value, com.oracle.truffle.api.interop.InteropLibrary interop)