#ifndef __NASAL_IMPORT_H__ #define __NASAL_IMPORT_H__ class nasal_import { private: uint32_t error; std::vector files; void die(const std::string&,const char*); bool check_import(const nasal_ast&); bool check_exist(const std::string&); void linker(nasal_ast&,nasal_ast&&); nasal_ast file_import(nasal_ast&); nasal_ast load(nasal_ast&,uint16_t); public: uint32_t err(){return error;} void link(nasal_parse&,const std::string&); const std::vector& get_file() const {return files;} }; void nasal_import::die(const std::string& file,const char* stage) { ++error; std::cout<<"[import] in <\""<: error(s) occurred in "<