My Project
|
#include <docparser.h>
Public Member Functions | |
DocHtmlList (DocNode *parent, const HtmlAttribList &attribs, Type t) | |
Kind | kind () const |
Type | type () const |
void | accept (DocVisitor *v) |
const HtmlAttribList & | attribs () const |
int | parse () |
int | parseXml () |
Public Member Functions inherited from CompAccept< DocHtmlList > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocHtmlList *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 | |
Type | m_type |
HtmlAttribList | m_attribs |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
Protected Attributes inherited from CompAccept< DocHtmlList > | |
QList< DocNode > | m_children |
Protected Attributes inherited from DocNode | |
DocNode * | m_parent |
Node representing a Html list
Definition at line 1027 of file docparser.h.
enum DocHtmlList::Type |
|
inline |
Definition at line 1031 of file docparser.h.
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 1035 of file docparser.h.
References CompAccept< T >::accept().
|
inline |
Definition at line 1036 of file docparser.h.
References m_attribs.
Referenced by HtmlDocVisitor::visitPre().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1033 of file docparser.h.
References DocNode::Kind_HtmlList.
int DocHtmlList::parse | ( | ) |
Definition at line 4145 of file docparser.cpp.
References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYpushBackHtmlTag(), TokenInfo::endTag, g_fileName, g_nodeStack, g_token, HTML_LI, HTML_OL, HTML_UL, Mappers::htmlTagMapper, CompAccept< DocHtmlList >::m_children, m_type, Mapper::map(), TokenInfo::name, Ordered, 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 4222 of file docparser.cpp.
References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYpushBackHtmlTag(), TokenInfo::endTag, g_fileName, g_nodeStack, g_token, Mappers::htmlTagMapper, CompAccept< DocHtmlList >::m_children, m_type, 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().
|
inline |
Definition at line 1034 of file docparser.h.
References m_type.
Referenced by DocbookDocVisitor::visitPost(), XmlDocVisitor::visitPost(), HtmlDocVisitor::visitPost(), LatexDocVisitor::visitPost(), PrintDocVisitor::visitPost(), DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), XmlDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
private |
Definition at line 1042 of file docparser.h.
Referenced by attribs().
|
private |
Definition at line 1041 of file docparser.h.
Referenced by parse(), parseXml(), and type().