dmd.ctorflow
Manage flow analysis for constructors.
License
Source: ctorflow.d
Documentation: https://dlang.org/phobos/dmd_ctorflow.html
-
Declaration
structFieldInit; -
Declaration
structCtorFlow;Primitive flow analysis for constructors
-
Declaration
CSXcallSuper;state of calling other constructors
-
Declaration
FieldInit[]fieldinit;state of field initializations
-
Declaration
CtorFlowclone();Create a deep copy of
thisReturn Value
a copy
-
Declaration
pure nothrow voidorCSX(CSXcsx);Set CSX bits in flow analysis state
Parameters
CSXcsxbits to set
-
Declaration
pure nothrow voidOR(ref const CtorFlowctorflow);ORCSX bits tothisParameters
CtorFlowctorflowbits to
ORin
-
-
Declaration
pure nothrow boolmergeCallSuper(ref CSXa, const CSXb);Merge
flow analysis results intob.aParameters
CSXathe path to merge
intobCSXbthe other path
Return Value
falsemeans one of the paths skips construction -
Declaration
pure nothrow boolmergeFieldInit(ref CSXa, const CSXb);Merge
flow analysis results intob.aParameters
CSXathe path to merge
intobCSXbthe other path
Return Value
falsemeans eitheroraskips initializationb