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

Function SLgetClassFileContent

src/API/SLAPI.cpp:539–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537}
538
539FileContent* SLgetClassFileContent(ClassDefinition* module) {
540 if (!ModuleHasFirstFileContent(module)) return nullptr;
541 // TODO(Alain): Fix api.
542 return const_cast<FileContent*>(module->getFileContents()[0]);
543}
544
545RawNodeId SLgetClassRootNode(ClassDefinition* module) {
546 if (!module || module->getNodeIds().empty()) return InvalidNodeId;

Callers 2

slUserCallbackPerDesignFunction · 0.85
slUserCallbackPerDesignFunction · 0.85

Calls 1

Tested by

no test coverage detected