DocHtmlHeader Class Reference

Node Html heading. More...

#include <docparser.h>

Inheritance diagram for DocHtmlHeader:

CompAccept< DocHtmlHeader > DocNode List of all members.

Public Member Functions

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

Detailed Description

Node Html heading.

Definition at line 748 of file docparser.h.


Constructor & Destructor Documentation

DocHtmlHeader::DocHtmlHeader ( DocNode parent,
const HtmlAttribList attribs,
int  level 
) [inline]

Definition at line 751 of file docparser.h.


Member Function Documentation

int DocHtmlHeader::level (  )  const [inline]

Definition at line 753 of file docparser.h.

Referenced by PrintDocVisitor::visitPost(), ManDocVisitor::visitPost(), HtmlDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), ManDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().

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

Returns the kind of node. Provides runtime type information

Implements DocNode.

Definition at line 754 of file docparser.h.

References DocNode::Kind_HtmlHeader.

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

Definition at line 755 of file docparser.h.

Referenced by HtmlDocVisitor::visitPre().

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

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

Implements DocNode.

Definition at line 756 of file docparser.h.

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

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

Parameters:
v Abstract visitor.

Implements DocNode.

Definition at line 757 of file docparser.h.

References CompAccept< T >::accept().

int DocHtmlHeader::parse (  ) 

Definition at line 2482 of file docparser.cpp.

References TokenInfo::attribs, DBG, doctokenizerYYlex(), doctokenizerYYlineno, TokenInfo::endTag, g_token, HTML_A, HTML_BR, HTML_H1, HTML_H2, HTML_H3, HTML_H4, HTML_H5, HTML_H6, Mappers::htmlTagMapper, CompAccept< DocHtmlHeader >::m_children, Mapper::map(), TokenInfo::name, RetVal_OK, TK_COMMAND, TK_HTMLTAG, TK_SYMBOL, tokToString(), and warn_doc_error().

Referenced by DocPara::handleHtmlHeader().


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