MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / getChildByName

Method getChildByName

addons/misra_9.py:92–96  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

90 return self.children[index] if 0 <= index < len(self.children) else None
91
92 def getChildByName(self, name):
93 for c in self.children:
94 if c.name == name:
95 return c
96 return None
97
98 def getNextValueElement(self, root):
99 current = self

Callers 1

getElementByDesignatorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected