clang-tools 23.0.0git
MDMustacheGenerator.cpp File Reference

This file contains the implementation of the MDMustacheGenerator, which generates documentation in Markdown format using Mustache templates. More...

#include "Generators.h"

Go to the source code of this file.

Classes

struct  clang::doc::MDMustacheGenerator

Namespaces

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

Functions

static GeneratorRegistry::Add< MDMustacheGeneratorclang::doc::MDMustache (MDMustacheGenerator::Format, "Generator for mustache Markdown output.")

Variables

static std::unique_ptr< MustacheTemplateFileclang::doc::RecordTemplate = nullptr
static std::unique_ptr< MustacheTemplateFileclang::doc::NamespaceTemplate = nullptr
static std::unique_ptr< MustacheTemplateFileclang::doc::AllFilesTemplate = nullptr
static std::unique_ptr< MustacheTemplateFileclang::doc::IndexTemplate = nullptr

Detailed Description

This file contains the implementation of the MDMustacheGenerator, which generates documentation in Markdown format using Mustache templates.

It defines how the structured data in Info objects is mapped to template tags to produce readable markdown documents.

Definition in file MDMustacheGenerator.cpp.