Lines Matching refs:pDecl
587 AstDeclaration* pDecl = NULL;
596 if ( pDecl = pScope->lookupByName(pForward->getScopedName()) )
598 if ( (pDecl != pForward) &&
599 (pDecl->getNodeType() == NT_interface) )
604 idlc()->error()->error2(EIDL_REDEF_SCOPE, scopeAsDecl(pScope), pDecl);
626 AstDeclaration* pDecl = NULL;
637 (pDecl = pScope->lookupByName(pInterface->getScopedName())) )
642 if (pDecl->getNodeType() == NT_interface)
644 pForward = (AstInterface*)pDecl;
1644 FeDeclarator* pDecl = NULL;
1669 pDecl = (*iter);
1670 if ( !pDecl )
1676 pType = pDecl->compose($2);
1684 pAttr = new AstAttribute(NT_property, $1, pType, pDecl->getName(), pScope);
1688 delete pDecl;
1716 AstDeclaration* pDecl = NULL;
1735 pDecl = pScope->lookupByName(*iter);
1736 if ( pDecl && (pDecl->getNodeType() == NT_interface) )
1742 if ( idlc()->error()->checkPublished(pDecl, bOptional) )
1745 $1, (AstInterface*)pDecl, *iter, pScope);
1766 AstDeclaration* pDecl = NULL;
1780 pDecl = pScope->lookupByName(*iter);
1781 if ( pDecl && (pDecl->getNodeType() == NT_service) )
1785 else if ( idlc()->error()->checkPublished(pDecl) )
1788 $1, (AstService*)pDecl, *iter, pScope);
1808 AstDeclaration* pDecl = NULL;
1827 pDecl = pScope->lookupByName(*iter);
1828 if ( pDecl && (pDecl->getNodeType() == NT_interface) )
1830 pObserves = new AstObserves((AstInterface*)pDecl, *iter, pScope);
1850 AstDeclaration* pDecl = NULL;
1869 pDecl = pScope->lookupByName(*iter);
1870 if ( pDecl && (pDecl->getNodeType() == NT_service) )
1872 pNeeds = new AstNeeds((AstService*)pDecl, *iter, pScope);
2136 FeDeclarator* pDecl = NULL;
2150 pDecl = (*iter);
2151 if ( !pDecl )
2157 pType = pDecl->compose($1);
2165 pTypeDef = new AstTypeDef(pType, pDecl->getName(), pScope);
2169 delete pDecl;
2570 AstDeclaration* pDecl = NULL;
2578 pDecl = pScope->addDeclaration(pArray);
2579 if ( pArray != pDecl )
2583 pArray = pDecl;
2620 AstDeclaration* pDecl = NULL;
2632 pDecl = pScope->addDeclaration(pSeq);
2633 if ( pSeq != pDecl )
2637 pSeq = pDecl;
2771 FeDeclarator* pDecl = NULL;
2782 pDecl = (*iter);
2783 if ( !pDecl )
2789 pType = pDecl->compose($1);
2797 pMember = new AstMember(pType, pDecl->getName(), pScope);
2799 if ( !pDecl->checkType($1) )
2806 delete pDecl;
3060 AstDeclaration const * pDecl = NULL;
3067 if ( pScope && (pDecl = pScope->lookupByName(*$1)) )
3074 switch (pDecl->getNodeType())
3077 $$ = pDecl;
3081 pBaseType = (AstBaseType*)pDecl;
3106 pTypeDef = (AstTypeDef*)pDecl;
3108 pDecl = pTypeDef->getBaseType();