This is the mail archive of the
sourcenav@sources.redhat.com
mailing list for the Source Navigator.
Re: source code programming language
- To: sourcenav at sources dot redhat dot com
- Subject: Re: source code programming language
- From: Mo DeJong <mdejong at cygnus dot com>
- Date: Mon, 4 Jun 2001 11:56:11 -0700 (PDT)
On Mon, 4 Jun 2001, Marta Stojanovic wrote:
> Hi all!
>
> Does somebody know if there is a way for a tcl script running on hyper
> to know of programming language of a source code parsed by SN ? I'd like
> to know if project database files (created by SN) contain information on
> the language used. I'm interested in Java and C++, but it should work
> for others also.
Well, yes the language is stored in the db entry for a file. You
will have to figure out how to get that data out of a row on
your own. Have a look at how the code does it now. Also note
that a good DB interface is something we have wanted to do
for some time but we have not had time for.
Mo