*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Literal.java
index 72571ba..9ab2ad8 100644 (file)
@@ -1,5 +1,8 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+import java.util.List;
+import java.util.ArrayList;
+
 /**
  * Here is the Superclass of the Literal expressions.
  * @author Matthieu Casanova
@@ -11,9 +14,33 @@ public abstract class Literal extends Expression {
    * @param sourceStart starting offset
    * @param sourceEnd ending offset
    */
-  public Literal(int sourceStart, int sourceEnd) {
+  public Literal(final int sourceStart, final int sourceEnd) {
     super(sourceStart, sourceEnd);
   }
 
   public abstract char[] source();
+
+  /**
+   * 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();
+  }
 }