Debian Codegraph @

js/src/tests/test262/language/expressions/class/elements/syntax/valid/grammar-field-accessor.js

raw
1 // |reftest| skip-if(!(this.hasOwnProperty('getBuildConfiguration')&&getBuildConfiguration('decorators'))) -- decorators is not enabled unconditionally
2 // This file was procedurally generated from the following sources:
3 // - src/class-elements/grammar-field-accessor.case
4 // - src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template
5 /*---
6 description: Valid accessor FieldDefinition, ClassElementName, PropertyName Syntax (class expression)
7 esid: prod-ClassElement
8 features: [decorators, class]
9 flags: [generated]
10 info: |
11 FieldDefinition[Yield, Await] :
12 ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt
13 accessor [no LineTerminator here] ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt
14
15 ---*/
16
17
18 var C = class {
19 accessor $;
20 accessor _;
21 accessor \u{6F};
22 accessor \u2118;
23 accessor ZW_\u200C_NJ;
24 accessor ZW_\u200D_J;
25 };
26
27 reportCompare(0, 0);