Home
last modified time | relevance | path

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

/php-ast/tests/
H A Darray_destructuring.phpt26 value: AST_VAR
31 value: AST_VAR
41 value: AST_VAR
46 value: AST_VAR
56 value: AST_VAR
61 value: AST_VAR
72 value: AST_ARRAY
76 value: AST_VAR
H A Dclass_consts.phpt39 value: 1
45 value: 2
51 value: 3
57 value: 4
63 value: 5
67 value: 6
H A Dby_ref_destructuring.phpt26 value: AST_VAR
31 value: AST_VAR
41 value: AST_VAR
46 value: AST_VAR
58 value: AST_VAR
63 value: AST_VAR
H A Dclass_const_types.phpt34 value: 1
38 value: 2
46 value: AST_CONST
69 value: 1
73 value: 2
83 value: AST_CONST
H A Darray_destructuring_old.phpt24 value: AST_VAR
29 value: AST_VAR
40 value: AST_VAR
H A Dclass_consts_80.phpt37 value: 1
45 value: 5
49 value: 6
H A Dphp74_ast_assign_coalesce.phpt13 Foo::$prop['offset'] ??= $other ??= 'value';
39 expr: "value"
H A Dstmt_list.phpt43 value: 1
50 value: 1
H A Ddecl_normalization.phpt58 value: 0
80 value: 0
110 value: 0
131 value: 0
H A Dclass.phpt52 value: "Y"
56 value: "X"
105 value: "Y"
109 value: "X"
H A Dphp81_final_class_const.phpt32 value: 1
47 value: 1
H A Dphp84_property_hook4.phpt13 public string $username { set => strtolower($value); }
52 name: "value"
H A Dgenerator_flag.phpt27 value: null
H A Dphp80_union_types_false.phpt13 public iterable|null|false $value;
41 name: "value"
H A Dphp81_enums.phpt49 value: AST_CLASS_CONST
93 value: AST_CLASS_CONST
147 value: AST_CLASS_CONST
H A Dphp80_union_types.phpt136 value: 2
140 value: 3
H A Dphp84_property_hook3.phpt47 value: 123
H A Dattributes_02.phpt61 value: 123
124 value: 123
H A Dshort_arrow_function_return.phpt53 value: AST_VAR
H A Dshort_arrow_function.phpt97 value: 123
/php-ast/scripts/
H A Dgenerate_ast_stub.php14 foreach (get_defined_constants(true)['ast'] as $name => $value) {
16 $consts .= "\nconst " . substr($name, 4) . " = $value;";
27 foreach (get_defined_constants(true)['ast'] as $name => $value) {
29 $consts .= "\nconst " . substr($name, 10) . " = $value;";
/php-ast/
H A Dast_str_defs.h34 X(value, "value") \
H A Dphp_ast.h33 #define X(str, value) zend_string *str_ ## str; argument
H A Dast.c50 #define ast_declare_property(ce, name, value) \ argument
51 zend_declare_property_ex((ce), (name), (value), ZEND_ACC_PUBLIC, NULL)
53 #define ast_register_flag_constant(name, value) \ argument
54 REGISTER_NS_LONG_CONSTANT("ast\\flags", name, value, CONST_CS | CONST_PERSISTENT)
354 static inline void ast_update_property(zval *object, zend_string *name, zval *value) { in ast_update_property() argument
358 Z_OBJ_HT_P(object)->write_property(object, &name_zv, value, NULL); in ast_update_property()
360 Z_OBJ_HT_P(object)->write_property(Z_OBJ_P(object), name, value, NULL); in ast_update_property()
1450 #define X(str, value) \ in PHP_MINIT_FUNCTION() argument
1452 zend_string_init(value, sizeof(value) - 1, 1)); in PHP_MINIT_FUNCTION()
1592 #define X(str, value) zend_string_release(AST_STR(str_ ## str)); in PHP_MSHUTDOWN_FUNCTION() argument
H A DREADME.md84 The `kind` property specifies the type of the node. It is an integral value, which corresponds to
194 `ast\get_metadata()` returns metadata about all AST node kinds. The return value is a map from AST
377 AST_ARRAY_ELEM: value, key
398 AST_CONST_ELEM: name, value, docComment
408 AST_FOREACH: expr, value, key, stmts
465 AST_YIELD: value, key
564 On PHP 7.0 the value is always `null`.

Completed in 20 milliseconds