def _add_crc(self, node, kind, name):
self.current_crc = CRC(name, kind)
docstring = ast.get_docstring(node) or ""
for line in docstring.split('\n'):
self.get_collaborator(line)
self.get_responsibility(line)
self._crcs.append(self.current_crc)
评论列表
文章目录