summaryrefslogtreecommitdiffstats
path: root/src/docparser.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-10-27 20:10:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-10-27 20:10:16 (GMT)
commitd2aec1bac5dbf774dd640b36aa0a6d7c1288c570 (patch)
tree7b31e0941321a116a730c80e26726da9202178c3 /src/docparser.h
parenta62d9f8f1c2c97d454ff33bc1a4911d1362d9766 (diff)
downloadDoxygen-d2aec1bac5dbf774dd640b36aa0a6d7c1288c570.zip
Doxygen-d2aec1bac5dbf774dd640b36aa0a6d7c1288c570.tar.gz
Doxygen-d2aec1bac5dbf774dd640b36aa0a6d7c1288c570.tar.bz2
Release-1.6.1-20091027
Diffstat (limited to 'src/docparser.h')
-rw-r--r--src/docparser.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/docparser.h b/src/docparser.h
index bb867b8..433aea9 100644
--- a/src/docparser.h
+++ b/src/docparser.h
@@ -324,10 +324,10 @@ class DocStyleChange : public DocNode
class DocSymbol : public DocNode
{
public:
- enum SymType { Unknown=0, BSlash,At,Less,Greater,Amp,Dollar,Hash,Percent,
- Copy, Tm, Reg, Apos, Quot, Uml, Acute, Grave, Circ, Tilde,
- Szlig, Cedil, Ring, Nbsp, Slash, Lsquo, Rsquo, Ldquo, Rdquo,
- Ndash, Mdash, Aelig, AElig
+ enum SymType { Unknown=0, BSlash, At, Less, Greater, Amp, Dollar, Hash,
+ Percent, Copy, Tm, Reg, Apos, Quot, Uml, Acute,
+ Grave, Circ, Tilde, Szlig, Cedil, Ring, Nbsp, Slash,
+ Lsquo, Rsquo, Ldquo, Rdquo, Ndash, Mdash, Aelig, AElig
};
DocSymbol(DocNode *parent,SymType s,char letter='\0') :
m_parent(parent), m_symbol(s), m_letter(letter) {}
@@ -488,16 +488,21 @@ class DocFormula : public DocNode
class DocIndexEntry : public DocNode
{
public:
- DocIndexEntry(DocNode *parent) : m_parent(parent) { }
+ DocIndexEntry(DocNode *parent,Definition *scope,MemberDef *md)
+ : m_parent(parent), m_scope(scope), m_member(md) { }
Kind kind() const { return Kind_IndexEntry; }
int parse();
DocNode *parent() const { return m_parent; }
- void accept(DocVisitor *v) { v->visit(this); }
- QString entry() { return m_entry; }
+ Definition *scope() const { return m_scope; }
+ MemberDef *member() const { return m_member; }
+ QString entry() const { return m_entry; }
+ void accept(DocVisitor *v) { v->visit(this); }
private:
- DocNode *m_parent;
- QString m_entry;
+ DocNode *m_parent;
+ QString m_entry;
+ Definition *m_scope;
+ MemberDef *m_member;
};
//-----------------------------------------------------------------------