mirror of
https://github.com/tc39/test262.git
synced 2025-05-09 01:10:30 +02:00
25 lines
743 B
JavaScript
25 lines
743 B
JavaScript
// This file was procedurally generated from the following sources:
|
|
// - src/class-elements/grammar-field-accessor.case
|
|
// - src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template
|
|
/*---
|
|
description: Valid accessor FieldDefinition, ClassElementName, PropertyName Syntax (class declaration)
|
|
esid: prod-ClassElement
|
|
features: [decorators, class]
|
|
flags: [generated]
|
|
info: |
|
|
FieldDefinition[Yield, Await] :
|
|
ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt
|
|
accessor [no LineTerminator here] ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt
|
|
|
|
---*/
|
|
|
|
|
|
class C {
|
|
accessor $;
|
|
accessor _;
|
|
accessor \u{6F};
|
|
accessor \u2118;
|
|
accessor ZW_\u200C_NJ;
|
|
accessor ZW_\u200D_J;
|
|
}
|