[stringtemplate-interest] Iterator in reverse order
Terence Parr
parrt at cs.usfca.edu
Sun Mar 16 19:16:03 PDT 2008
Hi, no built in functionality for that...sorry.
you can do it with an attribute that is an object whose toString
decrements a count and evaluates to that number. it's "against the
rules" but would work for now.
Ter
On Mar 16, 2008, at 10:54 AM, Sriram Gopal wrote:
> Please let me know if there is a way of obtaining the iteration value
> in reverse order (n to 0 instead of 0 to n).
>
> -Sriram
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list