Uses of Interface jdk.nashorn.api.tree.CompilationUnitTree (Java SE 11 & JDK 11 )

## Uses of Interface
jdk.nashorn.api.tree.CompilationUnitTree

- Packages that use CompilationUnitTree
  Package | Description
  --- | ---
  jdk.nashorn.api.tree | Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.

- - ### Uses of CompilationUnitTree in jdk.nashorn.api.tree

    Methods in jdk.nashorn.api.tree that return CompilationUnitTree
    Modifier and Type | Method | Description
    --- | --- | ---
    `CompilationUnitTree` | Parser.`parse​(File file, DiagnosticListener listener)` | Deprecated, for removal: This API element is subject to removal in a future version. Parses the source file and returns compilation unit tree
    `CompilationUnitTree` | Parser.`parse​(String name, Reader reader, DiagnosticListener listener)` | Deprecated, for removal: This API element is subject to removal in a future version. Parses the reader and returns compilation unit tree
    `CompilationUnitTree` | Parser.`parse​(String name, String code, DiagnosticListener listener)` | Deprecated, for removal: This API element is subject to removal in a future version. Parses the string source and returns compilation unit tree
    `CompilationUnitTree` | Parser.`parse​(URL url, DiagnosticListener listener)` | Deprecated, for removal: This API element is subject to removal in a future version. Parses the source url and returns compilation unit tree
    `CompilationUnitTree` | Parser.`parse​(Path path, DiagnosticListener listener)` | Deprecated, for removal: This API element is subject to removal in a future version. Parses the source Path and returns compilation unit tree
    `CompilationUnitTree` | Parser.`parse​(ScriptObjectMirror scriptObj, DiagnosticListener listener)` | Deprecated, for removal: This API element is subject to removal in a future version. Parses the source from script object and returns compilation unit tree

    Methods in jdk.nashorn.api.tree with parameters of type CompilationUnitTree
    Modifier and Type | Method | Description
    --- | --- | ---
    `R` | TreeVisitor.`visitCompilationUnit​(CompilationUnitTree node, P p)` | Deprecated, for removal: This API element is subject to removal in a future version. Visit compilation unit tree.