Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Understanding CDT Parser, Editor, Outline View Interactions

Hi all,

I am currently getting CDT 6.0 to accept an extended C++ dialect; I have currently gotten the C++ parser to parse and check the extensions, and am looking to further integrate the dialect support into the CDT editing environment.

My question is regarding the interaction between the Parser, the AST, Model, and Outline View, and there implementations. I think that the Parser builds the AST, tracking type information, and generates a model; the Outline View is then somehow notified of a newly completed parse, and traverses the model? to build its content tree.

Mu question is three fold; where can I find the Outline View implementation (or documentation on it?), what triggers the view's content being (re)built, and from what data structures is it built?

George Russell

Back to the top