*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / AbstractPHPComment.java
index 0d3f2f0..9eee781 100644 (file)
@@ -1,5 +1,10 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+import net.sourceforge.phpdt.internal.compiler.ast.declarations.VariableUsage;
+
+import java.util.List;
+import java.util.ArrayList;
+
 /**
  * Here are php comment.
  * @author Matthieu Casanova
@@ -7,11 +12,35 @@ package net.sourceforge.phpdt.internal.compiler.ast;
 public abstract class AbstractPHPComment extends AstNode {
 
   /**
-   * Create a comment giving starting and ending offset
+   * Create a comment giving starting and ending offset.
    * @param sourceStart starting offset
    * @param sourceEnd ending offset
    */
-  public AbstractPHPComment(int sourceStart, int sourceEnd) {
+  public AbstractPHPComment(final int sourceStart, final int sourceEnd) {
     super(sourceStart, sourceEnd);
   }
+
+  /**
+   * Get the variables from outside (parameters, globals ...)
+   * @return an empty list
+   */
+  public List getOutsideVariable() {
+    return new ArrayList();
+  }
+
+  /**
+   * get the modified variables.
+   * @return an empty list
+   */
+  public List getModifiedVariable() {
+    return new ArrayList();
+  }
+
+  /**
+   * Get the variables used.
+   * @return an empty list
+   */
+  public List getUsedVariable() {
+    return new ArrayList();
+  }
 }