< prev index next >

## src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/YieldTree.java

Print this page

    *** 35,46 ****
    --- 35,50 ----
       *     while(index &lt; 10)
       *         <em>yield index++;</em>
       * }
       * </pre>
       *
    +  * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
    +  * are deprecated with the intent to remove them in a future release.
    +  *
       * @since 9
       */
    + @Deprecated(since="11", forRemoval=true)
      public interface YieldTree extends ExpressionTree {
          /**
           * Returns the expression that is yielded.
           *
           * @return The expression that is yielded.

< prev index next >