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, toStringDebug
public Node getOperand()
public UnaryTree getTree()
Node
Tree
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()
Node
getOperands
in class Node
Node
s of this Node