Debian Codegraph @

vendor/mck89/peast/lib/Peast/Syntax/ES2020/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\ES2020;
11
12 /**
13 * ES2020 features class
14 *
15 * @author Marco Marchiò <[email protected]>
16 *
17 * @codeCoverageIgnore
18 */
19 class Features extends \Peast\Syntax\ES2019\Features
20 {
21 /**
22 * Dynamic import
23 *
24 * @var bool
25 */
26 public $dynamicImport = true;
27
28 /**
29 * BigInt literals
30 *
31 * @var bool
32 */
33 public $bigInt = true;
34
35 /**
36 * Exported name for export all declarations
37 *
38 * @var bool
39 */
40 public $exportedNameInExportAll = true;
41
42 /**
43 * Import.meta
44 *
45 * @var bool
46 */
47 public $importMeta = true;
48
49 /**
50 * Coalescing operator
51 *
52 * @var bool
53 */
54 public $coalescingOperator = true;
55
56 /**
57 * Optional chaining
58 *
59 * @var bool
60 */
61 public $optionalChaining = true;
62 }