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

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

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

    Subinterfaces of Tree in jdk.nashorn.api.tree
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `ArrayAccessTree` | A tree node for an array access expression.
    `interface` | `ArrayLiteralTree` | Represents ECMAScript array literal expression.
    `interface` | `AssignmentTree` | A tree node for an assignment expression.
    `interface` | `BinaryTree` | A tree node for a binary expression.
    `interface` | `BlockTree` | A tree node for a statement block.
    `interface` | `BreakTree` | A tree node for a 'break' statement.
    `interface` | `CaseTree` | A tree node for a 'case' in a 'switch' statement.
    `interface` | `CatchTree` | A tree node for a 'catch' block in a 'try' statement.
    `interface` | `ClassDeclarationTree` | A tree node that represents a class declaration.
    `interface` | `ClassExpressionTree` | A tree node that represents a class expression.
    `interface` | `CompilationUnitTree` | Represents the abstract syntax tree for compilation units (source files)
    `interface` | `CompoundAssignmentTree` | A tree node for compound assignment operator.
    `interface` | `ConditionalExpressionTree` | A tree node for the conditional operator ?
    `interface` | `ConditionalLoopTree` | A mixin for conditional "loop" statements.
    `interface` | `ContinueTree` | A tree node for a 'continue' statement.
    `interface` | `DebuggerTree` | A tree node for a 'debugger' statement.
    `interface` | `DoWhileLoopTree` | A tree node for a 'do' statement.
    `interface` | `EmptyStatementTree` | A tree node for an empty (skip) statement.
    `interface` | `ErroneousTree` | A tree node to stand in for a malformed expression.
    `interface` | `ExportEntryTree` | A Tree node for export entry in Module information.
    `interface` | `ExpressionStatementTree` | A tree node for an expression statement.
    `interface` | `ExpressionTree` | A tree node used as the base class for the different types of expressions.
    `interface` | `ForInLoopTree` | A tree node for for..in statement For example:
    `interface` | `ForLoopTree` | A tree node for a basic 'for' loop statement.
    `interface` | `ForOfLoopTree` | A tree node for for..of statement.
    `interface` | `FunctionCallTree` | A tree node for a function call expression.
    `interface` | `FunctionDeclarationTree` | A tree node for a function declaration.
    `interface` | `FunctionExpressionTree` | A tree node for function expressions including arrow functions.
    `interface` | `GotoTree` | A tree node for a statement that jumps to a target.
    `interface` | `IdentifierTree` | A tree node for an identifier expression.
    `interface` | `IfTree` | A tree node for an 'if' statement.
    `interface` | `ImportEntryTree` | A Tree node for import entry of Module information.
    `interface` | `InstanceOfTree` | A tree node for an 'instanceof' expression.
    `interface` | `LabeledStatementTree` | A tree node for a labeled statement.
    `interface` | `LiteralTree` | A tree node for a literal expression.
    `interface` | `LoopTree` | A mixin for "loop" statements.
    `interface` | `MemberSelectTree` | A tree node for a member access expression.
    `interface` | `ModuleTree` | A Tree node for Module information.
    `interface` | `NewTree` | A tree node to declare a new instance of a class.
    `interface` | `ObjectLiteralTree` | Represents ECMAScript object literal expression.
    `interface` | `ParenthesizedTree` | A tree node for a parenthesized expression.
    `interface` | `PropertyTree` | To represent property setting in an object literal tree.
    `interface` | `RegExpLiteralTree` | Represents regular expression literal in the source code.
    `interface` | `ReturnTree` | A tree node for a 'return' statement.
    `interface` | `SpreadTree` | A tree node for spread operator in array elements, function call arguments.
    `interface` | `StatementTree` | A tree node used as the base class for the different kinds of statements.
    `interface` | `SwitchTree` | A tree node for a 'switch' statement.
    `interface` | `TemplateLiteralTree` | A tree node for template literal strings.
    `interface` | `ThrowTree` | A tree node for a 'throw' statement.
    `interface` | `TryTree` | A tree node for a 'try' statement.
    `interface` | `UnaryTree` | A tree node for postfix and unary expressions.
    `interface` | `VariableTree` | A tree node for a variable declaration statement.
    `interface` | `WhileLoopTree` | A tree node for a 'while' loop statement.
    `interface` | `WithTree` | A tree node for a 'with' statement.
    `interface` | `YieldTree` | A tree node for yield expressions used in generator functions.

    Methods in jdk.nashorn.api.tree that return Tree
    Modifier and Type | Method | Description
    --- | --- | ---
    `Tree` | FunctionExpressionTree.`getBody()` | Returns the body of this function.
    `Tree` | InstanceOfTree.`getType()` | Returns the type expression.
    `Tree` | UnknownTreeException.`getUnknownTree()` | Returns the unknown tree.

    Methods in jdk.nashorn.api.tree that return types with arguments of type Tree
    Modifier and Type | Method | Description
    --- | --- | ---
    `Class<? extends Tree>` | Tree.Kind.`asInterface()` | Returns the associated interface type that uses this kind.
    `List<? extends Tree>` | CompilationUnitTree.`getSourceElements()` | Return the list of source elements in this compilation unit.

    Methods in jdk.nashorn.api.tree with parameters of type Tree
    Modifier and Type | Method | Description
    --- | --- | ---
    `R` | SimpleTreeVisitorES5_1.`visitUnknown​(Tree node, P p)` | Visit unknown expression/statement tree.
    `R` | TreeVisitor.`visitUnknown​(Tree node, P p)` | Visit unknown expression/statement tree.

    Constructors in jdk.nashorn.api.tree with parameters of type Tree
    Constructor | Description
    --- | ---
    `UnknownTreeException​(Tree t, Object p)` | Creates a new `UnknownTreeException`.