Entries, entry tree, comments

Stefan <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
Hello!

I'll be trying to extend doxygen to parse upcoming features of C++0x, 
namely concepts. I have a few questions.

1) What places should I look for to make the appropriate changes? I 
started to modify the scanner.l. I would like to make doxygen generate 
list of concepts in a file - where's the code that does for classes, 
functione, etc.?

2) What's the structure of the entry tree? Say I'm parsing a namespace:

namespace ns
{
     // a class
     // a concept
     // something else
}

When I'm parsing the concept what does the "current" variable point to? 
To the entry of the class? Should I make a new entry and make it a child 
of the class or a child of the namespace?

3) How do I handle comments that are put just before the concept? Do I 
have to write scanner rules for them, or are there some available 
already? Are there any functions concerning handling those comments that 
I should be aware of?

4) Concepts can be refined - it's pretty much an inheritance. Are there 
any function to build the inheritance diagram?


Thanks in advance,

Stefan Chrobot


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.