|
My Project
|
#include <docparser.h>
Public Member Functions | |
| DocAutoListItem (DocNode *parent, int indent, int num) | |
| Kind | kind () const |
| int | itemNumber () const |
| void | accept (DocVisitor *v) |
| int | parse () |
Public Member Functions inherited from CompAccept< DocAutoListItem > | |
| CompAccept () | |
| virtual | ~CompAccept () |
| void | accept (DocAutoListItem *obj, DocVisitor *v) |
| const QList< DocNode > & | children () const |
| QList< DocNode > & | children () |
Public Member Functions inherited from DocNode | |
| DocNode () | |
| virtual | ~DocNode () |
| DocNode * | parent () const |
| void | setParent (DocNode *parent) |
| bool | isPreformatted () const |
Private Attributes | |
| int | m_indent |
| int | m_itemNum |
Node representing an item of a auto list
Definition at line 634 of file docparser.h.
| DocAutoListItem::DocAutoListItem | ( | DocNode * | parent, |
| int | indent, | ||
| int | num | ||
| ) |
Definition at line 4373 of file docparser.cpp.
References DocNode::m_parent, and DocNode::parent().
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
| v | Abstract visitor. |
Implements DocNode.
Definition at line 640 of file docparser.h.
References CompAccept< T >::accept().
|
inline |
Definition at line 639 of file docparser.h.
References m_itemNum.
Referenced by ManDocVisitor::visitPre().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 638 of file docparser.h.
References DocNode::Kind_AutoListItem.
| int DocAutoListItem::parse | ( | ) |
Definition at line 4379 of file docparser.cpp.
References g_nodeStack, g_token, TokenInfo::indent, DocPara::isEmpty(), CompAccept< DocAutoListItem >::m_children, m_indent, DocPara::markFirst(), DocPara::markLast(), DocPara::parse(), RetVal_OK, and TK_NEWPARA.
Referenced by DocAutoList::parse().
|
private |
Definition at line 644 of file docparser.h.
Referenced by parse().
|
private |
Definition at line 645 of file docparser.h.
Referenced by itemNumber().