Blame view

node_modules/@babel/traverse/lib/cache.js 488 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.clear = clear;
  exports.clearPath = clearPath;
  exports.clearScope = clearScope;
  exports.scope = exports.path = void 0;
  var path = new WeakMap();
  exports.path = path;
  var scope = new WeakMap();
  exports.scope = scope;
  
  function clear() {
    clearPath();
    clearScope();
  }
  
  function clearPath() {
    exports.path = path = new WeakMap();
  }
  
  function clearScope() {
    exports.scope = scope = new WeakMap();
  }