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

Method getPackage

src/Design/Design.cpp:435–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435Package* Design::getPackage(std::string_view name) const {
436 PackageNamePackageDefinitionMultiMap::const_iterator itr =
437 m_packageDefinitions.find(name);
438 if (itr == m_packageDefinitions.end()) {
439 return nullptr;
440 } else {
441 return (*itr).second;
442 }
443}
444
445Program* Design::getProgram(std::string_view name) const {
446 ProgramNameProgramDefinitionMap::const_iterator itr =

Callers 15

evalExprMethod · 0.45
importPackageMethod · 0.45
collectParams_Method · 0.45
bindDataType_Method · 0.45
locateStaticVariable_Method · 0.45
bindStructInPackageFunction · 0.45
compileVariableMethod · 0.45
compileTypespecMethod · 0.45
writeImportedSymbolsMethod · 0.45
lateTypedefBindingMethod · 0.45
lateBindingMethod · 0.45
getTaskFuncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected