clang  14.0.0git
CommentToXML.h
Go to the documentation of this file.
1 //===--- CommentToXML.h - Convert comments to XML representation ----------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_CLANG_INDEX_COMMENTTOXML_H
10 #define LLVM_CLANG_INDEX_COMMENTTOXML_H
11 
12 #include "clang/Basic/LLVM.h"
13 
14 namespace clang {
15 class ASTContext;
16 
17 namespace comments {
18 class FullComment;
19 class HTMLTagComment;
20 }
21 
22 namespace index {
24 public:
27 
30  const ASTContext &Context);
31 
34  const ASTContext &Context);
35 
38  const ASTContext &Context);
39 };
40 
41 } // namespace index
42 } // namespace clang
43 
44 #endif // LLVM_CLANG_INDEX_COMMENTTOXML_H
45 
clang::index::CommentToXMLConverter
Definition: CommentToXML.h:23
clang::index::CommentToXMLConverter::convertCommentToXML
void convertCommentToXML(const comments::FullComment *FC, SmallVectorImpl< char > &XML, const ASTContext &Context)
Definition: CommentToXML.cpp:1145
clang::index::CommentToXMLConverter::convertHTMLTagNodeToText
void convertHTMLTagNodeToText(const comments::HTMLTagComment *HTC, SmallVectorImpl< char > &Text, const ASTContext &Context)
Definition: CommentToXML.cpp:1137
clang::index::CommentToXMLConverter::CommentToXMLConverter
CommentToXMLConverter()
Definition: CommentToXML.cpp:1126
clang::index::CommentToXMLConverter::~CommentToXMLConverter
~CommentToXMLConverter()
Definition: CommentToXML.cpp:1127
clang::ASTContext
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
Definition: ASTContext.h:212
clang::comments::FullComment
A full comment attached to a declaration, contains block content.
Definition: Comment.h:1091
clang::comments::HTMLTagComment
Abstract class for opening and closing HTML tags.
Definition: Comment.h:371
LLVM.h
clang
Definition: CalledOnceCheck.h:17
Text
StringRef Text
Definition: Format.cpp:2334
llvm::SmallVectorImpl< char >
clang::index::CommentToXMLConverter::convertCommentToHTML
void convertCommentToHTML(const comments::FullComment *FC, SmallVectorImpl< char > &HTML, const ASTContext &Context)
Definition: CommentToXML.cpp:1129