View source code
Display the source code in dmd/aggregate.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.
Dsymbol representing an aggregate, which is a
||Do byte or word alignment as necessary. Align sizes of 0, as we may not know array sizes yet.|
||Iterate this dsymbol or members of this scoped dsymbol, then
||Place a field (mem) into an aggregate (agg), which can be a struct, union or class|
||Give a nice string for a class kind for error messages|
||Abstract aggregate as a common ancestor for Class- and StructDeclaration.|
||If an aggregate has a pargma(mangle, ...) this holds the information to mangle.|
||The ClassKind enum is used in AggregateDeclaration AST nodes to specify the linkage type of the struct/class/interface or if it is an anonymous class. If the class is anonymous it is also considered to be a D class.|