My Project
|
#include <docparser.h>
Public Member Functions | |
DocHRef (DocNode *parent, const HtmlAttribList &attribs, const QCString &url, const QCString &relPath) | |
int | parse () |
QCString | url () const |
QCString | relPath () const |
Kind | kind () const |
void | accept (DocVisitor *v) |
const HtmlAttribList & | attribs () const |
Public Member Functions inherited from CompAccept< DocHRef > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocHRef *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 |
QCString | m_url |
QCString | m_relPath |
Node representing a Hypertext reference
Definition at line 869 of file docparser.h.
|
inline |
Definition at line 872 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 879 of file docparser.h.
References CompAccept< T >::accept().
|
inline |
Definition at line 880 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 878 of file docparser.h.
References DocNode::Kind_HRef.
int DocHRef::parse | ( | ) |
Definition at line 3070 of file docparser.cpp.
References DBG, defaultHandleToken(), doctokenizerYYlex(), doctokenizerYYlineno, TokenInfo::endTag, g_fileName, g_nodeStack, g_token, handlePendingStyleCommands(), HTML_A, Mappers::htmlTagMapper, CompAccept< DocHRef >::m_children, Mapper::map(), TokenInfo::name, RetVal_OK, TK_COMMAND, TK_HTMLTAG, TK_SYMBOL, tokToString(), and warn_doc_error().
Referenced by handleAHref().
|
inline |
Definition at line 877 of file docparser.h.
References m_relPath.
Referenced by HtmlDocVisitor::visitPre().
|
inline |
Definition at line 876 of file docparser.h.
References m_url.
Referenced by DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), XmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
private |
Definition at line 883 of file docparser.h.
Referenced by attribs().
|
private |
Definition at line 885 of file docparser.h.
Referenced by relPath().
|
private |
Definition at line 884 of file docparser.h.
Referenced by url().