1 package net.sourceforge.phpdt.internal.compiler.ast;
4 * @author Matthieu Casanova
6 public class FunctionCall extends AbstractSuffixExpression {
8 public Expression prefix;
9 public Expression[] args;
11 public FunctionCall(Expression prefix,
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 Expression arg = args[i];
31 buff.append(arg.toStringExpression());
34 return buff.toString();