src/sap.ui.core/src/sap/ui/core/support/techinfo/moduleTreeHelper.js
function (oTree, sSeparator) {
			var oObject = this.toHierarchy(oTree),
				aFilters = [];

			function collect(sName, oObject) {
				var aChildren, bChildren;
				if (typeof oObject === 'object') {
					if (oObject['']) {
						aFilters.push(sName + '/');
						return;
					}
					aChildren = Object.keys(oObject);
					bChildren = aChildren.length;
				}
				if (bChildren) {
					aChildren.forEach(function (sChild) {
						if (sChild === '') {
							return;
						}
						if (oObject[sChild] === true) {
							aFilters.push((sName ? sName + '/' : '') + sChild);
						} else if (typeof oObject[sChild] === 'object') {
							collect((sName ? sName + '/' : '') + sChild, oObject[sChild]);
						}
					});
				}
			}

			if (this.get(oObject, '/')) {
				return true;
			}

			collect('', oObject);

			return (aFilters.length > 0 ? aFilters.join(sSeparator || ',') : false);
		}
function (oTree, sSeparator) {
			var oObject = this.toHierarchy(oTree),
				aFilters = [];

			function collect(sName, oObject) {
				var aChildren, bChildren;
				if (typeof oObject === 'object') {
					if (oObject['']) {
						aFilters.push(sName + '/');
						return;
					}
					aChildren = Object.keys(oObject);
					bChildren = aChildren.length;
				}
				if (bChildren) {
					aChildren.forEach(function (sChild) {
						if (sChild === '') {
							return;
						}
						if (oObject[sChild] === true) {
							aFilters.push((sName ? sName + '/' : '') + sChild);
						} else if (typeof oObject[sChild] === 'object') {
							collect((sName ? sName + '/' : '') + sChild, oObject[sChild]);
						}
					});
				}
			}

			if (this.get(oObject, '/')) {
				return true;
			}

			collect('', oObject);

			return (aFilters.length > 0 ? aFilters.join(sSeparator || ',') : false);
		}
function ( oTree , sSeparator ) { var oObject = this . toHierarchy ( oTree ) , aFilters = [ ] ; function collect ( sName , oObject ) { var aChildren , bChildren ; if ( typeof oObject === 'object' ) { if ( oObject [ '' ] ) { aFilters . push ( sName + '/' ) ; return ; } aChildren = Object . keys ( oObject ) ; bChildren = aChildren . length ; } if ( bChildren ) { aChildren . forEach ( function ( sChild ) { if ( sChild === '' ) { return ; } if ( oObject [ sChild ] === true ) { aFilters . push ( ( sName ? sName + '/' : '' ) + sChild ) ; } else if ( typeof oObject [ sChild ] === 'object' ) { collect ( ( sName ? sName + '/' : '' ) + sChild , oObject [ sChild ] ) ; } } ) ; } } if ( this . get ( oObject , '/' ) ) { return true ; } collect ( '' , oObject ) ; return ( aFilters . length > 0 ? aFilters . join ( sSeparator || ',' ) : false ) ; }
Converts a bindable tree structure to a valid value for sap-ui-debug
@param {object} oTree The tree to be converted
@param {string} sSeparator=, A separator character, default is a comma
@return {string} The tree selection represented as string
Converts a bindable tree structure to a valid value for sap - ui - debug