[antlr-interest] question about ".st" in Mantra grammar

Tom Smith yotommy at gmail.com
Mon Nov 26 13:32:38 PST 2007


I found a couple of mentions in the ANTLR book:

- the expr rule in templates/generator/2pass/Gen.g (page 215 of my book)
- Table 6.2 (Predefined parser rule attributes)
- Table 6.4 (Predefined attributes for tree grammar rules)

HTH,
Tom

On Nov 26, 2007 3:57 PM, Mark Volkmann <r.mark.volkmann at gmail.com> wrote:
> I understand that ifstat is a template in Java.stg, but what do the
> ".st" parts in that last line do? I couldn't find an example like this
> in the ANTLR book, but maybe I missed it.


More information about the antlr-interest mailing list