DocIndexEntry Class Reference

Node representing an entry in the index. More...

#include <docparser.h>

Inheritance diagram for DocIndexEntry:

DocNode List of all members.

Public Member Functions

 DocIndexEntry (DocNode *parent)
Kind kind () const
int parse ()
DocNodeparent () const
void accept (DocVisitor *v)
QString entry ()

Detailed Description

Node representing an entry in the index.

Definition at line 486 of file docparser.h.


Constructor & Destructor Documentation

DocIndexEntry::DocIndexEntry ( DocNode parent  )  [inline]

Definition at line 489 of file docparser.h.


Member Function Documentation

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 490 of file docparser.h.

References DocNode::Kind_IndexEntry.

int DocIndexEntry::parse (  ) 

Definition at line 2719 of file docparser.cpp.

References DocSymbol::Amp, DocSymbol::Apos, DocSymbol::At, DocSymbol::BSlash, CMD_AMP, CMD_AT, CMD_BSLASH, CMD_DOLLAR, CMD_GREATER, CMD_HASH, CMD_LESS, CMD_PERCENT, Mappers::cmdMapper, DBG, DocSymbol::decodeSymbol(), doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYsetStatePara(), doctokenizerYYsetStateTitle(), DocSymbol::Dollar, g_token, DocSymbol::Greater, DocSymbol::Hash, DocSymbol::Ldquo, DocSymbol::Less, DocSymbol::Lsquo, DocSymbol::Mdash, TokenInfo::name, DocSymbol::Ndash, DocSymbol::Percent, DocSymbol::Quot, DocSymbol::Rdquo, RetVal_OK, DocSymbol::Rsquo, TK_COMMAND, TK_LNKWORD, TK_SYMBOL, TK_WHITESPACE, TK_WORD, tokToString(), and warn_doc_error().

Referenced by DocPara::handleCommand().

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

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

Implements DocNode.

Definition at line 492 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 493 of file docparser.h.

References DocVisitor::visit().

QString DocIndexEntry::entry (  )  [inline]

Definition at line 494 of file docparser.h.

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


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