Package org.eclipse.epsilon.eol.dom
Class WhileStatement
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.eol.dom.AbstractExecutableModuleElement
org.eclipse.epsilon.eol.dom.Statement
org.eclipse.epsilon.eol.dom.WhileStatement
- All Implemented Interfaces:
ModuleElement
,IExecutableModuleElement
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWhileStatement
(Expression conditionExpression, StatementBlock bodyStatementBlock) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(IEolVisitor visitor) void
execute
(IEolContext context) void
setBodyStatementBlock
(StatementBlock bodyStatementBlock) void
setConditionExpression
(Expression conditionExpression) Methods inherited from class org.eclipse.epsilon.eol.dom.Statement
toStatementBlock
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Field Details
-
conditionExpression
-
bodyStatementBlock
-
-
Constructor Details
-
WhileStatement
public WhileStatement() -
WhileStatement
-
-
Method Details
-
build
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAbstractModuleElement
-
execute
- Throws:
EolRuntimeException
-
getConditionExpression
-
setConditionExpression
-
getBodyStatementBlock
-
setBodyStatementBlock
-
accept
-