uk.co.badgersinfoil.metaas.dom
Interface ASWhileStatement
- All Superinterfaces:
- Statement, StatementContainer
public interface ASWhileStatement
- extends Statement, StatementContainer
Obtained from StatementContainer.newWhile(String)
, this represents
a while (test()) { }
construct.
e.g. The Java code,
ASWhileStatement whileStmt = method.newWhile("test()");
whileStmt.addStmt("trace('hello')");
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.StatementContainer |
addComment, addStmt, containsCode, getStatementList, newDeclaration, newDoWhile, newExprStmt, newFor, newForEachIn, newForIn, newIf, newReturn, newSwitch, newWhile, newWith |
getConditionString
java.lang.String getConditionString()
setCondition
void setCondition(java.lang.String string)
Copyright © 2006-2007 David Holroyd. All Rights Reserved.