Re: [Ctags-devel] Determining type of variables
Brought to you by:
dhiebert
From: Darren H. <dhi...@us...> - 2008-01-28 01:48:10
|
Kopats, The types of variables for which ctags generates tags are not recorded in the tag file. Type (signature) information is generated for functions, but is not entirely reliable. Darren On Jan 27, 2008, at 4:25 AM, Andrei wrote: > I using ctags source file parsers in the project as static library. > (www.monkeystudio.org) > > There is one problem with it. > I need to know type of variables (C/C++ language), for which tags > are finded, > but there are no information about this in the tagEntryInfo > structure). > Do ctags can indicate variables type ( "int", "float", ...) ? > How you think it's must be implemented? > (Some new field in the tagEntryInfo structure? To use 'typeRef [2]' > field ?) > > Of course, I can read type from outside of ctags code, using file > name and > position, gived in the tagEntryInfo, but I think architecturaly it's > bad way. > > Kopats Andrei -- Darren Hiebert http://darrenhiebert.com |