clang
9.0.0
include
clang
Index
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
#include <memory>
14
15
namespace
clang
{
16
class
ASTContext;
17
18
namespace
comments {
19
class
FullComment;
20
class
HTMLTagComment;
21
}
22
23
namespace
index {
24
class
CommentToXMLConverter
{
25
public
:
26
CommentToXMLConverter
();
27
~
CommentToXMLConverter
();
28
29
void
convertCommentToHTML(
const
comments::FullComment
*FC,
30
SmallVectorImpl<char>
&HTML,
31
const
ASTContext
&Context);
32
33
void
convertHTMLTagNodeToText(
const
comments::HTMLTagComment
*HTC,
34
SmallVectorImpl<char>
&
Text
,
35
const
ASTContext
&Context);
36
37
void
convertCommentToXML(
const
comments::FullComment
*FC,
38
SmallVectorImpl<char>
&XML,
39
const
ASTContext
&Context);
40
};
41
42
}
// namespace index
43
}
// namespace clang
44
45
#endif // LLVM_CLANG_INDEX_COMMENTTOXML_H
46
clang::ASTContext
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
Definition:
ASTContext.h:154
llvm::SmallVectorImpl< char >
LLVM.h
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
clang
Dataflow Directional Tag Classes.
Definition:
CFGReachabilityAnalysis.h:21
clang::comments::HTMLTagComment
Abstract class for opening and closing HTML tags.
Definition:
Comment.h:371
Text
StringRef Text
Definition:
Format.cpp:1712
clang::index::CommentToXMLConverter
Definition:
CommentToXML.h:24
clang::comments::FullComment
A full comment attached to a declaration, contains block content.
Definition:
Comment.h:1091
Generated on Thu Sep 19 2019 15:18:16 for clang by
1.8.13