#include <docparser.h>
Inheritance diagram for DocLink:

Public Member Functions | |
| DocLink (DocNode *parent, const QString &target) | |
| QString | parse (bool, bool isXmlLink=FALSE) |
| Kind | kind () const |
| QString | file () const |
| QString | relPath () const |
| QString | ref () const |
| QString | anchor () const |
| DocNode * | parent () const |
| void | accept (DocVisitor *v) |
Definition at line 640 of file docparser.h.
| DocLink::DocLink | ( | DocNode * | parent, | |
| const QString & | target | |||
| ) |
Definition at line 2199 of file docparser.cpp.
References anchor(), DefinitionIntf::definitionType(), doctokenizerYYlineno, Definition::getOutputFileBase(), Definition::getReference(), Definition::getSourceFileBase(), Definition::isLinkable(), QCString, resolveLink(), DefinitionIntf::TypeFile, and warn_doc_error().
| QString DocLink::parse | ( | bool | , | |
| bool | isXmlLink = FALSE | |||
| ) |
Definition at line 2236 of file docparser.cpp.
References CMD_ENDLINK, Mappers::cmdMapper, DBG, doctokenizerYYlex(), doctokenizerYYlineno, g_token, CompAccept< DocLink >::m_children, TokenInfo::name, TK_COMMAND, TK_HTMLTAG, TK_LNKWORD, TK_SYMBOL, TK_WORD, tokToString(), and warn_doc_error().
Referenced by DocPara::handleHtmlStartTag(), DocPara::handleLink(), and DocHtmlDescTitle::parse().
| Kind DocLink::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 645 of file docparser.h.
References DocNode::Kind_Link.
| QString DocLink::file | ( | ) | const [inline] |
Definition at line 646 of file docparser.h.
Referenced by LatexDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
| QString DocLink::relPath | ( | ) | const [inline] |
| QString DocLink::ref | ( | ) | const [inline] |
Definition at line 648 of file docparser.h.
Referenced by RTFDocVisitor::visitPost(), LatexDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
| QString DocLink::anchor | ( | ) | const [inline] |
Definition at line 649 of file docparser.h.
Referenced by DocLink(), LatexDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
| DocNode* DocLink::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 650 of file docparser.h.
| void DocLink::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
| v | Abstract visitor. |
Implements DocNode.
Definition at line 651 of file docparser.h.
References CompAccept< T >::accept().
1.5.1