DocHtmlListItem Class Reference

Node representing a HTML list item. More...

#include <docparser.h>

Inheritance diagram for DocHtmlListItem:

CompAccept< DocHtmlListItem > DocNode List of all members.

Public Member Functions

 DocHtmlListItem (DocNode *parent, const HtmlAttribList &attribs, int num)
Kind kind () const
int itemNumber () const
const HtmlAttribListattribs () const
DocNodeparent () const
void accept (DocVisitor *v)
int parse ()
int parseXml ()

Detailed Description

Node representing a HTML list item.

Definition at line 1092 of file docparser.h.


Constructor & Destructor Documentation

DocHtmlListItem::DocHtmlListItem ( DocNode parent,
const HtmlAttribList attribs,
int  num 
) [inline]

Definition at line 1095 of file docparser.h.


Member Function Documentation

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]

Definition at line 1098 of file docparser.h.

Referenced by ManDocVisitor::visitPre().

const HtmlAttribList& DocHtmlListItem::attribs (  )  const [inline]

Definition at line 1099 of file docparser.h.

Referenced by HtmlDocVisitor::visitPre().

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.

Parameters:
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().


The documentation for this class was generated from the following files:



Generated on Mon Mar 31 10:58:58 2008 by  doxygen 1.5.1