Module

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Constructors

this
this(string module_id)

Create a new, empty module in the global context.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

Copying this object is disabled.

A postblit is present on this object, but not explicitly documented in the source.

Alias This

lx

Members

Functions

func
FunctionValue func(string name)
identifier
const(char)[] identifier()

Obtain the identifier of the module.

namedMetadata
NamedMetadataValue namedMetadata(string name)

Obtain the named metadata operands for a module.

toBuffer
auto toBuffer()

Writes a module to a new memory buffer and returns it.

toString
void toString(scope Writer w, FormatSpec!Char fmt)

Add an operand to named metadata.

verify
VerifyResult verify()

Verifies that a module is valid.

Meta