[stringtemplate-interest] Removing ST from group

Terence Parr parrt at cs.usfca.edu
Sat Jan 30 11:49:54 PST 2010


Ooops.  You'll have to subclass and access:

	/** Maps template name to StringTemplate object */
	protected Map templates = new HashMap();

Ter
On Jan 28, 2010, at 2:20 PM, Brain, Jim wrote:

> How does one remove a defined template from a StringTemplateGroup?  I am using thousands of template in my code, and each has a short lifetime.  I’m running into memory issues with larger project sizes.  I looked for a StringTemplateGroup.removeTemplate(), to no avail.
>  
> Jim
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest



More information about the stringtemplate-interest mailing list