update decorator member expr private id test cases

This commit is contained in:
Huáng Jùnliàng 2023-03-23 16:52:28 -04:00 committed by Philip Chimento
parent 6da1d4c82c
commit a3880a460a
4 changed files with 14 additions and 12 deletions

View File

@ -10,8 +10,8 @@ info: |
DecoratorMemberExpression[Yield, Await] : DecoratorMemberExpression[Yield, Await] :
IdentifierReference[?Yield, ?Await] IdentifierReference[?Yield, ?Await]
PrivateIdentifier
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier
IdentifierReference[Yield, Await] : IdentifierReference[Yield, Await] :
[~Yield] yield [~Yield] yield

View File

@ -10,8 +10,8 @@ info: |
DecoratorMemberExpression[Yield, Await] : DecoratorMemberExpression[Yield, Await] :
IdentifierReference[?Yield, ?Await] IdentifierReference[?Yield, ?Await]
PrivateIdentifier
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier
IdentifierReference[Yield, Await] : IdentifierReference[Yield, Await] :
Identifier Identifier

View File

@ -7,8 +7,8 @@ desc: >
info: | info: |
DecoratorMemberExpression[Yield, Await] : DecoratorMemberExpression[Yield, Await] :
IdentifierReference[?Yield, ?Await] IdentifierReference[?Yield, ?Await]
PrivateIdentifier
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier
template: syntax/valid template: syntax/valid
---*/ ---*/

View File

@ -6,7 +6,9 @@ desc: >
Decorator @ DecoratorMemberExpression Decorator @ DecoratorMemberExpression
info: | info: |
DecoratorMemberExpression[Yield, Await] : DecoratorMemberExpression[Yield, Await] :
PrivateIdentifier IdentifierReference[?Yield, ?Await]
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier
PrivateIdentifier :: PrivateIdentifier ::
# IdentifierName # IdentifierName
@ -25,11 +27,11 @@ static #yield() {}
static #await() {} static #await() {}
//- decorators //- decorators
@#$ @C.#$
@#_ @C.#_
@#\u{6F} @C.#\u{6F}
@#\u2118 @C.#\u2118
@#ZW_\u200C_NJ @C.#ZW_\u200C_NJ
@#ZW_\u200D_J @C.#ZW_\u200D_J
@#yield @C.#yield
@#await @C.#await