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;
/**
* @author Matthieu Casanova
private Object parent;
+ private Position position;
public InclusionStatement(Object parent,
int keyword,
Expression expression,
this.keyword = keyword;
this.expression = expression;
this.parent = parent;
+ position = new Position(sourceStart, sourceEnd);
}
public String keywordToString() {
*/
public String toString(int tab) {
final StringBuffer buffer = new StringBuffer(tabString(tab));
+ buffer.append(toString());
+ return buffer.toString();
+ }
+
+ public String toString() {
+ final StringBuffer buffer = new StringBuffer();
if (silent) {
buffer.append('@');
}
public Object getParent() {
return parent;
}
+
+ public Position getPosition() {
+ return position;
+ }
}