public static final int LSHIFT_EQUAL = 11;
public static final int RSIGNEDSHIFT_EQUAL = 12;
- public char[] variableName;
+ public Expression variableName;
public Expression initializer;
public int operator;
* @param sourceStart the sourceStart
* @param sourceEnd the sourceEnd
*/
- public VarAssignation(final char[] variableName,
+ public VarAssignation(final Expression variableName,
final Expression initializer,
final int operator,
final int sourceStart,
* @return the expression
*/
public String toStringExpression() {
- final StringBuffer buff = new StringBuffer("$");
- buff.append(variableName);
+ final StringBuffer buff = new StringBuffer(variableName.toStringExpression());
buff.append(" ");//$NON-NLS-1$
buff.append(operatorToString());
buff.append(" ");//$NON-NLS-1$