File indexing completed on 2026-05-10 08:36:56
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_CLANG_INDEX_COMMENTTOXML_H
0010 #define LLVM_CLANG_INDEX_COMMENTTOXML_H
0011
0012 #include "clang/Basic/LLVM.h"
0013
0014 namespace clang {
0015 class ASTContext;
0016
0017 namespace comments {
0018 class FullComment;
0019 class HTMLTagComment;
0020 }
0021
0022 namespace index {
0023 class CommentToXMLConverter {
0024 public:
0025 CommentToXMLConverter();
0026 ~CommentToXMLConverter();
0027
0028 void convertCommentToHTML(const comments::FullComment *FC,
0029 SmallVectorImpl<char> &HTML,
0030 const ASTContext &Context);
0031
0032 void convertHTMLTagNodeToText(const comments::HTMLTagComment *HTC,
0033 SmallVectorImpl<char> &Text,
0034 const ASTContext &Context);
0035
0036 void convertCommentToXML(const comments::FullComment *FC,
0037 SmallVectorImpl<char> &XML,
0038 const ASTContext &Context);
0039 };
0040
0041 }
0042 }
0043
0044 #endif
0045