lib/filter/main.js
function(tree, filters, profileName) {
			profileName = profile.get(profileName);
			
			list(filters).forEach(function(filter) {
				var name = utils.trim(filter.toLowerCase());
				if (name && name in registeredFilters) {
					tree = registeredFilters[name](tree, profileName);
				}
			});
			
			return tree;
		}
function(tree, filters, profileName) {
			profileName = profile.get(profileName);
			
			list(filters).forEach(function(filter) {
				var name = utils.trim(filter.toLowerCase());
				if (name && name in registeredFilters) {
					tree = registeredFilters[name](tree, profileName);
				}
			});
			
			return tree;
		}
function ( tree , filters , profileName ) { profileName = profile . get ( profileName ) ; list ( filters ) . forEach ( function ( filter ) { var name = utils . trim ( filter . toLowerCase ( ) ) ; if ( name && name in registeredFilters ) { tree = registeredFilters [ name ] ( tree , profileName ) ; } } ) ; return tree ; }
Apply filters for final output tree
@param {AbbreviationNode} tree Output tree
@param {Array} filters List of filters to apply. Might be a
<code>String</code>
@param {Object} profile Output profile, defined in <i>profile</i>
module. Filters defined it profile are not used, <code>profile</code>
is passed to filter function
@memberOf emmet.filters
@returns {AbbreviationNode}
Apply filters for final output tree