def METHOD_NAME(self, data: str):
    data_lines = data.split("\n")
    for line, data_line in enumerate(data_lines):
        self._line_count = line + 1
        self.feed(data_line)
    while self._tag_queue:
        opening_tag, opening_tag_line = self._tag_queue.pop()
        _warn(f"Opening tag '{opening_tag}' at line {opening_tag_line} has no matching closing tag.")