bamboo.codegen.frontend

Undocumented in source.

Members

Functions

generateFile
string generateFile(Module file, string moduleName, string distributedObjectModule, string baseType, bool generateStubs)
string generateFile(string dcFile, string moduleName, string distributedObjectModule, string baseType, bool generateStubs)

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.

generateModule
string generateModule(Module file, string baseType, bool generateStubs)
string generateModule(string dcFile, string baseType, bool generateStubs)

Generates D source code from a given module. This function is suitable for mixing into a larger D source file.

Meta