[stringtemplate-interest] ST4: Is reset missing or has it been removed?

Collin Fagan collin.fagan at gmail.com
Tue Jan 18 18:12:42 PST 2011


Fantastic thanks :)

On Tue, Jan 18, 2011 at 7:45 PM, Daniel Kasmeroglu <
Daniel.Kasmeroglu at kasisoft.net> wrote:

> Am 19.01.2011 02:25, schrieb Collin Fagan:
> > I was looking to reuse a template and just pass in new data but I can't
> find
> > a reset-like method in ST4. Are templates disposable now? Should I just
> keep
> > creating new instances?
> >
> It has been gone. The method 'getInstanceOf' delivers a cached and "clean"
> one,
> so basically it behaves as you need it but it's now builtin so you don't
> need
> to reset the input anymore.
>
> --
> Best regards
>
> Daniel Kasmeroglu (Dipl.-Inform.)
>
>
> http://www.kasisoft.com
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110118/3e656ef3/attachment.html 


More information about the stringtemplate-interest mailing list