#include <docparser.h>
Inheritance diagram for DocSection:
Public Member Functions | |
DocSection (DocNode *parent, int level, const QString &id) | |
Kind | kind () const |
int | level () const |
QString | title () const |
QString | anchor () const |
QString | id () const |
QString | file () const |
DocNode * | parent () const |
void | accept (DocVisitor *v) |
int | parse () |
Definition at line 801 of file docparser.h.
DocSection::DocSection | ( | DocNode * | parent, | |
int | level, | |||
const QString & | id | |||
) | [inline] |
Kind DocSection::kind | ( | ) | const [inline, virtual] |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 806 of file docparser.h.
References DocNode::Kind_Section.
int DocSection::level | ( | ) | const [inline] |
Definition at line 807 of file docparser.h.
Referenced by parse(), XmlDocVisitor::visitPost(), PrintDocVisitor::visitPost(), XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), PrintDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), ManDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
QString DocSection::title | ( | ) | const [inline] |
Definition at line 808 of file docparser.h.
Referenced by XmlDocVisitor::visitPre(), RTFDocVisitor::visitPre(), ManDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
QString DocSection::anchor | ( | ) | const [inline] |
Definition at line 809 of file docparser.h.
Referenced by XmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
QString DocSection::id | ( | ) | const [inline] |
Definition at line 810 of file docparser.h.
QString DocSection::file | ( | ) | const [inline] |
Definition at line 811 of file docparser.h.
Referenced by XmlDocVisitor::visitPre(), and LatexDocVisitor::visitPre().
DocNode* DocSection::parent | ( | ) | const [inline, virtual] |
Returns the parent of this node or 0 for the root node.
Implements DocNode.
Definition at line 812 of file docparser.h.
void DocSection::accept | ( | DocVisitor * | v | ) | [inline, virtual] |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 813 of file docparser.h.
References CompAccept< T >::accept().
int DocSection::parse | ( | ) |
Definition at line 5693 of file docparser.cpp.
References DBG, DocSection(), doctokenizerYYlineno, g_token, INTERNAL_ASSERT, DocPara::isEmpty(), level(), CompAccept< DocSection >::m_children, DocPara::markFirst(), DocPara::markLast(), DocInternal::parse(), parse(), DocPara::parse(), RetVal_Internal, RetVal_OK, RetVal_Paragraph, RetVal_Section, RetVal_Subsection, RetVal_Subsubsection, Doxygen::sectionDict, TokenInfo::sectionId, TK_LISTITEM, and warn_doc_error().
Referenced by DocRoot::parse(), parse(), and DocInternal::parse().