DocWord Class Reference

Node representing a word. More...

#include <docparser.h>

Inheritance diagram for DocWord:

DocNode List of all members.

Public Member Functions

 DocWord (DocNode *parent, const QString &word)
QString word () const
Kind kind () const
DocNodeparent () const
void accept (DocVisitor *v)

Detailed Description

Node representing a word.

Definition at line 188 of file docparser.h.


Constructor & Destructor Documentation

DocWord::DocWord ( DocNode parent,
const QString &  word 
)

Definition at line 1517 of file docparser.cpp.

References Doxygen::searchIndex.


Member Function Documentation

QString DocWord::word (  )  const [inline]

Definition at line 192 of file docparser.h.

Referenced by XmlDocVisitor::visit(), TextDocVisitor::visit(), RTFDocVisitor::visit(), PrintDocVisitor::visit(), PerlModDocVisitor::visit(), ManDocVisitor::visit(), LatexDocVisitor::visit(), and HtmlDocVisitor::visit().

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 193 of file docparser.h.

References DocNode::Kind_Word.

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

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

Implements DocNode.

Definition at line 194 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 195 of file docparser.h.

References DocVisitor::visit().


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



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