Class SymbolCollector


  • public class SymbolCollector
    extends GrammarTreeVisitor
    Collects (create) rules, terminals, strings, actions, scopes etc... from AST side-effects: sets resolver field of asts for actions and defines predicates via definePredicateInAlt(), collects actions and stores in alts. TODO: remove side-effects!