#include <docparser.h>
Inheritance diagram for DocIndexEntry:
Public Member Functions | |
DocIndexEntry (DocNode *parent) | |
Kind | kind () const |
int | parse () |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
QString | entry () |
Definition at line 486 of file docparser.h.
DocIndexEntry::DocIndexEntry | ( | DocNode * | parent | ) | [inline] |
Definition at line 489 of file docparser.h.
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.
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().