Factory class for creating tag AST nodes found in a template. More...
Classes | |
class | AutoRegister |
Helper class for registering a template AST node. More... | |
Public Types | |
typedef TemplateNode *(* | CreateFunc) (TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
Public Member Functions | |
TemplateNode * | create (const QCString &name, TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
void | registerTemplateNode (const QCString &name, CreateFunc func) |
Static Public Member Functions | |
static TemplateNodeFactory * | instance () |
Private Attributes | |
QDict< void > | m_registry |
Factory class for creating tag AST nodes found in a template.
Definition at line 4270 of file template.cpp.
typedef TemplateNode*(* TemplateNodeFactory::CreateFunc) (TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
Definition at line 4273 of file template.cpp.
|
inline |
Definition at line 4285 of file template.cpp.
|
inlinestatic |
Definition at line 4278 of file template.cpp.
|
inline |
Definition at line 4295 of file template.cpp.
|
private |
Definition at line 4311 of file template.cpp.