Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
dmd.hdrgen
Compiler implementation of the
D programming language.
Authors:
License:
Source hdrgen.d
Documentation https://dlang.org/phobos/dmd_hdrgen.html
- void
moduleToBuffer
(OutBuffer*buf
, Modulem
); - Dumps the full contents of module
m
tobuf
.Parameters:OutBuffer* buf
buffer to write to. Module m
module to visit all members of. - const(char)*
stcToChars
(ref StorageClassstc
); - Pick off one of the storage classes from stc, and return a pointer to a string representation of it. stc is reduced by the one picked.
- const(char)[]
stcToString
(ref StorageClassstc
); - Returns:a human readable representation of
stc
- const(char)*
trustToChars
(TRUSTtrust
);
stringtrustToString
(TRUSTtrust
); - Returns:a human readable representation of
trust
, which is the tokentrust
corresponds to - const(char)*
protectionToChars
(Prot.Kindkind
);
stringprotectionToString
(Prot.Kindkind
); - Returns:a human readable representation of
kind
- void
argExpTypesToCBuffer
(OutBuffer*buf
, Expressions*arguments
); - Write out argument types to buf.
- const(char)*
parametersTypeToChars
(Parameters*parameters
, intvarargs
); - Pretty print function parameters.Parameters:
Parameters* parameters
parameters to print, such as TypeFunction.parameters. int varargs
kind of varargs, see TypeFunction.varargs. Returns:Null-terminated string representing parameters. - const(char)*
parameterToChars
(Parameterparameter
, TypeFunctiontf
, boolfullQual
); - Pretty print function parameter.Parameters:
Parameter parameter
parameter to print. TypeFunction tf
TypeFunction which holds parameter. bool fullQual
whether to fully qualify types. Returns:Null-terminated string representing parameters.
Copyright © 1999-2022 by the D Language Foundation | Page generated by
Ddoc on (no date time)