"<variables:{ v | <v.decl:(v.format)()>}; separator=\"\\n\">"+newline +
">>"+newline+
"intdecl(decl) ::= \"int <decl.name> = 0;\""+newline +
"intarray(decl) ::= \"int[] <decl.name> = null;\""+newline
;
STGroup group = new STGroupString(templates);
ST f = group.getInstanceOf("file");
f.addAggr("variables.{ decl,format }", new Decl("i", "int"), "intdecl");
f.addAggr("variables.{decl , format}", new Decl("a", "int-array"), "intarray");
//System.out.println("f='"+f+"'");
String expecting = "int i = 0;" +newline+
"int[] a = null;";