1 package net.sourceforge.phpdt.internal.compiler.ast;
5 * An argument declaration.
6 * @author Matthieu Casanova
8 public class ArgumentDeclaration extends VariableDeclaration {
10 public boolean reference;
14 * @param initialization the initialization
15 * @param name the name
16 * @param sourceStart the start point
18 public ArgumentDeclaration(char[] name,
19 Expression initialization,
22 super(name, initialization, sourceStart);
23 this.reference = reference;
27 * Return the expression as String.
28 * @return the expression
30 public String toStringExpression() {
31 final StringBuffer buff;
33 buff = new StringBuffer("&$");
35 buff = new StringBuffer("$");
38 if (initialization != null) {
40 buff.append(initialization.toStringExpression());
42 return buff.toString();