+++ /dev/null
-package net.sourceforge.phpdt.internal.compiler.ast;
-
-import test.Token;
-
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * @author Matthieu Casanova
- */
-public class ConstantIdentifier extends Expression {
-
- public String name;
-
- public ConstantIdentifier(final String name,
- final int sourceStart,
- final int sourceEnd) {
- super(sourceStart, sourceEnd);
- this.name = name;
- }
-
- public ConstantIdentifier(final Token token) {
- super(token.sourceStart,token.sourceEnd);
- name = token.image;
- }
-
- /**
- * Return the expression as String.
- * @return the expression
- */
- public String toStringExpression() {
- return name;
- }
-
- /**
- * Get the variables from outside (parameters, globals ...)
- * @return the variables from outside
- */
- public List getOutsideVariable() {
- return new ArrayList(1);
- }
-
- /**
- * get the modified variables.
- * @return the variables from we change value
- */
- public List getModifiedVariable() {
- return new ArrayList(1);
- }
-
- /**
- * Get the variables used.
- * @return the variables used
- */
- public List getUsedVariable() {
- return new ArrayList(1);
- }
-}