My Project
|
Class representing a 'range' tag in a template. More...
Public Member Functions | |
TemplateNodeRange (TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) | |
~TemplateNodeRange () | |
void | render (FTextStream &ts, TemplateContext *c) |
Public Member Functions inherited from TemplateNodeCreator< TemplateNodeRange > | |
TemplateNodeCreator (TemplateParser *parser, TemplateNode *parent, int line) | |
TemplateImpl * | getTemplate () |
Public Member Functions inherited from TemplateNode | |
TemplateNode (TemplateNode *parent) | |
virtual | ~TemplateNode () |
TemplateNode * | parent () |
Private Attributes | |
bool | m_down |
ExprAst * | m_startExpr |
ExprAst * | m_endExpr |
QCString | m_var |
TemplateNodeList | m_loopNodes |
Additional Inherited Members | |
Static Public Member Functions inherited from TemplateNodeCreator< TemplateNodeRange > | |
static TemplateNode * | createInstance (TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
Protected Member Functions inherited from TemplateNodeCreator< TemplateNodeRange > | |
void | mkpath (TemplateContextImpl *ci, const QCString &fileName) |
Protected Attributes inherited from TemplateNodeCreator< TemplateNodeRange > | |
QCString | m_templateName |
int | m_line |
Class representing a 'range' tag in a template.
Definition at line 3018 of file template.cpp.
|
inline |
Definition at line 3021 of file template.cpp.
References m_down, m_endExpr, m_loopNodes, m_startExpr, TemplateNodeCreator< TemplateNodeRange >::m_templateName, m_var, TemplateParser::parse(), ExpressionParser::parse(), TemplateParser::removeNextToken(), TRACE, and TemplateParser::warn().
|
inline |
Definition at line 3089 of file template.cpp.
References m_endExpr, and m_startExpr.
|
inlinevirtual |
Implements TemplateNode.
Definition at line 3095 of file template.cpp.
References TemplateStruct::alloc(), TemplateAutoRef< T >::get(), TemplateContext::getRef(), TemplateVariant::Integer, m_down, m_endExpr, TemplateNodeCreator< TemplateNodeRange >::m_line, m_loopNodes, m_startExpr, TemplateNodeCreator< TemplateNodeRange >::m_templateName, m_var, TemplateContext::pop(), TemplateContext::push(), TemplateNodeList::render(), ExprAst::resolve(), TemplateStruct::set(), TemplateContext::set(), TemplateContextImpl::setLocation(), TemplateVariant::toInt(), TemplateVariant::type(), and TemplateContextImpl::warn().
|
private |
Definition at line 3178 of file template.cpp.
Referenced by render(), and TemplateNodeRange().
|
private |
Definition at line 3180 of file template.cpp.
Referenced by render(), TemplateNodeRange(), and ~TemplateNodeRange().
|
private |
Definition at line 3182 of file template.cpp.
Referenced by render(), and TemplateNodeRange().
|
private |
Definition at line 3179 of file template.cpp.
Referenced by render(), TemplateNodeRange(), and ~TemplateNodeRange().
|
private |
Definition at line 3181 of file template.cpp.
Referenced by render(), and TemplateNodeRange().