[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    How does parsing and duchainbuilding work?
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-07-25 22:32:07
Message-ID: 20070725223207.GA8796 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

Hi,

maybe one of our C++ guys has already explained this, but I'm currently
missing information on what exactly happens (in which order) when a file
is parsed. I'd like to understand (without having to read all the stuff
in the C++ support):

What happens after the parsing itself is done?
How does the editorintegrator fit into the picture - I first thought its
a singleton, but its not, so where does it get created (or better: Where
is a Contextbuilder created)?

I think this is pretty vital information to get from a plain parser to a
language support plugin. I mean the "duchain-building" part is pretty
clear, an AST visitor that walks the AST and creates duchain-objects
during that. But how is the building triggered? What classes are needed
to build it?

Andreas

-- 
Your business will assume vast proportions.

_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic