*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / ConstantIdentifier.java
index dec383e..a157522 100644 (file)
@@ -1,5 +1,8 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+import java.util.List;
+import java.util.ArrayList;
+
 /**
  * @author Matthieu Casanova
  */
@@ -7,9 +10,9 @@ public class ConstantIdentifier extends Expression {
 
   public char[] name;
 
-  public ConstantIdentifier(char[] name,
-                            int sourceStart,
-                            int sourceEnd) {
+  public ConstantIdentifier(final char[] name,
+                            final int sourceStart,
+                            final int sourceEnd) {
     super(sourceStart, sourceEnd);
     this.name = name;
   }
@@ -21,4 +24,28 @@ public class ConstantIdentifier extends Expression {
   public String toStringExpression() {
     return new String(name);
   }
+
+        /**
+   * Get the variables from outside (parameters, globals ...)
+   * @return the variables from outside
+   */
+  public List getOutsideVariable() {
+    return new ArrayList();
+  }
+
+  /**
+   * get the modified variables.
+   * @return the variables from we change value
+   */
+  public List getModifiedVariable() {
+    return new ArrayList();
+  }
+
+  /**
+   * Get the variables used.
+   * @return the variables used
+   */
+  public List getUsedVariable() {
+    return new ArrayList();
+  }
 }