|
My Project
|
Class representing an 'if' tag in a template. More...
Classes | |
| struct | GuardedNodes |
Public Member Functions | |
| TemplateNodeIf (TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) | |
| ~TemplateNodeIf () | |
| void | render (FTextStream &ts, TemplateContext *c) |
Public Member Functions inherited from TemplateNodeCreator< TemplateNodeIf > | |
| TemplateNodeCreator (TemplateParser *parser, TemplateNode *parent, int line) | |
| TemplateImpl * | getTemplate () |
Public Member Functions inherited from TemplateNode | |
| TemplateNode (TemplateNode *parent) | |
| virtual | ~TemplateNode () |
| TemplateNode * | parent () |
Private Attributes | |
| QList< GuardedNodes > | m_ifGuardedNodes |
| TemplateNodeList | m_falseNodes |
Additional Inherited Members | |
Static Public Member Functions inherited from TemplateNodeCreator< TemplateNodeIf > | |
| static TemplateNode * | createInstance (TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
Protected Member Functions inherited from TemplateNodeCreator< TemplateNodeIf > | |
| void | mkpath (TemplateContextImpl *ci, const QCString &fileName) |
Protected Attributes inherited from TemplateNodeCreator< TemplateNodeIf > | |
| QCString | m_templateName |
| int | m_line |
Class representing an 'if' tag in a template.
Definition at line 2862 of file template.cpp.
|
inline |
Definition at line 2865 of file template.cpp.
References TemplateToken::data, TemplateNodeIf::GuardedNodes::guardAst, TemplateToken::line, TemplateNodeIf::GuardedNodes::line, m_falseNodes, m_ifGuardedNodes, TemplateNodeCreator< TemplateNodeIf >::m_templateName, TemplateParser::parse(), ExpressionParser::parse(), TemplateParser::removeNextToken(), TemplateParser::takeNextToken(), TRACE, TemplateNodeIf::GuardedNodes::trueNodes, and TemplateParser::warn().
|
inline |
Definition at line 2913 of file template.cpp.
|
inlinevirtual |
Implements TemplateNode.
Definition at line 2917 of file template.cpp.
References TemplateNodeIf::GuardedNodes::guardAst, TemplateNodeIf::GuardedNodes::line, m_falseNodes, m_ifGuardedNodes, TemplateNodeCreator< TemplateNodeIf >::m_line, TemplateNodeCreator< TemplateNodeIf >::m_templateName, TemplateNodeList::render(), ExprAst::resolve(), TemplateContextImpl::setLocation(), TemplateVariant::toBool(), TemplateNodeIf::GuardedNodes::trueNodes, and TemplateContextImpl::warn().
|
private |
Definition at line 2958 of file template.cpp.
Referenced by render(), and TemplateNodeIf().
|
private |
Definition at line 2957 of file template.cpp.
Referenced by render(), and TemplateNodeIf().