DocHRef Class Reference

Node representing a Language specific section Node representing a Hypertext reference. More...

#include <docparser.h>

Inheritance diagram for DocHRef:

CompAccept< DocHRef > DocNode List of all members.

Public Member Functions

 DocHRef (DocNode *parent, const HtmlAttribList &attribs, const QString &url)
int parse ()
QString url () const
Kind kind () const
DocNodeparent () const
void accept (DocVisitor *v)
const HtmlAttribListattribs () const

Detailed Description

Node representing a Language specific section Node representing a Hypertext reference.

Definition at line 729 of file docparser.h.


Constructor & Destructor Documentation

DocHRef::DocHRef ( DocNode parent,
const HtmlAttribList attribs,
const QString &  url 
) [inline]

Definition at line 732 of file docparser.h.


Member Function Documentation

int DocHRef::parse (  ) 

Definition at line 2602 of file docparser.cpp.

References DBG, doctokenizerYYlex(), doctokenizerYYlineno, TokenInfo::endTag, g_token, HTML_A, Mappers::htmlTagMapper, CompAccept< DocHRef >::m_children, Mapper::map(), TokenInfo::name, RetVal_OK, TK_COMMAND, TK_HTMLTAG, TK_SYMBOL, tokToString(), and warn_doc_error().

QString DocHRef::url (  )  const [inline]

Definition at line 735 of file docparser.h.

Referenced by XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().

Kind DocHRef::kind (  )  const [inline, virtual]

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 736 of file docparser.h.

References DocNode::Kind_HRef.

DocNode* DocHRef::parent (  )  const [inline, virtual]

Returns the parent of this node or 0 for the root node.

Implements DocNode.

Definition at line 737 of file docparser.h.

void DocHRef::accept ( DocVisitor v  )  [inline, virtual]

Acceptor function for node visitors. Part of the visitor pattern.

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 738 of file docparser.h.

References CompAccept< T >::accept().

const HtmlAttribList& DocHRef::attribs (  )  const [inline]

Definition at line 739 of file docparser.h.

Referenced by HtmlDocVisitor::visitPre().


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



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