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.

Enum dmd.aggregate.ClassKind

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.

enum ClassKind : int { ... }

Enum members

NameDescription
cpp the aggregate is a C++ struct/class/interface
d the aggregate is a d(efault) class
objc the aggregate is an Objective-C class/interface

Authors

Walter Bright

License

Boost License 1.0