UI for Zipcoin Blue

ImportEagerContextDependency.js 705B

1234567891011121314151617181920212223
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const ImportContextDependency = require("./ImportContextDependency");
  7. const ContextDependencyTemplateAsRequireCall = require("./ContextDependencyTemplateAsRequireCall");
  8. class ImportEagerContextDependency extends ImportContextDependency {
  9. constructor(request, recursive, regExp, range, valueRange, chunkName) {
  10. super(request, recursive, regExp, range, valueRange, chunkName);
  11. this.async = "eager";
  12. }
  13. get type() {
  14. return "import() context eager";
  15. }
  16. }
  17. ImportEagerContextDependency.Template = ContextDependencyTemplateAsRequireCall;
  18. module.exports = ImportEagerContextDependency;