- 
- All Superinterfaces:
- StatementTree,- Tree
 
 
 public interface ReturnTree extends StatementTree A tree node for a 'return' statement. For example:return; return expression; - Since:
- 9
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTreegetExpression()Returns the expression being returned.- 
Methods inherited from interface jdk.nashorn.api.tree.Treeaccept, getEndPosition, getKind, getStartPosition
 
- 
 
- 
- 
- 
Method Detail- 
getExpressionExpressionTree getExpression() Returns the expression being returned. This is null if no value is being returned. i.e., empty return statement.- Returns:
- the returned expression
 
 
- 
 
-