-
- All Superinterfaces:
ExpressionTree
,Tree
public interface UnaryTree extends ExpressionTree
A tree node for postfix and unary expressions. UsegetKind
to determine the kind of operator. For example:operator expression expression operator
- Since:
- 9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTree
getExpression()
Returns the expression operated by the unary operator.-
Methods declared in interface jdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
-
-
-
Method Detail
-
getExpression
ExpressionTree getExpression()
Returns the expression operated by the unary operator.- Returns:
- The expression operated by the unary operator.
-
-