My Project
|
#include <docparser.h>
Public Member Functions | |
DocParamList (DocNode *parent, DocParamSect::Type t, DocParamSect::Direction d) | |
virtual | ~DocParamList () |
Kind | kind () const |
const QList< DocNode > & | parameters () |
const QList< DocNode > & | paramTypes () |
DocParamSect::Type | type () const |
DocParamSect::Direction | direction () const |
void | markFirst (bool b=TRUE) |
void | markLast (bool b=TRUE) |
bool | isFirst () const |
bool | isLast () const |
void | accept (DocVisitor *v) |
int | parse (const QCString &cmdName) |
int | parseXml (const QCString ¶mName) |
Public Member Functions inherited from DocNode | |
DocNode () | |
virtual | ~DocNode () |
DocNode * | parent () const |
void | setParent (DocNode *parent) |
bool | isPreformatted () const |
Private Attributes | |
QList< DocPara > | m_paragraphs |
QList< DocNode > | m_params |
QList< DocNode > | m_paramTypes |
DocParamSect::Type | m_type |
DocParamSect::Direction | m_dir |
bool | m_isFirst |
bool | m_isLast |
Node representing a parameter list.
Definition at line 1157 of file docparser.h.
|
inline |
Definition at line 1160 of file docparser.h.
References m_paragraphs, m_params, m_paramTypes, DocNode::m_parent, and DocNode::parent().
|
inlinevirtual |
Definition at line 1167 of file docparser.h.
|
inlinevirtual |
Acceptor function for node visitors. Part of the visitor pattern.
v | Abstract visitor. |
Implements DocNode.
Definition at line 1177 of file docparser.h.
References DocNode::accept(), m_paragraphs, DocVisitor::visitPost(), and DocVisitor::visitPre().
|
inline |
Definition at line 1172 of file docparser.h.
References m_dir.
Referenced by RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), XmlDocVisitor::visitPre(), and PerlModDocVisitor::visitPre().
|
inline |
|
inline |
Definition at line 1176 of file docparser.h.
References m_isLast.
Referenced by ManDocVisitor::visitPost().
|
inlinevirtual |
Returns the kind of node. Provides runtime type information
Implements DocNode.
Definition at line 1168 of file docparser.h.
References DocNode::Kind_ParamList.
|
inline |
Definition at line 1173 of file docparser.h.
References m_isFirst.
Referenced by DocParamSect::parse().
|
inline |
Definition at line 1174 of file docparser.h.
References m_isLast.
Referenced by DocParamSect::parse().
|
inline |
Definition at line 1169 of file docparser.h.
References m_params.
Referenced by DocbookDocVisitor::visitPre(), RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), ManDocVisitor::visitPre(), LatexDocVisitor::visitPre(), XmlDocVisitor::visitPre(), PerlModDocVisitor::visitPre(), and PrintDocVisitor::visitPre().
|
inline |
Definition at line 1170 of file docparser.h.
References m_paramTypes.
Referenced by RTFDocVisitor::visitPre(), HtmlDocVisitor::visitPre(), LatexDocVisitor::visitPre(), and XmlDocVisitor::visitPre().
int DocParamList::parse | ( | const QCString & | cmdName | ) |
Definition at line 4665 of file docparser.cpp.
References checkArgumentName(), DBG, doctokenizerYYlex(), doctokenizerYYlineno, doctokenizerYYsetStatePara(), doctokenizerYYsetStateParam(), g_fileName, g_hasParamCommand, g_hasReturnCommand, g_nodeStack, g_token, handleLinkedWord(), handleParameterType(), m_paragraphs, m_params, m_paramTypes, m_type, DocPara::markFirst(), DocPara::markLast(), TokenInfo::name, DocParamSect::Param, DocNode::parent(), DocPara::parse(), DocParamSect::RetVal, RetVal_OK, TK_WHITESPACE, TK_WORD, and warn_doc_error().
Referenced by DocParamSect::parse().
int DocParamList::parseXml | ( | const QCString & | paramName | ) |
Definition at line 4740 of file docparser.cpp.
References checkArgumentName(), DBG, doctokenizerYYlineno, g_fileName, g_hasParamCommand, g_hasReturnCommand, g_nodeStack, g_token, handleLinkedWord(), Mappers::htmlTagMapper, DocPara::isEmpty(), m_paragraphs, m_params, m_type, Mapper::map(), DocPara::markFirst(), DocPara::markLast(), TokenInfo::name, DocParamSect::Param, DocPara::parse(), DocParamSect::RetVal, RetVal_CloseXml, RetVal_OK, warn_doc_error(), XML_EXCEPTION, XML_PARAM, and XML_TYPEPARAM.
Referenced by DocParamSect::parse().
|
inline |
|
private |
Definition at line 1193 of file docparser.h.
Referenced by direction().
|
private |
Definition at line 1194 of file docparser.h.
Referenced by isFirst(), and markFirst().
|
private |
Definition at line 1195 of file docparser.h.
Referenced by isLast(), and markLast().
|
private |
Definition at line 1189 of file docparser.h.
Referenced by accept(), DocParamList(), parse(), and parseXml().
|
private |
Definition at line 1190 of file docparser.h.
Referenced by DocParamList(), parameters(), parse(), and parseXml().
|
private |
Definition at line 1191 of file docparser.h.
Referenced by DocParamList(), paramTypes(), and parse().
|
private |
Definition at line 1192 of file docparser.h.
Referenced by parse(), parseXml(), and type().