Lines Matching defs:protection
1020 void ForwardingScopeDsymbol::importScope(Dsymbol *s, Prot protection)
1022 forward->importScope(s, protection);
1274 void ScopeDsymbol::importScope(Dsymbol *s, Prot protection)
1276 //printf("%s->ScopeDsymbol::importScope(%s, %d)\n", toChars(), s->toChars(), protection);
1290 if (protection.kind > prots[i])
1291 prots[i] = protection.kind; // upgrade access
1298 prots[importedScopes->dim - 1] = protection.kind;
1334 void ScopeDsymbol::addAccessiblePackage(Package *p, Prot protection)
1336 BitArray *pary = protection.kind == PROTprivate ? &privateAccessiblePackages : &accessiblePackages;
1342 bool ScopeDsymbol::isPackageAccessible(Package *p, Prot protection, int)
1345 (protection.kind == PROTprivate && p->tag < privateAccessiblePackages.len && bitArrayGet(&privateAccessiblePackages, p->tag)))
1353 if (protection.kind <= prots[i] &&
1354 ss->isScopeDsymbol()->isPackageAccessible(p, protection, IgnorePrivateImports))
1850 * Checks if `this` is absolutely identical protection attribute to `other`
1867 * parent = protection attribute for scope that hosts this one