help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] building an index of references?


From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] building an index of references?
Date: Wed, 07 Jan 2015 16:44:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]