#include <docparser.h>
Inheritance diagram for DocHtmlHeader:
Public Member Functions | |
DocHtmlHeader (DocNode *parent, const HtmlAttribList &attribs, int level) | |
int | level () const |
Kind | kind () const |
const HtmlAttribList & | attribs () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
int | parse () |
Definition at line 748 of file docparser.h.
DocHtmlHeader::DocHtmlHeader | ( | DocNode * | parent, | |
const HtmlAttribList & | attribs, | |||
int | level | |||
) | [inline] |
Definition at line 751 of file docparser.h.
int DocHtmlHeader::level | ( | ) | const [inline] |
Definition at line 753 of file docparser.h.
Referenced by PrintDocVisitor::visitPost(), ManDocVisitor::visitPost(), HtmlDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), ManDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
Kind DocHtmlHeader::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 754 of file docparser.h.
References DocNode::Kind_HtmlHeader.
const HtmlAttribList& DocHtmlHeader::attribs | ( | ) | const [inline] |
DocNode* DocHtmlHeader::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 756 of file docparser.h.
void DocHtmlHeader::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 757 of file docparser.h.
References CompAccept< T >::accept().
int DocHtmlHeader::parse | ( | ) |
Definition at line 2482 of file docparser.cpp.
References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, TokenInfo::endTag, g_token, HTML_A, HTML_BR, HTML_H1, HTML_H2, HTML_H3, HTML_H4, HTML_H5, HTML_H6, Mappers::htmlTagMapper, CompAccept< DocHtmlHeader >::m_children, Mapper::map(), TokenInfo::name, RetVal_OK, TK_COMMAND, TK_HTMLTAG, TK_SYMBOL, tokToString(), and warn_doc_error().
Referenced by DocPara::handleHtmlHeader().