Re: [heycam/webidl] [WIP] Define Web IDL Modules (#675)

annevk commented on this pull request.



> +    module <mark>"std:example"</mark> {
+      /* module_members... */
+    };
+
+    partial module <mark>"std:example"</mark> {
+      /* module_members... */
+    };
+</pre>
+
+Note: As with partial interface definitions, partial module definitions are
+intended for use as a specification editorial aide, allowing the definition
+of a module to be separated over more than one section of the document, and
+sometimes multiple documents.
+
+The order that members appear in has significance for property enumeration in
+the <a href="#es-modules">ECMAScript binding</a>.

Ah yeah, we should preserve order within a block, that's also needed for things outside modules. So basically, we need some way to compute a sort key for each block.

-- 
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/675#discussion_r261993498

Received on Monday, 4 March 2019 10:10:05 UTC