Public Member Functions | Private Attributes | List of all members
TemplateNode Class Referenceabstract

Base class of all nodes in a template's AST. More...

Inheritance diagram for TemplateNode:
TemplateImpl TemplateNodeCreator< T > TemplateNodeCreator< TemplateNodeBlock > TemplateNodeCreator< TemplateNodeCloseSubIndex > TemplateNodeCreator< TemplateNodeCreate > TemplateNodeCreator< TemplateNodeCycle > TemplateNodeCreator< TemplateNodeExtend > TemplateNodeCreator< TemplateNodeFor > TemplateNodeCreator< TemplateNodeIf > TemplateNodeCreator< TemplateNodeInclude > TemplateNodeCreator< TemplateNodeIndexEntry > TemplateNodeCreator< TemplateNodeMarkers > TemplateNodeCreator< TemplateNodeMsg > TemplateNodeCreator< TemplateNodeOpenSubIndex > TemplateNodeCreator< TemplateNodeRange > TemplateNodeCreator< TemplateNodeRepeat > TemplateNodeCreator< TemplateNodeResource > TemplateNodeCreator< TemplateNodeSet > TemplateNodeCreator< TemplateNodeSpaceless > TemplateNodeCreator< TemplateNodeTabbing > TemplateNodeCreator< TemplateNodeTree > TemplateNodeCreator< TemplateNodeWith > TemplateNodeText TemplateNodeVariable

Public Member Functions

 TemplateNode (TemplateNode *parent)
 
virtual ~TemplateNode ()
 
virtual void render (FTextStream &ts, TemplateContext *c)=0
 
TemplateNodeparent ()
 

Private Attributes

TemplateNodem_parent
 

Detailed Description

Base class of all nodes in a template's AST.

Definition at line 1639 of file template.cpp.

Constructor & Destructor Documentation

TemplateNode::TemplateNode ( TemplateNode parent)
inline

Definition at line 1642 of file template.cpp.

1642 : m_parent(parent) {}
TemplateNode * m_parent
Definition: template.cpp:1650
virtual TemplateNode::~TemplateNode ( )
inlinevirtual

Definition at line 1643 of file template.cpp.

1643 {}

Member Function Documentation

TemplateNode* TemplateNode::parent ( )
inline

Definition at line 1647 of file template.cpp.

1647 { return m_parent; }
TemplateNode * m_parent
Definition: template.cpp:1650
virtual void TemplateNode::render ( FTextStream ts,
TemplateContext c 
)
pure virtual

Member Data Documentation

TemplateNode* TemplateNode::m_parent
private

Definition at line 1650 of file template.cpp.


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