#include <docparser.h>
Inheritance diagram for DocHRef:
Public Member Functions | |
DocHRef (DocNode *parent, const HtmlAttribList &attribs, const QString &url) | |
int | parse () |
QString | url () const |
Kind | kind () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
const HtmlAttribList & | attribs () const |
Definition at line 729 of file docparser.h.
DocHRef::DocHRef | ( | DocNode * | parent, | |
const HtmlAttribList & | attribs, | |||
const QString & | url | |||
) | [inline] |
Definition at line 732 of file docparser.h.
int DocHRef::parse | ( | ) |
Definition at line 2602 of file docparser.cpp.
References DBG, doctokenizerYYlex(), doctokenizerYYlineno, TokenInfo::endTag, g_token, 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().
QString DocHRef::url | ( | ) | const [inline] |
Definition at line 735 of file docparser.h.
Referenced by XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
Kind DocHRef::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 736 of file docparser.h.
References DocNode::Kind_HRef.
DocNode* DocHRef::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 737 of file docparser.h.
void DocHRef::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 738 of file docparser.h.
References CompAccept< T >::accept().
const HtmlAttribList& DocHRef::attribs | ( | ) | const [inline] |