mirror of
https://github.com/tc39/test262.git
synced 2025-07-02 19:54:38 +02:00
25 lines
749 B
JavaScript
25 lines
749 B
JavaScript
// This file was procedurally generated from the following sources:
|
|
// - src/class-elements/grammar-field-accessor.case
|
|
// - src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template
|
|
/*---
|
|
description: Valid accessor FieldDefinition, ClassElementName, PropertyName Syntax (class expression)
|
|
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
|
|
|
|
---*/
|
|
|
|
|
|
var C = class {
|
|
accessor $;
|
|
accessor _;
|
|
accessor \u{6F};
|
|
accessor \u2118;
|
|
accessor ZW_\u200C_NJ;
|
|
accessor ZW_\u200D_J;
|
|
};
|