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

Method getFirstValueElement

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

Source from the content-addressed store, hash-verified

112 return None
113
114 def getFirstValueElement(self):
115 current = self
116
117 # Move to first child as long as children exists
118 next_child = current.getChildByIndex(0)
119 while next_child:
120 current = next_child
121 next_child = current.getChildByIndex(0)
122 return current
123
124 def getLastValueElement(self):
125 current = self

Callers 2

getNextValueElementMethod · 0.80
parseInitializerMethod · 0.80

Calls 1

getChildByIndexMethod · 0.80

Tested by

no test coverage detected