- 
- All Superinterfaces:
 ConditionalLoopTree,LoopTree,StatementTree,Tree
public interface WhileLoopTree extends ConditionalLoopTree
A tree node for a 'while' loop statement. For example:while ( condition ) statement- Since:
 - 9
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTreegetCondition()The condition expression of this 'while' statement.StatementTreegetStatement()The statement contained in this 'while' statement.- 
Methods declared in interface jdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getCondition
ExpressionTree getCondition()
The condition expression of this 'while' statement.- Specified by:
 getConditionin interfaceConditionalLoopTree- Returns:
 - the condition expression
 
 
- 
getStatement
StatementTree getStatement()
The statement contained in this 'while' statement.- Specified by:
 getStatementin interfaceLoopTree- Returns:
 - the statement contained
 
 
 - 
 
 -