DocInternal Class Reference

Node representing an internal section of documentation. More...

#include <docparser.h>

Inheritance diagram for DocInternal:

CompAccept< DocInternal > DocNode List of all members.

Public Member Functions

 DocInternal (DocNode *parent)
int parse (int)
Kind kind () const
DocNodeparent () const
void accept (DocVisitor *v)

Detailed Description

Node representing an internal section of documentation.

Definition at line 861 of file docparser.h.


Constructor & Destructor Documentation

DocInternal::DocInternal ( DocNode parent  )  [inline]

Definition at line 864 of file docparser.h.


Member Function Documentation

int DocInternal::parse ( int   ) 

Definition at line 2659 of file docparser.cpp.

References DBG, doctokenizerYYlineno, g_token, DocPara::isEmpty(), CompAccept< DocInternal >::m_children, DocPara::markFirst(), DocPara::markLast(), DocSection::parse(), DocPara::parse(), RetVal_Internal, RetVal_OK, RetVal_Paragraph, RetVal_Section, RetVal_Subsection, RetVal_Subsubsection, TokenInfo::sectionId, TK_LISTITEM, and warn_doc_error().

Referenced by DocRoot::parse(), and DocSection::parse().

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 866 of file docparser.h.

References DocNode::Kind_Internal.

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

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

Implements DocNode.

Definition at line 867 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 868 of file docparser.h.

References CompAccept< T >::accept().


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