src/vs/editor/standalone/common/monarch/monarchLexer.ts/MonarchModernTokensCollector/enterMode
class MonarchModernTokensCollector:	public enterMode(startOffset: number, modeId: string): void {
		this._currentLanguageId = this._modeService.getLanguageIdentifier(modeId)!.id;
	}