Report a bugIf you spot a problem with this page, click here to create a Bugzilla issue.
Improve this pageQuickly 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 usinga local clone.
dmd.json
Code for generating .json descriptions of the module when passing the-X flag to dmd.
void
json_generate(ref Modules
modules, ref OutBuffer
buf);
Generate json for the modules.
Parameters:Modulesmodules | array of Modules |
OutBufferbuf | write json output to buf |
enum string
jsonFieldNames;
A string listing the name of each JSON field. Useful for errors messages.
JsonFieldFlags
tryParseJsonField(const(char)*
fieldName);
Parse the givenfieldName and return its corresponding JsonFieldFlags value.
Parameters:const(char)*fieldName | the field name to parse |
Returns:JsonFieldFlags.none on error, otherwise the JsonFieldFlags value corresponding to the given fieldName.