tan  0.0.1
package.cpp
1 #include "ast/package.h"
2 
3 using namespace tanlang;
4 
5 Package::Package(const str &name, vector<ASTBase *> subtrees)
6  : ASTBase(ASTNodeType::PACKAGE, nullptr, 0), _name(name), _subtrees(subtrees) {}
7 
8 vector<ASTBase *> Package::get_children() const { return _subtrees; }