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

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

    Methods in jdk.nashorn.api.tree that return BlockTree
    Modifier and Type | Method | Description
    --- | --- | ---
    `BlockTree` | CatchTree.`getBlock()` | Deprecated, for removal: This API element is subject to removal in a future version. Returns the code block of this catch block.
    `BlockTree` | TryTree.`getBlock()` | Deprecated, for removal: This API element is subject to removal in a future version. Returns the 'try' block of this 'try' statement.
    `BlockTree` | FunctionDeclarationTree.`getBody()` | Deprecated, for removal: This API element is subject to removal in a future version. Returns the body of code of this function.
    `BlockTree` | TryTree.`getFinallyBlock()` | Deprecated, for removal: This API element is subject to removal in a future version. Returns the 'finally' block associated with this 'try'.

    Methods in jdk.nashorn.api.tree with parameters of type BlockTree
    Modifier and Type | Method | Description
    --- | --- | ---
    `R` | TreeVisitor.`visitBlock​(BlockTree node, P p)` | Deprecated, for removal: This API element is subject to removal in a future version. Visit block statement tree.