Uses of Interface jdk.nashorn.api.tree.TreeVisitor (Java SE 12 & JDK 12 )

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

- Packages that use TreeVisitor
  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 TreeVisitor in jdk.nashorn.api.tree

    Classes in jdk.nashorn.api.tree that implement TreeVisitor
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SimpleTreeVisitorES5_1<R,​P>` | Deprecated, for removal: This API element is subject to removal in a future version. Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    `class` | `SimpleTreeVisitorES6<R,​P>` | Deprecated, for removal: This API element is subject to removal in a future version. Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.

    Methods in jdk.nashorn.api.tree with parameters of type TreeVisitor
    Modifier and Type | Method | Description
    --- | --- | ---
    `<R,​D> R` | Tree.`accept​(TreeVisitor<R,​D> visitor, D data)` | Deprecated, for removal: This API element is subject to removal in a future version. Accept method used to implement the visitor pattern.