- 
- All Superinterfaces:
- LoopTree,- StatementTree,- Tree
 
 @Deprecated(since="11", forRemoval=true) public interface ForInLoopTree extends LoopTree Deprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.A tree node for for..in statement For example:for ( variable in expression ) statement- Since:
- 9
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ExpressionTreegetExpression()Deprecated, for removal: This API element is subject to removal in a future version.The object or array being whose properties are iterated.StatementTreegetStatement()Deprecated, for removal: This API element is subject to removal in a future version.The statement contained in this for..in statement.ExpressionTreegetVariable()Deprecated, for removal: This API element is subject to removal in a future version.The for..in left hand side expression.booleanisForEach()Deprecated, for removal: This API element is subject to removal in a future version.Returns if this is a for..each..in statement or not.- 
Methods declared in interface jdk.nashorn.api.tree.Treeaccept, getEndPosition, getKind, getStartPosition
 
- 
 
- 
- 
- 
Method Detail- 
getVariableExpressionTree getVariable() Deprecated, for removal: This API element is subject to removal in a future version.The for..in left hand side expression.- Returns:
- the left hand side expression
 
 - 
getExpressionExpressionTree getExpression() Deprecated, for removal: This API element is subject to removal in a future version.The object or array being whose properties are iterated.- Returns:
- the object or array expression being iterated
 
 - 
getStatementStatementTree getStatement() Deprecated, for removal: This API element is subject to removal in a future version.The statement contained in this for..in statement.- Specified by:
- getStatementin interface- LoopTree
- Returns:
- the statement
 
 - 
isForEachboolean isForEach() Deprecated, for removal: This API element is subject to removal in a future version.Returns if this is a for..each..in statement or not.- Returns:
- true if this is a for..each..in statement
 
 
- 
 
-