[stringtemplate-interest] ListDictionary Iteration
Todd Stout
todd.tstout at gmail.com
Tue Apr 28 10:51:20 PDT 2009
Thanks for the suggestion, but that still does not work.
On Tue, Apr 28, 2009 at 1:48 AM, Michael <micha-1 at fantasymail.de> wrote:
> Am Tuesday 28 April 2009 04:03:34 schrieb Todd Stout:
> > I'm trying to iterate over a ListDictionary (C# StringTemplate) in a
> > template and have each list item invoke another template:
> >
> > DataDefAssign(cols) :=
> > <<
> > <cols.keys: { k | <PropDef(name=<k>, type=<cols.(k)>) }>
> >
>
> shouldn't this be:
> <cols.keys: { k | <PropDef(name=k, type=cols.(k))> }>
>
>
> Michael
>
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090428/316ccb12/attachment.html
More information about the stringtemplate-interest
mailing list