Class JSConstantNode.JSConstantNumericUnitNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, RepeatableNode, Cloneable
Enclosing class:
JSConstantNode

public static final class JSConstantNode.JSConstantNumericUnitNode extends JSConstantNode
  • Method Details

    • isInstrumentable

      public boolean isInstrumentable()
      Specified by:
      isInstrumentable in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
      Overrides:
      isInstrumentable in class JavaScriptNode
    • execute

      public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
      Description copied from class: JavaScriptNode
      Executes this node using the specified context and frame and returns the result value.
      Specified by:
      execute in class JavaScriptNode
      Parameters:
      frame - the frame of the currently executing guest language method
      Returns:
      the value of the execution
    • getValue

      public Object getValue()
      Specified by:
      getValue in class JSConstantNode