Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/src/async-functions/syntax/async-class-expr-static-method.template

raw
1 // Copyright (C) 2017 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 path: language/expressions/class/async-method-static-
6 name: Static async method as a ClassExpression element
7 esid: prod-AsyncMethod
8 info: |
9 ClassElement :
10 static MethodDefinition
11
12 MethodDefinition :
13 AsyncMethod
14
15 Async Function Definitions
16
17 AsyncMethod :
18 async [no LineTerminator here] PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
19 features: [async-functions]
20 ---*/
21
22 var C = class { static async method() {
23 /*{ body }*/
24 }};