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 GlobalStatement statement in php.
private Object parent;
+ private Position position;
+
public GlobalStatement(Object parent, String[] variables, int sourceStart, int sourceEnd) {
super(sourceStart, sourceEnd);
this.variables = variables;
this.parent = parent;
+ position = new Position(sourceStart, sourceEnd);
}
public String toString() {
public Object getParent() {
return parent;
}
+
+ public Position getPosition() {
+ return position;
+ }
}