public override void FinishPrequels(GrammarAST firstPrequel)
{
if (firstPrequel == null)
return;
GrammarAST parent = (GrammarAST)firstPrequel.Parent;
IList<GrammarAST> options = parent.GetAllChildrenWithType(OPTIONS);
IList<GrammarAST> imports = parent.GetAllChildrenWithType(IMPORT);
IList<GrammarAST> tokens = parent.GetAllChildrenWithType(TOKENS_SPEC);
CheckNumPrequels(options, imports, tokens);
}