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

Function SLgetProgramLine

src/API/SLAPI.cpp:592–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592uint32_t SLgetProgramLine(Program* module) {
593 if (!ModuleHasFirstFileContent(module)) return 0;
594 return module->getFileContents()[0]->Line(module->getNodeIds()[0]);
595}
596
597VObjectType SLgetProgramType(Program* module) {
598 if (!module) return VObjectType::slNoType;

Callers

nothing calls this directly

Calls 2

LineMethod · 0.45

Tested by

no test coverage detected