#include <docparser.h>
Inheritance diagram for DocWord:
Public Member Functions | |
DocWord (DocNode *parent, const QString &word) | |
QString | word () const |
Kind | kind () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
Definition at line 188 of file docparser.h.
DocWord::DocWord | ( | DocNode * | parent, | |
const QString & | word | |||
) |
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.
v | Abstract visitor. |
Implements DocNode.
Definition at line 195 of file docparser.h.
References DocVisitor::visit().