@classmethod
    def from_ast_file(cls, filename, index=None):
        if index is None:
            index = Index.create()

        ptr = conf.lib.clang_createTranslationUnit(index, filename)
        if not ptr:
            raise TranslationUnitLoadError(filename)

        return cls(ptr=ptr, index=index)
Add parsed request data to the node
dataset/ETHPy150Open punchagan/cinspect/cinspect/vendor/clang/cindex.py/TranslationUnit.from_ast_file--crossover with--dataset/ETHPy150Open dorneanu/appvulnms/src/core/parser/AppVulnXMLParser.py/AppVulnXMLParser.add_request_data