import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
import net.sourceforge.phpdt.internal.ui.PHPUiImages;
import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.text.Position;
/**
* A Field declaration.
public VariableDeclaration[] vars;
private Object parent;
+ private Position position;
/**
* Create a new field.
* @param vars the array of variables.
super(sourceStart, sourceEnd);
this.vars = vars;
this.parent = parent;
+ position = new Position(sourceStart, sourceEnd);
}
/**
public Object getParent() {
return parent;
}
+
+ public Position getPosition() {
+ return position;
+ }
}