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, toString
public 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)
JNode
public boolean unconditionalControlBreak()
unconditionalControlBreak
in class JStatement
Copyright © 2018. All rights reserved.