Debian Codegraph @

vendor/mck89/peast/lib/Peast/Syntax/ES2017/Features.php

raw
1 <?php
2 /**
3 * This file is part of the Peast package
4 *
5 * (c) Marco Marchiò <[email protected]>
6 *
7 * For the full copyright and license information refer to the LICENSE file
8 * distributed with this source code
9 */
10 namespace Peast\Syntax\ES2017;
11
12 /**
13 * ES2017 features class
14 *
15 * @author Marco Marchiò <[email protected]>
16 *
17 * @codeCoverageIgnore
18 */
19 class Features extends \Peast\Syntax\ES2016\Features
20 {
21 /**
22 * Async/await
23 *
24 * @var bool
25 */
26 public $asyncAwait = true;
27
28 /**
29 * Trailing comma in function calls and declarations
30 *
31 * @var bool
32 */
33 public $trailingCommaFunctionCallDeclaration = true;
34
35 /**
36 * For-in initializer
37 *
38 * @var bool
39 */
40 public $forInInitializer = true;
41 }