Scope

Undocumented in source.

Constructors

this
this(Scope sc)
Undocumented in source.

Members

Functions

alignment
structalign_t alignment()
Undocumented in source. Be warned that the author may not have intended to support it.
allocFieldinit
void allocFieldinit(size_t dim)
Undocumented in source. Be warned that the author may not have intended to support it.
copy
Scope* copy()
Undocumented in source. Be warned that the author may not have intended to support it.
endCTFE
Scope* endCTFE()
Undocumented in source. Be warned that the author may not have intended to support it.
freeFieldinit
void freeFieldinit()
Undocumented in source. Be warned that the author may not have intended to support it.
getClassScope
ClassDeclaration getClassScope()

Search enclosing scopes for ClassDeclaration.

getStructClassScope
AggregateDeclaration getStructClassScope()

Search enclosing scopes for ClassDeclaration.

insert
Dsymbol insert(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
instantiatingModule
Module instantiatingModule()
Undocumented in source. Be warned that the author may not have intended to support it.
mergeCallSuper
void mergeCallSuper(Loc loc, uint cs)
Undocumented in source. Be warned that the author may not have intended to support it.
mergeFieldInit
void mergeFieldInit(Loc loc, uint* fies)
Undocumented in source. Be warned that the author may not have intended to support it.
pop
Scope* pop()
Undocumented in source. Be warned that the author may not have intended to support it.
push
Scope* push()
Undocumented in source. Be warned that the author may not have intended to support it.
push
Scope* push(ScopeDsymbol ss)
Undocumented in source. Be warned that the author may not have intended to support it.
saveFieldInit
uint* saveFieldInit()
Undocumented in source. Be warned that the author may not have intended to support it.
search
Dsymbol search(Loc loc, Identifier ident, Dsymbol* pscopesym, int flags)

Perform unqualified name lookup by following the chain of scopes up until found.

search_correct
Dsymbol search_correct(Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
setNoFree
void setNoFree()

For TemplateDeclarations, we need to remember the Scope where it was declared. So mark the Scope as not to be free'd.

startCTFE
Scope* startCTFE()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

alloc
Scope* alloc()
Undocumented in source. Be warned that the author may not have intended to support it.
createGlobal
Scope* createGlobal(Module _module)
Undocumented in source. Be warned that the author may not have intended to support it.
deprecation10378
void deprecation10378(Loc loc, Dsymbol sold, Dsymbol snew)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

freelist
Scope* freelist;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Variables

_module
Module _module;
Undocumented in source.
aligndecl
AlignDeclaration aligndecl;
Undocumented in source.
anchorCounts
uint[void*] anchorCounts;
Undocumented in source.
callSuper
uint callSuper;
Undocumented in source.
callsc
Scope* callsc;
Undocumented in source.
cppmangle
CPPMANGLE cppmangle;
Undocumented in source.
depdecl
DeprecatedDeclaration depdecl;
Undocumented in source.
enclosing
Scope* enclosing;
Undocumented in source.
explicitProtection
int explicitProtection;
Undocumented in source.
fes
ForeachStatement fes;
Undocumented in source.
fieldinit
uint* fieldinit;
Undocumented in source.
fieldinit_dim
size_t fieldinit_dim;
Undocumented in source.
flags
uint flags;
Undocumented in source.
func
FuncDeclaration func;
Undocumented in source.
inlining
PINLINE inlining;
Undocumented in source.
intypeof
int intypeof;
Undocumented in source.
inunion
int inunion;
Undocumented in source.
lastVar
VarDeclaration lastVar;
Undocumented in source.
lastdc
DocComment* lastdc;
Undocumented in source.
linkage
LINK linkage;
Undocumented in source.
minst
Module minst;
Undocumented in source.
noctor
int noctor;
Undocumented in source.
nofree
int nofree;
Undocumented in source.
os
OnScopeStatement os;
Undocumented in source.
parent
Dsymbol parent;
Undocumented in source.
prevAnchor
Identifier prevAnchor;
Undocumented in source.
protection
Prot protection;
Undocumented in source.
sbreak
Statement sbreak;
Undocumented in source.
scontinue
Statement scontinue;
Undocumented in source.
scopesym
ScopeDsymbol scopesym;
Undocumented in source.
sds
ScopeDsymbol sds;
Undocumented in source.
slabel
LabelStatement slabel;
Undocumented in source.
stc
StorageClass stc;
Undocumented in source.
sw
SwitchStatement sw;
Undocumented in source.
tf
TryFinallyStatement tf;
Undocumented in source.
tinst
TemplateInstance tinst;
Undocumented in source.
userAttribDecl
UserAttributeDeclaration userAttribDecl;
Undocumented in source.

Meta