| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | dscope.d | 84 ScopeDsymbol scopesym; /// current symbol member 169 sc.scopesym = new ScopeDsymbol(); in createGlobal() 170 sc.scopesym.symtab = new DsymbolTable(); in createGlobal() 175 m.addMember(null, sc.scopesym); in createGlobal() 201 s.scopesym = null; in push() 226 s.scopesym = ss; in push() 349 if (!sc.scopesym) in version() 351 printf("\tscope %s\n", sc.scopesym.toChars()); in version() 372 if (!sc.scopesym) 374 if (Dsymbol s = sc.scopesym.isModule()) [all …]
|
| H A D | dimport.d | 236 sc.scopesym.importScope(mod, visibility); in importAll() 240 addPackageAccess(sc.scopesym); in importAll() 249 extern (D) void addPackageAccess(ScopeDsymbol scopesym) in addPackageAccess() argument 256 scopesym.addAccessiblePackage(p, visibility); in addPackageAccess() 266 scopesym.addAccessiblePackage(p, visibility); in addPackageAccess() 269 scopesym.addAccessiblePackage(mod, visibility); // d in addPackageAccess()
|
| H A D | access.d | 153 if (!scx.scopesym) in hasProtectedAccess() 155 auto cd2 = scx.scopesym.isClassDeclaration(); in hasProtectedAccess() 231 if (sc.scopesym && sc.scopesym.isPackageAccessible(p, Visibility(Visibility.Kind.private_))) in checkAccess()
|
| H A D | attrib.h | 179 ScopeDsymbol *scopesym; 196 ScopeDsymbol *scopesym; variable 230 ScopeDsymbol *scopesym; variable
|
| H A D | attrib.d | 1037 … ScopeDsymbol scopesym; /// enclosing symbol (e.g. module) where symbols will be inserted variable 1068 assert(scopesym); // addMember is already done in include() 1074 d.foreachDsymbol( s => s.addMember(_scope, scopesym) ); in include() 1103 this.scopesym = sds; in addMember() 1138 ScopeDsymbol scopesym; /// cached enclosing scope (mimics `static if` declaration) variable 1206 d.foreachDsymbol( s => s.addMember(_scope, scopesym) ); in include() 1219 this.scopesym = sds; in addMember() 1325 ScopeDsymbol scopesym; variable 1344 this.scopesym = sds; in addMember()
|
| H A D | typesem.d | 76 sym.parent = sc.scopesym; in semanticLength() 97 sym.parent = sc.scopesym; in semanticLength() 191 …ate void resolveHelper(TypeQualified mt, const ref Loc loc, Scope* sc, Dsymbol s, Dsymbol scopesym, 197 if (scopesym) in version() 198 printf("\tscopesym = '%s'\n", scopesym.toChars()); in version() 2047 auto scopesym = sc2.scopesym; in typeSemantic() local 2048 if (scopesym.isStructDeclaration()) in typeSemantic() 2063 auto scopesym = sc2.inner().scopesym; in typeSemantic() local 2064 if (scopesym.members) in typeSemantic() 2065 scopesym.members.push(sd); in typeSemantic() [all …]
|
| H A D | scope.h | 75 ScopeDsymbol *scopesym; // current symbol member
|
| H A D | lambdacomp.d | 245 Dsymbol scopesym; in visit() local 246 Dsymbol s = sc.search(exp.loc, exp.ident, &scopesym); in visit()
|
| H A D | nspace.d | 97 ScopeDsymbol sds2 = sce.scopesym; in addMember()
|
| H A D | statementsem.d | 465 sym.parent = sc.scopesym; in package() 508 ss.sym.forward = csc.scopesym; in package() 621 sym.parent = sc.scopesym; in package() 802 sym.parent = sc.scopesym; in package() 1875 sym.parent = sc.scopesym; in package() 3464 sym.parent = sc.scopesym; in package() 3476 sym.parent = sc.scopesym; in package() 3501 sym.parent = sc.scopesym; in package() 3533 sym.parent = sc.scopesym; in package() 3887 sc.scopesym = sc.enclosing.scopesym; in package() [all …]
|
| H A D | semantic3.d | 320 ss.parent = sc.inner().scopesym; in visit() 575 sym.parent = sc2.scopesym; in visit() 583 sym.parent = sc2.scopesym; in visit() 988 sym.parent = sc2.scopesym; in visit()
|
| H A D | dsymbolsem.d | 1176 if(sc.scopesym && !sc.scopesym.isAggregateDeclaration()) in visit() 1178 for (ScopeDsymbol sym = sc.scopesym; sym && dsym.endlinnum == 0; in visit() 1284 ScopeDsymbol scopesym = sc.getScopesym(); in visit() local 1288 scopesym.importScope(imp.mod, imp.visibility); in visit() 1292 imp.addPackageAccess(scopesym); in visit() 1857 cd.AttribDeclaration.addMember(sc, cd.scopesym); in visit() 2936 s.addMember(sc, sc.scopesym); in visit() 3271 if (sc.scopesym && sc.scopesym.isAggregateDeclaration()) in funcDeclarationSemantic() 6600 Dsymbol scopesym; in aliasAssignSemantic() local 6601 Dsymbol as = sc.search(ds.loc, ds.ident, &scopesym); in aliasAssignSemantic()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | dscope.c | 66 this->scopesym = NULL; in Scope() 131 sc->scopesym = new ScopeDsymbol(); in createGlobal() 132 sc->scopesym->symtab = new DsymbolTable(); in createGlobal() 138 m->addMember(NULL, sc->scopesym); in createGlobal() 153 s->scopesym = NULL; in push() 171 s->scopesym = ss; in push() 380 if (!sc->scopesym) in searchScopes() 384 if (sc->scopesym->isModule()) in searchScopes() 387 if (Dsymbol *s = sc->scopesym->search(loc, ident, flags)) in searchScopes() 390 ident == Id::length && sc->scopesym->isArrayScopeSymbol() && in searchScopes() [all …]
|
| H A D | dimport.c | 191 sc->scopesym->importScope(mod, protection); in importAll() 232 ScopeDsymbol *scopesym = NULL; in semantic() local 237 if (!scd->scopesym) in semantic() 239 scopesym = scd->scopesym; in semantic() 245 scopesym->importScope(mod, protection); in semantic() 255 scopesym->addAccessiblePackage(p, protection); in semantic() 260 scopesym->addAccessiblePackage(p, protection); in semantic() 263 scopesym->addAccessiblePackage(mod, protection); // d in semantic()
|
| H A D | denum.c | 65 ScopeDsymbol *scopesym = isAnonymous() ? sds : this; in addMember() local 82 em->addMember(sc, isAnonymous() ? scopesym : this); in addMember() 226 ScopeDsymbol *scopesym = NULL; in semantic() local 234 if (sct->scopesym) in semantic() 236 scopesym = sct->scopesym; in semantic() 237 if (!sct->scopesym->symtab) in semantic() 238 sct->scopesym->symtab = new DsymbolTable(); in semantic() 246 scopesym = this; in semantic() 255 em->addMember(sc, scopesym); in semantic()
|
| H A D | attrib.c | 1285 scopesym = NULL; in StaticIfDeclaration() 1313 assert(scopesym); // addMember is already done in include() 1316 d = ConditionalDeclaration::include(_scope, scopesym); in include() 1324 s->addMember(_scope, scopesym); in include() 1341 d = ConditionalDeclaration::include(sc, scopesym); in include() 1361 this->scopesym = sds; in addMember() 1397 this->scopesym = NULL; in StaticForeachDeclaration() 1455 s->addMember(_scope, scopesym); in include() 1473 this->scopesym = sds; in addMember() 1564 this->scopesym = NULL; in CompileDeclaration() [all …]
|
| H A D | access.c | 282 if (!scx->scopesym) in hasProtectedAccess() 284 ClassDeclaration *cd2 = scx->scopesym->isClassDeclaration(); in hasProtectedAccess() 395 if (sc->scopesym && sc->scopesym->isPackageAccessible(p, Prot(PROTprivate))) in checkAccess()
|
| H A D | attrib.h | 192 ScopeDsymbol *scopesym; 211 ScopeDsymbol *scopesym; variable 248 ScopeDsymbol *scopesym; variable
|
| H A D | scope.h | 74 ScopeDsymbol *scopesym; // current symbol member
|
| H A D | declaration.c | 1155 if (sc->scopesym) in semantic() 1158 if (sc->scopesym->members) in semantic() 1159 sc->scopesym->members->push(v); in semantic() 1627 if (sc->scopesym && !sc->scopesym->isAggregateDeclaration()) in semantic() 1629 for (ScopeDsymbol *sym = sc->scopesym; sym && endlinnum == 0; in semantic()
|
| H A D | statementsem.c | 311 sym->parent = sc->scopesym; in visit() 357 ss->sym->forward = csc->scopesym; in visit() 448 sym->parent = sc->scopesym; in visit() 953 sym->parent = sc->scopesym; in visit() 1949 sym->parent = sc->scopesym; in visit() 3314 sym->parent = sc->scopesym; in visit() 3326 sym->parent = sc->scopesym; in visit() 3350 sym->parent = sc->scopesym; in visit() 3381 sym->parent = sc->scopesym; in visit() 3693 sc->scopesym = sc->enclosing->scopesym; in visit() [all …]
|
| H A D | nspace.c | 50 ScopeDsymbol *sds2 = sce->scopesym; in addMember()
|
| H A D | expressionsem.c | 292 Dsymbol *scopesym; in visit() local 293 Dsymbol *s = sc->search(exp->loc, exp->ident, &scopesym); in visit() 303 WithScopeSymbol *withsym = scopesym->isWithScopeSymbol(); in visit() 310 while (scwith->scopesym != scopesym) in visit() 320 if (scx->scopesym && scx->scopesym->symtab && in visit() 321 (s2 = scx->scopesym->symtab->lookup(s->ident)) != NULL && in visit() 412 if (!sc2->scopesym) in visit() 415 if (WithScopeSymbol *ss = sc2->scopesym->isWithScopeSymbol()) in visit() 1773 if (scx->scopesym && scx->scopesym->symtab && in visit() 1774 (s2 = scx->scopesym->symtab->lookup(s->ident)) != NULL && in visit() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | types.cc | 381 ScopeDsymbol *scopesym = sym->isScopeDsymbol (); in layout_aggregate_members() local 382 if (scopesym->members) in layout_aggregate_members() 384 fields += layout_aggregate_members (scopesym->members, context, in layout_aggregate_members()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | types.cc | 507 ScopeDsymbol *scopesym = sym->isScopeDsymbol (); in layout_aggregate_members() local 508 if (scopesym->members) in layout_aggregate_members() 510 fields += layout_aggregate_members (scopesym->members, context, in layout_aggregate_members()
|