Re: building an index of references?
Lorenzo Bettini <[email protected]> Wed, 07 Jan 2015 16:44:59 +0100
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
On 07/01/2015 04:42, Masatake YAMATO wrote:
>> https://developer.gnome.org/glib/2.42/api-index-full.html)
>>
>> It seems like source-highlight handles all the bits that would be required
>> for this, but I didn't spot any options to produce it. Did I m
>
> How about using ctags for the purpose?
>
> % ./ctags -x -o - ./erlang.c
> ./ctags -x -o - ./erlang.c
> ErlangKinds variable 33 ./erlang.c static kindOption ErlangKinds[] = {
> ErlangParser function 185 ./erlang.c extern parserDefinition *ErlangParser (void)
> K_FUNCTION enumerator 30 ./erlang.c K_MACRO, K_FUNCTION, K_MODULE, K_RECORD, K_TYPE
> K_MACRO enumerator 30 ./erlang.c K_MACRO, K_FUNCTION, K_MODULE, K_RECORD, K_TYPE
> ...
Hi there
I don't think ctags would be helpful for what you need... I guess the
list of api could be implemented with doxgen, if I understand what you
need to do...
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book