Debian Codegraph @

vendor/mck89/peast/lib/Peast/Syntax/ES2018/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\ES2018;
11
12 /**
13 * ES2018 features class
14 *
15 * @author Marco Marchiò <[email protected]>
16 *
17 * @codeCoverageIgnore
18 */
19 class Features extends \Peast\Syntax\ES2017\Features
20 {
21 /**
22 * Async iteration and generators
23 *
24 * @var bool
25 */
26 public $asyncIterationGenerators = true;
27
28 /**
29 * Rest/spread properties
30 *
31 * @var bool
32 */
33 public $restSpreadProperties = true;
34
35 /**
36 * Skip escape sequences checks in tagged template
37 *
38 * @var bool
39 */
40 public $skipEscapeSeqCheckInTaggedTemplates = true;
41 }