clang-tools 22.0.0git
clang::doc::ClangDocContext Struct Reference

#include <Representation.h>

Public Member Functions

 ClangDocContext (tooling::ExecutionContext *ECtx, StringRef ProjectName, bool PublicOnly, StringRef OutDirectory, StringRef SourceRoot, StringRef RepositoryUrl, StringRef RepositoryCodeLinePrefix, StringRef Base, std::vector< std::string > UserStylesheets, clang::DiagnosticsEngine &Diags, bool FTimeTrace=false)

Public Attributes

tooling::ExecutionContext * ECtx
std::string ProjectName
std::string OutDirectory
std::string SourceRoot
std::optional< std::string > RepositoryUrl
std::optional< std::string > RepositoryLinePrefix
std::vector< std::string > UserStylesheets
std::vector< std::string > JsScripts
StringRef Base
llvm::StringMap< std::string > MustacheTemplates
clang::DiagnosticsEngine & Diags
Index Idx
int Granularity
bool PublicOnly
bool FTimeTrace

Detailed Description

Definition at line 609 of file Representation.h.

Constructor & Destructor Documentation

◆ ClangDocContext()

clang::doc::ClangDocContext::ClangDocContext ( tooling::ExecutionContext * ECtx,
StringRef ProjectName,
bool PublicOnly,
StringRef OutDirectory,
StringRef SourceRoot,
StringRef RepositoryUrl,
StringRef RepositoryCodeLinePrefix,
StringRef Base,
std::vector< std::string > UserStylesheets,
clang::DiagnosticsEngine & Diags,
bool FTimeTrace = false )

Member Data Documentation

◆ Base

StringRef clang::doc::ClangDocContext::Base

Definition at line 631 of file Representation.h.

Referenced by ClangDocContext().

◆ Diags

clang::DiagnosticsEngine& clang::doc::ClangDocContext::Diags

◆ ECtx

tooling::ExecutionContext* clang::doc::ClangDocContext::ECtx

Definition at line 615 of file Representation.h.

Referenced by ClangDocContext().

◆ FTimeTrace

bool clang::doc::ClangDocContext::FTimeTrace

Definition at line 640 of file Representation.h.

Referenced by ClangDocContext().

◆ Granularity

int clang::doc::ClangDocContext::Granularity

Definition at line 638 of file Representation.h.

◆ Idx

Index clang::doc::ClangDocContext::Idx

Definition at line 637 of file Representation.h.

Referenced by clang::doc::genIndex(), and clang::doc::serializeIndex().

◆ JsScripts

std::vector<std::string> clang::doc::ClangDocContext::JsScripts

◆ MustacheTemplates

llvm::StringMap<std::string> clang::doc::ClangDocContext::MustacheTemplates

◆ OutDirectory

std::string clang::doc::ClangDocContext::OutDirectory

◆ ProjectName

std::string clang::doc::ClangDocContext::ProjectName

◆ PublicOnly

bool clang::doc::ClangDocContext::PublicOnly

Definition at line 639 of file Representation.h.

Referenced by ClangDocContext().

◆ RepositoryLinePrefix

std::optional<std::string> clang::doc::ClangDocContext::RepositoryLinePrefix

Definition at line 624 of file Representation.h.

Referenced by ClangDocContext(), and clang::doc::writeSourceFileRef().

◆ RepositoryUrl

std::optional<std::string> clang::doc::ClangDocContext::RepositoryUrl

◆ SourceRoot

std::string clang::doc::ClangDocContext::SourceRoot

Definition at line 618 of file Representation.h.

Referenced by ClangDocContext().

◆ UserStylesheets

std::vector<std::string> clang::doc::ClangDocContext::UserStylesheets

The documentation for this struct was generated from the following files: