// Iterate over the grammar's modules.
for (Module m : g.modules) {
try {
open(m.name + ".html");
} catch (IOException x) {
throw new VisitingException("Unable to access " + m.name + ".html",
x);
}
printer.register(this);
analyzer.process(m);
print(m);