[stringtemplate-interest] stringtemplate problem

Valerio Donnarumma webman at live.it
Tue Feb 22 00:35:36 PST 2011


 



Hello,
i have a problem.
I use StringTemplate to build a template that contain some statements.
 
One of that statements is a loop (for i=1...to n); so i decide to create an ArrayList as parameter of the setAttribute method.
 
// In the .st file i have the following statement
$variableName$ <- $measures$
 
where measures is an ArrayList.

How can I cycle on the measures?
 
Thanks !!
Valerio 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110222/6c796722/attachment.html 


More information about the stringtemplate-interest mailing list