docs: def _add(self, codeobj):
          """Add a child (namespace, function, variable, class) to this object."""
          assert isinstance(codeobj, (CodeNamespace, CodeClass,
                                      CodeFunction, CodeVariable))
          self.children.append(codeobj)