Find token and rule refs plus refs to them in actions; side-effect: update Alternatives
Trigger checks for various kinds of attribute expressions.
No side-effects except for setting options into the appropriate node.
Do as much semantic checking as we can and fill in grammar with rules, actions, and token definitions.
Check for symbol problems; no side-effects.
Collects (create) rules, terminals, strings, actions, scopes etc...
Look for errors and deadcode stuff
Copyright © 1992–2017 ANTLR. All rights reserved.