Home
last modified time | relevance | path

Searched refs:child (Results 1 – 6 of 6) sorted by relevance

/php-ast/
H A Dast_data.c238 switch (child) { in ast_kind_child_name()
243 switch (child) { in ast_kind_child_name()
251 switch (child) { in ast_kind_child_name()
260 switch (child) { in ast_kind_child_name()
285 switch (child) { in ast_kind_child_name()
297 switch (child) { in ast_kind_child_name()
302 switch (child) { in ast_kind_child_name()
307 switch (child) { in ast_kind_child_name()
313 switch (child) { in ast_kind_child_name()
318 switch (child) { in ast_kind_child_name()
[all …]
H A Dast.c627 return decl->child; in ast_get_children()
631 return list->child; in ast_get_children()
634 return ast->child; in ast_get_children()
699 && ast_is_type(child, ast, i) in ast_name_to_zval()
707 ast_create_virtual_node(child_zv, AST_NAME, child->attr, child, state); in ast_name_to_zval()
730 if (child != NULL && child->kind == ZEND_AST_STMT_LIST) { in ast_fill_children_ht()
734 if (child == NULL) { in ast_fill_children_ht()
785 } else if (child && child->kind == ZEND_AST_TYPE && (child->attr & ZEND_TYPE_NULLABLE)) { in ast_fill_children_ht()
789 ast_create_virtual_node(&child_zv, AST_CLOSURE_VAR, child->attr, child, state); in ast_fill_children_ht()
793 if (child) { in ast_fill_children_ht()
[all …]
H A Dutil.php71 foreach ($ast->children as $i => $child) {
75 $result .= "\n $i: " . str_replace("\n", "\n ", ast_dump($child, $options));
H A Dphp_ast.h95 zend_string *ast_kind_child_name(zend_ast_kind kind, uint32_t child);
H A DREADME.md93 The `children` property contains an array of child-nodes. These children can be either other
95 which have a fixed set of named child nodes, as well as list nodes, which have a variable number
96 of children. The [AST node kinds section](#ast-node-kinds) contains a list of the child names for
373 This section lists the AST node kinds that are supported and the names of their child nodes.
511 * Add a `type` child node for all AST_CLASS_CONST_GROUP nodes.
523 * Add a `type` child node (for enum type) for all AST_CLASS nodes.
533 now contain an attributes child.
550 * `AST_FUNC_DECL` and `AST_METHOD` no longer generate a `uses` child. Previously this child was
552 * `AST_CONST_ELEM` now always has a `docComment` child. Previously it was absent on PHP 7.0.
594 * The PHP-Parser library uses a separate class for every node type, with child nodes stored as
/php-ast/tests/
H A Dnamed_children.phpt2 Named child nodes

Completed in 18 milliseconds