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

Miscellaneous declarations, including typedef, alias, variable declarations including the implicit this declaration, type tuples, ClassInfo, ModuleInfo and various TypeInfos.

Documentation

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

Coverage

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

Functions

NameDescription
checkFrameAccess(loc, sc, ad, iStart) Check to see the aggregate type is nested and its context pointer is accessible from the current scope. Returns true if error occurs.
modifyFieldVar(loc, sc, var, e1) Mark variable v as modified if it is inside a constructor that var is a field in. Also used to allow immutable globals to be initialized inside a static constructor.
ObjectNotFound(id)

Classes

NameDescription
AliasDeclaration
BitFieldDeclaration C11 6.7.2.1-4 bit fields
Declaration
OverDeclaration
SymbolDeclaration This is a shell around a back end symbol
ThisDeclaration For the "this" parameter to member functions
TupleDeclaration
TypeInfoArrayDeclaration
TypeInfoAssociativeArrayDeclaration
TypeInfoClassDeclaration
TypeInfoConstDeclaration
TypeInfoDeclaration
TypeInfoDelegateDeclaration
TypeInfoEnumDeclaration
TypeInfoFunctionDeclaration
TypeInfoInterfaceDeclaration
TypeInfoInvariantDeclaration
TypeInfoPointerDeclaration
TypeInfoSharedDeclaration
TypeInfoStaticArrayDeclaration
TypeInfoStructDeclaration
TypeInfoTupleDeclaration
TypeInfoVectorDeclaration
TypeInfoWildDeclaration
VarDeclaration

Authors

Walter Bright

License

Boost License 1.0