Class AsyncFromSyncIteratorPrototypeBuiltins.AsyncFromSyncMethod

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Direct Known Subclasses:
AsyncFromSyncIteratorPrototypeBuiltins.AsyncFromSyncReturn, AsyncFromSyncIteratorPrototypeBuiltins.AsyncFromSyncThrow
Enclosing class:
AsyncFromSyncIteratorPrototypeBuiltins

protected abstract static class AsyncFromSyncIteratorPrototypeBuiltins.AsyncFromSyncMethod extends AsyncFromSyncIteratorPrototypeBuiltins.AsyncFromSyncBaseNode
  • Constructor Details

    • AsyncFromSyncMethod

      public AsyncFromSyncMethod(JSContext context, JSBuiltin builtin, boolean closeOnRejection)
  • Method Details

    • getMethod

      protected abstract GetMethodNode getMethod()
    • processUndefinedMethod

      protected abstract Object processUndefinedMethod(com.oracle.truffle.api.frame.VirtualFrame frame, PromiseCapabilityRecord promiseCapability, Object value, Object syncIterator)
    • doMethod

      protected final Object doMethod(com.oracle.truffle.api.frame.VirtualFrame frame, JSAsyncFromSyncIteratorObject thisObj, Object value, com.oracle.truffle.api.profiles.InlinedConditionProfile valuePresenceProfile)