diff options
Diffstat (limited to 'src/docparser.h')
-rw-r--r-- | src/docparser.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/docparser.h b/src/docparser.h index b5467c2..4b9b044 100644 --- a/src/docparser.h +++ b/src/docparser.h @@ -507,12 +507,15 @@ class DocCopy : public CompAccept<DocCopy>, public DocNode class DocAutoList : public CompAccept<DocAutoList>, public DocNode { public: - DocAutoList(DocNode *parent,int indent,bool isEnumList) : - m_parent(parent), m_indent(indent), m_isEnumList(isEnumList) {} + DocAutoList(DocNode *parent,int indent,bool isEnumList, + int depth) : + m_parent(parent), m_indent(indent), m_isEnumList(isEnumList), + m_depth(depth) {} Kind kind() const { return Kind_AutoList; } bool isEnumList() const { return m_isEnumList; } int indent() const { return m_indent; } DocNode *parent() const { return m_parent; } + int depth() const { return m_depth; } void accept(DocVisitor *v) { CompAccept<DocAutoList>::accept(this,v); } int parse(); @@ -520,6 +523,7 @@ class DocAutoList : public CompAccept<DocAutoList>, public DocNode DocNode *m_parent; int m_indent; bool m_isEnumList; + int m_depth; }; |