dmd.ctorflow
Manage flow analysis for constructors.
License
Source: ctorflow.d
Documentation: https://dlang.org/phobos/dmd_ctorflow.html
-
Declaration
struct
FieldInit
; -
Declaration
struct
CtorFlow
;Primitive flow analysis for constructors
-
Declaration
CSX
callSuper
;state of calling other constructors
-
Declaration
FieldInit[]
fieldinit
;state of field initializations
-
Declaration
CtorFlow
clone
();Create a deep copy of
this
Return Value
a copy
-
Declaration
pure nothrow void
orCSX
(CSXcsx
);Set CSX bits in flow analysis state
Parameters
CSX
csx
bits to set
-
Declaration
pure nothrow void
OR
(ref const CtorFlowctorflow
);OR
CSX bits tothis
Parameters
CtorFlow
ctorflow
bits to
OR
in
-
-
Declaration
pure nothrow bool
mergeCallSuper
(ref CSXa
, const CSXb
);Merge
flow analysis results intob
.a
Parameters
CSX
a
the path to merge
intob
CSX
b
the other path
Return Value
false
means one of the paths skips construction -
Declaration
pure nothrow bool
mergeFieldInit
(ref CSXa
, const CSXb
);Merge
flow analysis results intob
.a
Parameters
CSX
a
the path to merge
intob
CSX
b
the other path
Return Value
false
means either
ora
skips initializationb