MCPcopy Create free account
hub / github.com/KDE/kdevelop / locals

Method locals

kdevplatform/debugger/variable/variablecollection.cpp:393–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391
392
393Locals* VariablesRoot::locals(const QString& name)
394{
395 auto localsIt = m_locals.find(name);
396 if (localsIt == m_locals.end()) {
397 localsIt = m_locals.insert(name, new Locals(model(), this, name));
398 appendChild(*localsIt);
399 }
400 return *localsIt;
401}
402
403QHash<QString, Locals*> VariablesRoot::allLocals() const
404{

Callers 2

localVariableIndexAtMethod · 0.80
handleMethod · 0.80

Calls 5

modelFunction · 0.85
findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45
isEmptyMethod · 0.45

Tested by 1

localVariableIndexAtMethod · 0.64