* Renders the short form without the "var" keyword.
* This is used in multi declarations, such as in
* {@code for (var a = 0, b = 1, ...)}.
*/
void renderShort(RenderContext rc) {
TokenConsumer out = rc.getOut();
out.mark(getFilePosition());
if (identifier.getName() == null) {
throw new IllegalStateException(
"null name for declaration at " + getFilePosition());
}
identifier.render(rc);
if (null != initializer) {
out.consume("=");
boolean isComma = Operation.is(initializer, Operator.COMMA);
if (isComma) { out.consume("("); }
initializer.render(rc);
if (isComma) { out.consume(")"); }
}
}