[stringtemplate-interest] template getName()

Terence Parr parrt at cs.usfca.edu
Sun Dec 11 08:42:10 PST 2011


hi. that is the fully-qualified name. like /x/y/foo.  the name includes any subdirs in front.
Ter
On Dec 10, 2011, at 2:06 PM, Jiwon Seo wrote:

> I thought the getName() method if ST class gives the name of the template.
> However, I was surprised that the name has (sometimes) leading slash
> (like "/DocHeader")
> 
> When does it have the slash prefix? What is the rule for the names?
> 
> Thanks.
> _______________________________________________
> 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