docs: function fromRawMappings(modules: Array<ModuleTransport>): Generator {
    const generator = new Generator();
    let carryOver = 0;
  
    for (var j = 0, o = modules.length; j < o; ++j) {
      var module = modules[j];
      var {code, map} = module;
  
      if (Array.isArray(map)) {
        addMappingsForFile(generator, map, module, carryOver);
      } else if (map != null) {
        throw new Error(
          `Unexpected module with full source map found: ${module.sourcePath}`
        );
      }
  
      carryOver = carryOver + countLines(code);
    }
  
    return generator;
  }