- All Superinterfaces:
LoopTree
,StatementTree
,Tree
- All Known Subinterfaces:
DoWhileLoopTree
,ForLoopTree
,WhileLoopTree
A mixin for conditional "loop" statements.
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the condition expression of this 'loop' statement.Methods inherited from interface org.openjdk.nashorn.api.tree.LoopTree
getStatement
Methods inherited from interface org.openjdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getCondition
ExpressionTree getCondition()Returns the condition expression of this 'loop' statement.- Returns:
- the condition expression
-