clang-tools  9.0.0
Classes | Namespaces | Enumerations | Functions
HTMLGenerator.cpp File Reference
#include "Generators.h"
#include "Representation.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include <string>
Include dependency graph for HTMLGenerator.cpp:

Go to the source code of this file.

Classes

class  clang::doc::HTMLGenerator
 Generator for HTML documentation. More...
 

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::doc
 

Enumerations

enum  clang::doc::@11::NodeType
 

Functions

template<typename Derived , typename Base , typename = std::enable_if<std::is_base_of<Derived, Base>::value>>
static void clang::doc::AppendVector (std::vector< Derived > &&New, std::vector< Base > &Original)
 
static SmallString< 128 > clang::doc::computeRelativePath (StringRef FilePath, StringRef Directory)
 
static std::unique_ptr< TagNode > clang::doc::genLink (const Twine &Text, const Twine &Link)
 
static std::unique_ptr< HTMLNode > clang::doc::genTypeReference (const Reference &Type, StringRef CurrentDirectory)
 
static std::vector< std::unique_ptr< HTMLNode > > clang::doc::genReferenceList (const llvm::SmallVectorImpl< Reference > &Refs, const StringRef &CurrentDirectory)
 
static std::vector< std::unique_ptr< TagNode > > clang::doc::genHTML (const EnumInfo &I)
 
static std::vector< std::unique_ptr< TagNode > > clang::doc::genHTML (const FunctionInfo &I, StringRef ParentInfoDir)
 
static std::vector< std::unique_ptr< TagNode > > clang::doc::genEnumsBlock (const std::vector< EnumInfo > &Enums)
 
static std::unique_ptr< TagNode > clang::doc::genEnumMembersBlock (const llvm::SmallVector< SmallString< 16 >, 4 > &Members)
 
static std::vector< std::unique_ptr< TagNode > > clang::doc::genFunctionsBlock (const std::vector< FunctionInfo > &Functions, StringRef ParentInfoDir)
 
static std::vector< std::unique_ptr< TagNode > > clang::doc::genRecordMembersBlock (const llvm::SmallVector< MemberTypeInfo, 4 > &Members, StringRef ParentInfoDir)
 
static std::vector< std::unique_ptr< TagNode > > clang::doc::genReferencesBlock (const std::vector< Reference > &References, llvm::StringRef Title)
 
static std::unique_ptr< TagNode > clang::doc::writeFileDefinition (const Location &L)
 
static std::unique_ptr< HTMLNode > clang::doc::genHTML (const CommentInfo &I)
 
static std::unique_ptr< TagNode > clang::doc::genHTML (const std::vector< CommentInfo > &C)
 
static std::vector< std::unique_ptr< TagNode > > clang::doc::genHTML (const NamespaceInfo &I, std::string &InfoTitle)
 
static std::vector< std::unique_ptr< TagNode > > clang::doc::genHTML (const RecordInfo &I, std::string &InfoTitle)
 
static GeneratorRegistry::Add< HTMLGenerator > clang::doc::HTML (HTMLGenerator::Format, "Generator for HTML output.")
 

Enumeration Type Documentation

◆ NodeType

enum clang::doc::@11::NodeType

Definition at line 55 of file HTMLGenerator.cpp.

Variable Documentation

◆ Attributes

llvm::StringMap<llvm::SmallString<16> > Attributes

Definition at line 94 of file HTMLGenerator.cpp.

◆ Children

std::vector<std::unique_ptr<HTMLNode> > Children

◆ Indented

bool Indented

Definition at line 73 of file HTMLGenerator.cpp.

◆ InlineChildren

bool InlineChildren

Definition at line 88 of file HTMLGenerator.cpp.

◆ SelfClosing

bool SelfClosing

◆ Tag

HTMLTag Tag

◆ Text

std::string Text

◆ Type

NodeType Type