@@ -222,9 +222,6 @@ combined using bitwise or and should be checked by using `$ast->flags & ast\flag
222
222
"exclusive" flags are used standalone and should be checked using ` $ast->flags === ast\flags\BAR ` .
223
223
224
224
```
225
- // Used by ast\AST_ARRAY_ELEM and ast\AST_CLOSURE_VAR (exclusive)
226
- 1 = by-reference
227
-
228
225
// Used by ast\AST_NAME (exclusive)
229
226
ast\flags\NAME_FQ (= 0) // example: \Foo\Bar
230
227
ast\flags\NAME_NOT_FQ // example: Foo\Bar
@@ -263,13 +260,13 @@ ast\flags\PARAM_VARIADIC
263
260
// Used by ast\AST_TYPE (exclusive)
264
261
ast\flags\TYPE_ARRAY
265
262
ast\flags\TYPE_CALLABLE
266
- ast\flags\TYPE_VOID // since version 40
267
- ast\flags\TYPE_BOOL // since version 40
268
- ast\flags\TYPE_LONG // since version 40
269
- ast\flags\TYPE_DOUBLE // since version 40
270
- ast\flags\TYPE_STRING // since version 40
271
- ast\flags\TYPE_ITERABLE // since version 40
272
- ast\flags\TYPE_OBJECT // since version 45
263
+ ast\flags\TYPE_VOID
264
+ ast\flags\TYPE_BOOL
265
+ ast\flags\TYPE_LONG
266
+ ast\flags\TYPE_DOUBLE
267
+ ast\flags\TYPE_STRING
268
+ ast\flags\TYPE_ITERABLE
269
+ ast\flags\TYPE_OBJECT
273
270
274
271
// Used by ast\AST_CAST (exclusive)
275
272
ast\flags\TYPE_NULL
@@ -283,11 +280,11 @@ ast\flags\TYPE_OBJECT
283
280
// Used by ast\AST_UNARY_OP (exclusive)
284
281
ast\flags\UNARY_BOOL_NOT
285
282
ast\flags\UNARY_BITWISE_NOT
286
- ast\flags\UNARY_MINUS // since version 20
287
- ast\flags\UNARY_PLUS // since version 20
288
- ast\flags\UNARY_SILENCE // since version 20
283
+ ast\flags\UNARY_MINUS
284
+ ast\flags\UNARY_PLUS
285
+ ast\flags\UNARY_SILENCE
289
286
290
- // Used by ast\AST_BINARY_OP and ast\AST_ASSIGN_OP in version >= 20 (exclusive)
287
+ // Used by ast\AST_BINARY_OP and ast\AST_ASSIGN_OP (exclusive)
291
288
ast\flags\BINARY_BITWISE_OR
292
289
ast\flags\BINARY_BITWISE_AND
293
290
ast\flags\BINARY_BITWISE_XOR
@@ -302,33 +299,19 @@ ast\flags\BINARY_SHIFT_LEFT
302
299
ast\flags\BINARY_SHIFT_RIGHT
303
300
304
301
// Used by ast\AST_BINARY_OP (exclusive)
305
- ast\flags\BINARY_BOOL_AND // since version 20
306
- ast\flags\BINARY_BOOL_OR // since version 20
302
+ ast\flags\BINARY_BOOL_AND
303
+ ast\flags\BINARY_BOOL_OR
307
304
ast\flags\BINARY_BOOL_XOR
308
305
ast\flags\BINARY_IS_IDENTICAL
309
306
ast\flags\BINARY_IS_NOT_IDENTICAL
310
307
ast\flags\BINARY_IS_EQUAL
311
308
ast\flags\BINARY_IS_NOT_EQUAL
312
309
ast\flags\BINARY_IS_SMALLER
313
310
ast\flags\BINARY_IS_SMALLER_OR_EQUAL
314
- ast\flags\BINARY_IS_GREATER // since version 20
315
- ast\flags\BINARY_IS_GREATER_OR_EQUAL // since version 20
311
+ ast\flags\BINARY_IS_GREATER
312
+ ast\flags\BINARY_IS_GREATER_OR_EQUAL
316
313
ast\flags\BINARY_SPACESHIP
317
- ast\flags\BINARY_COALESCE // since version 40
318
-
319
- // Used by ast\AST_ASSIGN_OP in versions before 20 (exclusive)
320
- ast\flags\ASSIGN_BITWISE_OR
321
- ast\flags\ASSIGN_BITWISE_AND
322
- ast\flags\ASSIGN_BITWISE_XOR
323
- ast\flags\ASSIGN_CONCAT
324
- ast\flags\ASSIGN_ADD
325
- ast\flags\ASSIGN_SUB
326
- ast\flags\ASSIGN_MUL
327
- ast\flags\ASSIGN_DIV
328
- ast\flags\ASSIGN_MOD
329
- ast\flags\ASSIGN_POW
330
- ast\flags\ASSIGN_SHIFT_LEFT
331
- ast\flags\ASSIGN_SHIFT_RIGHT
314
+ ast\flags\BINARY_COALESCE
332
315
333
316
// Used by ast\AST_MAGIC_CONST (exclusive)
334
317
ast\flags\MAGIC_LINE
0 commit comments