Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 75) sorted by relevance

123

/php-ast/tests/
H A Dphp80_union_types.phpt46 flags: TYPE_LONG (%d)
64 flags: TYPE_STRING (%d)
66 flags: TYPE_FALSE (%d)
75 flags: MODIFIER_PUBLIC (%d)
113 flags: NAME_RELATIVE (%d)
116 flags: TYPE_FALSE (%d)
118 flags: TYPE_NULL (%d)
122 flags: NAME_NOT_FQ (%d)
129 flags: NAME_NOT_FQ (%d)
135 flags: 0
[all …]
H A Duse_declarations.phpt22 flags: USE_NORMAL (%d)
24 flags: 0
28 flags: USE_FUNCTION (%d)
30 flags: 0
34 flags: 0
37 flags: 0
39 flags: USE_NORMAL (%d)
47 flags: USE_FUNCTION (%d)
50 flags: 0
52 flags: 0
[all …]
H A Dmagic_constants.phpt26 flags: MAGIC_LINE (%d)
28 flags: MAGIC_FILE (%d)
30 flags: MAGIC_DIR (%d)
32 flags: MAGIC_NAMESPACE (%d)
34 flags: MAGIC_FUNCTION (%d)
36 flags: MAGIC_METHOD (%d)
38 flags: MAGIC_CLASS (%d)
40 flags: MAGIC_TRAIT (%d)
H A Darray_destructuring.phpt23 flags: ARRAY_SYNTAX_LIST (1)
25 flags: 0
30 flags: 0
38 flags: ARRAY_SYNTAX_SHORT (3)
40 flags: 0
45 flags: 0
53 flags: ARRAY_SYNTAX_SHORT (3)
55 flags: 0
60 flags: 0
71 flags: 0
[all …]
H A Dassign_ops.phpt2 Assign op flags
30 flags: BINARY_BITWISE_OR (%d)
36 flags: BINARY_BITWISE_AND (%d)
42 flags: BINARY_BITWISE_XOR (%d)
48 flags: BINARY_CONCAT (%d)
54 flags: BINARY_ADD (%d)
60 flags: BINARY_SUB (%d)
66 flags: BINARY_MUL (%d)
72 flags: BINARY_DIV (%d)
78 flags: BINARY_MOD (%d)
[all …]
H A Dby_ref_destructuring.phpt23 flags: ARRAY_SYNTAX_LIST (1)
25 flags: 0
30 flags: ARRAY_ELEM_REF (1)
38 flags: ARRAY_SYNTAX_SHORT (3)
40 flags: 0
45 flags: ARRAY_ELEM_REF (1)
55 flags: ARRAY_SYNTAX_SHORT (3)
57 flags: 0
62 flags: ARRAY_ELEM_REF (1)
H A Dclass.phpt29 flags: NAME_NOT_FQ (%d)
33 flags: NAME_NOT_FQ (%d)
36 flags: NAME_NOT_FQ (%d)
42 flags: NAME_NOT_FQ (%d)
49 flags: MODIFIER_PUBLIC (%d)
59 flags: MODIFIER_PUBLIC (%d)
82 flags: NAME_NOT_FQ (%d)
86 flags: NAME_NOT_FQ (%d)
89 flags: NAME_NOT_FQ (%d)
102 flags: MODIFIER_PUBLIC (%d)
[all …]
H A Dtype_hints.phpt27 flags: NAME_NOT_FQ (1)
33 flags: TYPE_ARRAY (7)
38 flags: TYPE_CALLABLE (%d)
43 flags: TYPE_LONG (4)
48 flags: TYPE_DOUBLE (5)
53 flags: TYPE_STRING (6)
58 flags: TYPE_BOOL (%d)
63 flags: TYPE_ITERABLE (%d)
68 flags: TYPE_VOID (%d)
H A Dphp80_promotion.phpt35 flags: MODIFIER_PUBLIC (%d)
40 flags: PARAM_MODIFIER_PUBLIC (%d)
42 flags: TYPE_LONG (4)
46 flags: PARAM_REF | PARAM_MODIFIER_PRIVATE (%d)
48 flags: NAME_NOT_FQ (1)
53 flags: NAME_NOT_FQ (1)
56 flags: PARAM_MODIFIER_PROTECTED (%d)
58 flags: TYPE_ITERABLE (13)
61 flags: ARRAY_SYNTAX_SHORT (3)
H A Dphp74_type_hints.phpt44 flags: MODIFIER_PUBLIC (%d)
60 flags: MODIFIER_PRIVATE (%d)
66 flags: MODIFIER_PROTECTED (%d)
72 flags: MODIFIER_PUBLIC (%d)
99 flags: MODIFIER_PUBLIC (%d)
101 flags: TYPE_LONG (4)
115 flags: TYPE_STRING (6)
122 flags: MODIFIER_PRIVATE (%d)
134 flags: NAME_NOT_FQ (1)
142 flags: MODIFIER_PUBLIC (%d)
[all …]
H A Dphp80_union_types_nullable.phpt36 flags: TYPE_ARRAY (7)
42 flags: TYPE_OBJECT (8)
50 flags: NAME_NOT_FQ (1)
54 flags: NAME_FQ (0)
64 flags: MODIFIER_PUBLIC (1)
70 flags: MODIFIER_PUBLIC (1)
84 flags: TYPE_ARRAY (7)
101 flags: NAME_FQ (0)
111 flags: MODIFIER_PUBLIC (1)
121 flags: MODIFIER_PUBLIC (1)
[all …]
H A Dphp80_union_types_false.phpt31 flags: MODIFIER_PUBLIC (%d)
34 flags: TYPE_ITERABLE (%d)
36 flags: TYPE_NULL (%d)
38 flags: TYPE_FALSE (%d)
55 flags: TYPE_OBJECT (%d)
57 flags: TYPE_FALSE (%d)
64 flags: TYPE_FALSE (%d)
75 flags: TYPE_FALSE (%d)
83 flags: NAME_NOT_FQ (%d)
87 flags: TYPE_FALSE (%d)
[all …]
H A Dphp82_encaps_list.phpt2 Encapsulated variable flags in PHP 8.2-8.3
17 flags: ENCAPS_VAR_DOLLAR_CURLY (%d)
20 flags: ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR (%d)
24 flags: NAME_NOT_FQ (%d)
30 flags: ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR (%d)
36 flags: ENCAPS_VAR_DOLLAR_CURLY (%d)
41 flags: DIM_ALTERNATIVE_SYNTAX (%d)
H A Dphp81_enums.phpt34 flags: CLASS_FINAL | CLASS_ENUM (%d)
46 flags: MODIFIER_PUBLIC (%d)
57 flags: CLASS_FINAL | CLASS_ENUM (%d)
77 flags: CLASS_FINAL | CLASS_ENUM (%d)
89 flags: MODIFIER_PUBLIC (%d)
103 flags: CLASS_FINAL | CLASS_ENUM (%d)
124 flags: NAME_NOT_FQ (%d)
131 flags: CLASS_FINAL | CLASS_ENUM (%d)
143 flags: MODIFIER_PUBLIC (%d)
156 flags: TYPE_LONG (%d)
[all …]
H A Dparams.phpt30 flags: PARAM_VARIADIC (%d)
42 flags: PARAM_REF (%d)
47 flags: PARAM_REF | PARAM_VARIADIC (%d)
59 flags: PARAM_REF (%d)
61 flags: TYPE_ARRAY (%d)
67 flags: TYPE_ARRAY (%d)
85 flags: PARAM_VARIADIC (%d)
100 flags: PARAM_REF (%d)
122 flags: PARAM_REF (%d)
124 flags: TYPE_ARRAY (%d)
[all …]
H A Dconcat.phpt22 flags: EXEC_REQUIRE_ONCE (%d)
24 flags: BINARY_CONCAT (%d)
26 flags: MAGIC_DIR (%d)
29 flags: EXEC_REQUIRE_ONCE (%d)
31 flags: BINARY_CONCAT (%d)
33 flags: MAGIC_DIR (%d)
H A Dphp81_intersection_types.phpt35 flags: MODIFIER_PUBLIC (%d)
38 flags: NAME_NOT_FQ (%d)
41 flags: NAME_NOT_FQ (%d)
44 flags: NAME_NOT_FQ (%d)
53 flags: MODIFIER_PUBLIC (%d)
60 flags: NAME_NOT_FQ (%d)
63 flags: NAME_NOT_FQ (%d)
75 flags: NAME_NOT_FQ (%d)
78 flags: NAME_NOT_FQ (%d)
91 flags: TYPE_ITERABLE (%d)
[all …]
H A Dattributes_02.phpt50 flags: MODIFIER_PUBLIC (%d)
58 flags: MODIFIER_PUBLIC (%d)
95 flags: MODIFIER_PUBLIC (%d)
106 flags: NAME_NOT_FQ (%d)
112 flags: NAME_NOT_FQ (%d)
120 flags: MODIFIER_PUBLIC (%d)
130 flags: NAME_NOT_FQ (%d)
161 flags: NAME_NOT_FQ (%d)
166 flags: NAME_NOT_FQ (%d)
174 flags: NAME_FQ (%d)
[all …]
H A Deval_include.phpt23 flags: EXEC_EVAL (1)
26 flags: EXEC_INCLUDE (2)
29 flags: EXEC_INCLUDE_ONCE (4)
32 flags: EXEC_REQUIRE (8)
35 flags: EXEC_REQUIRE_ONCE (16)
H A Dphp82_encaps_list2.phpt2 Encapsulated variable flags in PHP 8.2
17 flags: ENCAPS_VAR_DOLLAR_CURLY (%d)
20 flags: ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR (%d)
24 flags: NAME_NOT_FQ (%d)
30 flags: ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR (%d)
36 flags: ENCAPS_VAR_DOLLAR_CURLY (%d)
H A Dunary_ops.phpt2 Convert unary ops AST_(SILENCE|UNARY_(PLUS|MINUS)) to flags of ZEND_AST_UNARY_OP
21 flags: UNARY_SILENCE (260)
25 flags: UNARY_PLUS (261)
28 flags: UNARY_MINUS (262)
H A Darray_destructuring_old.phpt21 flags: ARRAY_SYNTAX_LIST (%d)
23 flags: 0
28 flags: 0
36 flags: ARRAY_SYNTAX_LIST (%d)
39 flags: 0
H A Dshort_arrow_function_return.phpt30 flags: MODIFIER_STATIC (%d)
37 flags: TYPE_LONG (%d)
45 flags: TYPE_ITERABLE (%d)
50 flags: ARRAY_SYNTAX_SHORT (%d)
52 flags: 0
57 flags: TYPE_ARRAY (%d)
65 flags: NAME_NOT_FQ (%d)
73 flags: NAME_FQ (%d)
82 flags: NAME_FQ (%d)
90 flags: NAME_NOT_FQ (%d)
/php-ast/
H A Dutil.php3 use ast\flags; alias
15 if (empty($data->flags)) {
20 foreach ($data->flags as $fullName) {
34 function format_flags(int $kind, int $flags) : string { argument
38 if (isset($flagInfo[$flags])) {
39 return "{$flagInfo[$flags]} ($flags)";
45 if ($flags & $flag) {
50 return implode(" | ", $names) . " ($flags)";
53 return (string) $flags;
68 … if ((ast\kind_uses_flags($ast->kind) && !is_combinable_flag($ast->kind)) || $ast->flags != 0) {
[all …]
H A DREADME.md16 * [Flags](#flags)
78 public $flags;
89 always zero. See the [flags section](#flags) for a list of flags supported by the different node
119 ["flags"]=>
129 ["flags"]=>
203 public $flags;
214 [flags section](#flags).
223 "exclusive" flags are used standalone and should be checked using `$ast->flags === ast\flags\BAR`.
245 ast\flags\FUNC_RETURNS_REF // legacy alias: ast\flags\RETURNS_REF
261 ast\flags\PARAM_REF
[all …]

Completed in 27 milliseconds

123