
public class JIfStatement extends JStatement
| Constructor and Description |
|---|
JIfStatement(SourceInfo info,
JExpression ifExpr,
JStatement thenStmt,
JStatement elseStmt) |
| Modifier and Type | Method and Description |
|---|---|
JStatement |
getElseStmt() |
JExpression |
getIfExpr() |
JStatement |
getThenStmt() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
boolean |
unconditionalControlBreak() |
getSourceInfo, setSourceInfo, toSource, toStringpublic JIfStatement(SourceInfo info, JExpression ifExpr, JStatement thenStmt, JStatement elseStmt)
public JStatement getElseStmt()
public JExpression getIfExpr()
public JStatement getThenStmt()
public void traverse(JVisitor visitor, Context ctx)
JNodepublic boolean unconditionalControlBreak()
unconditionalControlBreak in class JStatementCopyright © 2018. All rights reserved.