StaticIfDeclaration

`<scopesym> { static if (<condition>) { <decl> } else { <elsedecl> } }`

extern (C++) final
class StaticIfDeclaration : ConditionalDeclaration {}

Members

Functions

include
Dsymbols* include(Scope* sc)

Different from other AttribDeclaration subclasses, include() call requires the completion of addMember and setScope phases.

Variables

scopesym
ScopeDsymbol scopesym;

enclosing symbol (e.g. module) where symbols will be inserted

Inherited Members

From ConditionalDeclaration

condition
Condition condition;

condition deciding whether decl or elsedecl applies

elsedecl
Dsymbols* elsedecl;

array of Dsymbol's for else block

Suggestion Box / Bug Report