1 package net.sourceforge.phpdt.internal.compiler.ast;
4 * @author Matthieu Casanova
6 public class DefaultCase extends AbstractCase {
8 public DefaultCase(final Statement[] statements, final int sourceStart, final int sourceEnd) {
9 super(statements, sourceStart, sourceEnd);
13 * Return the object into String.
14 * @param tab how many tabs (not used here
17 public String toString(final int tab) {
18 final StringBuffer buff = new StringBuffer(tabString(tab));
19 buff.append("default : \n"); //$NON-NLS-1$
20 for (int i = 0; i < statements.length; i++) {
21 final Statement statement = statements[i];
22 buff.append(statement.toString(tab + 9));
24 return buff.toString();