LLVM 22.0.0git
|
Public Types | |
enum | Type { Root , Text , Partial , Variable , UnescapeVariable , Section , InvertSection } |
Public Member Functions | |
ASTNode (MustacheContext &Ctx) | |
ASTNode (MustacheContext &Ctx, std::string Body, ASTNode *Parent) | |
ASTNode (MustacheContext &Ctx, Type Ty, Accessor Accessor, ASTNode *Parent) | |
void | addChild (AstPtr Child) |
void | setRawBody (std::string NewBody) |
void | setIndentation (size_t NewIndentation) |
void | render (const llvm::json::Value &Data, llvm::raw_ostream &OS) |
Definition at line 129 of file Mustache.cpp.
Enumerator | |
---|---|
Root | |
Text | |
Partial | |
Variable | |
UnescapeVariable | |
Section | |
InvertSection |
Definition at line 131 of file Mustache.cpp.
|
inline |
Definition at line 141 of file Mustache.cpp.
References Root.
|
inline |
Definition at line 144 of file Mustache.cpp.
References ASTNode(), llvm::move(), and Text.
|
inline |
Definition at line 149 of file Mustache.cpp.
References ASTNode(), and llvm::move().
|
inline |
Definition at line 153 of file Mustache.cpp.
void llvm::mustache::ASTNode::render | ( | const llvm::json::Value & | Data, |
llvm::raw_ostream & | OS ) |
Definition at line 712 of file Mustache.cpp.
References InvertSection, llvm_unreachable, Partial, Root, Section, Text, UnescapeVariable, and Variable.
|
inline |
Definition at line 157 of file Mustache.cpp.
|
inline |
Definition at line 155 of file Mustache.cpp.