-
- All Superinterfaces:
StatementTree
,Tree
public interface BlockTree extends StatementTree
A tree node for a statement block. For example:{ } { statements }
- Since:
- 9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends StatementTree>
getStatements()
Returns the list of statements in this block.-
Methods inherited from interface jdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
-
-
-
Method Detail
-
getStatements
List<? extends StatementTree> getStatements()
Returns the list of statements in this block.- Returns:
- the list of statements in this block
-
-