
public class WhileLoop extends Object implements Statements
while loop.| Modifier and Type | Method and Description |
|---|---|
List<Statements> |
getStatements()
Returns a list of
Statements. |
String |
toCode()
The Java code representation of this
Node. |
public WhileLoop(String test)
test - A textual boolean Expression. Must not be
null.public List<Statements> getStatements()
StatementsStatements.getStatements in interface Statementsnull list of Statements.Copyright © 2018. All rights reserved.