#include <docparser.h>
Inheritance diagram for DocInternalRef:
Public Member Functions | |
DocInternalRef (DocNode *parent, const QString &target) | |
void | parse () |
Kind | kind () const |
QString | file () const |
QString | relPath () const |
QString | anchor () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
Definition at line 692 of file docparser.h.
DocInternalRef::DocInternalRef | ( | DocNode * | parent, | |
const QString & | target | |||
) |
Definition at line 2007 of file docparser.cpp.
void DocInternalRef::parse | ( | ) |
Definition at line 2022 of file docparser.cpp.
References DBG, doctokenizerYYlex(), doctokenizerYYlineno, g_token, CompAccept< DocInternalRef >::m_children, TokenInfo::name, TK_COMMAND, TK_SYMBOL, tokToString(), and warn_doc_error().
Kind DocInternalRef::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 697 of file docparser.h.
References DocNode::Kind_Ref.
QString DocInternalRef::file | ( | ) | const [inline] |
Definition at line 698 of file docparser.h.
Referenced by LatexDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
QString DocInternalRef::relPath | ( | ) | const [inline] |
QString DocInternalRef::anchor | ( | ) | const [inline] |
Definition at line 700 of file docparser.h.
Referenced by LatexDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
DocNode* DocInternalRef::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 701 of file docparser.h.
void DocInternalRef::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 702 of file docparser.h.
References CompAccept< T >::accept().