1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/@babel/traverse/lib/cache.js

26 lines
488 B
JavaScript
Raw Permalink Normal View History

2023-12-18 13:12:25 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.clear = clear;
exports.clearPath = clearPath;
exports.clearScope = clearScope;
exports.scope = exports.path = void 0;
2024-01-16 21:26:16 +08:00
var path = new WeakMap();
2023-12-18 13:12:25 +08:00
exports.path = path;
2024-01-16 21:26:16 +08:00
var scope = new WeakMap();
2023-12-18 13:12:25 +08:00
exports.scope = scope;
function clear() {
clearPath();
clearScope();
}
function clearPath() {
exports.path = path = new WeakMap();
}
function clearScope() {
exports.scope = scope = new WeakMap();
}