#pragma once #include #include "AST/SourceCode.h" #include "Index/Shared.h" namespace clice::feature { struct DocumentLink { /// The range of the whole link. LocalSourceRange range; /// The target string path. std::string file; }; using DocumentLinks = std::vector; /// Generate document link for main file. DocumentLinks documentLinks(CompilationUnit& unit); /// Generate document link for all source file. index::Shared indexDocumentLink(CompilationUnit& unit); } // namespace clice::feature