[stringtemplate-interest] Variables in Template Parameters
Terence Parr
parrt at cs.usfca.edu
Mon Nov 9 15:27:20 PST 2009
On Nov 9, 2009, at 3:15 PM, Zenaan Harkness wrote:
> On Mon, Nov 09, 2009 at 03:14:51PM -0600, Brain, Jim wrote:
>> Is there a way to allow $getter$, which is passed "get$name$()" to
>> expand $name$ to "Name"?
>
> $("get" + name)$
> $object.("get" + name)$
>
> Ter, just have to mention again - ST rocks!
:) It's the coolest 4000 lines of code around :)
Ter
More information about the stringtemplate-interest
mailing list