#include <docparser.h>
Inheritance diagram for DocHtmlList:
Public Types | |
enum | Type { Unordered, Ordered } |
Public Member Functions | |
DocHtmlList (DocNode *parent, const HtmlAttribList &attribs, Type t) | |
Kind | kind () const |
Type | type () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
const HtmlAttribList & | attribs () const |
int | parse () |
int | parseXml () |
Definition at line 889 of file docparser.h.
enum DocHtmlList::Type |
DocHtmlList::DocHtmlList | ( | DocNode * | parent, | |
const HtmlAttribList & | attribs, | |||
Type | t | |||
) | [inline] |
Definition at line 893 of file docparser.h.
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.
v | Abstract visitor. |
Implements DocNode.
Definition at line 898 of file docparser.h.
References CompAccept< T >::accept().
const HtmlAttribList& DocHtmlList::attribs | ( | ) | const [inline] |
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().