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.php239 foreach ($names as $kind => $children) {
240 if (empty($children)) {
246 foreach ($children as $index => $name) {
284 foreach ($spec as $kind => $children) {
285 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, "children") \
H A Dast_arginfo.h33 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, children, IS_ARRAY, 1, "null")
H A Dast.c637 *count = list->children; in ast_get_children()
669 zend_hash_add_new(children, child_name, child_zv); in ast_create_virtual_node_ex()
671 zend_hash_next_index_insert(children, child_zv); in ast_create_virtual_node_ex()
729 zend_ast **children = ast_get_children(ast, state, &count); in ast_fill_children_ht() local
732 zend_ast *child = children[i]; in ast_fill_children_ht()
1091 zend_hash_add_new(children, AST_STR(str_name), &tmp_zv); in ast_to_zval()
1106 ast_fill_children_ht(children, ast, state); in ast_to_zval()
1383 zval *children; in PHP_METHOD() local
1391 Z_PARAM_ARRAY_EX(children, 1, 0) in PHP_METHOD()
1404 if (children != NULL) { in PHP_METHOD()
[all …]
H A Dutil.php71 foreach ($ast->children as $i => $child) {
H A DREADME.md80 public $children;
94 The `children` property contains an array of child-nodes. These children can be either other
97 of children. The [AST node kinds section](#ast-node-kinds) contains a list of the child names for
123 ["children"]=>
133 ["children"]=>
143 ["children"]=>
468 // List nodes (numerically indexed children):
606 type-annotated properties. php-ast uses one class for everything, with children stored as

Completed in 31 milliseconds