Where are those attributes of attribute grammars located in the generated parser?

9 views
Skip to first unread message

Matti Viljamaa

unread,
May 8, 2017, 12:37:23 PM5/8/17
to antlr-discussion
Where are those attributes of attribute grammars located in the generated parser?

I made a simple test grammar

grammar Test;
s : program {classes = []};
program : (':')+ EOF {classes.append(3)};

So I would think I can find classes and classes[0] somewhere in the generated parser, but where are they?
Reply all
Reply to author
Forward
0 new messages