Generate docs for generated code?
Adam D Ruppe
destructionator at gmail.com
Fri Jul 23 10:54:33 UTC 2021
On Friday, 23 July 2021 at 10:04:55 UTC, wjoe wrote:
> Is there a way for the compiler to consider doc comments in
> auto generated, mixed in code?
If you use my adrdox generator (which runs on the dpldocs.info
website), it handles mixin templates. See
http://dpldocs.info/experimental-docs/std.net.curl.HTTP.html#mixed-in-members
for example.
Mine also actually handles
mixin(q{
/// code
void foo() {}
});
as if it was direct.
But my generator only handles mixin templates and mixin string
literals, not actually generated code returned from a function.
More information about the Digitalmars-d-learn
mailing list