public abstract class UnaryOperationNode extends Node
For example:
operator expressionNode expressionNode operator
| Modifier and Type | Field and Description |
|---|---|
protected Node |
operand |
protected UnaryTree |
tree |
| Modifier | Constructor and Description |
|---|---|
protected |
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, getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebugpublic 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 ImplicitThisNode.public Collection<Node> getOperands()
NodegetOperands in class NodeNodes of this Node