188
let next = it.next();
189
while (!next.done) {
191
>
const key = next.value[0];
192
>
let entry = this.descriptionMap.get(key);
193
>
if (!entry) {
194
>
entry = [];
195
>
this.descriptionMap.set(key, entry);
196
>
}
197
>
const extensionMutator = {
198
>
extensionIdentifier,
199
>
scope: mutator.scope,
200
>
description: mutator.description
201
>
};
202
>
if (!extensionMutator.scope) {
203
>
delete extensionMutator.scope; // Convenient for tests
204
>
}
205
>
entry.push(extensionMutator);
206
>
207
>
next = it.next();
208
>
}
209
210
}