MCPcopy Create free account
hub / github.com/cursorless-dev/cursorless / clear

Method clear

src/core/IndividualHatMap.ts:66–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 clear() {
67 this.map = {};
68 this.documentTokenLists = new Map();
69 this.deregisterFunctions.forEach((func) => func());
70 }
71
72 checkExpired() {
73 if (this.isExpired) {

Callers 2

addDecorationsMethod · 0.80
addDecorationsToEditorsFunction · 0.80

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected