1 package net.sourceforge.phpdt.internal.compiler.ast;
4 * @author Matthieu Casanova
6 public class FunctionCall extends AbstractSuffixExpression {
8 public Expression prefix;
9 public ArgumentDeclaration[] args;
11 public FunctionCall(Expression prefix,
12 ArgumentDeclaration[] args,
14 super(prefix.sourceStart, sourceEnd);
20 * Return the expression as String.
21 * @return the expression
23 public String toStringExpression() {
24 final StringBuffer buff = new StringBuffer(prefix.toStringExpression());
26 for (int i = 0; i < args.length; i++) {
27 ArgumentDeclaration arg = args[i];
34 return buff.toString();