template and back

This commit is contained in:
romantarkin committed 2025-01-29 15:09:27 +05:00
commit 07ef7e9b8f
3773 files changed
+422508

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
"use strict";
const stores = /* @__PURE__ */ new Map();
module.exports = (dialect) => {
if (!stores.has(dialect)) {
stores.set(dialect, /* @__PURE__ */ new Map());
}
return {
clear() {
stores.get(dialect).clear();
},
refresh(dataType) {
for (const type of dataType.types[dialect]) {
stores.get(dialect).set(type, dataType.parse);
}
},
get(type) {
return stores.get(dialect).get(type);
}
};
};
//# sourceMappingURL=parserStore.js.map