On Nov 26, 2010, at 4:56 PM, Arthur Goldberg wrote:
>
> as per an example on p. 166 of Parr's "... ANTLR Reference" (TDAR):
>> /** Collect the result trees from all formalArg invocations
>> * and put into an AST list.
>> */
>> formalArgs : formalArg (',' formalArg)* -> formalArg+
>> | ;
> How does one walk these repeated elements in a tree grammar? I'm unable
> to find any documentation in TDAR or on antlr.org.
hi. try formatArg+ in tree grammar :)
Remember right side of tree construction is usually the tree grammar.
Ter
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.