public class IfStatement extends Statement
| Constructor and Description |
|---|
IfStatement() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getCondition() |
Statement |
getElseStatement() |
Statement |
getThenStatement() |
void |
setCondition(Expression condition) |
void |
setElseStatement(Statement elseStatement) |
void |
setThenStatement(Statement thenStatement) |
protected void |
visitChildren(Visitors visitors) |
getEndColumn, getEndLine, getStartColumn, getStartLine, setEndColumn, setEndLine, setStartColumn, setStartLine, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndColumn, getEndLine, getStartColumn, getStartLine, visitpublic Expression getCondition()
public Statement getElseStatement()
public Statement getThenStatement()
public void setCondition(Expression condition)
public void setElseStatement(Statement elseStatement)
public void setThenStatement(Statement thenStatement)
protected void visitChildren(Visitors visitors)
visitChildren in class StatementCopyright © 2013. All rights reserved.