From 4d3d6e2a68c3ab7a8a16ed44a7fb6f414d1cdfc9 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Sat, 28 Dec 2024 12:02:52 -0500 Subject: [PATCH] Editorial: Fix "property name" autolinking * Add "property names" as an alias. * Use to exempt "Unicode property name" and similar externally-defined concepts. * Adjust s to fully wrap such phrases. --- spec.html | 28 +++++++++---------- ...-binary-unicode-properties-of-strings.html | 2 +- table-binary-unicode-properties.html | 6 ++-- table-nonbinary-unicode-properties.html | 6 ++-- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/spec.html b/spec.html index 67ef5e5de0..7e37280821 100644 --- a/spec.html +++ b/spec.html @@ -2739,7 +2739,7 @@

The Object Type

An accessor property associates a key value with one or two accessor functions, and a set of Boolean attributes. The accessor functions are used to store or retrieve an ECMAScript language value that is associated with the property. -

The properties of an object are uniquely identified using property keys. A property key is either a String or a Symbol. All Strings and Symbols, including the empty String, are valid as property keys. A property name is a property key that is a String.

+

The properties of an object are uniquely identified using property keys. A property key is either a String or a Symbol. All Strings and Symbols, including the empty String, are valid as property keys. A property name is a property key that is a String.

An integer index is a property name _n_ such that CanonicalNumericIndexString(_n_) returns an integral Number in the inclusive interval from *+0*đť”˝ to đť”˝(253 - 1). An array index is an integer index _n_ such that CanonicalNumericIndexString(_n_) returns an integral Number in the inclusive interval from *+0*đť”˝ to đť”˝(232 - 2).

Every non-negative safe integer has a corresponding integer index. Every 32-bit unsigned integer except 232 - 1 has a corresponding array index. *"-0"* is neither an integer index nor an array index.

@@ -36092,7 +36092,7 @@

Static Semantics: Early Errors

UnicodePropertyValueExpression :: UnicodePropertyName `=` UnicodePropertyValue
  • - It is a Syntax Error if the source text matched by |UnicodePropertyName| is not a Unicode property name or property alias listed in the “Property name and aliases” column of . + It is a Syntax Error if the source text matched by |UnicodePropertyName| is not a Unicode property name or property alias listed in the “Property name and aliases” column of .
  • It is a Syntax Error if the source text matched by |UnicodePropertyValue| is not a property value or property value alias for the Unicode property or property alias given by the source text matched by |UnicodePropertyName| listed in PropertyValueAliases.txt. @@ -36101,10 +36101,10 @@

    Static Semantics: Early Errors

    UnicodePropertyValueExpression :: LoneUnicodePropertyNameOrValue
    • - It is a Syntax Error if the source text matched by |LoneUnicodePropertyNameOrValue| is not a Unicode property value or property value alias for the General_Category (gc) property listed in PropertyValueAliases.txt, nor a binary property or binary property alias listed in the “Property name and aliases” column of , nor a binary property of strings listed in the “Property name” column of . + It is a Syntax Error if the source text matched by |LoneUnicodePropertyNameOrValue| is not a Unicode property value or property value alias for the General_Category (gc) property listed in PropertyValueAliases.txt, nor a binary property or binary property alias listed in the “Property name and aliases” column of , nor a binary property of strings listed in the “Property name” column of .
    • - It is a Syntax Error if the enclosing |Pattern| does not have a [UnicodeSetsMode] parameter and the source text matched by |LoneUnicodePropertyNameOrValue| is a binary property of strings listed in the “Property name” column of . + It is a Syntax Error if the enclosing |Pattern| does not have a [UnicodeSetsMode] parameter and the source text matched by |LoneUnicodePropertyNameOrValue| is a binary property of strings listed in the “Property name” column of .
    CharacterClassEscape :: `P{` UnicodePropertyValueExpression `}` @@ -36474,7 +36474,7 @@

    Static Semantics: MayContainStrings ( ): a Boolean

    UnicodePropertyValueExpression :: LoneUnicodePropertyNameOrValue - 1. If the source text matched by |LoneUnicodePropertyNameOrValue| is a binary property of strings listed in the “Property name” column of , return *true*. + 1. If the source text matched by |LoneUnicodePropertyNameOrValue| is a binary property of strings listed in the “Property name” column of , return *true*. 1. Return *false*. ClassUnion :: ClassSetRange ClassUnion? @@ -37542,7 +37542,7 @@

    1. Let _ps_ be the source text matched by |UnicodePropertyName|. 1. Let _p_ be UnicodeMatchProperty(_rer_, _ps_). - 1. Assert: _p_ is a Unicode property name or property alias listed in the “Property name and aliases” column of . + 1. Assert: _p_ is a Unicode property name or property alias listed in the “Property name and aliases” column of . 1. Let _vs_ be the source text matched by |UnicodePropertyValue|. 1. Let _v_ be UnicodeMatchPropertyValue(_p_, _vs_). 1. Let _A_ be the CharSet containing all Unicode code points whose character database definition includes the property _p_ with value _v_. @@ -37554,7 +37554,7 @@

    1. If UnicodeMatchPropertyValue(`General_Category`, _s_) is a Unicode property value or property value alias for the General_Category (gc) property listed in PropertyValueAliases.txt, then 1. Return the CharSet containing all Unicode code points whose character database definition includes the property “General_Category” with value _s_. 1. Let _p_ be UnicodeMatchProperty(_rer_, _s_). - 1. Assert: _p_ is a binary Unicode property or binary property alias listed in the “Property name and aliases” column of , or a binary Unicode property of strings listed in the “Property name” column of . + 1. Assert: _p_ is a binary Unicode property or binary property alias listed in the “Property name and aliases” column of , or a binary Unicode property of strings listed in the “Property name” column of . 1. Let _A_ be the CharSet containing all CharSetElements whose character database definition includes the property _p_ with value “True”. 1. Return MaybeSimpleCaseFolding(_rer_, _A_). @@ -37800,20 +37800,20 @@

    UnicodeMatchProperty ( _rer_: a RegExp Record, _p_: ECMAScript source text, - ): a Unicode property name + ): a Unicode property name

    - 1. If _rer_.[[UnicodeSets]] is *true* and _p_ is a Unicode property name listed in the “Property name” column of , then + 1. If _rer_.[[UnicodeSets]] is *true* and _p_ is a Unicode property name listed in the “Property name” column of , then 1. Return the List of Unicode code points _p_. - 1. Assert: _p_ is a Unicode property name or property alias listed in the “Property name and aliases” column of or . - 1. Let _c_ be the canonical property name of _p_ as given in the “Canonical property name” column of the corresponding row. + 1. Assert: _p_ is a Unicode property name or property alias listed in the “Property name and aliases” column of or . + 1. Let _c_ be the canonical property name of _p_ as given in the “Canonical property name” column of the corresponding row. 1. Return the List of Unicode code points _c_. -

    Implementations must support the Unicode property names and aliases listed in , , and . To ensure interoperability, implementations must not support any other property names or aliases.

    +

    Implementations must support the Unicode property names and aliases listed in , , and . To ensure interoperability, implementations must not support any other property names or aliases.

    -

    For example, `Script_Extensions` (property name) and `scx` (property alias) are valid, but `script_extensions` or `Scx` aren't.

    +

    For example, `Script_Extensions` (property name) and `scx` (property alias) are valid, but `script_extensions` or `Scx` aren't.

    The listed properties form a superset of what UTS18 RL1.2 requires.

    @@ -37836,7 +37836,7 @@

    - 1. Assert: _p_ is a canonical, unaliased Unicode property name listed in the “Canonical property name” column of . + 1. Assert: _p_ is a canonical, unaliased Unicode property name listed in the “Canonical property name” column of . 1. Assert: _v_ is a property value or property value alias for the Unicode property _p_ listed in PropertyValueAliases.txt. 1. Let _value_ be the canonical property value of _v_ as given in the “Canonical property value” column of the corresponding row. 1. Return the List of Unicode code points _value_. diff --git a/table-binary-unicode-properties-of-strings.html b/table-binary-unicode-properties-of-strings.html index 3bafffaee3..1b6479a126 100644 --- a/table-binary-unicode-properties-of-strings.html +++ b/table-binary-unicode-properties-of-strings.html @@ -3,7 +3,7 @@ - + diff --git a/table-binary-unicode-properties.html b/table-binary-unicode-properties.html index 169823b7b9..8ab11640ed 100644 --- a/table-binary-unicode-properties.html +++ b/table-binary-unicode-properties.html @@ -1,10 +1,10 @@ - Binary Unicode property aliases and their canonical property names + Binary Unicode property aliases and their canonical property names
    Property nameProperty name
    - - + + diff --git a/table-nonbinary-unicode-properties.html b/table-nonbinary-unicode-properties.html index b8af3e7b4d..2bf328116d 100644 --- a/table-nonbinary-unicode-properties.html +++ b/table-nonbinary-unicode-properties.html @@ -1,10 +1,10 @@ - Non-binary Unicode property aliases and their canonical property names + Non-binary Unicode property aliases and their canonical property names
    Property name and aliasesCanonical property nameProperty name and aliasesCanonical property name
    - - + +
    Property name and aliasesCanonical property nameProperty name and aliasesCanonical property name