@property<EOL><INDENT>def top_class(self):<DEDENT>
curr = self<EOL>parent = self.parent<EOL>while isinstance(parent, class_t):<EOL><INDENT>curr = parent<EOL>parent = parent.parent<EOL><DEDENT>return curr<EOL>
reference to a parent class, which contains this class and defined
        within a namespace

        if this class is defined under a namespace, self will be returned