dmd.json

Code for generating .json descriptions of the module when passing the -X flag to dmd.

Members

Functions

getcwd
char* getcwd(char* buffer, size_t maxlen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
json_generate
void json_generate(OutBuffer* buf, Modules* modules)
Undocumented in source. Be warned that the author may not have intended to support it.
tryParseJsonField
JsonFieldFlags tryParseJsonField(const(char)* fieldName)

Parse the given fieldName and return its corresponding JsonFieldFlags value.

Manifest constants

jsonFieldNames
enum jsonFieldNames;

A string listing the name of each JSON field. Useful for errors messages.

Meta