DocInternalRef Class Reference

Node representing an internal reference to some item. More...

#include <docparser.h>

Inheritance diagram for DocInternalRef:

CompAccept< DocInternalRef > DocNode List of all members.

Public Member Functions

 DocInternalRef (DocNode *parent, const QString &target)
void parse ()
Kind kind () const
QString file () const
QString relPath () const
QString anchor () const
DocNodeparent () const
void accept (DocVisitor *v)

Detailed Description

Node representing an internal reference to some item.

Definition at line 692 of file docparser.h.


Constructor & Destructor Documentation

DocInternalRef::DocInternalRef ( DocNode parent,
const QString &  target 
)

Definition at line 2007 of file docparser.cpp.


Member Function Documentation

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]

Definition at line 699 of file docparser.h.

Referenced by HtmlDocVisitor::visitPre().

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.

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 702 of file docparser.h.

References CompAccept< T >::accept().


The documentation for this class was generated from the following files:



Generated on Mon Mar 31 10:58:58 2008 by  doxygen 1.5.1