Class Post

  • All Implemented Interfaces:
    java.lang.Iterable<java.lang.String>, java.util.Iterator<java.lang.String>, Fiber.Worker

    class Post
    extends Generator<java.lang.String>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Tree _t  
    • Constructor Summary

      Constructors 
      Constructor Description
      Post​(Tree t)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      the top level entrypoint for the continuation override this method cannot be called directly - use run() instead use Fiber.yield() to yield control cooperatively and return execution to the caller of run()
      (package private) void walk​(Tree t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • Post

        Post​(Tree t)
    • Method Detail

      • execute

        public void execute()
                     throws Pausable
        Description copied from class: Continuation
        the top level entrypoint for the continuation override this method cannot be called directly - use run() instead use Fiber.yield() to yield control cooperatively and return execution to the caller of run()
        Specified by:
        execute in interface Fiber.Worker
        Overrides:
        execute in class Continuation
        Throws:
        Pausable