Lines Matching refs:indent

1179 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent);
1241 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent() argument
1243 while (indent > 0) { in zend_ast_export_indent()
1245 indent--; in zend_ast_export_indent()
1249 static ZEND_COLD void zend_ast_export_name(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_name() argument
1259 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_name()
1262 …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
1277 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_ns_name()
1324 static ZEND_COLD void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_var() argument
1334 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_var()
1338 zend_ast_export_name(str, ast, 0, indent); in zend_ast_export_var()
1342 …zend_ast_export_list(smart_str *str, zend_ast_list *list, bool separator, int priority, int indent) in zend_ast_export_list() argument
1350 zend_ast_export_ex(str, list->child[i], priority, indent); in zend_ast_export_list()
1355 …_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
1374 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
1377 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
1384 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
1392 zend_ast_export_name(str, list->child[i], 0, indent); in zend_ast_export_name_list_ex()
1400 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
1412 zend_ast_export_name(str, list->child[i], 20, indent); in zend_ast_export_var_list()
1417 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt() argument
1430 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_stmt()
1434 zend_ast_export_indent(str, indent); in zend_ast_export_stmt()
1435 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_stmt()
1459 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
1473 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1476 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_if_stmt()
1478 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
1480 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1487 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
1492 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1496 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval() argument
1541 zend_ast_export_zval(str, val, 0, indent); in zend_ast_export_zval()
1547 zend_ast_export_ex(str, Z_ASTVAL_P(zv), priority, indent); in zend_ast_export_zval()
1553 …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
1556 zend_ast_export_ns_name(str, decl->child[0], 0, indent); in zend_ast_export_class_no_header()
1560 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_class_no_header()
1563 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_class_no_header()
1564 zend_ast_export_indent(str, indent); in zend_ast_export_class_no_header()
1568 static ZEND_COLD void zend_ast_export_attribute_group(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_attribute_group() argument
1576 zend_ast_export_ns_name(str, attr->child[0], 0, indent); in zend_ast_export_attribute_group()
1580 zend_ast_export_ex(str, attr->child[1], 0, indent); in zend_ast_export_attribute_group()
1586 static ZEND_COLD void zend_ast_export_attributes(smart_str *str, zend_ast *ast, int indent, bool ne… in zend_ast_export_attributes() argument
1592 zend_ast_export_attribute_group(str, list->child[i], indent); in zend_ast_export_attributes()
1597 zend_ast_export_indent(str, indent); in zend_ast_export_attributes()
1614 static ZEND_COLD void zend_ast_export_type(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_type() argument
1621 zend_ast_export_type(str, list->child[i], indent); in zend_ast_export_type()
1631 zend_ast_export_type(str, list->child[i], indent); in zend_ast_export_type()
1638 zend_ast_export_ns_name(str, ast, 0, indent); in zend_ast_export_type()
1683 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex() argument
1696 zend_ast_export_zval(str, zend_ast_get_zval(ast), priority, indent); in zend_ast_export_ex()
1719 zend_ast_export_attributes(str, decl->child[4], indent, newlines); in zend_ast_export_ex()
1745 zend_ast_export_ex(str, decl->child[0], 0, indent); in zend_ast_export_ex()
1747 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_ex()
1750 zend_ast_export_type(str, decl->child[3], indent); in zend_ast_export_ex()
1759 zend_ast_export_ex(str, body, 0, indent); in zend_ast_export_ex()
1764 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_ex()
1765 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1777 zend_ast_export_attributes(str, decl->child[3], indent, 1); in zend_ast_export_ex()
1800 zend_ast_export_type(str, decl->child[4], indent); in zend_ast_export_ex()
1802 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
1811 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1815 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1820 zend_ast_export_encaps_list(str, '"', (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1825 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_ex()
1828 zend_ast_export_if_stmt(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1833 zend_ast_export_list(str, (zend_ast_list*)ast, 0, 0, indent); in zend_ast_export_ex()
1837 zend_ast_export_var_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1845 zend_ast_export_attributes(str, ast->child[2], indent, 1); in zend_ast_export_ex()
1858 zend_ast_export_type(str, type_ast, indent); in zend_ast_export_ex()
1871 zend_ast_export_attributes(str, ast->child[1], indent, 1); in zend_ast_export_ex()
1881 zend_ast_export_name_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1919 zend_ast_export_var(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1922 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1951 zend_ast_export_encaps_list(str, '`', (zend_ast_list*)ast->child[0], indent); in zend_ast_export_ex()
2005 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2020 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2029 zend_ast_export_ex(str, ast->child[0], 260, indent); in zend_ast_export_ex()
2032 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2038 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2040 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2043 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2045 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2048 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2050 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2057 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2059 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2074 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2129 zend_ast_export_ex(str, ast->child[1], 80, indent); in zend_ast_export_ex()
2134 zend_ast_export_ex(str, ast->child[0], 80, indent); in zend_ast_export_ex()
2141 zend_ast_export_attributes(str, decl->child[3], indent, 0); in zend_ast_export_ex()
2147 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2150 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
2152 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2154 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2159 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2161 zend_ast_export_ns_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2168 zend_ast_export_ex(str, ast->child[1], 70, indent); in zend_ast_export_ex()
2171 zend_ast_export_ex(str, ast->child[0], 70, indent); in zend_ast_export_ex()
2180 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2184 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2186 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2187 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2192 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
2193 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2195 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2202 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2204 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2207 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2209 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2214 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2216 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2217 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2221 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2224 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2229 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2233 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2235 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2236 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2240 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2242 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
2253 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
2257 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2258 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2268 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2272 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2275 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2276 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2283 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2285 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2289 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2292 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2298 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2302 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2303 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2311 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2323 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2335 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2337 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2339 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2343 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2345 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2347 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2352 zend_ast_export_ex(str, ast->child[0], 100, indent); in zend_ast_export_ex()
2355 zend_ast_export_ex(str, ast->child[1], 101, indent); in zend_ast_export_ex()
2360 zend_ast_export_ex(str, ast->child[2], 101, indent); in zend_ast_export_ex()
2366 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
2367 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2368 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2371 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
2372 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2378 zend_ast_export_catch_name_list(str, zend_ast_get_list(ast->child[0]), indent); in zend_ast_export_ex()
2381 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2384 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
2385 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2389 zend_ast_export_attributes(str, ast->child[3], indent, 0); in zend_ast_export_ex()
2392 zend_ast_export_type(str, ast->child[0], indent); in zend_ast_export_ex()
2402 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2406 zend_ast_export_attributes(str, ast->child[3], indent, 1); in zend_ast_export_ex()
2409 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2412 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2419 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2423 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2428 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2431 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
2432 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2437 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2440 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2443 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2445 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
2446 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2455 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2457 zend_ast_export_ex(str, ast->child[1], pr, indent); in zend_ast_export_ex()
2464 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2470 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2478 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()