First try for AST structure. A lot of things to change
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Statement.java
index c16f91f..a6afa57 100644 (file)
@@ -1,12 +1,19 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+
 /**
  * A Statement.
  * @author Matthieu Casanova
  */
-public class Statement extends AstNode {
+public abstract class Statement extends AstNode {
 
-  public Statement() {
+  /**
+   * Create a node giving starting and ending offset
+   * @param sourceStart starting offset
+   * @param sourceEnd ending offset
+   */
+  public Statement(int sourceStart, int sourceEnd) {
+    super(sourceStart, sourceEnd);
   }
 
   public boolean isEmptyBlock() {