*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / AstNode.java
index 2f0fe2d..237ce92 100644 (file)
@@ -9,7 +9,7 @@ import java.util.List;
 public abstract class AstNode {
 
   /** Starting and ending position of the node in the sources. */
-  private int sourceStart, sourceEnd;
+  public int sourceStart, sourceEnd;
 
   /**
    * Create a node giving starting and ending offset
@@ -17,8 +17,8 @@ public abstract class AstNode {
    * @param sourceEnd ending offset
    */
   public AstNode(final int sourceStart, final int sourceEnd) {
-    this.setSourceStart(sourceStart);
-    this.setSourceEnd(sourceEnd);
+    this.sourceStart = sourceStart;
+    this.sourceEnd = sourceEnd;
   }
 
   /**
@@ -67,20 +67,4 @@ public abstract class AstNode {
    * @return the variables used
    */
   public abstract List getUsedVariable();
-
-  public int getSourceStart() {
-    return sourceStart;
-  }
-
-  public int getSourceEnd() {
-    return sourceEnd;
-  }
-
-  public void setSourceStart(int sourceStart) {
-    this.sourceStart = sourceStart;
-  }
-
-  public void setSourceEnd(int sourceEnd) {
-    this.sourceEnd = sourceEnd;
-  }
 }