dmd.init

Defines initializers of variables, e.g. the array literal in int[3] x = [0, 1, 2].

Members

Aliases

INITinterpret
alias INITinterpret = NeedInterpret.INITinterpret
Undocumented in source.
INITnointerpret
alias INITnointerpret = NeedInterpret.INITnointerpret
Undocumented in source.

Classes

ArrayInitializer
class ArrayInitializer
ErrorInitializer
class ErrorInitializer
ExpInitializer
class ExpInitializer
Initializer
class Initializer
StructInitializer
class StructInitializer
VoidInitializer
class VoidInitializer

Enums

InitKind
enum InitKind

Discriminant for which kind of initializer

NeedInterpret
enum NeedInterpret
Undocumented in source.

Functions

hasNonConstPointers
bool hasNonConstPointers(Expression e)
Undocumented in source. Be warned that the author may not have intended to support it.
syntaxCopy
Initializer syntaxCopy(Initializer inx)

Copy the AST for Initializer.

Meta