[stringtemplate-interest] Wrapping and expression for fixed right edge
Terence Parr
parrt at cs.usfca.edu
Tue Nov 17 11:25:38 PST 2009
On Nov 17, 2009, at 10:37 AM, Scott wrote:
> Can I make any assumptions about when write(String str, String wrap)
> is called. To be precise, can I assume that when a top-level (not
> nested) expression with the wrap option (.e.g <arg; wrap>) is
> written, then write(String str, String wrap) will be called with the
> full result of evaluating the template arg?
Yep, arg will be a string, as computed by ST.
Ter
More information about the stringtemplate-interest
mailing list