public class JSwitchStatement extends JStatement
Constructor and Description |
---|
JSwitchStatement(SourceInfo info,
JExpression expr,
JBlock body) |
Modifier and Type | Method and Description |
---|---|
JBlock |
getBody() |
JExpression |
getExpr() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
unconditionalControlBreak
getSourceInfo, setSourceInfo, toSource, toString
public JSwitchStatement(SourceInfo info, JExpression expr, JBlock body)
public JBlock getBody()
public JExpression getExpr()
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.