My Project
|
#include <docparser.h>
Public Member Functions | |
DocHtmlCaption (DocNode *parent, const HtmlAttribList &attribs) | |
Kind | kind () const |
void | accept (DocVisitor *v) |
const HtmlAttribList & | attribs () const |
int | parse () |
bool | hasCaptionId () const |
QCString | file () const |
QCString | anchor () const |
Public Member Functions inherited from CompAccept< DocHtmlCaption > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocHtmlCaption *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 | |
HtmlAttribList | m_attribs |
bool | m_hasCaptionId |
QCString | m_file |
QCString | m_anchor |
Node representing a HTML table caption
Definition at line 1288 of file docparser.h.
DocHtmlCaption::DocHtmlCaption | ( | DocNode * | parent, |
const HtmlAttribList & | attribs | ||
) |
Definition at line 3282 of file docparser.cpp.
References SDict< T >::append(), doctokenizerYYlineno, SectionInfo::fileName, SDict< T >::find(), g_fileName, SectionInfo::label, m_anchor, m_attribs, m_file, m_hasCaptionId, DocNode::m_parent, HtmlAttrib::name, DocNode::parent(), Doxygen::sectionDict, HtmlAttrib::value, and warn_doc_error().
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1293 of file docparser.h.
References CompAccept< T >::accept().
Referenced by DocHtmlTable::accept().
|
inline |
Definition at line 1298 of file docparser.h.
References m_anchor.
Referenced by HtmlDocVisitor::visitPre(), and LatexDocVisitor::visitPre().
|
inline |
Definition at line 1294 of file docparser.h.
References m_attribs.
Referenced by HtmlDocVisitor::visitPre().
|
inline |
Definition at line 1297 of file docparser.h.
References m_file.
Referenced by LatexDocVisitor::visitPre().
|
inline |
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1292 of file docparser.h.
References DocNode::Kind_HtmlCaption.
int DocHtmlCaption::parse | ( | ) |
Definition at line 3317 of file docparser.cpp.
References DBG, defaultHandleToken(), doctokenizerYYlex(), doctokenizerYYlineno, TokenInfo::endTag, g_fileName, g_nodeStack, g_token, handlePendingStyleCommands(), HTML_CAPTION, Mappers::htmlTagMapper, CompAccept< DocHtmlCaption >::m_children, Mapper::map(), TokenInfo::name, RetVal_OK, TK_COMMAND, TK_HTMLTAG, TK_SYMBOL, tokToString(), and warn_doc_error().
Referenced by DocHtmlTable::parse().
|
private |
Definition at line 1304 of file docparser.h.
Referenced by anchor(), and DocHtmlCaption().
|
private |
Definition at line 1301 of file docparser.h.
Referenced by attribs(), and DocHtmlCaption().
|
private |
Definition at line 1303 of file docparser.h.
Referenced by DocHtmlCaption(), and file().
|
private |
Definition at line 1302 of file docparser.h.
Referenced by DocHtmlCaption(), and hasCaptionId().