generateFile

Generates D source code from a given module. It will optionally declare a D module. This utility function also imports codegen helpers and privately aliases dclass primitives. This function is suitable for creating a self-contained file.

  1. string generateFile(Module file, string moduleName, string distributedObjectModule, string baseType, bool generateStubs)
    string
    generateFile
    (
    Module file
    ,
    string moduleName = ""
    ,
    string distributedObjectModule = "libastrond"
    ,
    string baseType = ""
    ,
    bool generateStubs = true
    )
  2. string generateFile(string dcFile, string moduleName, string distributedObjectModule, string baseType, bool generateStubs)

See Also

Meta