[antlr-interest] Stringtemplate - iteration of k,v pairs in map

Bill Andersen bill.andersen at mac.com
Thu Jul 15 14:36:33 PDT 2010


Folks,

I'd like to iterate over pairs in a map MAP with another template.  Something like

<MAP:other(); separator="\n">

other(<k,v>) ::= <<
value of <k> is <v>
>>

I know it's possible I just can't find it in the docs or by example on the web.

Anyone know if?  How?

	.bill



More information about the antlr-interest mailing list