clang-tools 22.0.0git
clang::doc::MustacheTemplateFile Class Reference

#include <Generators.h>

Public Member Functions

llvm::Error registerPartialFile (StringRef Name, StringRef FileName)
void render (llvm::json::Value &V, raw_ostream &OS)
 MustacheTemplateFile (std::unique_ptr< llvm::MemoryBuffer > &&B)

Static Public Member Functions

static Expected< std::unique_ptr< MustacheTemplateFile > > createMustacheFile (StringRef FileName)

Detailed Description

Definition at line 58 of file Generators.h.

Constructor & Destructor Documentation

◆ MustacheTemplateFile()

clang::doc::MustacheTemplateFile::MustacheTemplateFile ( std::unique_ptr< llvm::MemoryBuffer > && B)
inline

Definition at line 90 of file Generators.h.

Member Function Documentation

◆ createMustacheFile()

Expected< std::unique_ptr< MustacheTemplateFile > > clang::doc::MustacheTemplateFile::createMustacheFile ( StringRef FileName)
inlinestatic

◆ registerPartialFile()

llvm::Error clang::doc::MustacheTemplateFile::registerPartialFile ( StringRef Name,
StringRef FileName )
inline

Definition at line 76 of file Generators.h.

References clang::doc::createFileOpenError().

◆ render()

void clang::doc::MustacheTemplateFile::render ( llvm::json::Value & V,
raw_ostream & OS )
inline

Definition at line 88 of file Generators.h.


The documentation for this class was generated from the following file: