public final class IfStatement extends StatementBase
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Accept the visitor and allow it to perform actions on this Node.
|
Expression |
condition() |
BlockStatement |
falsePart() |
BlockStatement |
truePart() |
copy, copy, getAncestor, id, parent, parent, postCopy, preCopy, toString
attributes, get, set
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, copy, getAncestor, id, parent, parent
attributes, get, set
public Expression condition()
public BlockStatement truePart()
public BlockStatement falsePart()
Copyright © 2017 Oracle. All rights reserved.