Debian Codegraph @

vendor/mck89/peast/lib/Peast/Syntax/ES2022/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\ES2022;
11
12 /**
13 * ES2022 features class
14 *
15 * @author Marco Marchiò <[email protected]>
16 *
17 * @codeCoverageIgnore
18 */
19 class Features extends \Peast\Syntax\ES2021\Features
20 {
21 /**
22 * Private methods and fields
23 *
24 * @var bool
25 */
26 public $privateMethodsAndFields = true;
27
28 /**
29 * Class fields
30 *
31 * @var bool
32 */
33 public $classFields = true;
34
35 /**
36 * "in" operator for private fields
37 *
38 * @var bool
39 */
40 public $classFieldsPrivateIn = true;
41
42 /**
43 * Top level await
44 *
45 * @var bool
46 */
47 public $topLevelAwait = true;
48
49 /**
50 * Class static block
51 *
52 * @var bool
53 */
54 public $classStaticBlock = true;
55
56 /**
57 * Arbitrary module namespace identifier names
58 *
59 * @var bool
60 */
61 public $arbitraryModuleNSNames = true;
62 }