#include <docparser.h>
Inheritance diagram for DocAutoList:
Public Member Functions | |
DocAutoList (DocNode *parent, int indent, bool isEnumList, int depth) | |
Kind | kind () const |
bool | isEnumList () const |
int | indent () const |
DocNode * | parent () const |
int | depth () const |
void | accept (DocVisitor *v) |
int | parse () |
Definition at line 521 of file docparser.h.
DocAutoList::DocAutoList | ( | DocNode * | parent, | |
int | indent, | |||
bool | isEnumList, | |||
int | depth | |||
) | [inline] |
Definition at line 524 of file docparser.h.
Kind DocAutoList::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 528 of file docparser.h.
References DocNode::Kind_AutoList.
bool DocAutoList::isEnumList | ( | ) | const [inline] |
Definition at line 529 of file docparser.h.
Referenced by XmlDocVisitor::visitPost(), PrintDocVisitor::visitPost(), LatexDocVisitor::visitPost(), HtmlDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
int DocAutoList::indent | ( | ) | const [inline] |
DocNode* DocAutoList::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 531 of file docparser.h.
int DocAutoList::depth | ( | ) | const [inline] |
void DocAutoList::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 533 of file docparser.h.
References CompAccept< T >::accept().
int DocAutoList::parse | ( | ) |
Definition at line 3680 of file docparser.cpp.
References g_token, TokenInfo::indent, TokenInfo::isEnumList, CompAccept< DocAutoList >::m_children, DocAutoListItem::parse(), RetVal_OK, and TK_LISTITEM.
Referenced by DocPara::parse().