Hi,

I'm currently working with the Java 1.6 grammar available on antlr 
website (not the tree grammar) and I need to detect method calls in my 
code (probably in the identifierSuffix rule).
Since parameter passing doesn't work very well with predicates, I 
thought following the advice of using a dynamic scope high enough in the 
hierarchy to pass contextual information between an arbitrary rule (say 
methodDeclaration) and identifierSuffix; but how can I be certain that 
the scope defined in methodDeclaration is available to identifierSuffix? 
What happens if identifierSuffix is called from another rule and the 
scope is not available?

Joel

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.

Reply via email to