I have a tree grammar with a rule like this: name : ^(NAME name_literal+) { ; } I need to do a foreach over the name_literal nodes but I can't seem to find anywhere in the manual that inserts action rules for repeated nodes in a tree parser. Anyone known how to do this?