BaseComParse.js 583 B

12345678910111213141516171819
  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. * @returns 返回丢失了uuid的属性的名字
  14. */
  15. async parse(json, uuidSeekedMap, fatherJson) {
  16. return [];
  17. }
  18. }
  19. exports.BaseComParse = BaseComParse;