#include <docparser.h>
Inheritance diagram for DocHtmlListItem:
Public Member Functions | |
DocHtmlListItem (DocNode *parent, const HtmlAttribList &attribs, int num) | |
Kind | kind () const |
int | itemNumber () const |
const HtmlAttribList & | attribs () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
int | parse () |
int | parseXml () |
Definition at line 1092 of file docparser.h.
DocHtmlListItem::DocHtmlListItem | ( | DocNode * | parent, | |
const HtmlAttribList & | attribs, | |||
int | num | |||
) | [inline] |
Definition at line 1095 of file docparser.h.
Kind DocHtmlListItem::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1097 of file docparser.h.
References DocNode::Kind_HtmlListItem.
int DocHtmlListItem::itemNumber | ( | ) | const [inline] |
const HtmlAttribList& DocHtmlListItem::attribs | ( | ) | const [inline] |
DocNode* DocHtmlListItem::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 1100 of file docparser.h.
Referenced by ManDocVisitor::visitPre().
void DocHtmlListItem::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1101 of file docparser.h.
References CompAccept< T >::accept().
int DocHtmlListItem::parse | ( | ) |
Definition at line 3448 of file docparser.cpp.
References DBG, CompAccept< DocHtmlListItem >::m_children, DocPara::markFirst(), DocPara::markLast(), DocPara::parse(), and TK_NEWPARA.
Referenced by DocHtmlList::parse().
int DocHtmlListItem::parseXml | ( | ) |
Definition at line 3473 of file docparser.cpp.
References DBG, CompAccept< DocHtmlListItem >::m_children, DocPara::markFirst(), DocPara::markLast(), DocPara::parse(), RetVal_CloseXml, and RetVal_ListItem.
Referenced by DocHtmlList::parseXml().