code: function CompileModules(inputTree, options) {
      if (!(this instanceof CompileModules)) {
          return new CompileModules(inputTree, options);
      }
  
      options || (options = {});
  
      var formatter = options.formatter;
  
      if (!formatter) {
          formatter = transpiler.formatters.DEFAULT;
      }
  
      if (typeof formatter === 'string') {
          formatter = transpiler.formatters[formatter];
      }
  
      var resolverClasses = options.resolvers;
  
      if (!resolverClasses) {
          resolverClasses = [ FileResolver ];
      }
  
      this.inputTree       = inputTree;
      this.resolverClasses = resolverClasses;
      this.formatter       = formatter;
      this.output          = options.output || '.';
      this.basePath        = options.basePath;
      this.sourceRoot      = options.sourceRoot || '/';
      this.description     = options.description;
  
      this._cache = {};
  }
docs: -- CompileModules -----------------------------------------------------------