def class_name_from_text(self, a_text):
        """
            The name of the class represented by `a_text'.
        """
        temp = self._command_output
        a_text_no_comment = self._tools_regex["comment"].sub("", a_text)
        a_text_no_string = self._tools_regex["string"].sub('""',
                                                           a_text_no_comment)
        l_match_list = self._tools_regex["class"].findall(a_text_no_string)
        if len(l_match_list) > 0:
            l_class_name = l_match_list[0]
        else:
            l_class_name = ""
        self._command_output = temp
        return l_class_name
dataset/ETHPy150Open tioui/Vim_Eiffel_IDE/pyplugin/eiffel_project.py/project.class_name_from_text/original