public class LoopStatement extends GoloStatement
| Constructor and Description |
|---|
LoopStatement(AssignmentStatement initStatement,
ExpressionStatement conditionStatement,
Block block,
GoloStatement postStatement) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GoloIrVisitor visitor) |
Block |
getBlock() |
ExpressionStatement |
getConditionStatement() |
AssignmentStatement |
getInitStatement() |
GoloStatement |
getPostStatement() |
boolean |
hasInitStatement() |
boolean |
hasPostStatement() |
getASTNode, getPositionInSourceCode, hasASTNode, setASTNodepublic LoopStatement(AssignmentStatement initStatement, ExpressionStatement conditionStatement, Block block, GoloStatement postStatement)
public boolean hasInitStatement()
public AssignmentStatement getInitStatement()
public ExpressionStatement getConditionStatement()
public Block getBlock()
public GoloStatement getPostStatement()
public boolean hasPostStatement()
public void accept(GoloIrVisitor visitor)
accept in class GoloStatementCopyright © 2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon). All Rights Reserved.