[heycam/webidl] Editorial: make more iterator-related stuff imperative (#862)

As part of #467, this moves the installation of @@iterator/@@asyncIterator/forEach/entries/keys/values to an imperative style, for the cases of pair iterators, value iterators, async iterators, and indexed property getters.

This does not yet make imperative the same methods for maplikes and setlikes, nor does it make the construction of the iterator-related objects and prototype objects themselves imperative.

---

This will help me do #808 more properly. I think it's also a big clarity improvement; in particular how each of the four cases mentioned (pair iterators, value iterators, async iterators, and indexed property getters) is now easy to read off from the algorithm instead of being scattered throughout the section for each method.
You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/862

-- Commit Summary --

  * Editorial: make more iterator-related stuff imperative

-- File Changes --

    M index.bs (419)

-- Patch Links --

https://github.com/heycam/webidl/pull/862.patch
https://github.com/heycam/webidl/pull/862.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/862

Received on Tuesday, 24 March 2020 21:12:49 UTC