<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
Roberto Raggi wrote:<br>
<blockquote type="cite" cite="mid200304081257.57947.raggi@di.unipi.it">
<pre wrap="">On Tuesday 08 April 2003 09:26, Teodorescu Cristian wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Roberto Raggi wrote:
</pre>
<blockquote type="cite">
<pre wrap="">can reenable it today.. i have a few patches to commit too, but i'm a
very busy at the moment, anyway i'll try to it in these days.
after alpha 4 i would like to replace the classstore, i have a semi
working prototype for a "very simple" persistant class store that use
berkeley db 3, it is inspired to the class store of sourcenav
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
great!! i'll commit the new class store as soon as possible(maybe today if i
have time to add the support for the AND JOIN operation).. after that i'm
very happy if you want to contribute to finish it ;)</pre>
</blockquote>
Ok let's make it until alpha 5<br>
i don't know how to use diff & stuff so when i modify smth i'll
send <br>
you modified files<br>
<blockquote type="cite" cite="mid200304081257.57947.raggi@di.unipi.it">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">I start coding classstore based on other DB so if you can send me your
prototype maybe i can help you.
I have a small question . How i invoke parser on a directory that is not
part of current project
</pre>
</blockquote>
<pre wrap=""><!---->
m_cppSupport->backgroundParser()->addFile( "full-path" );
ensure that the file is parsed
while( m_backgroundParser->filesInQueue() > 0 )
m_backgroundParser->isEmpty().wait();
at this point you can access to the AST with
m_cppSupport->backgroundParser()->lock();
TranslationUnitAST* unit = 0;
unit = m_cppSupport->backgroundParser()->translationUnit( "full-path" );
// ### USE unit
m_cppSupport->backgroundParser()->unlock();
when you have finished to use the AST, you can remove the AST with the command
m_cppSupport->backgroundParser()->removeFile( "full-path" );
ciao robe</pre>
</blockquote>
10x i need that for parsing include for all <br>
<blockquote type="cite" cite="mid200304081257.57947.raggi@di.unipi.it">
<pre wrap="">
_______________________________________________
Kdevelop-devel mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Kdevelop-devel@barney.cs.uni-potsdam.de">Kdevelop-devel@barney.cs.uni-potsdam.de</a>
<a class="moz-txt-link-freetext"
href="http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel">http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>