Collects information about module format adherence (AMD/CommonJS) and dependencies in one AST parse.