#include <docparser.h>
Inheritance diagram for DocTitle:
Public Member Functions | |
DocTitle (DocNode *parent) | |
void | parse () |
void | parseFromString (const QString &title) |
Kind | kind () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
Definition at line 545 of file docparser.h.
DocTitle::DocTitle | ( | DocNode * | parent | ) | [inline] |
Definition at line 548 of file docparser.h.
void DocTitle::parse | ( | ) |
Definition at line 3704 of file docparser.cpp.
References DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYsetStatePara(), doctokenizerYYsetStateTitle(), g_token, CompAccept< DocTitle >::m_children, TokenInfo::name, TK_COMMAND, TK_SYMBOL, tokToString(), and warn_doc_error().
Referenced by DocSimpleSect::parse().
void DocTitle::parseFromString | ( | const QString & | title | ) |
Definition at line 3738 of file docparser.cpp.
References CompAccept< DocTitle >::m_children.
Referenced by DocSimpleSect::parseRcs().
Kind DocTitle::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 551 of file docparser.h.
References DocNode::Kind_Title.
DocNode* DocTitle::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 552 of file docparser.h.
void DocTitle::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 553 of file docparser.h.
References CompAccept< T >::accept().
Referenced by DocSimpleSect::accept().