[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-core-dev] CDT Indexing
|
I have come to know that the index has a store of all the symbols parsed by the parser in the form of AST nodes. But when the size of the index goes beyond a set limit the index is merged into a file on the disk.
I have a few questions on this issue:
firstly, is this file created for the sole purpose of limiting memory usage or it is reused whenever the CDT is restarted or a project is reopened. In the former case, is the index recreated at startup by parsing all the projects or at least the currently opened files.
secondly, does this index maintain a list of identifiers and their offsets in their files only. Or does it also store information regarding their type and symantics in the file they exist.. When we say that the file has a record of relationships between different C/C++ elements. What kind of relationships are we talking about. I mean is it that its a variable, class definition, function or a member etc.
thirdly, when is the first COMPLETE_PARSE done, at startup or first content assist, etc. When a content assist is required does the CDT parses all the included files (all of the project in case "search entire project" is selected from user preferences) again or does it loads their symbol tables from hard disk or has it already parsed them at some previous instance etc.
I would be grateful if you take your time in answering my questions. Thankyou for all the help I got so far.
--
__________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup