a157522811d4e567bed2b308cf81ec89ea53c8a0
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / ConstantIdentifier.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 import java.util.List;
4 import java.util.ArrayList;
5
6 /**
7  * @author Matthieu Casanova
8  */
9 public class ConstantIdentifier extends Expression {
10
11   public char[] name;
12
13   public ConstantIdentifier(final char[] name,
14                             final int sourceStart,
15                             final int sourceEnd) {
16     super(sourceStart, sourceEnd);
17     this.name = name;
18   }
19
20   /**
21    * Return the expression as String.
22    * @return the expression
23    */
24   public String toStringExpression() {
25     return new String(name);
26   }
27
28         /**
29    * Get the variables from outside (parameters, globals ...)
30    * @return the variables from outside
31    */
32   public List getOutsideVariable() {
33     return new ArrayList();
34   }
35
36   /**
37    * get the modified variables.
38    * @return the variables from we change value
39    */
40   public List getModifiedVariable() {
41     return new ArrayList();
42   }
43
44   /**
45    * Get the variables used.
46    * @return the variables used
47    */
48   public List getUsedVariable() {
49     return new ArrayList();
50   }
51 }