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

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

    Methods in jdk.nashorn.api.tree that return ModuleTree
    Modifier and Type | Method | Description
    --- | --- | ---
    `ModuleTree` | CompilationUnitTree.`getModule​()` | Return the `ModuleTree` associated with this compilation unit.

    Methods in jdk.nashorn.api.tree with parameters of type ModuleTree
    Modifier and Type | Method | Description
    --- | --- | ---
    `R` | SimpleTreeVisitorES5_1.`visitModule​(ModuleTree node, P p)` | Visits a `ModuleTree` tree by calling `visitUnknown`.
    `R` | SimpleTreeVisitorES6.`visitModule​(ModuleTree node, P p)` | Visit Module tree.
    `R` | TreeVisitor.`visitModule​(ModuleTree node, P p)` | Visit Module tree.