-
- すべてのスーパー・インタフェース:
ConditionalLoopTree
,LoopTree
,StatementTree
,Tree
public interface DoWhileLoopTree extends ConditionalLoopTree
「do」文のツリー・ノードです。 たとえば、do statement while ( expression );
- 導入されたバージョン:
- 9
-
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 抽象メソッド 修飾子と型 メソッド 説明 ExpressionTree
getCondition()
このdo-while文の条件式を返します。StatementTree
getStatement()
このdo-while文に含まれる文。-
インタフェース jdk.nashorn.api.tree.Treeで宣言されたメソッド
accept, getEndPosition, getKind, getStartPosition
-
-
-
-
メソッドの詳細
-
getCondition
ExpressionTree getCondition()
このdo-while文の条件式を返します。- 定義:
- インタフェース
ConditionalLoopTree
内のgetCondition
- 戻り値:
- 条件式
-
getStatement
StatementTree getStatement()
このdo-while文に含まれる文。- 定義:
- インタフェース
LoopTree
内のgetStatement
- 戻り値:
- 次の文の場合、
-
-