[antlr-interest] String template return val propagation
Jim Idle
jimi at temporal-wave.com
Sat Oct 17 20:48:05 PDT 2009
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Bill Andersen
> Sent: Friday, October 16, 2009 1:22 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] String template return val propagation
>
> Thanks in advance
>
> text_block
> : ^(AS_TEXT name phrase+)
> -> text(name={$name.st})
> ;
>
> name
> : prefixed_name
{ $st = prefixed_name.st; }
You need to be explicit here :-)
> ;
>
More information about the antlr-interest
mailing list