Re: [cedet-semantic] How hard...?
Brought to you by:
zappo
From: Bruce S. <bru...@ce...> - 2004-06-14 22:36:07
|
<jy...@ne...> writes: [...] > Any reactions? Some bits are easy. CEDET can certainly report a list of header file strings included in a file (and resolve them to actual files, presuming that things are set up correctly), and for each file, can give the symbols (functions, classes, methods, etc.) defined in each file. However, finding the referenced symbols is likely to be harder---you'd really need a full parse for that (especially for C++---for C or something you could get a pretty good first approximation by searching for words, ignoring string constants and comments). Having said that, CEDET can do things which suggest that it's not impossible, like parsing local context to get the intellisense-like completions. Not that I'd want to put anyone off trying---if we could do that, then we could do callgraphs and things, which would be very cool. |