public abstract class UnaryOperationNode extends Node
For example:
operator expressionNode expressionNode operator
| Modifier and Type | Field and Description |
|---|---|
protected Node |
operand |
protected UnaryTree |
tree |
| Constructor and Description |
|---|
UnaryOperationNode(UnaryTree tree,
Node operand) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getOperand() |
Collection<Node> |
getOperands() |
UnaryTree |
getTree()
Returns the
Tree in the abstract syntax tree, or null if no corresponding
tree exists. |
accept, getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, setAssignmentContext, setBlock, setInSource, setLValuepublic Node getOperand()
public UnaryTree getTree()
NodeTree in the abstract syntax tree, or null if no corresponding
tree exists. For instance, this is the case for an ImplicitThisLiteralNode.public Collection<Node> getOperands()
getOperands in class NodeNodes of this Node.