|
My Project
|
#include <docparser.h>
Public Member Functions | |
| DocHtmlHeader (DocNode *parent, const HtmlAttribList &attribs, int level) | |
| int | level () const |
| Kind | kind () const |
| const HtmlAttribList & | attribs () const |
| void | accept (DocVisitor *v) |
| int | parse () |
Public Member Functions inherited from CompAccept< DocHtmlHeader > | |
| CompAccept () | |
| virtual | ~CompAccept () |
| void | accept (DocHtmlHeader *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 | |
| int | m_level |
| HtmlAttribList | m_attribs |
Node Html heading
Definition at line 889 of file docparser.h.
|
inline |
Definition at line 892 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 897 of file docparser.h.
References CompAccept< T >::accept().
|
inline |
Definition at line 896 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 895 of file docparser.h.
References DocNode::Kind_HtmlHeader.
|
inline |
Definition at line 894 of file docparser.h.
References m_level.
Referenced by ManDocVisitor::visitPost(), HtmlDocVisitor::visitPost(), PrintDocVisitor::visitPost(), RTFDocVisitor::visitPre(), ManDocVisitor::visitPre(), XmlDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
| int DocHtmlHeader::parse | ( | ) |
Definition at line 2950 of file docparser.cpp.
References TokenInfo::attribs, DBG, defaultHandleToken(), doctokenizerYYlex(), doctokenizerYYlineno, TokenInfo::endTag, g_fileName, g_nodeStack, g_token, handleAHref(), handlePendingStyleCommands(), HTML_A, HTML_BR, HTML_H1, HTML_H2, HTML_H3, HTML_H4, HTML_H5, HTML_H6, Mappers::htmlTagMapper, CompAccept< DocHtmlHeader >::m_children, m_level, Mapper::map(), TokenInfo::name, RetVal_OK, TK_COMMAND, TK_HTMLTAG, TK_SYMBOL, tokToString(), and warn_doc_error().
Referenced by DocPara::handleHtmlHeader().
|
private |
Definition at line 902 of file docparser.h.
Referenced by attribs().
|
private |
Definition at line 901 of file docparser.h.