1 package net.sourceforge.phpdt.internal.compiler.ast;
4 * @author Matthieu Casanova
6 public class LabeledStatement extends Statement {
10 public Statement statement;
12 public LabeledStatement(char[] label, Statement statement, int sourceStart, int sourceEnd) {
13 super(sourceStart, sourceEnd);
15 this.statement = statement;
19 * Return the object into String.
20 * It should be overriden
23 public String toString() {
24 return new String(label) + statement.toString();
28 * Return the object into String.
29 * @param tab how many tabs (not used here
32 public String toString(int tab) {
33 return tabString(tab) + toString();