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...>

Constructors

this
this(Expression msg, Dsymbols* decl)
Undocumented in source.

Members

Functions

accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
newScope
Scope* newScope(Scope* sc)

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

setScope
void setScope(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
syntaxCopy
Dsymbol syntaxCopy(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

msg
Expression msg;

deprecation message

msgstr
const(char)* msgstr;

cached string representation of msg

Inherited Members

From StorageClassDeclaration

stc
StorageClass stc;
Undocumented in source.
syntaxCopy
Dsymbol syntaxCopy(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
newScope
Scope* newScope(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
oneMember
bool oneMember(Dsymbol* ps, Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
addMember
void addMember(Scope* sc, ScopeDsymbol sds)
Undocumented in source. Be warned that the author may not have intended to support it.
isStorageClassDeclaration
inout(StorageClassDeclaration) isStorageClassDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta