1 package net.sourceforge.phpdt.internal.compiler.ast;
6 import java.util.ArrayList;
9 * @author Matthieu Casanova
11 public class ConstantIdentifier extends Expression {
15 public ConstantIdentifier(final String name,
16 final int sourceStart,
17 final int sourceEnd) {
18 super(sourceStart, sourceEnd);
22 public ConstantIdentifier(final Token token) {
23 super(token.sourceStart,token.sourceEnd);
28 * Return the expression as String.
29 * @return the expression
31 public String toStringExpression() {
36 * Get the variables from outside (parameters, globals ...)
37 * @return the variables from outside
39 public List getOutsideVariable() {
40 return new ArrayList(1);
44 * get the modified variables.
45 * @return the variables from we change value
47 public List getModifiedVariable() {
48 return new ArrayList(1);
52 * Get the variables used.
53 * @return the variables used
55 public List getUsedVariable() {
56 return new ArrayList(1);