-
- All Superinterfaces:
-
ConditionalLoopTree,LoopTree,StatementTree,树
public interface DoWhileLoopTree extends ConditionalLoopTree
“do”语句的树节点。 例如:do statement while ( expression );- 从以下版本开始:
- 9
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 ExpressionTreegetCondition()返回此do-while语句的条件表达式。StatementTreegetStatement()该声明包含在此do-while语句中。-
Methods inherited from interface jdk.nashorn.api.tree.树
accept, getEndPosition, getKind, getStartPosition
-
-
-
-
方法详细信息
-
getCondition
ExpressionTree getCondition()
返回此do-while语句的条件表达式。- Specified by:
-
getCondition在接口ConditionalLoopTree - 结果
- 条件表达式
-
getStatement
StatementTree getStatement()
该声明包含在此do-while语句中。- Specified by:
-
getStatement在接口LoopTree - 结果
- 该声明
-
-