This looks like an incorrect use of the map operator, because each item in variables
is a single instance of Decl
. You don't need to map v
to decl
, you just need to invoke decl
, as follows.
<variables:{ v | <decl(v)>}; separator="\n">
However, since you are using addAggr
instead of just add
, you also need to pass the correct property.
<variables:{ v | <decl(v.decl)>}; separator="\n">