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

Packages that use Tree
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
`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` `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` `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` `FunctionCallTree` A tree node for a function call expression.
`interface` `FunctionDeclarationTree` A tree node for a function declaration.
`interface` `FunctionExpressionTree` A tree node for a function expression.
`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` `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` `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` `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` `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.
`interface` `WhileLoopTree` A tree node for a 'while' loop statement.
`interface` `WithTree` A tree node for a 'with' statement.

Methods in jdk.nashorn.api.tree that return Tree
`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
`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
`R` SimpleTreeVisitorES5_1.`visitUnknown(Tree node, P r)`
`R` TreeVisitor.`visitUnknown(Tree node, P p)` Visit unknown expression/statement tree.

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