DeprecatedDeclaration

Deprecation with an additional message applied to Dsymbols, e.g. deprecated("Superseeded by foo") int bar;. (Note that deprecated int bar; is currently represented as a StorageClassDeclaration with STC.deprecated_)

deprecated(<msg>) <decl...>

Members

Functions

newScope
Scope* newScope(Scope* sc)

Provides a new scope with STC.deprecated_ and Scope.depdecl set

Variables

msg
Expression msg;

deprecation message

msgstr
const(char)* msgstr;

cached string representation of msg

Meta