WBaseComParse.js 677 B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.BaseComParse = void 0;
  4. class BaseComParse {
  5. constructor() {
  6. this.comName = 'component';
  7. }
  8. /**
  9. * 解析预制件数组里的单个项目
  10. * @param json 预制件数组里的一个项目
  11. * @param uuidSeekedMap 已经找到了的uuid的名字
  12. * @param fatherJson 整个预制件的Json
  13. * @param fullUuid 完整的Uuid
  14. * @param compressedUuid 压缩后的uuid
  15. * @returns 返回丢失了uuid的属性的名字
  16. */
  17. async parse(json, fatherJson, fullUuid, compressedUuid) {
  18. return [];
  19. }
  20. }
  21. exports.BaseComParse = BaseComParse;