Lines Matching refs:pScope
48 AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope) in scopeAsDecl() argument
50 if (pScope == NULL) return NULL; in scopeAsDecl()
52 switch( pScope->getScopeNodeType() ) in scopeAsDecl()
56 return (AstService*)(pScope); in scopeAsDecl()
59 return (AstModule*)(pScope); in scopeAsDecl()
61 return (AstConstants*)(pScope); in scopeAsDecl()
63 return (AstInterface*)(pScope); in scopeAsDecl()
65 return (AstOperation*)(pScope); in scopeAsDecl()
67 return (AstException*)(pScope); in scopeAsDecl()
69 return (AstUnion*)(pScope); in scopeAsDecl()
71 return (AstStruct*)(pScope); in scopeAsDecl()
73 return (AstEnum*)(pScope); in scopeAsDecl()