Debian Codegraph @

vendor/mck89/peast/lib/Peast/Syntax/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;
11
12 /**
13 * Parser features class
14 *
15 * @author Marco Marchiò <[email protected]>
16 *
17 * @codeCoverageIgnore
18 */
19 class Features
20 {
21 /**
22 * Exponentiation operator
23 *
24 * @var bool
25 */
26 public $exponentiationOperator = false;
27
28 /**
29 * Async/await
30 *
31 * @var bool
32 */
33 public $asyncAwait = false;
34
35 /**
36 * Trailing comma in function calls and declarations
37 *
38 * @var bool
39 */
40 public $trailingCommaFunctionCallDeclaration = false;
41
42 /**
43 * For-in initializer
44 *
45 * @var bool
46 */
47 public $forInInitializer = false;
48
49 /**
50 * Async iteration and generators
51 *
52 * @var bool
53 */
54 public $asyncIterationGenerators = false;
55
56 /**
57 * Rest/spread properties
58 *
59 * @var bool
60 */
61 public $restSpreadProperties = false;
62
63 /**
64 * Skip escape sequences checks in tagged template
65 *
66 * @var bool
67 */
68 public $skipEscapeSeqCheckInTaggedTemplates = false;
69
70 /**
71 * Optional catch binding
72 *
73 * @var bool
74 */
75 public $optionalCatchBinding = false;
76
77 /**
78 * Paragraph and line separator in strings
79 *
80 * @var bool
81 */
82 public $paragraphLineSepInStrings = false;
83
84 /**
85 * Dynamic import
86 *
87 * @var bool
88 */
89 public $dynamicImport = false;
90
91 /**
92 * BigInt literals
93 *
94 * @var bool
95 */
96 public $bigInt = false;
97
98 /**
99 * Exported name for export all declarations
100 *
101 * @var bool
102 */
103 public $exportedNameInExportAll = false;
104
105 /**
106 * Import.meta
107 *
108 * @var bool
109 */
110 public $importMeta = false;
111
112 /**
113 * Coalescing operator
114 *
115 * @var bool
116 */
117 public $coalescingOperator = false;
118
119 /**
120 * Optional chaining
121 *
122 * @var bool
123 */
124 public $optionalChaining = false;
125
126 /**
127 * Logical assignment operators
128 *
129 * @var bool
130 */
131 public $logicalAssignmentOperators = false;
132
133 /**
134 * Numeric literal separator
135 *
136 * @var bool
137 */
138 public $numericLiteralSeparator = false;
139
140 /**
141 * Private methods and fields
142 *
143 * @var bool
144 */
145 public $privateMethodsAndFields = false;
146
147 /**
148 * Class fields
149 *
150 * @var bool
151 */
152 public $classFields = false;
153
154 /**
155 * "in" operator for private fields
156 *
157 * @var bool
158 */
159 public $classFieldsPrivateIn = false;
160
161 /**
162 * Top level await
163 *
164 * @var bool
165 */
166 public $topLevelAwait = false;
167
168 /**
169 * Class static block
170 *
171 * @var bool
172 */
173 public $classStaticBlock = false;
174
175 /**
176 * Arbitrary module namespace identifier names
177 *
178 * @var bool
179 */
180 public $arbitraryModuleNSNames = false;
181
182 /**
183 * Hashbang comments
184 *
185 * @var bool
186 */
187 public $hashbangComments = false;
188
189 /**
190 * Import attributes
191 *
192 * @var bool
193 */
194 public $importAttributes = false;
195 }