public class WhileStatement extends Statement
| Modifier and Type | Field and Description |
|---|---|
protected StatementBlock |
bodyStatementBlock |
protected Expression |
conditionExpression |
| Constructor and Description |
|---|
WhileStatement() |
WhileStatement(Expression conditionExpression,
StatementBlock bodyStatementBlock) |
| Modifier and Type | Method and Description |
|---|---|
void |
build(AST cst,
IModule module) |
void |
compile(EolCompilationContext context) |
Object |
execute(IEolContext context) |
StatementBlock |
getBodyStatementBlock() |
Expression |
getConditionExpression() |
void |
setBodyStatementBlock(StatementBlock bodyStatementBlock) |
void |
setConditionExpression(Expression conditionExpression) |
toStatementBlockgetChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUriprotected Expression conditionExpression
protected StatementBlock bodyStatementBlock
public WhileStatement()
public WhileStatement(Expression conditionExpression, StatementBlock bodyStatementBlock)
public void build(AST cst, IModule module)
build in interface ModuleElementbuild in class AbstractModuleElementpublic Object execute(IEolContext context) throws EolRuntimeException
EolRuntimeExceptionpublic void compile(EolCompilationContext context)
public Expression getConditionExpression()
public void setConditionExpression(Expression conditionExpression)
public StatementBlock getBodyStatementBlock()
public void setBodyStatementBlock(StatementBlock bodyStatementBlock)
Copyright © 2016. All rights reserved.