Lines Matching defs:protection
78 StorageClass stc, LINK linkage, CPPMANGLE cppmangle, Prot protection,
85 !protection.isSubsetOf(sc->protection) ||
95 sc2->protection = protection;
431 sc->protection, sc->explicitProtection, sc->aligndecl,
536 sc->protection, sc->explicitProtection, sc->aligndecl,
563 sc->protection, sc->explicitProtection, sc->aligndecl,
577 * p = protection attribute data
578 * decl = declarations which are affected by this protection attribute
584 this->protection = p;
593 * decl = declarations which are affected by this protection attribute
599 this->protection.kind = PROTpackage;
600 this->protection.pkg = NULL;
607 if (protection.kind == PROTpackage)
610 return new ProtDeclaration(this->loc, protection, Dsymbol::arraySyntaxCopy(decl));
618 this->protection, 1, sc->aligndecl,
628 protection.pkg = tmp ? tmp->isPackage() : NULL;
632 if (protection.kind == PROTpackage && protection.pkg && sc->_module)
636 if (!pkg || !protection.pkg->isAncestorPackageOf(pkg))
646 return "protection attribute";
651 assert(protection.kind > PROTundefined);
655 protectionToBuffer(&buf, protection);
681 sc->protection, sc->explicitProtection, this,
913 sc->protection, sc->explicitProtection, sc->aligndecl,