def __parse(self, viewlist, filename):
    env = self.state.document.settings.env
    compat = self.options.get('compat', env.config.cautodoc_compat)
    clang = self.options.get('clang', env.config.cautodoc_clang)
    comments = parse(filename, compat=compat, clang=clang)
    for (comment, meta) in comments:
        lineoffset = (meta['line'] - 1)
        lines = statemachine.string2lines(comment, 8, convert_whitespace=True)
        for line in lines:
            viewlist.append(line, filename, lineoffset)
            lineoffset += 1
def __parse(self, viewlist, filename):
    env = self.state.document.settings.env
    compat = self.options.get('compat', env.config.cautodoc_compat)
    clang = self.options.get('clang', env.config.cautodoc_clang)
    comments = parse(filename, compat=compat, clang=clang)
    for (comment, meta) in comments:
        lineoffset = (meta['line'] - 1)
        lines = statemachine.string2lines(comment, 8, convert_whitespace=True)
        for line in lines:
            viewlist.append(line, filename, lineoffset)
            lineoffset += 1