| Visitor to identify a grammar's real root. A real root is a
top-level nonterminal, whose production directly or indirectly
depends on all other top-level nonterminals. If a grammar has such
a root, this visitor annotates the grammar with the
Properties.ROOT root property.
Note that this visitor assumes that the entire grammar is
contained in a single module.
author: Robert Grimm version: $Revision: 1.12 $ |