This is the mail archive of the sourcenav@sources.redhat.com mailing list for the Source Navigator.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How to find cross reference for local variables.


> -----Original Message-----
> From: Umair Rasool [mailto:umairr@ifi.uio.no]
> Sent: Wednesday, May 09, 2001 3:15 PM
> To: Bernard Dautrevaux
> Subject: Re: How to find cross reference for local variables.
> 
> 
> Dear Dautrevaux,
> 
> First of all I would like to thank you for your response. After this I
> would  apologize for not mentioning the fact that the example code was
> supposed to be "Java Code". 

I should've think at it ;-)

> I have a Java application that I am trying to
> find cross-references for and there I am having the problem 
> that I mentioned
> in my previous e-mail. In Java it is possible to initalize 
> class members in
> the class definitions. So does this means that the designers 
> have overlooked
> this feature of Java?

Yes, I'm afraid at the time SN was designed, the languages of choice were
only C and C++, and probably Java was not anticipated 8-0
 
You there run into the fact that Java is like C++ (at least syntactically)
so a C++-oriented tool will work fine one it, but not really the same so
some features of the language may not be supported :-(

Hopefully it should not be too difficult to add the right rule in SN's
parser, although I've never even looked at the source code yet :-)

Regards,

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]