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());
27 for (int i = 0; i < args.length; i++) {
28 Expression arg = args[i];
32 buff.append(arg.toStringExpression());
36 return buff.toString();