DocHtmlCaption Class Reference

Node representing a HTML table caption. More...

#include <docparser.h>

Inheritance diagram for DocHtmlCaption:

CompAccept< DocHtmlCaption > DocNode List of all members.

Public Member Functions

 DocHtmlCaption (DocNode *parent, const HtmlAttribList &attribs)
Kind kind () const
DocNodeparent () const
void accept (DocVisitor *v)
const HtmlAttribListattribs () const
int parse ()

Detailed Description

Node representing a HTML table caption.

Definition at line 1156 of file docparser.h.


Constructor & Destructor Documentation

DocHtmlCaption::DocHtmlCaption ( DocNode parent,
const HtmlAttribList attribs 
) [inline]

Definition at line 1159 of file docparser.h.


Member Function Documentation

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 1161 of file docparser.h.

References DocNode::Kind_HtmlCaption.

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

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

Implements DocNode.

Definition at line 1162 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 1163 of file docparser.h.

References CompAccept< T >::accept().

Referenced by DocHtmlTable::accept().

const HtmlAttribList& DocHtmlCaption::attribs (  )  const [inline]

Definition at line 1164 of file docparser.h.

Referenced by HtmlDocVisitor::visitPre().

int DocHtmlCaption::parse (  ) 

Definition at line 2805 of file docparser.cpp.

References DBG, doctokenizerYYlex(), doctokenizerYYlineno, TokenInfo::endTag, g_token, HTML_CAPTION, Mappers::htmlTagMapper, CompAccept< DocHtmlCaption >::m_children, Mapper::map(), TokenInfo::name, RetVal_OK, TK_COMMAND, TK_HTMLTAG, TK_SYMBOL, tokToString(), and warn_doc_error().

Referenced by DocHtmlTable::parse().


The documentation for this class was generated from the following files:



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1