1 #ifndef __TAN_SRC_ANALYSIS_ORGANIZE_PACKAGES_H__
2 #define __TAN_SRC_ANALYSIS_ORGANIZE_PACKAGES_H__
4 #include "common/compiler_action.h"
5 #include "base/container.h"
19 vector<Package *> run_impl(vector<Program *> ps);
21 DECLARE_AST_VISITOR_IMPL(
Program);
26 umap<str, vector<Context *>> _package_top_level_ctx{};
27 umap<str, vector<ASTBase *>> _package_top_level_asts{};
A generic representation of Intrinsic variables/functions.
Organize a list of source files into their corresponding packages according to the code....