Compiler implementation of the D programming language.
Search sd for a member function of the form: extern (D) string toString();
StructDeclaration sd
| struct declaration to search |
toString()
if found, null
if notRequest additional semantic analysis for TypeInfo generation.
Scope* sc
| context |
Type t
| type that TypeInfo is being generated for |
All struct
declarations are an instance of this.
Fit elements[] to the corresponding types of the struct's fields.
Loc loc
| location to use for error messages |
Scope* sc
| context |
Expressions* elements
| explicit arguments used to construct object |
Type stype
| the constructed object type. |
Determine if struct is POD (Plain Old Data).
POD is defined as:
ref
fields or fields that are themselves non-PODUnions are a variation on structs.
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/dmd_dstruct.html