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, getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, nodeCollectionToString, setAssignmentContext, 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 ImplicitThisLiteralNode
.public Collection<Node> getOperands()
Node
getOperands
in class Node
Node
s of this Node