Re: [anjuta-devel] RFC: Symbol-db future





On 12/12/2010 02:15 PM, Johannes Schmid wrote:

Seems like the interpreter is quite fast. At least I haven't seen any
issues by now and it would be very difficult to help the interpreter in
any way.


ok.

you can filter the symbols from a main db without the need of creating
temp dbs.

If you think this filtering is fast enough we can do that. But the file
filter list will have 50-300 entries.


yes but if you use the 'packages' grouping you would not require to pass all those entries to a single query.


isn't "IANJUTA_SYMBOL_QUERY_SEARCH_IN_SCOPE: Query to perform substring
search in a scope. " what you mean?

Does it automatically search in all parent scopes?


well, nope.
But I'm not sure that a recursive query that searches into parents scope can be written. That's why the cxxparser was written, to give an help in these kind of situations.

@IANJUTA_SYMBOL_QUERY_SEARCH_PARENT_SCOPE: Query to get the parent scope of a symbol.

This query isn't really easy to calculate, and thinking to put the procedures to search the parents recursively is hard.


regards,
Massimo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]