1 package net.sourceforge.phpdt.internal.compiler.ast;
3 import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
4 import net.sourceforge.phpdt.internal.ui.PHPUiImages;
5 import org.eclipse.jface.resource.ImageDescriptor;
8 * @author Matthieu Casanova
10 public class FieldDeclaration extends Statement {
12 public VariableDeclaration[] vars;
14 public FieldDeclaration(VariableDeclaration[] vars,int sourceStart,int sourceEnd) {
15 super(sourceStart,sourceEnd);
20 public String toString(int tab) {
21 final StringBuffer buff = new StringBuffer(tabString(tab));
23 for (int i = 0; i < vars.length; i++) {
24 VariableDeclaration var = vars[i];
28 buff.append(var.toStringExpression());
30 return buff.toString();