LLVM: llvm::mustache::ASTNode Class Reference (original) (raw)
Inheritance diagram for llvm::mustache::ASTNode:
| Public Member Functions |
|
|
ASTNode (MustacheContext &Ctx) |
|
ASTNode (MustacheContext &Ctx, StringRef Body, ASTNode *Parent) |
|
ASTNode (MustacheContext &Ctx, Type Ty, ArrayRef< StringRef > Accessor, ASTNode *Parent) |
| void |
addChild (AstPtr Child) |
| void |
setRawBody (StringRef NewBody) |
| void |
setIndentation (size_t NewIndentation) |
| void |
render (const llvm::json::Value &Data, MustacheOutputStream &OS) |
| Public Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< ASTNode, Options... >::type > |
|
| self_iterator |
getIterator () |
| reverse_self_iterator |
getReverseIterator () |
| std::enable_if_t< T::is_sentinel_tracking_explicit, bool > |
isSentinel () const |
|
Check whether this is the sentinel node. |
| Public Member Functions inherited from llvm::ilist_detail::node_parent_access< ilist_node_impl< ilist_detail::compute_node_options< ASTNode, Options... >::type >, ilist_detail::compute_node_options< ASTNode, Options... >::type::parent_ty > |
|
| const ilist_detail::compute_node_options< ASTNode, Options... >::type::parent_ty * |
getParent () const |
| void |
setParent (ilist_detail::compute_node_options< ASTNode, Options... >::type::parent_ty *Parent) |
Detailed Description
Definition at line 183 of file Mustache.cpp.
Member Enumeration Documentation
◆ Type
| Enumerator |
| Root |
| Text |
| Partial |
| Variable |
| UnescapeVariable |
| Section |
| InvertSection |
Definition at line 185 of file Mustache.cpp.
Constructor & Destructor Documentation
◆ ASTNode() [1/3]
◆ ASTNode() [2/3]
◆ ASTNode() [3/3]
Member Function Documentation
◆ addChild()
| void llvm::mustache::ASTNode::addChild ( AstPtr Child) |
inline |
◆ render()
◆ setIndentation()
| void llvm::mustache::ASTNode::setIndentation ( size_t NewIndentation) |
inline |
◆ setRawBody()
| void llvm::mustache::ASTNode::setRawBody ( StringRef NewBody) |
inline |
The documentation for this class was generated from the following file: