1 package net.sourceforge.phpdt.internal.compiler.ast;
5 * An abstract variable declaration.
6 * @author Matthieu Casanova
8 public abstract class AbstractVariableDeclaration extends Expression {
9 /** The name of the variable. */
13 * Create a node giving starting and ending offset
14 * @param sourceStart starting offset
15 * @param sourceEnd ending offset
16 * @param name the name of the variable
18 public AbstractVariableDeclaration(char[] name, int sourceStart, int sourceEnd) {
19 super(sourceStart, sourceEnd);
24 * Get the name of the field as String.
25 * @return the name of the String
27 public String name() {
28 return new String(name);