This commit is contained in:
sli97
2023-09-21 01:32:11 +08:00
commit 47104caa6e
964 changed files with 62409 additions and 0 deletions

13
dist/runtime/decorator/index.js vendored Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.btclass = exports.nodeClsMap = void 0;
exports.nodeClsMap = new Map();
/***
* 收集被装饰的类用来在运行时通过节点类型找到对应的class
*/
const btclass = (name) => {
return function (target) {
exports.nodeClsMap.set(name, target);
};
};
exports.btclass = btclass;