1 package net.sourceforge.phpdt.internal.compiler.parser;
3 import org.eclipse.jface.resource.ImageDescriptor;
4 import org.eclipse.jface.text.Position;
10 public abstract class PHPSegment {
11 protected String name;
12 private Position position;
13 private Object parent;
15 public PHPSegment(Object parent, String name, int index) {
18 this.position = new Position(index, name.length());
21 public String toString() {
25 public Position getPosition() {
29 public Object getParent() {
33 public abstract ImageDescriptor getImage();