Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/src/async-functions/syntax/async-arrow.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/async-arrow-function/
6 name: Async arrow function
7 esid: prod-AsyncArrowFunction
8 info: |
9 Async Arrow Function Definitions
10
11 AsyncArrowFunction[In, Yield, Await]:
12 async [no LineTerminator here] AsyncArrowBindingIdentifier[?Yield] [no LineTerminator here] => AsyncConciseBody[?In]
13 CoverCallExpressionAndAsyncArrowHead[?Yield, ?Await] [no LineTerminator here] => AsyncConciseBody[?In]
14
15 AsyncConciseBody[In]:
16 { AsyncFunctionBody }
17 features: [async-functions]
18 ---*/
19
20 async() => {
21 /*{ body }*/
22 };