lib/config-generator.js
function(file, content) {
        return new Promise(function(resolve, reject) {
            var ast = recast.parse(content);

            resolve(ast);
        });
    }
function(file, content) {
        return new Promise(function(resolve, reject) {
            var ast = recast.parse(content);

            resolve(ast);
        });
    }
function ( file , content ) { return new Promise ( function ( resolve , reject ) { var ast = recast . parse ( content ) ; resolve ( ast ) ; } ) ; }
Parses the content of a file

@method _parseFile
@protected
@param {String} file The file which should be parsed
@param {String} content The content of the file which should be parsed
@return {Promise} Returns a Promise which will be resolved with file's AST
Parses the content of a file