Thread overview
Doxygen
Apr 03, 2003
Matthew Wilson
Apr 03, 2003
Burton Radons
Apr 03, 2003
Matthew Wilson
April 03, 2003
Anyone done anything with D & Doxygen?

I'm trying it now, and it seems to live with functions ok, but thinks import and module statements are variables, which is irritating.

It seems utterly confounded by classes.



April 03, 2003
Matthew Wilson wrote:
> Anyone done anything with D & Doxygen?
> 
> I'm trying it now, and it seems to live with functions ok, but thinks import
> and module statements are variables, which is irritating.
> 
> It seems utterly confounded by classes.

There's a utility in dig, dfilter, which can be put on the "INPUT_FILTER" setting in the Doxyfile; it prepares the source for processing.  It doesn't remove import or module statements - I don't have Doxygen setup for showing them, I'll put that in the next release.

April 03, 2003
Nice one. :)

I've just changed a bit of code for module and import, and it works quite nicely.

Changes are:

            /* Modify into package. */
            case "module":
                flush(p);
                printf ("package ", nextSemiColon);

                s = c;
                break;

            /* Modify into import X.Y.*. */
            case "import":
                flush (p);
                printf ("import ", nextSemiColon);

                while ((t = token ()) != null)
                {
                    if (t == ";")
                    {
                        printf(".*;");
                        break;
                    }
                    else
                    {
                        printf ("%.*s", t);
                    }
                }
                s = c;
                break;




"Burton Radons" <loth@users.sourceforge.net> wrote in message news:b6gb6b$2e7k$1@digitaldaemon.com...
> Matthew Wilson wrote:
> > Anyone done anything with D & Doxygen?
> >
> > I'm trying it now, and it seems to live with functions ok, but thinks
import
> > and module statements are variables, which is irritating.
> >
> > It seems utterly confounded by classes.
>
> There's a utility in dig, dfilter, which can be put on the "INPUT_FILTER" setting in the Doxyfile; it prepares the source for processing.  It doesn't remove import or module statements - I don't have Doxygen setup for showing them, I'll put that in the next release.
>