src/vs/editor/standalone/common/monarch/monarchLexer.ts/MonarchModernTokensCollector/emit
class MonarchModernTokensCollector:	public emit(startOffset: number, type: string): void {
		const metadata = this._theme.match(this._currentLanguageId, type);
		if (this._lastTokenMetadata === metadata) {
			return;
		}
		this._lastTokenMetadata = metadata;
		this._tokens.push(startOffset);
		this._tokens.push(metadata);
	}