My Project
|
#include <docparser.h>
Public Member Functions | |
DocParamSect (DocNode *parent, Type t) | |
int | parse (const QCString &cmdName, bool xmlContext, Direction d) |
Kind | kind () const |
Type | type () const |
void | accept (DocVisitor *v) |
bool | hasInOutSpecifier () const |
bool | hasTypeSpecifier () const |
Public Member Functions inherited from CompAccept< DocParamSect > | |
CompAccept () | |
virtual | ~CompAccept () |
void | accept (DocParamSect *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 |
bool | m_hasInOutSpecifier |
bool | m_hasTypeSpecifier |
Friends | |
class | DocParamList |
Additional Inherited Members | |
Protected Member Functions inherited from DocNode | |
void | setInsidePreformatted (bool p) |
Protected Attributes inherited from CompAccept< DocParamSect > | |
QList< DocNode > | m_children |
Protected Attributes inherited from DocNode | |
DocNode * | m_parent |
Node representing a parameter section
Definition at line 1084 of file docparser.h.
Enumerator | |
---|---|
In | |
Out | |
InOut | |
Unspecified |
Definition at line 1092 of file docparser.h.
enum DocParamSect::Type |
Enumerator | |
---|---|
Unknown | |
Param | |
RetVal | |
Exception | |
TemplateParam |
Definition at line 1088 of file docparser.h.
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1102 of file docparser.h.
References CompAccept< T >::accept().
|
inline |
Definition at line 1103 of file docparser.h.
References m_hasInOutSpecifier.
Referenced by RTFDocVisitor::visitPre(), LatexDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), and PerlModDocVisitor::visitPre().
|
inline |
Definition at line 1104 of file docparser.h.
References m_hasTypeSpecifier.
Referenced by RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), and LatexDocVisitor::visitPre().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1100 of file docparser.h.
References DocNode::Kind_ParamSect.
int DocParamSect::parse | ( | const QCString & | cmdName, |
bool | xmlContext, | ||
Direction | d | ||
) |
Definition at line 4810 of file docparser.cpp.
References DBG, DocParamList, g_nodeStack, DocNode::Kind_ParamList, CompAccept< DocParamSect >::m_children, m_hasInOutSpecifier, m_type, DocParamList::markFirst(), DocParamList::markLast(), DocParamList::parse(), DocParamList::parseXml(), RetVal_EndParBlock, RetVal_OK, and Unspecified.
Referenced by DocPara::handleParamSection().
|
inline |
Definition at line 1101 of file docparser.h.
References m_type.
Referenced by RTFDocVisitor::visitPost(), LatexDocVisitor::visitPost(), DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), ManDocVisitor::visitPre(), LatexDocVisitor::visitPre(), XmlDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
friend |
Definition at line 1086 of file docparser.h.
Referenced by parse().
|
private |
Definition at line 1108 of file docparser.h.
Referenced by hasInOutSpecifier(), and parse().
|
private |
Definition at line 1109 of file docparser.h.
Referenced by hasTypeSpecifier().
|
private |
Definition at line 1107 of file docparser.h.