< prev index next >

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

Print this page

    *** 34,45 ****
    --- 34,49 ----
      import jdk.nashorn.api.scripting.ScriptObjectMirror;

      /**
       * Represents nashorn ECMAScript parser instance.
       *
    +  * @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 Parser {
          /**
           * Parses the source file and returns compilation unit tree
           *
           * @param file source file to parse

< prev index next >