I'm not sure it is the right place to ask for this so please don't flame if I'm wrong.
I want to get all defined symbols (class name, namespace, variables, members, typedef, template, define etc...) from all the .h and .cpp file in a directory.
If I take the .y (YACC) file from GCC C++ parser, can I make some magic with it to get a simple lexer & parser so I could have a tree of all symbols in that directory ?
If yes, how ?
Thanks.
Cyril
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure it is the right place to ask for this so please don't flame if I'm wrong.
I want to get all defined symbols (class name, namespace, variables, members, typedef, template, define etc...) from all the .h and .cpp file in a directory.
If I take the .y (YACC) file from GCC C++ parser, can I make some magic with it to get a simple lexer & parser so I could have a tree of all symbols in that directory ?
If yes, how ?
Thanks.
Cyril