MCPcopy Create free account
hub / github.com/csyonghe/Spire / LoadModuleSource

Method LoadModuleSource

Source/SpireLib/SpireLib.cpp:649–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647 }
648
649 int LoadModuleSource(CoreLib::String src, CoreLib::String fileName, SpireDiagnosticSink* sink)
650 {
651 List<CompileUnit> units;
652 int errCount = LoadModuleUnits(units, src, fileName, sink);
653 states.Last().moduleUnits.AddRange(units);
654 UpdateModuleLibrary(units, sink);
655 return errCount;
656 }
657
658 int LoadModuleUnits(List<CompileUnit> & units, CoreLib::String src, CoreLib::String fileName, SpireDiagnosticSink* sink)
659 {

Callers 2

spLoadModuleLibraryFunction · 0.80

Calls 1

AddRangeMethod · 0.80

Tested by

no test coverage detected