[stringtemplate-interest] Creating new attributes?
Terence Parr
parrt at cs.usfca.edu
Wed Nov 17 16:52:31 PST 2010
Hi. Try passing i/i0/it as a parameter with different name to new template to rename them.
Ter
On Nov 17, 2010, at 4:10 PM, Morten Olav Hansen wrote:
> Hi
>
> I'm having a problem with my iterators (related to my problem in the
> mail before). It seems that I can't use it/i/i0 as a parameter when I
> have two levels of iterators, and I want to use information from the
> outer iteration in the inner iteration (it and i0 in my case). They
> seem to be evaluated by name, rather than value, and the value of
> it/i/i0 has of course changed in the inner iterator.
>
> Is it possible in StringTemplate to assign these attributes to a new
> attribute? So I send send this one instead.
>
> Regards,
> Morten
> _______________________________________________
> 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