public class ThrowNode extends Node
throw expr
| Modifier and Type | Field and Description |
|---|---|
protected Node |
expression |
protected ThrowTree |
tree |
| Constructor and Description |
|---|
ThrowNode(ThrowTree tree,
Node expression,
Types types) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(NodeVisitor<R,P> visitor,
P p)
Accept method of the visitor pattern.
|
boolean |
equals(@Nullable Object obj) |
Node |
getExpression() |
Collection<Node> |
getOperands()
|
ThrowTree |
getTree()
Returns the
Tree in the abstract syntax tree, or null if no corresponding
tree exists. |
int |
hashCode() |
String |
toString() |
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebugpublic Node getExpression()
public ThrowTree getTree()
NodeTree in the abstract syntax tree, or null if no corresponding
tree exists. For instance, this is the case for an ImplicitThisNode.public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Nodepublic Collection<Node> getOperands()
NodegetOperands in class NodeNodes of this Node