Urara-Blog/node_modules/.pnpm-store/v3/files/08/9c2d554545ffe31600ecd4cdb6a3a11befc43f5953f40c28f9498e5bc82b0065ed478f2d924d20762442024ab08ef83cd078d737ea39c104e2b11feb90dc51
2022-08-14 01:14:53 +08:00

19 lines
No EOL
600 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefinitionBase = void 0;
const ID_1 = require("../ID");
const generator = (0, ID_1.createIdGenerator)();
class DefinitionBase {
constructor(type, name, node, parent) {
/**
* A unique ID for this instance - primarily used to help debugging and testing
*/
this.$id = generator();
this.type = type;
this.name = name;
this.node = node;
this.parent = parent;
}
}
exports.DefinitionBase = DefinitionBase;
//# sourceMappingURL=DefinitionBase.js.map