dmd.init
Defines initializers of variables, e.g. the array literal in int[3] x = [0, 1, 2]
.
License
Source: init.d
Documentation: https://dlang.org/phobos/dmd_init.html
-
Declaration
enum
InitKind
: ubyte;Discriminant for which kind of initializer
-
Declaration
class
Initializer
: dmd.ast_node.ASTNode; -
Declaration
class
VoidInitializer
: dmd.init.Initializer; -
Declaration
class
ErrorInitializer
: dmd.init.Initializer; -
Declaration
class
StructInitializer
: dmd.init.Initializer; -
Declaration
class
ArrayInitializer
: dmd.init.Initializer; -
Declaration
class
ExpInitializer
: dmd.init.Initializer; -
Declaration
Initializer
syntaxCopy
(Initializerinx
);Copy the AST for Initializer.
Parameters
Initializer
inx
Initializer AST to copy
Return Value
the copy