public class Case extends AbstractModuleElement
| Modifier and Type | Field and Description |
|---|---|
protected StatementBlock |
body |
protected Expression |
condition |
| Constructor and Description |
|---|
Case() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(AST cst,
IModule module) |
StatementBlock |
getBody() |
Expression |
getCondition() |
void |
setBody(StatementBlock body) |
void |
setCondition(Expression condition) |
getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUriprotected Expression condition
protected StatementBlock body
public void build(AST cst, IModule module)
build in interface ModuleElementbuild in class AbstractModuleElementpublic Expression getCondition()
public void setCondition(Expression condition)
public StatementBlock getBody()
public void setBody(StatementBlock body)
Copyright © 2016. All rights reserved.