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;
import java.util.Hashtable;
import java.util.Enumeration;
/** Tell if the method returns a reference. */
public boolean reference;
+ private Position position;
+
public MethodDeclaration(Object parent,
char[] name,
Hashtable arguments,
this.arguments = arguments;
this.parent = parent;
this.reference = reference;
+ position = new Position(sourceStart, sourceEnd);
}
/**
public String toString() {
return toStringHeader();
}
+
+ public Position getPosition() {
+ return position;
+ }
}