package net.sourceforge.phpdt.internal.compiler.ast;
/**
- * A break statement.
+ * A continue statement.
* @author Matthieu Casanova
*/
public class Continue extends BranchStatement {
- public Continue(Expression expression, int sourceStart, int sourceEnd) {
+ public Continue(final Expression expression, final int sourceStart, final int sourceEnd) {
super(expression, sourceStart, sourceEnd);
}
- public String toString(int tab) {
- String s = tabString(tab);
+ public String toString(final int tab) {
+ final String s = tabString(tab);
if (expression == null) {
- return s + "continue " + expression.toString();//$NON-NLS-1$
+ return s + "continue";//$NON-NLS-1$
}
- return s + "continue";//$NON-NLS-1$
+ return s + "continue " + expression.toString();//$NON-NLS-1$
}
}