function collectMembers(allSymbols) {
	allSymbols.forEach(function($) {
		if ( $.memberof ) {
			const parent = lookup($.memberof);
			if ( parent /* && supportsInheritance(parent) */ ) {
				parent.__ui5.members = parent.__ui5.members || [];
				parent.__ui5.members.push($);
			}
		}
	});
}
Attaches each symbol to its parent ('memberof').

@param {Array<doclet.Doclet>} allSymbols Array of all symbols to be published