Lines Matching refs:decl

153     AstDeclaration * decl = ifc->lookupByName(name);
154 AstDeclaration const * resolved = resolveTypedefs(decl);
156 if (idlc()->error()->checkPublished(decl)) {
159 NT_interface, &ifc->getScopedName(), decl);
169 static_cast< AstType * >(decl), optional,
192 AstDeclaration * decl = idlc()->scopes()->topNonNull()->lookupByName(
194 AstDeclaration const * resolved = resolveTypedefs(decl);
195 if (decl == 0) {
197 } else if (!idlc()->error()->checkPublished(decl)) {
198 decl = 0;
204 decl = 0;
208 static_cast< AstType * >(decl), typeArgs, global);
209 decl = global->addDeclaration(inst);
210 if (decl != inst) {
214 } else if (decl->isType()) {
217 decl = 0;
220 idlc()->error()->noTypeError(decl);
221 decl = 0;
225 return decl;
1262 AstDeclaration * decl = idlc()->scopes()->nextToTop()->lookupByName(
1264 if (decl == 0) {
1266 } else if (!idlc()->error()->checkPublished(decl)) {
1267 decl = 0;
1268 } else if (decl->getNodeType() != NT_exception) {
1269 idlc()->error()->error1(EIDL_ILLEGAL_RAISES, decl);
1270 decl = 0;
1273 $$ = decl;
1968 AstDeclaration * decl = scope->lookupByName(*$2);
1969 if (decl != 0 && resolveTypedefs(decl)->getNodeType() == NT_interface) {
1970 if (idlc()->error()->checkPublished(decl)) {
1971 idlc()->scopes()->top()->addDeclaration(decl);
2076 AstDeclaration * decl = scope->lookupByName(*$2);
2077 if (decl != 0 && resolveTypedefs(decl)->getNodeType() == NT_interface) {
2078 if (idlc()->error()->checkPublished(decl)) {
2079 idlc()->scopes()->top()->addDeclaration(decl);
2822 AstDeclaration const * decl = 0;
2825 decl = scope->findTypeParameter(*$1);
2827 if (decl != 0) {
2831 decl = createNamedType($1, $2);
2832 if (scope != 0 && includes(decl, scopeAsDecl(scope))) {
2835 decl = 0;
2838 $$ = decl;