3.x RC1 compatibility
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Literal.java
index 72571ba..125abe7 100644 (file)
@@ -1,5 +1,7 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+import java.util.List;
+
 /**
  * Here is the Superclass of the Literal expressions.
  * @author Matthieu Casanova
@@ -11,9 +13,28 @@ public abstract class Literal extends Expression {
    * @param sourceStart starting offset
    * @param sourceEnd ending offset
    */
-  public Literal(int sourceStart, int sourceEnd) {
+  protected Literal(final int sourceStart, final int sourceEnd) {
     super(sourceStart, sourceEnd);
   }
 
-  public abstract char[] source();
+  /**
+   * Get the variables from outside (parameters, globals ...)
+   *
+   * @param list the list where we will put variables
+   */
+  public final void getOutsideVariable(final List list) {}
+
+  /**
+   * get the modified variables.
+   *
+   * @param list the list where we will put variables
+   */
+  public final void getModifiedVariable(final List list) {}
+
+  /**
+   * Get the variables used.
+   *
+   * @param list the list where we will put variables
+   */
+  public void getUsedVariable(final List list) {}
 }