< prev index next >

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

Print this page

    *** 41,52 ****
    --- 41,56 ----
       *   <em>function*</em> <em>name</em>
       *      ( <em>parameters</em> )
       *      <em>body</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 FunctionDeclarationTree extends StatementTree {
          /**
           * Returns the name of the function being declared.
           *
           * @return name the function declared

< prev index next >