#include <docparser.h>
Inheritance diagram for DocHtmlRow:
Public Member Functions | |
DocHtmlRow (DocNode *parent, const HtmlAttribList &attribs) | |
Kind | kind () const |
DocNode * | parent () const |
uint | numCells () const |
void | accept (DocVisitor *v) |
const HtmlAttribList & | attribs () const |
int | parse () |
int | parseXml (bool header) |
Definition at line 1174 of file docparser.h.
DocHtmlRow::DocHtmlRow | ( | DocNode * | parent, | |
const HtmlAttribList & | attribs | |||
) | [inline] |
Definition at line 1177 of file docparser.h.
Kind DocHtmlRow::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1179 of file docparser.h.
References DocNode::Kind_HtmlRow.
DocNode* DocHtmlRow::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 1180 of file docparser.h.
uint DocHtmlRow::numCells | ( | ) | const [inline] |
Definition at line 1181 of file docparser.h.
References CompAccept< DocHtmlRow >::m_children.
Referenced by RTFDocVisitor::visitPre().
void DocHtmlRow::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1182 of file docparser.h.
References CompAccept< T >::accept().
const HtmlAttribList& DocHtmlRow::attribs | ( | ) | const [inline] |
int DocHtmlRow::parse | ( | ) |
Definition at line 2938 of file docparser.cpp.
References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYpushBackHtmlTag(), TokenInfo::endTag, g_token, HTML_TD, HTML_TH, Mappers::htmlTagMapper, CompAccept< DocHtmlRow >::m_children, Mapper::map(), DocHtmlCell::markFirst(), DocHtmlCell::markLast(), TokenInfo::name, DocHtmlCell::parse(), RetVal_OK, RetVal_TableCell, RetVal_TableHCell, TK_HTMLTAG, TK_NEWPARA, TK_WHITESPACE, tokToString(), and warn_doc_error().
Referenced by DocHtmlTable::parse().
int DocHtmlRow::parseXml | ( | bool | header | ) |
Definition at line 3004 of file docparser.cpp.
References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYpushBackHtmlTag(), TokenInfo::endTag, g_token, Mappers::htmlTagMapper, CompAccept< DocHtmlRow >::m_children, Mapper::map(), DocHtmlCell::markFirst(), DocHtmlCell::markLast(), TokenInfo::name, DocHtmlCell::parseXml(), RetVal_OK, RetVal_TableCell, RetVal_TableHCell, TK_HTMLTAG, TK_NEWPARA, TK_WHITESPACE, tokToString(), warn_doc_error(), XML_DESCRIPTION, and XML_TERM.
Referenced by DocHtmlTable::parseXml().