package net.sourceforge.phpdt.internal.compiler.ast;
+import net.sourceforge.phpdt.internal.compiler.ast.declarations.VariableUsage;
+
+import java.util.List;
+import java.util.ArrayList;
+
+
/**
* An abstract variable declaration.
* @author Matthieu Casanova
*/
-public class AbstractVariableDeclaration extends AstNode {
+public abstract class AbstractVariableDeclaration extends Expression {
/** The name of the variable. */
public char[] name;
/**
- * Get the name of the field as String.
- * @return the name of the String
+ * Create a node giving starting and ending offset
+ * @param sourceStart starting offset
+ * @param sourceEnd ending offset
+ * @param name the name of the variable
*/
- public String name() {
- return String.valueOf(name);
+ public AbstractVariableDeclaration(final char[] name, final int sourceStart, final int sourceEnd) {
+ super(sourceStart, sourceEnd);
+ this.name = name;
}
+
+
}