1 #ifndef __TAN_SRC_ANALYSIS_PACKAGE_H__
2 #define __TAN_SRC_ANALYSIS_PACKAGE_H__
4 #include "base/container.h"
5 #include "ast/ast_base.h"
6 #include "common/dependency_graph.h"
15 Package(
const str &name, vector<ASTBase *> subtrees);
16 [[nodiscard]] vector<ASTBase *>
get_children()
const override;
17 str get_name()
const {
return _name; }
19 bool is_expr()
const override {
return false; }
20 bool is_stmt()
const override {
return false; }
27 vector<ASTBase *> _subtrees{};
vector< ASTBase * > get_children() const override
Get a ordered list of child nodes.