1 #pragma once 2 3 #include "AST.h" 4 #include <string> 5 6 class Package : public ASTNode 7 { 8 public: Package()9 Package() {} ~Package()10 virtual ~Package() {} 11 setPath(const std::string & path)12 void setPath(const std::string &path) { this->_path = path; } path()13 const std::string &path() const { return this->_path; } 14 15 LocalScope scope; 16 typedef std::unordered_set<std::string> ModuleContainer; 17 ModuleContainer usedlibs; 18 private: 19 std::string _path; 20 }; 21