DocHtmlList Class Reference

Node representing a Html list. More...

#include <docparser.h>

Inheritance diagram for DocHtmlList:

CompAccept< DocHtmlList > DocNode List of all members.

Public Types

enum  Type { Unordered, Ordered }

Public Member Functions

 DocHtmlList (DocNode *parent, const HtmlAttribList &attribs, Type t)
Kind kind () const
Type type () const
DocNodeparent () const
void accept (DocVisitor *v)
const HtmlAttribListattribs () const
int parse ()
int parseXml ()

Detailed Description

Node representing a Html list.

Definition at line 889 of file docparser.h.


Member Enumeration Documentation

enum DocHtmlList::Type

Enumerator:
Unordered 
Ordered 

Definition at line 892 of file docparser.h.


Constructor & Destructor Documentation

DocHtmlList::DocHtmlList ( DocNode parent,
const HtmlAttribList attribs,
Type  t 
) [inline]

Definition at line 893 of file docparser.h.


Member Function Documentation

Kind DocHtmlList::kind (  )  const [inline, virtual]

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 895 of file docparser.h.

References DocNode::Kind_HtmlList.

Type DocHtmlList::type (  )  const [inline]

Definition at line 896 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().

DocNode* DocHtmlList::parent (  )  const [inline, virtual]

Returns the parent of this node or 0 for the root node.

Implements DocNode.

Definition at line 897 of file docparser.h.

void DocHtmlList::accept ( DocVisitor v  )  [inline, virtual]

Acceptor function for node visitors. Part of the visitor pattern.

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 898 of file docparser.h.

References CompAccept< T >::accept().

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

Definition at line 899 of file docparser.h.

Referenced by HtmlDocVisitor::visitPre().

int DocHtmlList::parse (  ) 

Definition at line 3509 of file docparser.cpp.

References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYpushBackHtmlTag(), TokenInfo::endTag, g_token, HTML_LI, Mappers::htmlTagMapper, CompAccept< DocHtmlList >::m_children, Mapper::map(), TokenInfo::name, DocHtmlListItem::parse(), RetVal_EndList, RetVal_ListItem, RetVal_OK, TK_HTMLTAG, TK_NEWPARA, TK_WHITESPACE, tokToString(), Unordered, and warn_doc_error().

Referenced by DocPara::handleHtmlStartTag().

int DocHtmlList::parseXml (  ) 

Definition at line 3569 of file docparser.cpp.

References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYpushBackHtmlTag(), TokenInfo::endTag, g_token, Mappers::htmlTagMapper, CompAccept< DocHtmlList >::m_children, Mapper::map(), TokenInfo::name, DocHtmlListItem::parseXml(), RetVal_CloseXml, RetVal_EndList, RetVal_ListItem, RetVal_OK, TK_HTMLTAG, TK_NEWPARA, TK_WHITESPACE, tokToString(), Unordered, warn_doc_error(), and XML_ITEM.

Referenced by DocPara::handleHtmlStartTag().


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