MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / SLgetClassFile

Function SLgetClassFile

src/API/SLAPI.cpp:523–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523std::string SLgetClassFile(ClassDefinition* module) {
524 if (!ModuleHasFirstFileContent(module)) return "";
525 return std::string(FileSystem::getInstance()->toPath(
526 module->getFileContents()[0]->getFileId(module->getNodeIds()[0])));
527}
528
529uint32_t SLgetClassLine(ClassDefinition* module) {
530 if (!ModuleHasFirstFileContent(module)) return 0;

Callers 3

slUserCallbackPerDesignFunction · 0.85
slUserCallbackPerDesignFunction · 0.85
slUserCallbackPerDesignFunction · 0.85

Calls 3

toPathMethod · 0.80
getFileIdMethod · 0.45

Tested by

no test coverage detected