(key: string, token: Token)
| 50 | } |
| 51 | |
| 52 | private addTokenByKey(key: string, token: Token) { |
| 53 | this.map[key] = token; |
| 54 | this.getDocumentTokenList(token.editor.document).push(token); |
| 55 | } |
| 56 | |
| 57 | addToken(hatStyle: HatStyleName, character: string, token: Token) { |
| 58 | this.addTokenByKey(HatTokenMap.getKey(hatStyle, character), token); |
no test coverage detected