[stringtemplate-interest] ListDictionary Iteration

Terence Parr parrt at cs.usfca.edu
Tue Apr 28 10:55:55 PDT 2009


yeah, trying to figure out what's wrong.
T
On Apr 28, 2009, at 10:55 AM, Todd Stout wrote:

> 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
>
>



More information about the stringtemplate-interest mailing list