Lines Matching refs:flags

16  * [Flags](#flags)
50 * `ast\flags\*` flag constants
78 public $flags;
88 The `flags` property contains node specific flags. It is always defined, but for most nodes it is
89 always zero. See the [flags section](#flags) for a list of flags supported by the different node
119 ["flags"]=>
129 ["flags"]=>
139 ["flags"]=>
192 `ast\kind_uses_flags()` determines whether the `flags` of a node kind may ever be non-zero.
203 public $flags;
211 `flags` is an array of flag constant names, which may be used by the node kind. `flagsCombinable`
214 [flags section](#flags).
221 This section lists which flags are used by which AST node kinds. The "combinable" flags can be
222 combined using bitwise or and should be checked by using `$ast->flags & ast\flags\FOO`. The
223 "exclusive" flags are used standalone and should be checked using `$ast->flags === ast\flags\BAR`.
227 ast\flags\NAME_FQ (= 0) // example: \Foo\Bar
228 ast\flags\NAME_NOT_FQ // example: Foo\Bar
229 ast\flags\NAME_RELATIVE // example: namespace\Foo\Bar
233 ast\flags\MODIFIER_PUBLIC
234 ast\flags\MODIFIER_PROTECTED
235 ast\flags\MODIFIER_PRIVATE
236 ast\flags\MODIFIER_STATIC
237 ast\flags\MODIFIER_ABSTRACT
238 ast\flags\MODIFIER_FINAL
239 ast\flags\MODIFIER_READONLY
242 ast\flags\MODIFIER_STATIC
245 ast\flags\FUNC_RETURNS_REF // legacy alias: ast\flags\RETURNS_REF
246 ast\flags\FUNC_GENERATOR // used only in PHP >= 7.1
249 ast\flags\CLOSURE_USE_REF
252 ast\flags\CLASS_ABSTRACT
253 ast\flags\CLASS_FINAL
254 ast\flags\CLASS_TRAIT
255 ast\flags\CLASS_INTERFACE
256 ast\flags\CLASS_ANONYMOUS
257 ast\flags\CLASS_ENUM // php 8.1 enums
258 ast\flags\CLASS_READONLY // php 8.2 readonly classes
261 ast\flags\PARAM_REF
262 ast\flags\PARAM_VARIADIC
263 ast\flags\PARAM_MODIFIER_PUBLIC (available since 1.0.8, same as ast\flags\MODIFIER_* in PHP >= 8.0)
264 ast\flags\PARAM_MODIFIER_PROTECTED (available since 1.0.8)
265 ast\flags\PARAM_MODIFIER_PRIVATE (available since 1.0.8)
268 ast\flags\TYPE_ARRAY
269 ast\flags\TYPE_CALLABLE
270 ast\flags\TYPE_VOID
271 ast\flags\TYPE_BOOL
272 ast\flags\TYPE_LONG
273 ast\flags\TYPE_DOUBLE
274 ast\flags\TYPE_STRING
275 ast\flags\TYPE_ITERABLE
276 ast\flags\TYPE_OBJECT
277 ast\flags\TYPE_NULL // php 8.0 union types
278 ast\flags\TYPE_FALSE // php 8.0 union types
279 ast\flags\TYPE_TRUE // php 8.2 true type
280 ast\flags\TYPE_STATIC // php 8.0 static return type
281 ast\flags\TYPE_MIXED // php 8.0 mixed type
282 ast\flags\TYPE_NEVER // php 8.1 never type
285 ast\flags\TYPE_NULL
286 ast\flags\TYPE_BOOL
287 ast\flags\TYPE_LONG
288 ast\flags\TYPE_DOUBLE
289 ast\flags\TYPE_STRING
290 ast\flags\TYPE_ARRAY
291 ast\flags\TYPE_OBJECT
294 ast\flags\UNARY_BOOL_NOT
295 ast\flags\UNARY_BITWISE_NOT
296 ast\flags\UNARY_MINUS
297 ast\flags\UNARY_PLUS
298 ast\flags\UNARY_SILENCE
301 ast\flags\BINARY_BITWISE_OR
302 ast\flags\BINARY_BITWISE_AND
303 ast\flags\BINARY_BITWISE_XOR
304 ast\flags\BINARY_CONCAT
305 ast\flags\BINARY_ADD
306 ast\flags\BINARY_SUB
307 ast\flags\BINARY_MUL
308 ast\flags\BINARY_DIV
309 ast\flags\BINARY_MOD
310 ast\flags\BINARY_POW
311 ast\flags\BINARY_SHIFT_LEFT
312 ast\flags\BINARY_SHIFT_RIGHT
313 ast\flags\BINARY_COALESCE
316 ast\flags\BINARY_BOOL_AND
317 ast\flags\BINARY_BOOL_OR
318 ast\flags\BINARY_BOOL_XOR
319 ast\flags\BINARY_IS_IDENTICAL
320 ast\flags\BINARY_IS_NOT_IDENTICAL
321 ast\flags\BINARY_IS_EQUAL
322 ast\flags\BINARY_IS_NOT_EQUAL
323 ast\flags\BINARY_IS_SMALLER
324 ast\flags\BINARY_IS_SMALLER_OR_EQUAL
325 ast\flags\BINARY_IS_GREATER
326 ast\flags\BINARY_IS_GREATER_OR_EQUAL
327 ast\flags\BINARY_SPACESHIP
330 ast\flags\MAGIC_LINE
331 ast\flags\MAGIC_FILE
332 ast\flags\MAGIC_DIR
333 ast\flags\MAGIC_NAMESPACE
334 ast\flags\MAGIC_FUNCTION
335 ast\flags\MAGIC_METHOD
336 ast\flags\MAGIC_CLASS
337 ast\flags\MAGIC_TRAIT
340 ast\flags\USE_NORMAL
341 ast\flags\USE_FUNCTION
342 ast\flags\USE_CONST
345 ast\flags\EXEC_EVAL
346 ast\flags\EXEC_INCLUDE
347 ast\flags\EXEC_INCLUDE_ONCE
348 ast\flags\EXEC_REQUIRE
349 ast\flags\EXEC_REQUIRE_ONCE
352 ast\flags\ARRAY_SYNTAX_SHORT
353 ast\flags\ARRAY_SYNTAX_LONG
354 ast\flags\ARRAY_SYNTAX_LIST
357 ast\flags\ARRAY_ELEM_REF
360 ast\flags\DIM_ALTERNATIVE_SYNTAX
361 ast\flags\ENCAPS_VAR_DOLLAR_CURLY // php 8.2 deprecation, only available in php 8.2+
364 ast\flags\ENCAPS_VAR_DOLLAR_CURLY
365 ast\flags\ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR
368 ast\flags\PARENTHESIZED_CONDITIONAL