My Project
|
#include <docparser.h>
Public Member Functions | |
DocSimpleSect (DocNode *parent, Type t) | |
virtual | ~DocSimpleSect () |
Kind | kind () const |
Type | type () const |
QCString | typeString () const |
void | accept (DocVisitor *v) |
int | parse (bool userTitle, bool needsSeparator) |
int | parseRcs () |
int | parseXml () |
void | appendLinkWord (const QCString &word) |
Public Member Functions inherited from CompAccept< DocSimpleSect > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocSimpleSect *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 | |
Type | m_type |
DocTitle * | m_title |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
Protected Attributes inherited from CompAccept< DocSimpleSect > | |
QList< DocNode > | m_children |
Protected Attributes inherited from DocNode | |
DocNode * | m_parent |
Node representing a simple section
Definition at line 1046 of file docparser.h.
enum DocSimpleSect::Type |
Enumerator | |
---|---|
Unknown | |
See | |
Return | |
Author | |
Authors | |
Version | |
Since | |
Date | |
Note | |
Warning | |
Copyright | |
Pre | |
Post | |
Invar | |
Remark | |
Attention | |
User | |
Rcs |
Definition at line 1049 of file docparser.h.
Definition at line 4500 of file docparser.cpp.
References DocNode::m_parent, m_title, and DocNode::parent().
|
virtual |
|
virtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 4512 of file docparser.cpp.
References DocNode::accept(), DocTitle::accept(), CompAccept< DocSimpleSect >::m_children, m_title, DocVisitor::visitPost(), and DocVisitor::visitPre().
void DocSimpleSect::appendLinkWord | ( | const QCString & | word | ) |
Definition at line 4615 of file docparser.cpp.
References g_inSeeBlock, DocPara::injectToken(), DocNode::Kind_Para, CompAccept< DocSimpleSect >::m_children, TK_LNKWORD, TK_WHITESPACE, and TK_WORD.
Referenced by DocPara::handleHtmlStartTag().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1056 of file docparser.h.
References DocNode::Kind_SimpleSect.
int DocSimpleSect::parse | ( | bool | userTitle, |
bool | needsSeparator | ||
) |
Definition at line 4522 of file docparser.cpp.
References DBG, g_nodeStack, DocNode::Kind_Para, CompAccept< DocSimpleSect >::m_children, m_title, DocPara::markFirst(), DocPara::markLast(), DocTitle::parse(), and DocPara::parse().
Referenced by DocPara::handleSimpleSection().
int DocSimpleSect::parseRcs | ( | ) |
Definition at line 4558 of file docparser.cpp.
References DBG, docParserPopContext(), docParserPushContext(), g_nodeStack, g_token, internalValidatingParseDoc(), CompAccept< DocSimpleSect >::m_children, m_title, TokenInfo::name, DocTitle::parseFromString(), RetVal_OK, and TokenInfo::text.
Referenced by DocPara::parse().
int DocSimpleSect::parseXml | ( | ) |
Definition at line 4577 of file docparser.cpp.
References DBG, g_nodeStack, DocNode::Kind_Para, CompAccept< DocSimpleSect >::m_children, DocPara::markFirst(), DocPara::markLast(), DocPara::parse(), RetVal_CloseXml, and RetVal_OK.
Referenced by DocPara::handleSimpleSection().
|
inline |
Definition at line 1057 of file docparser.h.
References m_type.
Referenced by LatexDocVisitor::visitPost(), DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), ManDocVisitor::visitPre(), XmlDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), PrintDocVisitor::visitPre(), and PerlModDocVisitor::visitPre().
QCString DocSimpleSect::typeString | ( | ) | const |
|
private |
Definition at line 1067 of file docparser.h.
Referenced by accept(), DocSimpleSect(), parse(), parseRcs(), and ~DocSimpleSect().
|
private |
Definition at line 1066 of file docparser.h.
Referenced by type(), and typeString().