Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-core-dev] Rational CDT Core Proposals

Yes, I remember reading about that in the ISO spec.  My thoughts then were that we would have to do a quick parse (i.e., no function bodies) and then parse into the function body containing the cursor.  The way we are doing tokens, this should be pretty straight forward.  But then, we'll have to see how that works in practice...

 

Doug Schaefer
Senior Staff Software Engineer

Rational - the software development company
Ottawa (Kanata), Ontario, Canada

-----Original Message-----
From: Alex Chapiro [mailto:achapiro@xxxxxxx]
Sent: Friday, February 14, 2003 4:58 PM
To:
cdt-core-dev@xxxxxxxxxxx
Subject: Re: [cdt-core-dev] Rational CDT Core Proposals

 

Example:

 

class A {

 

    A() {

        fAbcde = 0;

    };

 

    int fAbcde;

}

----- Original Message -----

Sent: Friday, February 14, 2003 4:43 PM

Subject: Re: [cdt-core-dev] Rational CDT Core Proposals

 

Thanks, Alex.

 

We've only spent a little time thinking about code completion so there are bound to be holes in our strategy ;-).

 

I'm not sure what you mean by "inline function declarations ... declared below".  Can you give an example?

 

In the end, we're going to do a best effort, which should still be pretty good.  In general you can only parse up to the cursor since you are likely to get parse errors after that anyway (I guess you can say the code would be incomplete J).  We'll look at how the JDT works and try to emulate them as much as it makes sense (our general strategy for most of this stuff).

 

Thanks,

Doug Schaefer
Senior Staff Software Engineer

Rational - the software development company
Ottawa (Kanata), Ontario, Canada

-----Original Message-----
From: Alex Chapiro [mailto:achapiro@xxxxxxx]
Sent: Friday, February 14, 2003 4:34 PM
To: cdt-core-dev@xxxxxxxxxxx
Subject: Re: [cdt-core-dev] Rational CDT Core Proposals

 

Greate document!

 

Sorry, just a small note after the first glance about code complete section. Is it correct for C++ code to parse until the cursor location? How about inline function declarations which can operate with all class members including those who declared below?

----- Original Message -----

Sent: Friday, February 14, 2003 2:41 PM

Subject: [cdt-core-dev] Rational CDT Core Proposals

 

Hey gang,

 

As mentioned at the last conference call, we here at Rational have been busy writing down our ideas for the evolution of the CDT core.  The overview of the proposal is now at:

 

http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-core-home/docs/rationalProposals/index.html?cvsroot=Tools_Project

 

There are links from here to four subproposals (scanner, parser, Cmodel, and Indexer).  More will follow as we get more resources working on the CDT over the next few months.  Please provide any feedback, questions, broken links, etc. to the cdt-core-dev list and we'll be happy to respond.

 

Cheers,

Doug Schaefer - Tech Lead

John Camelon and Andrew Niefer - Parser

Hoda Amer - CModel (or core.model)

Sean Evoy - Build and Indexer
Michel Paquet - Director

 


Back to the top