bamboo.codegen

Undocumented in source.

Members

Functions

generateFile
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.

generateFile
string generateFile(Module file, 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.

Manifest constants

Primitives
enum Primitives;

Handy mixin for all dclass primitives.

blobTypes
enum blobTypes;

Alias for the dclass blob type.

floatTypes
enum floatTypes;

Aliases for dclass float type names.

intTypes
enum intTypes;

Aliases for dclass int type names.

Structs

FieldId
struct FieldId

Provides metadata for D introspection on dclass fields.

FieldType
struct FieldType(T)

Provides metadata for D introspection on dclass fields.

TypeId
struct TypeId

Provides metadata for D introspection on dclass types.

Meta