src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java
changeset 50878 fb7800b66c92
parent 47216 71c04702a3d5
equal deleted inserted replaced
50877:700fffd3c871 50878:fb7800b66c92
    43  structures added to future versions of the ECMAScript programming
    43  structures added to future versions of the ECMAScript programming
    44  language. When new visit methods are added for new Tree subtypes,
    44  language. When new visit methods are added for new Tree subtypes,
    45  default method bodies will be introduced which will call visitUnknown
    45  default method bodies will be introduced which will call visitUnknown
    46  method as a fallback.
    46  method as a fallback.
    47  *
    47  *
       
    48  * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
       
    49  * are deprecated with the intent to remove them in a future release.
       
    50  *
    48  * @param <R> the return type of this visitor's methods.  Use {@link
    51  * @param <R> the return type of this visitor's methods.  Use {@link
    49  *            Void} for visitors that do not need to return results.
    52  *            Void} for visitors that do not need to return results.
    50  * @param <P> the type of the additional parameter to this visitor's
    53  * @param <P> the type of the additional parameter to this visitor's
    51  *            methods.  Use {@code Void} for visitors that do not need an
    54  *            methods.  Use {@code Void} for visitors that do not need an
    52  *            additional parameter.
    55  *            additional parameter.
    53  *
    56  *
    54  * @since 9
    57  * @since 9
    55  */
    58  */
       
    59 @Deprecated(since="11", forRemoval=true)
    56 public interface TreeVisitor<R,P> {
    60 public interface TreeVisitor<R,P> {
    57     /**
    61     /**
    58      * Visit assignment tree.
    62      * Visit assignment tree.
    59      *
    63      *
    60      * @param node node being visited
    64      * @param node node being visited