nl_tokens: Check whether a symbol is a function and is the only symbol exported by a module ( as in module . exports = function () {} ; ) .
pl_tokens: function isModuleFunction2 ( doclet ) { return doclet . longname && doclet . longname === doclet . <mask> && doclet . longname . indexOf ( 'module:' ) === 0 && doclet . kind === 'function' ; }