Lines Matching refs:indent
1267 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent);
1329 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent() argument
1331 while (indent > 0) { in zend_ast_export_indent()
1333 indent--; in zend_ast_export_indent()
1337 static ZEND_COLD void zend_ast_export_name(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_name() argument
1347 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_name()
1350 …tic ZEND_COLD void zend_ast_export_ns_name(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ns_name() argument
1365 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_ns_name()
1412 static ZEND_COLD void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_var() argument
1422 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_var()
1426 zend_ast_export_name(str, ast, 0, indent); in zend_ast_export_var()
1430 …zend_ast_export_list(smart_str *str, zend_ast_list *list, bool separator, int priority, int indent) in zend_ast_export_list() argument
1438 zend_ast_export_ex(str, list->child[i], priority, indent); in zend_ast_export_list()
1443 …_COLD void zend_ast_export_encaps_list(smart_str *str, char quote, zend_ast_list *list, int indent) in zend_ast_export_encaps_list() argument
1462 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
1465 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
1472 static ZEND_COLD void zend_ast_export_name_list_ex(smart_str *str, zend_ast_list *list, int indent,… in zend_ast_export_name_list_ex() argument
1480 zend_ast_export_name(str, list->child[i], 0, indent); in zend_ast_export_name_list_ex()
1488 static ZEND_COLD void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list() argument
1500 zend_ast_export_name(str, list->child[i], 20, indent); in zend_ast_export_var_list()
1505 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt() argument
1518 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_stmt()
1522 zend_ast_export_indent(str, indent); in zend_ast_export_stmt()
1523 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_stmt()
1555 static ZEND_COLD void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt() argument
1569 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1572 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_if_stmt()
1574 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
1576 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1583 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
1588 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1592 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval() argument
1637 zend_ast_export_zval(str, val, 0, indent); in zend_ast_export_zval()
1643 zend_ast_export_ex(str, Z_ASTVAL_P(zv), priority, indent); in zend_ast_export_zval()
1649 …c ZEND_COLD void zend_ast_export_class_no_header(smart_str *str, zend_ast_decl *decl, int indent) { in zend_ast_export_class_no_header() argument
1652 zend_ast_export_ns_name(str, decl->child[0], 0, indent); in zend_ast_export_class_no_header()
1656 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_class_no_header()
1659 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_class_no_header()
1660 zend_ast_export_indent(str, indent); in zend_ast_export_class_no_header()
1664 static ZEND_COLD void zend_ast_export_attribute_group(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_attribute_group() argument
1672 zend_ast_export_ns_name(str, attr->child[0], 0, indent); in zend_ast_export_attribute_group()
1676 zend_ast_export_ex(str, attr->child[1], 0, indent); in zend_ast_export_attribute_group()
1682 static ZEND_COLD void zend_ast_export_attributes(smart_str *str, zend_ast *ast, int indent, bool ne… in zend_ast_export_attributes() argument
1688 zend_ast_export_attribute_group(str, list->child[i], indent); in zend_ast_export_attributes()
1693 zend_ast_export_indent(str, indent); in zend_ast_export_attributes()
1720 static ZEND_COLD void zend_ast_export_type(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_type() argument
1727 zend_ast_export_type(str, list->child[i], indent); in zend_ast_export_type()
1737 zend_ast_export_type(str, list->child[i], indent); in zend_ast_export_type()
1744 zend_ast_export_ns_name(str, ast, 0, indent); in zend_ast_export_type()
1747 …atic ZEND_COLD void zend_ast_export_hook_list(smart_str *str, zend_ast_list *hook_list, int indent) in zend_ast_export_hook_list() argument
1751 indent++; in zend_ast_export_hook_list()
1752 zend_ast_export_indent(str, indent); in zend_ast_export_hook_list()
1766 zend_ast_export_ex(str, body->child[0], 0, indent); in zend_ast_export_hook_list()
1770 zend_ast_export_stmt(str, body, indent + 1); in zend_ast_export_hook_list()
1771 zend_ast_export_indent(str, indent); in zend_ast_export_hook_list()
1776 zend_ast_export_indent(str, indent); in zend_ast_export_hook_list()
1780 indent--; in zend_ast_export_hook_list()
1781 zend_ast_export_indent(str, indent); in zend_ast_export_hook_list()
1827 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex() argument
1840 zend_ast_export_zval(str, zend_ast_get_zval(ast), priority, indent); in zend_ast_export_ex()
1863 zend_ast_export_attributes(str, decl->child[4], indent, newlines); in zend_ast_export_ex()
1889 zend_ast_export_ex(str, decl->child[0], 0, indent); in zend_ast_export_ex()
1891 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_ex()
1894 zend_ast_export_type(str, decl->child[3], indent); in zend_ast_export_ex()
1903 zend_ast_export_ex(str, body, 0, indent); in zend_ast_export_ex()
1908 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_ex()
1909 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1921 zend_ast_export_attributes(str, decl->child[3], indent, 1); in zend_ast_export_ex()
1944 zend_ast_export_type(str, decl->child[4], indent); in zend_ast_export_ex()
1946 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
1955 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1959 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1964 zend_ast_export_encaps_list(str, '"', (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1969 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_ex()
1972 zend_ast_export_if_stmt(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1977 zend_ast_export_list(str, (zend_ast_list*)ast, 0, 0, indent); in zend_ast_export_ex()
1981 zend_ast_export_var_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1989 zend_ast_export_attributes(str, ast->child[2], indent, 1); in zend_ast_export_ex()
2002 zend_ast_export_type(str, type_ast, indent); in zend_ast_export_ex()
2015 zend_ast_export_attributes(str, ast->child[1], indent, 1); in zend_ast_export_ex()
2021 zend_ast_export_type(str, ast->child[2], indent); in zend_ast_export_ex()
2029 zend_ast_export_name_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
2068 zend_ast_export_var(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2071 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2100 zend_ast_export_encaps_list(str, '`', (zend_ast_list*)ast->child[0], indent); in zend_ast_export_ex()
2154 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2169 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2178 zend_ast_export_ex(str, ast->child[0], 260, indent); in zend_ast_export_ex()
2181 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2187 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2189 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2192 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2194 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2197 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2199 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2205 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2212 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2214 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2229 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2284 zend_ast_export_ex(str, ast->child[1], 80, indent); in zend_ast_export_ex()
2289 zend_ast_export_ex(str, ast->child[0], 80, indent); in zend_ast_export_ex()
2296 zend_ast_export_attributes(str, decl->child[3], indent, 0); in zend_ast_export_ex()
2302 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2305 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
2307 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2309 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2314 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2316 zend_ast_export_ns_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2323 zend_ast_export_ex(str, ast->child[1], 70, indent); in zend_ast_export_ex()
2326 zend_ast_export_ex(str, ast->child[0], 70, indent); in zend_ast_export_ex()
2335 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2339 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2341 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2342 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2347 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
2348 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2350 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2357 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2359 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2362 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2364 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2369 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2371 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2372 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2376 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2379 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2384 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2388 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2390 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2391 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2395 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2397 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
2408 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
2412 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2413 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2421 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2426 zend_ast_export_ex(str, default_value, 0, indent + 1); in zend_ast_export_ex()
2430 zend_ast_export_hook_list(str, zend_ast_get_list(ast->child[3]), indent); in zend_ast_export_ex()
2434 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2438 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2441 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2442 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2449 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2451 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2455 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2458 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2464 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2468 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2469 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2477 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2489 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2501 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2503 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2505 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2509 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2511 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2513 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2518 zend_ast_export_ex(str, ast->child[0], 100, indent); in zend_ast_export_ex()
2521 zend_ast_export_ex(str, ast->child[1], 101, indent); in zend_ast_export_ex()
2526 zend_ast_export_ex(str, ast->child[2], 101, indent); in zend_ast_export_ex()
2532 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
2533 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2534 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2537 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
2538 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2544 zend_ast_export_catch_name_list(str, zend_ast_get_list(ast->child[0]), indent); in zend_ast_export_ex()
2547 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2550 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
2551 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2555 zend_ast_export_attributes(str, ast->child[3], indent, 0); in zend_ast_export_ex()
2559 zend_ast_export_type(str, ast->child[0], indent); in zend_ast_export_ex()
2569 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2572 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2575 zend_ast_export_hook_list(str, zend_ast_get_list(ast->child[5]), indent); in zend_ast_export_ex()
2580 zend_ast_export_attributes(str, ast->child[3], indent, 1); in zend_ast_export_ex()
2583 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2586 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2593 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2597 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2602 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2605 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
2606 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2611 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2614 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2617 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2619 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
2620 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2629 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2631 zend_ast_export_ex(str, ast->child[1], pr, indent); in zend_ast_export_ex()
2638 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2644 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2652 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()