From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Dautrevaux To: 'Umair Rasool' , sourcenav@sources.redhat.com Subject: RE: How to find cross reference for local variables. Date: Wed, 09 May 2001 10:07:00 -0000 Message-id: <17B78BDF120BD411B70100500422FC6309E282@IIS000> X-SW-Source: 2001-q2/msg00143.html > -----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 --------------------------------------------