src/vs/workbench/api/common/extHostLanguageFeatures.ts/ExtHostLanguageFeatures/_serializeOnEnterRules
class ExtHostLanguageFeatures:	private static _serializeOnEnterRules(onEnterRules: vscode.OnEnterRule[]): extHostProtocol.IOnEnterRuleDto[] {
		return onEnterRules.map(ExtHostLanguageFeatures._serializeOnEnterRule);
	}