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

Method addToken

src/core/IndividualHatMap.ts:57–59  ·  view source on GitHub ↗
(hatStyle: HatStyleName, character: string, token: Token)

Source from the content-addressed store, hash-verified

55 }
56
57 addToken(hatStyle: HatStyleName, character: string, token: Token) {
58 this.addTokenByKey(HatTokenMap.getKey(hatStyle, character), token);
59 }
60
61 getToken(hatStyle: HatStyleName, character: string) {
62 this.checkExpired();

Callers 1

addDecorationsToEditorsFunction · 0.80

Calls 2

addTokenByKeyMethod · 0.95
getKeyMethod · 0.80

Tested by

no test coverage detected