Package org.eclipse.epsilon.eol.dom
Class Case
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.Case
-
- All Implemented Interfaces:
ModuleElement
public class Case extends AbstractModuleElement
-
-
Field Summary
Fields Modifier and Type Field Description protected StatementBlock
body
protected Expression
condition
-
Constructor Summary
Constructors Constructor Description Case()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(AST cst, IModule module)
StatementBlock
getBody()
Expression
getCondition()
void
setBody(StatementBlock body)
void
setCondition(Expression condition)
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
-
-
-
-
Field Detail
-
condition
protected Expression condition
-
body
protected StatementBlock body
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAbstractModuleElement
-
getCondition
public Expression getCondition()
-
setCondition
public void setCondition(Expression condition)
-
getBody
public StatementBlock getBody()
-
setBody
public void setBody(StatementBlock body)
-
-