Lines Matching refs:pDecl
79 AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl) in declAsScope() argument
81 if (pDecl == NULL) return NULL; in declAsScope()
83 switch(pDecl->getNodeType()) in declAsScope()
86 return (AstInterface*)(pDecl); in declAsScope()
89 return (AstService*)(pDecl); in declAsScope()
92 return (AstModule*)(pDecl); in declAsScope()
94 return (AstConstants*)(pDecl); in declAsScope()
96 return (AstException*)(pDecl); in declAsScope()
98 return (AstUnion*)(pDecl); in declAsScope()
100 return (AstStruct*)(pDecl); in declAsScope()
102 return (AstEnum*)(pDecl); in declAsScope()
104 return (AstOperation*)(pDecl); in declAsScope()