- All Superinterfaces:
ExpressionTree
,Tree
A tree node for postfix and unary expressions.
Use
getKind
to determine the kind of operator.
For example:
operator expression expression operator
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the expression operated by the unary operator.Methods inherited from interface org.openjdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getExpression
ExpressionTree getExpression()Returns the expression operated by the unary operator.- Returns:
- The expression operated by the unary operator.
-