[stringtemplate-interest] ListDictionary Iteration

Todd Stout todd.tstout at gmail.com
Tue Apr 28 10:55:20 PDT 2009


What I'm trying to achieve should be possible right?

On Tue, Apr 28, 2009 at 12:53 PM, Todd Stout <todd.tstout at gmail.com> wrote:

> Yes, I had a typo
>
>
> On Tue, Apr 28, 2009 at 12:52 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
>
>> ::= not := right?
>> Ter
>> On Apr 28, 2009, at 10:51 AM, Todd Stout wrote:
>>
>> > 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
>> >
>> > _______________________________________________
>> > stringtemplate-interest mailing list
>> > stringtemplate-interest at antlr.org
>> > http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>>
>> _______________________________________________
>> 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/cd02ec36/attachment.html 


More information about the stringtemplate-interest mailing list