Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » Proposed changes to indexing and PDB API
Proposed changes to indexing and PDB API [message #657118] Tue, 01 March 2011 11:01
Robert M. Fuhrer is currently offline Robert M. Fuhrer
Messages: 294
Registered: July 2009
Senior Member
Hi Everyone,

I'd like to make the following high-level changes to the indexing API:
- Add support for indexing documents corresponding to unsaved editor buffers.
- Make FactBase no longer a singleton.
- Make Indexer no longer a singleton. Each Indexer instance talks to a given FactBase. This permits multiple
languages' worth of indexes to each have their own FactBase, rather than their facts all being comingled.
- Remove IndexManager, which was just a facade class to wrap accessing the singleton Indexer instance.
- Remove the FactBase argument from IFactGenerator, and have its generate(...) method return an IValue, so that
generators just generate, and the framework takes care of writing to the FactBase.

Comments?

--
Cheers,
-- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
Previous Topic:Incremental parsing
Next Topic:Generating AST for C parser using IMP
Goto Forum:
  


Current Time: Wed Apr 23 17:51:14 EDT 2014

Powered by FUDForum. Page generated in 0.01444 seconds