src/semantics/symbols/Project.js
function getStandardModule(url) {
  if (!(url in standardModuleCache)) {
    var symbol = new ModuleSymbol(null, null, null, url);
    var moduleInstance = traceur.runtime.modules[url];
    Object.keys(moduleInstance).forEach((name) => {
      symbol.addExport(name, new ExportSymbol(null, name, null));
    });
    standardModuleCache[url] = symbol;
  }
  return standardModuleCache[url];
}
function getStandardModule(url) {
  if (!(url in standardModuleCache)) {
    var symbol = new ModuleSymbol(null, null, null, url);
    var moduleInstance = traceur.runtime.modules[url];
    Object.keys(moduleInstance).forEach((name) => {
      symbol.addExport(name, new ExportSymbol(null, name, null));
    });
    standardModuleCache[url] = symbol;
  }
  return standardModuleCache[url];
}
function getStandardModule ( url ) { if ( ! ( url in standardModuleCache ) ) { var symbol = new ModuleSymbol ( null , null , null , url ) ; var moduleInstance = traceur . runtime . modules [ url ] ; Object . keys ( moduleInstance ) . forEach ( ( name ) => { symbol . addExport ( name , new ExportSymbol ( null , name , null ) ) ; } ) ; standardModuleCache [ url ] = symbol ; } return standardModuleCache [ url ] ; }
Gets a ModuleSymbol for a standard module. We cache the Symbol so that
future accesses to this returns the same symbol.
@param  {string} url
@return {ModuleSymbol}
Gets a ModuleSymbol for a standard module . We cache the Symbol so that future accesses to this returns the same symbol .