StaticIfDeclaration

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

Constructors

this
this(Condition condition, Dsymbols* decl, Dsymbols* elsedecl)
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.
addMember
void addMember(Scope* sc, ScopeDsymbol sds)
Undocumented in source. Be warned that the author may not have intended to support it.
importAll
void importAll(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
include
Dsymbols* include(Scope* sc)

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

kind
const(char)* kind()
Undocumented in source. Be warned that the author may not have intended to support it.
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

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

syntaxCopy
Dsymbol syntaxCopy(Dsymbol s)
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.
include
Dsymbols* include(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
addComment
void addComment(const(char)* comment)
Undocumented in source. Be warned that the author may not have intended to support it.
setScope
void setScope(Scope* sc)
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