// Copyright (C) 2017 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #ifndef CPPAST_PARSE_FUNCTIONS_HPP_INCLUDED #define CPPAST_PARSE_FUNCTIONS_HPP_INCLUDED #include #include #include "raii_wrapper.hpp" namespace cppast { namespace detail { struct parse_context { CXTranslationUnit tu; CXFile file; type_safe::object_ref logger; type_safe::object_ref idx; }; std::unique_ptr parse_entity(const parse_context& context, const CXCursor& cur); } } // namespace cppast::detail #endif // CPPAST_PARSE_FUNCTIONS_HPP_INCLUDED