Home
last modified time | relevance | path

Searched refs:children (Results 1 – 11 of 11) sorted by relevance

/php-ast/scripts/
H A Dgenerate_ast_data.php237 foreach ($names as $kind => $children) {
238 if (empty($children)) {
244 foreach ($children as $index => $name) {
281 foreach ($spec as $kind => $children) {
282 foreach ($children as $childName) {
/php-ast/tests/
H A Dconstructor.phpt13 // ?int $kind, ?int $flags, ?array $children, ?int $lineno, ?int $endLineno]
29 ["children"]=>
39 ["children"]=>
H A Dphp82_dynamic_property_attribute.phpt35 'children' => NULL,
H A Ddecl_normalization.phpt30 var_dump(array_map('get_class', $ast->children));
/php-ast/
H A Dast_stub.php306 public $children; variable in ast\\Node
312 …public function __construct(int $kind = null, int $flags = null, array $children = null, int $line… argument
315 $this->children = $children;
H A Dast.stub.php38 …public function __construct(?int $kind = null, ?int $flags = null, ?array $children = null, ?int $… argument
H A Dast_str_defs.h8 X(children) \
H A Dast_arginfo.h33 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, children, IS_ARRAY, 1, "null")
H A Dast.c630 *count = list->children; in ast_get_children()
662 zend_hash_add_new(children, child_name, child_zv); in ast_create_virtual_node_ex()
664 zend_hash_next_index_insert(children, child_zv); in ast_create_virtual_node_ex()
722 zend_ast **children = ast_get_children(ast, state, &count); in ast_fill_children_ht() local
725 zend_ast *child = children[i]; in ast_fill_children_ht()
1047 zend_hash_add_new(children, AST_STR(str_name), &tmp_zv); in ast_to_zval()
1061 ast_fill_children_ht(children, ast, state); in ast_to_zval()
1338 zval *children; in PHP_METHOD() local
1346 Z_PARAM_ARRAY_EX(children, 1, 0) in PHP_METHOD()
1359 if (children != NULL) { in PHP_METHOD()
[all …]
H A Dutil.php71 foreach ($ast->children as $i => $child) {
H A DREADME.md79 public $children;
93 The `children` property contains an array of child-nodes. These children can be either other
96 of children. The [AST node kinds section](#ast-node-kinds) contains a list of the child names for
122 ["children"]=>
132 ["children"]=>
142 ["children"]=>
465 // List nodes (numerically indexed children):
595 type-annotated properties. php-ast uses one class for everything, with children stored as

Completed in 20 milliseconds