< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java

Print this page

        

*** 43,60 **** --- 43,64 ---- structures added to future versions of the ECMAScript programming language. When new visit methods are added for new Tree subtypes, default method bodies will be introduced which will call visitUnknown method as a fallback. * + * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool + * are deprecated with the intent to remove them in a future release. + * * @param <R> the return type of this visitor's methods. Use {@link * Void} for visitors that do not need to return results. * @param <P> the type of the additional parameter to this visitor's * methods. Use {@code Void} for visitors that do not need an * additional parameter. * * @since 9 */ + @Deprecated(since="11", forRemoval=true) public interface TreeVisitor<R,P> { /** * Visit assignment tree. * * @param node node being visited
< prev index next >