LLVM 22.0.0git
|
#include "llvm/Support/Mustache.h"
Public Member Functions | |
LLVM_ABI | Template (StringRef TemplateStr) |
Template (const Template &)=delete | |
Template & | operator= (const Template &)=delete |
LLVM_ABI | Template (Template &&Other) noexcept |
LLVM_ABI | ~Template () |
LLVM_ABI Template & | operator= (Template &&Other) noexcept |
LLVM_ABI void | render (const llvm::json::Value &Data, llvm::raw_ostream &OS) |
LLVM_ABI void | registerPartial (std::string Name, std::string Partial) |
LLVM_ABI void | registerLambda (std::string Name, Lambda Lambda) |
LLVM_ABI void | registerLambda (std::string Name, SectionLambda Lambda) |
LLVM_ABI void | overrideEscapeCharacters (DenseMap< char, std::string > Escapes) |
Definition at line 91 of file Mustache.h.
llvm::mustache::Template::Template | ( | StringRef | TemplateStr | ) |
Definition at line 738 of file Mustache.cpp.
References overrideEscapeCharacters(), and P.
|
noexcept |
Definition at line 750 of file Mustache.cpp.
|
default |
Definition at line 757 of file Mustache.cpp.
References llvm::Other.
Definition at line 736 of file Mustache.cpp.
Referenced by Template().
void llvm::mustache::Template::registerLambda | ( | std::string | Name, |
Lambda | Lambda | ||
) |
Definition at line 730 of file Mustache.cpp.
References Name.
void llvm::mustache::Template::registerLambda | ( | std::string | Name, |
SectionLambda | Lambda | ||
) |
Definition at line 732 of file Mustache.cpp.
References Name.
void llvm::mustache::Template::registerPartial | ( | std::string | Name, |
std::string | Partial | ||
) |
Definition at line 724 of file Mustache.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::insert(), Name, and P.
void llvm::mustache::Template::render | ( | const llvm::json::Value & | Data, |
llvm::raw_ostream & | OS | ||
) |
Definition at line 720 of file Mustache.cpp.
References llvm::Data, and OS.