src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionDeclarationTree.java
changeset 50878 fb7800b66c92
parent 47216 71c04702a3d5
equal deleted inserted replaced
50877:700fffd3c871 50878:fb7800b66c92
    41  *   <em>function*</em> <em>name</em>
    41  *   <em>function*</em> <em>name</em>
    42  *      ( <em>parameters</em> )
    42  *      ( <em>parameters</em> )
    43  *      <em>body</em>
    43  *      <em>body</em>
    44  * </pre>
    44  * </pre>
    45  *
    45  *
       
    46  * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
       
    47  * are deprecated with the intent to remove them in a future release.
       
    48  *
    46  * @since 9
    49  * @since 9
    47  */
    50  */
       
    51 @Deprecated(since="11", forRemoval=true)
    48 public interface FunctionDeclarationTree extends StatementTree {
    52 public interface FunctionDeclarationTree extends StatementTree {
    49     /**
    53     /**
    50      * Returns the name of the function being declared.
    54      * Returns the name of the function being declared.
    51      *
    55      *
    52      * @return name the function declared
    56      * @return name the function declared