My Project
|
Class representing a 'block' tag in a template. More...
Public Member Functions | |
TemplateNodeBlock (TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) | |
void | render (FTextStream &ts, TemplateContext *c) |
QCString | name () const |
Public Member Functions inherited from TemplateNodeCreator< TemplateNodeBlock > | |
TemplateNodeCreator (TemplateParser *parser, TemplateNode *parent, int line) | |
TemplateImpl * | getTemplate () |
Public Member Functions inherited from TemplateNode | |
TemplateNode (TemplateNode *parent) | |
virtual | ~TemplateNode () |
TemplateNode * | parent () |
Private Attributes | |
QCString | m_blockName |
TemplateNodeList | m_nodes |
Additional Inherited Members | |
Static Public Member Functions inherited from TemplateNodeCreator< TemplateNodeBlock > | |
static TemplateNode * | createInstance (TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
Protected Member Functions inherited from TemplateNodeCreator< TemplateNodeBlock > | |
void | mkpath (TemplateContextImpl *ci, const QCString &fileName) |
Protected Attributes inherited from TemplateNodeCreator< TemplateNodeBlock > | |
QCString | m_templateName |
int | m_line |
Class representing a 'block' tag in a template.
Definition at line 3381 of file template.cpp.
|
inline |
Definition at line 3384 of file template.cpp.
References m_blockName, m_nodes, TemplateParser::parse(), TemplateParser::removeNextToken(), TemplateParser::templateName(), TRACE, and TemplateParser::warn().
|
inline |
Definition at line 3446 of file template.cpp.
References m_blockName.
Referenced by TemplateBlockContext::add(), and TemplateBlockContext::push().
|
inlinevirtual |
Implements TemplateNode.
Definition at line 3400 of file template.cpp.
References TemplateStruct::alloc(), TemplateContextImpl::blockContext(), TemplateImpl::engine(), TemplateEngine::enterBlock(), TemplateAutoRef< T >::get(), TemplateBlockContext::get(), TemplateNodeCreator< TemplateNodeBlock >::getTemplate(), TemplateEngine::leaveBlock(), m_blockName, TemplateNodeCreator< T >::m_line, TemplateNodeCreator< TemplateNodeBlock >::m_line, m_nodes, TemplateNodeCreator< T >::m_templateName, TemplateNodeCreator< TemplateNodeBlock >::m_templateName, TemplateBlockContext::pop(), TemplateContextImpl::pop(), TemplateBlockContext::push(), TemplateContextImpl::push(), TemplateNodeList::render(), render(), TemplateStruct::set(), TemplateContextImpl::set(), and TemplateContextImpl::setLocation().
Referenced by render().
|
private |
Definition at line 3452 of file template.cpp.
Referenced by name(), render(), and TemplateNodeBlock().
|
private |
Definition at line 3453 of file template.cpp.
Referenced by render(), and TemplateNodeBlock().