NodeQuerySynthesizedAttributeType NodeQuery::querySolverFunctionDeclarationFromDefinition (SgNode * astNode, SgNode * functionDefinition) { ROSE_ASSERT (astNode != 0); NodeQuerySynthesizedAttributeType returnNodeList; // SgNode *sageReturnNode = NULL; SgMemberFunctionDeclaration *sageMemberFunctionDeclaration = isSgMemberFunctionDeclaration (astNode); if (sageMemberFunctionDeclaration != NULL) if (isSgClassDefinition (sageMemberFunctionDeclaration->get_parent ())) if (isSgNode (sageMemberFunctionDeclaration->get_definition ()) == functionDefinition) returnNodeList.push_back (astNode); return returnNodeList; } /* End function querySolverUnionFields() */