[stringtemplate-interest] Does StringTemplate support components?
Terence Parr
parrt at cs.usfca.edu
Tue Jan 2 15:26:39 PST 2007
On Dec 27, 2006, at 5:32 PM, Bill Venners wrote:
> Hello,
>
> One more note on components. I'm aware I can call toString() on a
> component object, and get the behavior I described. But that of
> course means you build Strings in memory first and then write them to
> the output stream.
Actually, toString just calls write(output stream), which is the
method call that is actually propagated all the way down. I don't
actually buffer strings up, which is inefficient as you say.
Ter
More information about the stringtemplate-interest
mailing list