View source code
Display the source code in dmd/astenums.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.

Module dmd.astenums

Defines enums common to dmd and dmd as parse library.

Documentation

https://dlang.org/phobos/dmd_astenums.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/src/dmd/astenums.d

Functions

NameDescription
isRefReturnScope(stc) Determine if it's the ambigous case of where return attaches to.

Structs

NameDescription
DArray Use to return D arrays from C++ functions

Enums

NameDescription
CHECKACTION What should happend when an assertion fails
CHECKENABLE In which context checks for assertions, contracts, bounds checks etc. are enabled
CPPMANGLE Whether to mangle an external aggregate as a struct or class, as set by extern(C++, struct)
Edition D Language version
FileType Source file type
InitKind Discriminant for which kind of initializer
LINK A linkage attribute as defined by extern(XXX)
MATCH Function match levels
PINLINE Inline setting as defined by pragma(inline, XXX)
STMT Identify Statement types with this enum rather than virtual functions
VarArg Variadic argument lists

Authors

License

Boost License 1.0