Class GeneratorVoidBlockNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.BlockNode.ElementExecutor<JavaScriptNode>, com.oracle.truffle.api.nodes.NodeInterface, SequenceNode, Cloneable

public final class GeneratorVoidBlockNode extends AbstractGeneratorBlockNode
  • Method Details

    • create

      public static JavaScriptNode create(JavaScriptNode[] statements, int stateSlot)
    • 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.
      Overrides:
      execute in class AbstractGeneratorBlockNode
      Parameters:
      frame - the frame of the currently executing guest language method
      Returns:
      the value of the execution
    • copyUninitialized

      protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
      Overrides:
      copyUninitialized in class JavaScriptNode