MCPcopy Create free account
hub / github.com/KDAB/GammaRay / isPartOfBindingLoop

Method isPartOfBindingLoop

core/bindingnode.cpp:100–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 return m_foundBindingLoop;
99}
100bool GammaRay::BindingNode::isPartOfBindingLoop() const
101{
102 if (m_foundBindingLoop) {
103 return true;
104 }
105 for (const auto &dependency : m_dependencies) {
106 if (dependency->isPartOfBindingLoop()) {
107 return true;
108 }
109 }
110 return false;
111}
112GammaRay::SourceLocation GammaRay::BindingNode::sourceLocation() const
113{
114 return m_sourceLocation;

Callers 4

findDependenciesForMethod · 0.80
scanForBindingLoopsMethod · 0.80
testMockProviderMethod · 0.80

Calls

no outgoing calls

Tested by 2

testMockProviderMethod · 0.64