> > > You can use ANTLR's scopes to do that. There are ways to tell if > a particular scope has been entered, how many times it has been > entered, and to retrieve information from any of those levels. > > I think that can be done, even by using a flag for the required rule. But, when we are doing a look ahead of LA(m+n) and say this rule (rule A) comes at LA(m) and ends before LA(m+n), there is no way to tell whether we have passed through that rule A, which might be used to make some decisions over there.
Or may be i am talking about something not achievable. Thanks, Gokul. 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.
