Debian Codegraph @

js/src/tests/test262/language/statements/class/elements/syntax/valid/grammar-fields-multi-line.js

raw
1 // This file was procedurally generated from the following sources:
2 // - src/class-elements/grammar-fields-multi-line.case
3 // - src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template
4 /*---
5 description: Valid multi-line, multi-field (class declaration)
6 esid: prod-ClassElement
7 features: [class-fields-public, class]
8 flags: [generated]
9 info: |
10 ClassElement :
11 MethodDefinition
12 static MethodDefinition
13 FieldDefinition ;
14 ;
15
16 FieldDefinition :
17 ClassElementName Initializer _opt
18
19 ClassElementName :
20 PropertyName
21 PrivateName
22
23 ---*/
24
25
26 class C {
27 x
28 y
29 }
30
31 reportCompare(0, 0);