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

Function logRequireDependencyGraph

src/ast/ast_parse.cpp:1282–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1280 }
1281
1282 void logRequireDependencyGraph ( const string & fileName,
1283 const FileAccessPtr & access,
1284 string & modName,
1285 ModuleGroup & libGroup,
1286 TextWriter & logs ) {
1287 TextWriter tw;
1288 vector<ModuleInfo> req;
1289 vector<MissingRecord> missing;
1290 vector<RequireRecord> circular, notAllowed;
1291 vector<FileInfo *> chain;
1292 das_set<string> dependencies;
1293 das_hash_map<string, NamelessModuleReq> namelessReq;
1294 vector<NamelessMismatch> namelessMismatches;
1295 getPrerequisits(fileName, access, modName, req, missing, circular, notAllowed, chain, dependencies, namelessReq, namelessMismatches, libGroup, &tw, 1, false);
1296 logs << "module dependency graph:\n" << tw.str();
1297 }
1298
1299 ProgramPtr compileDaScript ( const string & fileName,
1300 const FileAccessPtr & access,

Callers 1

compileDaScriptFunction · 0.85

Calls 2

getPrerequisitsFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected