< prev index next >

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

Print this page

    *** 32,43 ****
    --- 32,47 ----
       * <pre>
       *   <em>var</em> <em>name</em> [ <em>initializer</em> ] ;
       *   <em>var</em> <em>binding_pattern</em> [ <em>initializer</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 VariableTree extends StatementTree {
          /**
           * Returns the binding of this declaration. This is an {@link IdentifierTree}
           * for a binding identifier case (simple variable declaration).
           * This is an {@link ObjectLiteralTree} or a {@link ArrayLiteralTree} for a

< prev index next >