src/vs/workbench/api/common/extHostLanguageFeatures.ts/ExtHostLanguageFeatures/_transformDocumentSelector
class ExtHostLanguageFeatures:	private _transformDocumentSelector(selector: vscode.DocumentSelector): Array<extHostProtocol.IDocumentFilterDto> {
		return coalesce(asArray(selector).map(sel => this._doTransformDocumentSelector(sel)));
	}