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

Method getClassDefinition

src/Design/Design.cpp:455–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455ClassDefinition* Design::getClassDefinition(std::string_view name) const {
456 ClassNameClassDefinitionMap::const_iterator itr =
457 m_uniqueClassDefinitions.find(name);
458 if (itr == m_uniqueClassDefinitions.end()) {
459 return nullptr;
460 } else {
461 return (*itr).second;
462 }
463}
464
465void Design::orderPackages() {
466 if (m_orderedPackageNames.empty()) return;

Callers 12

checkValidFunctionFunction · 0.45
checkValidBuiltinClass_Function · 0.45
bindSubRoutineCall_Method · 0.45
bindDataType_Method · 0.45
locateStaticVariable_Method · 0.45
bindStructInPackageFunction · 0.45
bindPortType_Method · 0.45
compileVariableMethod · 0.45
compileTypespecMethod · 0.45
addBuiltinTypesMethod · 0.45

Calls

no outgoing calls

Tested by 3

checkValidFunctionFunction · 0.36
checkValidBuiltinClass_Function · 0.36
bindSubRoutineCall_Method · 0.36