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

## 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>` | A simple implementation of the TreeVisitor for ECMAScript edition 5.1.
    `class` | `SimpleTreeVisitorES6<R,P>` | A simple implementation of the TreeVisitor for ECMAScript edition 6.

    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)` | Accept method used to implement the visitor pattern.