From 2829199ff69d645b3cb93853a8c5282ec831db0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Fri, 11 Aug 2023 14:19:37 +0200 Subject: [PATCH] Editorial: Add definition for the Pattern String type Add a simple definition for Pattern Strings and rename some parameters, so they link to the new definition. --- spec/listformat.html | 2 +- spec/locales-currencies-tz.html | 9 ++++++++- spec/negotiation.html | 3 +-- spec/relativetimeformat.html | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/spec/listformat.html b/spec/listformat.html index 4391006f..338c60df 100644 --- a/spec/listformat.html +++ b/spec/listformat.html @@ -235,7 +235,7 @@

Abstract Operations for ListFormat Objects

DeconstructPattern ( - _pattern_: a String, + _pattern_: a Pattern String, _placeables_: a Record, ): a List

diff --git a/spec/locales-currencies-tz.html b/spec/locales-currencies-tz.html index 643b8630..6cd945bb 100644 --- a/spec/locales-currencies-tz.html +++ b/spec/locales-currencies-tz.html @@ -2,7 +2,7 @@

Identification of Locales, Currencies, Time Zones, Measurement Units, Numbering Systems, Collations, and Calendars

- This clause describes the String values used in this specification to identify locales, currencies, time zones, measurement units, numbering systems, collations, and calendars. + This clause describes the String values used in this specification to identify locales, currencies, time zones, measurement units, numbering systems, collations, calendars, and pattern strings.

@@ -414,4 +414,11 @@

+ + +

Pattern String Types

+

+ Pattern String is a String value which contains zero or more substrings of the form *"{name}"*. The syntax of the abstract pattern strings is an implementation detail and is not exposed to users of ECMA-402. +

+
diff --git a/spec/negotiation.html b/spec/negotiation.html index ca332d16..01aa7d03 100644 --- a/spec/negotiation.html +++ b/spec/negotiation.html @@ -471,14 +471,13 @@

PartitionPattern ( - _pattern_: a String, + _pattern_: a Pattern String, ): a List of Records with fields [[Type]] (a String) and [[Value]] (a String or *undefined*)

description
The [[Value]] field will be a String value if [[Type]] is *"literal"*, and *undefined* otherwise. - The syntax of the abstract pattern strings is an implementation detail and is not exposed to users of ECMA-402.
diff --git a/spec/relativetimeformat.html b/spec/relativetimeformat.html index b8a19699..f136231b 100644 --- a/spec/relativetimeformat.html +++ b/spec/relativetimeformat.html @@ -343,7 +343,7 @@

MakePartsList ( - _pattern_: a pattern String, + _pattern_: a Pattern String, _unit_: a String, _parts_: a List of Records representing a formatted Number, ): a List of Records with fields [[Type]] (a String), [[Value]] (a String), and [[Unit]] (a String or ~empty~)