src/vs/editor/common/tokenizationRegistry.ts/TokenizationRegistry/register
class TokenizationRegistry:	public register(language: string, support: ITokenizationSupport) {
		this._map.set(language, support);
		this.fire([language]);
		return toDisposable(() => {
			if (this._map.get(language) !== support) {
				return;
			}
			this._map.delete(language);
			this.fire([language]);
		});
	}