DocTitle Class Reference

Node representing a simple section title. More...

#include <docparser.h>

Inheritance diagram for DocTitle:

CompAccept< DocTitle > DocNode List of all members.

Public Member Functions

 DocTitle (DocNode *parent)
void parse ()
void parseFromString (const QString &title)
Kind kind () const
DocNodeparent () const
void accept (DocVisitor *v)

Detailed Description

Node representing a simple section title.

Definition at line 545 of file docparser.h.


Constructor & Destructor Documentation

DocTitle::DocTitle ( DocNode parent  )  [inline]

Definition at line 548 of file docparser.h.


Member Function Documentation

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.

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 553 of file docparser.h.

References CompAccept< T >::accept().

Referenced by DocSimpleSect::accept().


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