My Project
|
#include <docparser.h>
Public Member Functions | |
DocLink (DocNode *parent, const QCString &target) | |
QCString | parse (bool, bool isXmlLink=FALSE) |
Kind | kind () const |
QCString | file () const |
QCString | relPath () const |
QCString | ref () const |
QCString | anchor () const |
void | accept (DocVisitor *v) |
Public Member Functions inherited from CompAccept< DocLink > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocLink *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 | |
QCString | m_file |
QCString | m_relPath |
QCString | m_ref |
QCString | m_anchor |
QCString | m_refText |
Node representing a link to some item
Definition at line 800 of file docparser.h.
DocLink::DocLink | ( | DocNode * | parent, |
const QCString & | target | ||
) |
Definition at line 2653 of file docparser.cpp.
References anchor(), DefinitionIntf::definitionType(), doctokenizerYYlineno, g_context, g_fileName, g_inSeeBlock, g_relPath, Definition::getOutputFileBase(), Definition::getReference(), Definition::isLinkable(), m_anchor, m_file, DocNode::m_parent, m_ref, m_refText, m_relPath, DocNode::parent(), resolveLink(), stripKnownExtensions(), DefinitionIntf::TypeFile, and warn_doc_error().
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 810 of file docparser.h.
References CompAccept< T >::accept().
|
inline |
Definition at line 809 of file docparser.h.
References m_anchor.
Referenced by DocLink(), LatexDocVisitor::visitPost(), DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), XmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
inline |
Definition at line 806 of file docparser.h.
References m_file.
Referenced by LatexDocVisitor::visitPost(), DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), XmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 805 of file docparser.h.
References DocNode::Kind_Link.
QCString DocLink::parse | ( | bool | isJavaLink, |
bool | isXmlLink = FALSE |
||
) |
Definition at line 2689 of file docparser.cpp.
References CMD_ENDLINK, Mappers::cmdMapper, DBG, defaultHandleToken(), doctokenizerYYlex(), doctokenizerYYlineno, g_fileName, g_nodeStack, g_token, handlePendingStyleCommands(), CompAccept< DocLink >::m_children, m_refText, 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().
|
inline |
Definition at line 808 of file docparser.h.
References m_ref.
Referenced by RTFDocVisitor::visitPost(), LatexDocVisitor::visitPost(), RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), XmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
inline |
Definition at line 807 of file docparser.h.
References m_relPath.
Referenced by HtmlDocVisitor::visitPre().
|
private |
Definition at line 816 of file docparser.h.
|
private |
Definition at line 813 of file docparser.h.
|
private |
Definition at line 815 of file docparser.h.
|
private |
Definition at line 817 of file docparser.h.
|
private |
Definition at line 814 of file docparser.h.