*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / parser / PHPSegment.java
index 628d254..98efdfa 100644 (file)
@@ -18,6 +18,14 @@ public abstract class PHPSegment {
     this.position = new Position(index, name.length());
   }
 
+  /**
+   * Return the name of the segment.
+   * @return the name of the segment
+   */
+  public String getName() {
+    return name;
+  }
+
   public String toString() {
     return name;
   }