diff --git a/spec.html b/spec.html index 72af0c6658..05d8e648c3 100644 --- a/spec.html +++ b/spec.html @@ -19278,7 +19278,7 @@

Static Semantics: Early Errors

AsyncFunctionDeclaration : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` - AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` + AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` AsyncFunctionExpression : `async` [no LineTerminator here] `function` BindingIdentifier `(` FormalParameters `)` `{` AsyncFunctionBody `}` @@ -19331,7 +19331,7 @@

Static Semantics: Contains

AsyncFunctionDeclaration : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` - AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` + AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` AsyncFunctionExpression : `async` [no LineTerminator here] `function` BindingIdentifier `(` FormalParameters `)` `{` AsyncFunctionBody `}` @@ -19354,7 +19354,7 @@

Static Semantics: HasDirectSuper

Static Semantics: HasName

- AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` + AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` 1. Return *false*. @@ -19382,7 +19382,7 @@

Static Semantics: IsConstantDeclaration

Static Semantics: IsFunctionDefinition

- AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` + AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` AsyncFunctionExpression : `async` [no LineTerminator here] `function` BindingIdentifier `(` FormalParameters `)` `{` AsyncFunctionBody `}` @@ -19480,7 +19480,7 @@

Runtime Semantics: Evaluation

- AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` + AsyncFunctionExpression : `async` [no LineTerminator here] `function` `(` FormalParameters `)` `{` AsyncFunctionBody `}` 1. If the function code for |AsyncFunctionExpression| is strict mode code, let _strict_ be *true*. Otherwise let _strict_ be *false*. @@ -28162,7 +28162,7 @@

Notation

_InputLength_ is the number of characters in _Input_.
  • - _NcapturingParens_ is the total number of left capturing parentheses (i.e. the total number of times the Atom :: `(` Disjunction `)` production is expanded) in the pattern. A left capturing parenthesis is any `(` pattern character that is matched by the `(` terminal of the Atom :: `(` Disjunction `)` production. + _NcapturingParens_ is the total number of left-capturing parentheses (i.e. the total number of times the Atom :: `(` Disjunction `)` production is expanded) in the pattern. A left-capturing parenthesis is any `(` pattern character that is matched by the `(` terminal of the Atom :: `(` Disjunction `)` production.
  • _IgnoreCase_ is *true* if the RegExp object's [[OriginalFlags]] internal slot contains `"i"` and otherwise is *false*. @@ -28279,8 +28279,8 @@

    Term

    1. Evaluate |Atom| to obtain a Matcher _m_. 1. Evaluate |Quantifier| to obtain the three results: an integer _min_, an integer (or ∞) _max_, and Boolean _greedy_. 1. If _max_ is finite and less than _min_, throw a *SyntaxError* exception. - 1. Let _parenIndex_ be the number of left capturing parentheses in the entire regular expression that occur to the left of this production expansion's |Term|. This is the total number of times the Atom :: `(` Disjunction `)` production is expanded prior to this production's |Term| plus the total number of Atom :: `(` Disjunction `)` productions enclosing this |Term|. - 1. Let _parenCount_ be the number of left capturing parentheses in the expansion of this production's |Atom|. This is the total number of Atom :: `(` Disjunction `)` productions enclosed by this production's |Atom|. + 1. Let _parenIndex_ be the number of left-capturing parentheses in the entire regular expression that occur to the left of this production expansion's |Term|. This is the total number of times the Atom :: `(` Disjunction `)` production is expanded prior to this production's |Term| plus the total number of Atom :: `(` Disjunction `)` productions enclosing this |Term|. + 1. Let _parenCount_ be the number of left-capturing parentheses in the expansion of this production's |Atom|. This is the total number of Atom :: `(` Disjunction `)` productions enclosed by this production's |Atom|. 1. Return an internal Matcher closure that takes two arguments, a State _x_ and a Continuation _c_, and performs the following steps when evaluated: 1. Call RepeatMatcher(_m_, _min_, _max_, _greedy_, _x_, _c_, _parenIndex_, _parenCount_) and return its result. @@ -28741,7 +28741,7 @@

    Atom

    The production Atom :: `(` Disjunction `)` evaluates as follows:

    1. Evaluate |Disjunction| to obtain a Matcher _m_. - 1. Let _parenIndex_ be the number of left capturing parentheses in the entire regular expression that occur to the left of this production expansion's initial left parenthesis. This is the total number of times the Atom :: `(` Disjunction `)` production is expanded prior to this production's |Atom| plus the total number of Atom :: `(` Disjunction `)` productions enclosing this |Atom|. + 1. Let _parenIndex_ be the number of left-capturing parentheses in the entire regular expression that occur to the left of this production expansion's initial left parenthesis. This is the total number of times the Atom :: `(` Disjunction `)` production is expanded prior to this production's |Atom| plus the total number of Atom :: `(` Disjunction `)` productions enclosing this |Atom|. 1. Return an internal Matcher closure that takes two arguments, a State _x_ and a Continuation _c_, and performs the following steps: 1. Let _d_ be an internal Continuation closure that takes one State argument _y_ and performs the following steps: 1. Let _cap_ be a fresh copy of _y_'s _captures_ List. @@ -29053,7 +29053,7 @@

    DecimalEscape

    The definitions of “the MV of |NonZeroDigit|” and “the MV of |DecimalDigits|” are in .

    -

    If `\\` is followed by a decimal number _n_ whose first digit is not `0`, then the escape sequence is considered to be a backreference. It is an error if _n_ is greater than the total number of left capturing parentheses in the entire regular expression.

    +

    If `\\` is followed by a decimal number _n_ whose first digit is not `0`, then the escape sequence is considered to be a backreference. It is an error if _n_ is greater than the total number of left-capturing parentheses in the entire regular expression.

    @@ -36157,7 +36157,7 @@

    Expressions

    When processing the production the interpretation of |CoverCallExpressionAndAsyncArrowHead| is refined using the following grammar:

     

    - +