MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getModuleInfo

Method getModuleInfo

src/simulate/debug_info.cpp:895–903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

893 }
894
895 ModuleInfo FileAccess::getModuleInfo ( const string & req, const string & from ) const {
896 auto mod = getModuleName(req);
897 string modFName = getModuleFileName(req);
898 string modFn = getIncludeFileName(from, modFName) + ".das";
899 ModuleInfo info;
900 info.moduleName = mod;
901 info.fileName = modFn;
902 return info;
903 }
904
905 void FileAccess::freeSourceData() {
906 for ( auto & fp : files ) {

Callers 2

ast_requireModuleFunction · 0.45
getPrerequisitsFunction · 0.45

Calls 2

getModuleNameFunction · 0.85
getModuleFileNameFunction · 0.85

Tested by

no test coverage detected