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

Method __repr__

addons/misra.py:1332–1337  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1330 self.expansionList = res.group(2)
1331
1332 def __repr__(self):
1333 attrs = ["name", "args", "expansionList"]
1334 return "{}({})".format(
1335 "Define",
1336 ", ".join(("{}={}".format(a, repr(getattr(self, a))) for a in attrs))
1337 )
1338
1339
1340def getAddonRules():

Callers

nothing calls this directly

Calls 2

formatMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected