[antlr-interest] Accessing the root grammar from an imported grammar

Andreas Meyer andreas.meyer at smartshift.de
Mon Mar 9 07:15:46 PDT 2009


Hi!

Is there a proper way to access the instance of a root grammar class, 
from a grammar that is imported? With some function like 
"getRootGrammar()" ? I have some members defined in my root grammar, and 
would like to access these from some of the imported grammars.

Andreas


More information about the antlr-interest mailing list