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

Method getLastValueElement

addons/misra_9.py:124–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122 return current
123
124 def getLastValueElement(self):
125 current = self
126 # Move to last child as long as children exists
127 while len(current.children) > 0:
128 current = current.children[-1]
129 return current
130
131 def getChildByValueElement(self, ed):
132 potentialChild = ed

Callers 1

unwindAndContinueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected