Thanks for the replies, Jim & Gerald.

Your responses and some more testing suggests the following to me:

1. I cannot nest a tree parser rule ("inner rule") in another rule
("outer rule"), and try to have the outer rule match additional nodes in
the subtree matched by the inner rule.

2. Consequently, the set of trees generated by rewrite expression does
not necessarily match the set of trees matched by the same rewrite
expression in the tree parser.

Am I in the ballpark here?

Jay

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to