Doxygen
|
Node representing an internal reference to some item. More...
#include <src/docnode.h>
Public Member Functions | |
DocInternalRef (DocParser *parser, DocNodeVariant *parent, const QCString &target) | |
void | parse () |
QCString | file () const |
QCString | relPath () const |
QCString | anchor () const |
Public Member Functions inherited from DocCompoundNode | |
DocCompoundNode (DocParser *parser, DocNodeVariant *parent) | |
DocNodeList & | children () |
const DocNodeList & | children () const |
Public Member Functions inherited from DocNode | |
DocNode (DocParser *parser, DocNodeVariant *parent) | |
~DocNode ()=default | |
DocNodeVariant * | parent () |
const DocNodeVariant * | parent () const |
DocNodeVariant * | thisVariant () |
const DocNodeVariant * | thisVariant () const |
void | setThisVariant (DocNodeVariant *thisVariant) |
DocParser * | parser () |
const DocParser * | parser () const |
void | setParent (DocNodeVariant *parent) |
bool | isPreformatted () const |
Private Attributes | |
QCString | m_file |
QCString | m_relPath |
QCString | m_anchor |
Additional Inherited Members | |
Protected Types inherited from DocNode | |
enum | RefType { Unknown , Anchor , Section , Table } |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
DocInternalRef::DocInternalRef | ( | DocParser * | parser, |
DocNodeVariant * | parent, | ||
const QCString & | target ) |
Definition at line 670 of file docnode.cpp.
References DocCompoundNode::DocCompoundNode(), QCString::find(), QCString::left(), QCString::length(), m_anchor, m_file, m_relPath, DocNode::parent(), DocNode::parser(), relPath(), and QCString::right().
|
inline |
Definition at line 807 of file docnode.h.
References m_anchor.
Referenced by DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), PerlModDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 805 of file docnode.h.
References m_file.
Referenced by DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), PerlModDocVisitor::operator()(), PrintDocVisitor::operator()(), RTFDocVisitor::operator()(), and XmlDocVisitor::operator()().
void DocInternalRef::parse | ( | ) |
Definition at line 685 of file docnode.cpp.
References AUTO_TRACE, DocCompoundNode::children(), DocParser::errorHandleDefaultToken(), DocParser::handlePendingStyleCommands(), Token::is_any_of(), DocTokenizer::lex(), DocNode::parser(), DocNode::thisVariant(), and DocParser::tokenizer.
|
inline |
Definition at line 806 of file docnode.h.
References m_relPath.
Referenced by DocInternalRef(), and HtmlDocVisitor::operator()().
|
private |
Definition at line 812 of file docnode.h.
Referenced by anchor(), and DocInternalRef().
|
private |
Definition at line 810 of file docnode.h.
Referenced by DocInternalRef(), and file().
|
private |
Definition at line 811 of file docnode.h.
Referenced by DocInternalRef(), and relPath().