Hi Michael, > On 26 Oct 2014, at 12:15 , Michael Jones <m.pricejo...@gmail.com> wrote: > > I am the maintainer of an open source project called Breathe which relies on > the excellent xml output from Doxygen to include Doxygen processed code & > comment information in Sphinx documentation.
A very interesting project! > Breathe has generally focussed on C & C++ output but recently we've had > requests to support Objective-C code as well which has very different > formatting. As Breathe doesn't know any better it attempts to stick the > information in the XML together as if it is C style output and so produces a > bit of a mess for Objective-C style declarations. > > I am curious how doxygen tracks that a particular declaration should be > output as Objective-C and how that might be reflected in the XML output in > such as way that Breathe might take advantage of it. > > Unfortunately, I know very little of Objective-C so I don't really know what > I am looking for. That said, from an inspection of the XML output for an > example Objective-C interface the only clues I can see are that the 'ids' > begin with 'interface' and that there are strangely placed square brackets > and colons in the definition & param values :) > > Is the 'interface' prefix sufficient information in this case? Is there > another way of determining that Objective-C might be involved? Doxygen internally keeps track of which language a symbol is written in (see Definition::getLanguage()). This information is partly based on the file extension (and EXTENSION_MAPPING setting) and is for Objective-C also based on specific keywords found in the header file. So far this information is not written to the XML output, but it would not be hard to add this if that would help you. Regards, Dimitri ------------------------------------------------------------------------------ _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users