My Project
|
#include <docparser.h>
Public Member Functions | |
DocSection (DocNode *parent, int level, const QCString &id) | |
Kind | kind () const |
int | level () const |
QCString | title () const |
QCString | anchor () const |
QCString | id () const |
QCString | file () const |
void | accept (DocVisitor *v) |
int | parse () |
Public Member Functions inherited from CompAccept< DocSection > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocSection *obj, DocVisitor *v) |
const QList< DocNode > & | children () const |
QList< DocNode > & | children () |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Private Attributes | |
int | m_level |
QCString | m_id |
QCString | m_title |
QCString | m_anchor |
QCString | m_file |
Node representing a normal section
Definition at line 936 of file docparser.h.
|
inline |
Definition at line 939 of file docparser.h.
References DocNode::m_parent, and DocNode::parent().
Referenced by parse().
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 947 of file docparser.h.
References CompAccept< T >::accept().
|
inline |
Definition at line 944 of file docparser.h.
References m_anchor.
Referenced by DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), XmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and HtmlDocVisitor::visitPre().
|
inline |
Definition at line 946 of file docparser.h.
References m_file.
Referenced by DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), XmlDocVisitor::visitPre(), and LatexDocVisitor::visitPre().
|
inline |
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 941 of file docparser.h.
References DocNode::Kind_Section.
|
inline |
Definition at line 942 of file docparser.h.
References m_level.
Referenced by parse(), XmlDocVisitor::visitPost(), PrintDocVisitor::visitPost(), RTFDocVisitor::visitPre(), ManDocVisitor::visitPre(), XmlDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
int DocSection::parse | ( | ) |
Definition at line 6707 of file docparser.cpp.
References SDict< T >::append(), DBG, DocSection(), doctokenizerYYlineno, SectionInfo::fileName, SDict< T >::find(), g_fileName, g_nodeStack, g_token, INTERNAL_ASSERT, DocPara::isEmpty(), SectionInfo::label, level(), m_anchor, CompAccept< DocSection >::m_children, m_file, m_id, m_level, m_title, DocPara::markFirst(), DocPara::markLast(), parse(), DocInternal::parse(), DocPara::parse(), RetVal_EndInternal, RetVal_Internal, RetVal_OK, RetVal_Paragraph, RetVal_Section, RetVal_Subsection, RetVal_Subsubsection, Doxygen::sectionDict, TokenInfo::sectionId, sectionLevelToName, Doxygen::subpageNestingLevel, SectionInfo::title, TK_LISTITEM, and warn_doc_error().
Referenced by parse(), DocInternal::parse(), and DocRoot::parse().
|
inline |
Definition at line 943 of file docparser.h.
References m_title.
Referenced by DocbookDocVisitor::visitPre(), ManDocVisitor::visitPre(), RTFDocVisitor::visitPre(), XmlDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and PerlModDocVisitor::visitPre().
|
private |
Definition at line 954 of file docparser.h.
|
private |
Definition at line 955 of file docparser.h.
|
private |
Definition at line 952 of file docparser.h.
|
private |
Definition at line 951 of file docparser.h.
|
private |
Definition at line 953 of file docparser.h.