Searched refs:children (Results 1 – 11 of 11) sorted by relevance
/php-ast/scripts/ |
H A D | generate_ast_data.php | 239 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 D | constructor.phpt | 13 // ?int $kind, ?int $flags, ?array $children, ?int $lineno, ?int $endLineno] 29 ["children"]=> 39 ["children"]=>
|
H A D | php82_dynamic_property_attribute.phpt | 35 'children' => NULL,
|
H A D | decl_normalization.phpt | 30 var_dump(array_map('get_class', $ast->children));
|
/php-ast/ |
H A D | ast_stub.php | 306 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 D | ast.stub.php | 38 …public function __construct(?int $kind = null, ?int $flags = null, ?array $children = null, ?int $… argument
|
H A D | ast_str_defs.h | 8 X(children, "children") \
|
H A D | ast_arginfo.h | 33 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, children, IS_ARRAY, 1, "null")
|
H A D | ast.c | 637 *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 D | util.php | 71 foreach ($ast->children as $i => $child) {
|
H A D | README.md | 80 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