nl_tokens: Retrieve all of the following types of members from a set of doclets :
pl_tokens: function getMembers2 ( data ) { var find = function ( data , spec ) { return data ( spec ) . get ( ) ; } ; var members = { classes : find ( data , { kind : 'class' } ) , externals : find ( data , { <mask> : 'external' } ) , events : find ( data , { kind : 'event' } ) , globals : find ( data , { kind : [ 'member' , 'function' , 'constant' , 'typedef' ] , memberof : { isUndefined : true } } ) , mixins : find ( data , { kind : 'mixin' } ) , modules : find ( data , { kind : 'module' } ) , namespaces : find ( data , { kind : 'namespace' } ) , typedef : find ( data , { kind : 'typedef' , isTSEnum : { is : true } } ) , callbacks : find ( data , { kind : 'typedef' , isTSEnum : { isUndefined : true } } ) } ; // functions that are also modules (as in "module.exports = function() {};") are not globals members . globals = members . globals . filter ( function ( doclet ) { if ( isModuleFunction2 ( doclet ) ) { return false ; } return true ; } ) ; return members ; }