-
- All Superinterfaces:
-
StatementTree,树
public interface TryTree extends StatementTree
“try”语句的树结点。 例如:try block catches finally finallyBlock- 从以下版本开始:
- 9
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 BlockTreegetBlock()返回'try'语句的'try'块。List<? extends CatchTree>getCatches()返回与'try'关联的'catch'语句的列表。BlockTreegetFinallyBlock()返回与'try'关联的'finally'块。-
Methods inherited from interface jdk.nashorn.api.tree.树
accept, getEndPosition, getKind, getStartPosition
-
-