This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using gcc to parse C++ sources


Hi gcc folks,

i plan to parse c++ source files in order to extract information about
function signatures and typedefs. After reading some pages of the gcc internals
documentation, i found out, that gcc uses an internal tree structure (tree.h)
to represent the parsed (c++) source files. This tree structure seems to be
able to satisfy my needs.

I want to modify/use the gcc to pass me this tree structure. My problem is,
that i don't know exactly where to start at and how this can be achieved in
the easiest way. Please can anybody drop me a hint.

Greets,

-- 
Juergen Graf <gcc@codeguy.org> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]