1 package net.sourceforge.phpdt.internal.compiler.ast;
8 * @author Matthieu Casanova
10 public final class ConstantIdentifier extends Expression {
12 private final String name;
14 public ConstantIdentifier(final String name,
15 final int sourceStart,
16 final int sourceEnd) {
17 super(sourceStart, sourceEnd);
21 public ConstantIdentifier(final Token token) {
22 super(token.sourceStart,token.sourceEnd);
27 * Return the expression as String.
28 * @return the expression
30 public String toStringExpression() {
35 * Get the variables from outside (parameters, globals ...)
37 * @param list the list where we will put variables
39 public void getOutsideVariable(final List list) {}
42 * get the modified variables.
44 * @param list the list where we will put variables
46 public void getModifiedVariable(final List list) {}
49 * Get the variables used.
51 * @param list the list where we will put variables
53 public void getUsedVariable(final List list) {}