final StringBuffer buff = new StringBuffer("array(");
for (int i = 0; i < vars.length; i++) {
ArrayVariableDeclaration var = vars[i];
- if (var != null) {
- buff.append(var.toStringExpression());
- }
if (i != 0) {
- buff.append(',');
+ buff.append(",");
}
+ buff.append(var.toStringExpression());
}
+ buff.append(")");
return buff.toString();
}
}
parse();
phpDocument.nodes = new AstNode[nodes.length];
System.arraycopy(nodes,0,phpDocument.nodes,0,nodes.length);
- phpDocument.toString();
+ PHPeclipsePlugin.log(1,phpDocument.toString());
} catch (ParseException e) {
processParseException(e);
}
{if (true) return token.image.substring(1);}
}
buff = new StringBuffer(token.image);
- buff.append('{');
+ buff.append("{");
buff.append(expression.toStringExpression());
- buff.append('}');
+ buff.append("}");
{if (true) return buff.toString();}
break;
case DOLLAR:
{if (true) return token.image;}
}
buff = new StringBuffer(token.image);
- buff.append('{');
+ buff.append("{");
buff.append(expression.toStringExpression());
- buff.append('}');
+ buff.append("}");
{if (true) return buff.toString();}
break;
case DOLLAR:
jj_consume_token(DOLLAR);
expr = VariableName();
- buff = new StringBuffer('$');
+ buff = new StringBuffer("$");
buff.append(expr);
{if (true) return buff.toString();}
break;
parse();
phpDocument.nodes = new AstNode[nodes.length];
System.arraycopy(nodes,0,phpDocument.nodes,0,nodes.length);
- phpDocument.toString();
+ PHPeclipsePlugin.log(1,phpDocument.toString());
} catch (ParseException e) {
processParseException(e);
}
return token.image.substring(1);
}
buff = new StringBuffer(token.image);
- buff.append('{');
+ buff.append("{");
buff.append(expression.toStringExpression());
- buff.append('}');
+ buff.append("}");
return buff.toString();
}
|
return token.image;
}
buff = new StringBuffer(token.image);
- buff.append('{');
+ buff.append("{");
buff.append(expression.toStringExpression());
- buff.append('}');
+ buff.append("}");
return buff.toString();
}
|
<DOLLAR> expr = VariableName()
{
- buff = new StringBuffer('$');
+ buff = new StringBuffer("$");
buff.append(expr);
return buff.toString();
}