[antlr-interest] String template return val propagation

Terence Parr parrt at cs.usfca.edu
Thu Oct 15 14:03:30 PDT 2009


On Oct 15, 2009, at 12:52 PM, Bill Andersen wrote:

Hi Bill

> text_block
> 	: ^(AS_TEXT name phrase+)
> 	  -> text(name={$name.st})
> 	;
>
> name
> 	: prefixed_name

-> {$prefixed_name.st}

must manually pass thru rules like this.
Ter


More information about the antlr-interest mailing list