DocSimpleList Class Reference

Node representing a simple list. More...

#include <docparser.h>

Inheritance diagram for DocSimpleList:

CompAccept< DocSimpleList > DocNode List of all members.

Public Member Functions

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

Detailed Description

Node representing a simple list.

Definition at line 875 of file docparser.h.


Constructor & Destructor Documentation

DocSimpleList::DocSimpleList ( DocNode parent  )  [inline]

Definition at line 878 of file docparser.h.


Member Function Documentation

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 879 of file docparser.h.

References DocNode::Kind_SimpleList.

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

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

Implements DocNode.

Definition at line 880 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 881 of file docparser.h.

References CompAccept< T >::accept().

int DocSimpleList::parse (  ) 

Definition at line 3649 of file docparser.cpp.

References CompAccept< DocSimpleList >::m_children, DocSimpleListItem::parse(), RetVal_ListItem, RetVal_OK, and TK_NEWPARA.

Referenced by DocPara::handleCommand().


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