Lines Matching refs:pDecl
97 AstDeclaration* AstUnion::addDeclaration(AstDeclaration* pDecl) in addDeclaration() argument
99 if ( pDecl->getNodeType() == NT_union_branch ) in addDeclaration()
101 AstUnionBranch* pBranch = (AstUnionBranch*)pDecl; in addDeclaration()
104 idlc()->error()->error2(EIDL_MULTIPLE_BRANCH, this, pDecl); in addDeclaration()
109 return AstScope::addDeclaration(pDecl); in addDeclaration()
136 AstDeclaration *pDecl = NULL; in lookupDefault() local
140 pDecl = *iter; in lookupDefault()
141 if ( pDecl->getNodeType() == NT_union_branch ) in lookupDefault()
143 pBranch = (AstUnionBranch*)pDecl; in lookupDefault()
183 AstDeclaration* pDecl = NULL; in lookupLabel() local
187 pDecl = *iter; in lookupLabel()
188 if ( pDecl->getNodeType() == NT_union_branch ) in lookupLabel()
190 pB = (AstUnionBranch*)pDecl; in lookupLabel()
233 AstDeclaration* pDecl = pEnum->lookupByName(*pExpr->getSymbolicName()); in lookupEnum() local
234 if ( pDecl == NULL || pDecl->getScope() != pEnum) in lookupEnum()
244 pDecl = NULL; in lookupEnum()
248 pDecl = *iter; in lookupEnum()
249 if ( pDecl->getNodeType() == NT_union_branch ) in lookupEnum()
251 pB = (AstUnionBranch*)pDecl; in lookupEnum()
297 AstDeclaration* pDecl = NULL; in dump() local
312 pDecl = *iter; in dump()
313 if ( pDecl->getNodeType() == NT_union_branch ) in dump()
315 pBranch = (AstUnionBranch*)pDecl; in dump()