/** @namespace */ ns = {}; (function() { /** @inner @constructor @memberOf ns */ function foo(s) { } })();