summaryrefslogtreecommitdiffstats
path: root/src/docparser.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-06-22 20:14:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-06-22 20:14:03 (GMT)
commitb70a5b4f9325ec703db37394feeaa9ebc11228b4 (patch)
tree2f918f7da3205101b2a8a300ee9afefe247b3f24 /src/docparser.h
parent8375a55083e5232e65493e73cb594c9c5e9552ab (diff)
downloadDoxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.zip
Doxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.tar.gz
Doxygen-b70a5b4f9325ec703db37394feeaa9ebc11228b4.tar.bz2
Release-1.5.9-20090622
Diffstat (limited to 'src/docparser.h')
-rw-r--r--src/docparser.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/docparser.h b/src/docparser.h
index fc930dd..5ecfb4b 100644
--- a/src/docparser.h
+++ b/src/docparser.h
@@ -126,7 +126,7 @@ class DocNode
Kind_Formula = 38,
Kind_SecRefItem = 39,
Kind_SecRefList = 40,
- //Kind_Language = 41,
+ Kind_SimpleSectSep = 41,
Kind_LinkedWord = 42,
Kind_ParamSect = 43,
Kind_ParamList = 44,
@@ -928,7 +928,7 @@ class DocSimpleSect : public CompAccept<DocSimpleSect>, public DocNode
QCString typeString() const;
DocNode *parent() const { return m_parent; }
void accept(DocVisitor *v);
- int parse(bool userTitle);
+ int parse(bool userTitle,bool needsSeparator);
int parseRcs();
int parseXml();
void appendLinkWord(const QString &word);
@@ -940,6 +940,21 @@ class DocSimpleSect : public CompAccept<DocSimpleSect>, public DocNode
DocTitle * m_title;
};
+/*! Node representing a separator between two simple sections of the
+ * same type.
+ */
+class DocSimpleSectSep : public DocNode
+{
+ public:
+ DocSimpleSectSep(DocNode *parent) : m_parent(parent) {}
+ Kind kind() const { return Kind_SimpleSectSep; }
+ DocNode *parent() const { return m_parent; }
+ void accept(DocVisitor *v) { v->visit(this); }
+
+ private:
+ DocNode *m_parent;
+};
+
/*! Node representing a parameter section */
class DocParamSect : public CompAccept<DocParamSect>, public DocNode
{