[stringtemplate-interest] Dynamic Template Invocation
Terence Parr
parrt at cs.usfca.edu
Tue May 12 16:46:47 PDT 2009
Use a different StringTemplateGroup and ref same template.
Ter
On May 12, 2009, at 4:37 PM, Jeff Bergman wrote:
> I am trying to use the dynamic variable invocation of a template
> within another template. The only problem is the template name is
> not the dynamic part. Instead the path to the template is dynamic.
> I tried the following code and it doesn't appear to work.
>
> $(ThemeRoot)/List()$
>
> I have multiple themes that all have the same template files but
> with different html. And I am trying to invoke them as above. I
> don't want to use a full variable name like.
>
> $(ThemedList)()$
>
> Is there a way I can accomplish the first scenario?
> _______________________________________________
> 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