Lines Matching refs:indent

1071 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent);
1133 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent() argument
1135 while (indent > 0) { in zend_ast_export_indent()
1137 indent--; in zend_ast_export_indent()
1141 static ZEND_COLD void zend_ast_export_name(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_name() argument
1151 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_name()
1154 …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
1169 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_ns_name()
1216 static ZEND_COLD void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_var() argument
1226 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_var()
1230 zend_ast_export_name(str, ast, 0, indent); in zend_ast_export_var()
1234 …zend_ast_export_list(smart_str *str, zend_ast_list *list, bool separator, int priority, int indent) in zend_ast_export_list() argument
1242 zend_ast_export_ex(str, list->child[i], priority, indent); in zend_ast_export_list()
1247 …_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
1266 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
1269 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
1276 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
1284 zend_ast_export_name(str, list->child[i], 0, indent); in zend_ast_export_name_list_ex()
1292 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
1304 zend_ast_export_name(str, list->child[i], 20, indent); in zend_ast_export_var_list()
1309 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt() argument
1322 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_stmt()
1326 zend_ast_export_indent(str, indent); in zend_ast_export_stmt()
1327 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_stmt()
1351 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
1365 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1368 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_if_stmt()
1370 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
1372 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1379 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
1384 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1388 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval() argument
1433 zend_ast_export_zval(str, val, 0, indent); in zend_ast_export_zval()
1439 zend_ast_export_ex(str, Z_ASTVAL_P(zv), priority, indent); in zend_ast_export_zval()
1445 …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
1448 zend_ast_export_ns_name(str, decl->child[0], 0, indent); in zend_ast_export_class_no_header()
1452 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_class_no_header()
1455 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_class_no_header()
1456 zend_ast_export_indent(str, indent); in zend_ast_export_class_no_header()
1460 static ZEND_COLD void zend_ast_export_attribute_group(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_attribute_group() argument
1468 zend_ast_export_ns_name(str, attr->child[0], 0, indent); in zend_ast_export_attribute_group()
1472 zend_ast_export_ex(str, attr->child[1], 0, indent); in zend_ast_export_attribute_group()
1478 static ZEND_COLD void zend_ast_export_attributes(smart_str *str, zend_ast *ast, int indent, bool ne… in zend_ast_export_attributes() argument
1484 zend_ast_export_attribute_group(str, list->child[i], indent); in zend_ast_export_attributes()
1489 zend_ast_export_indent(str, indent); in zend_ast_export_attributes()
1506 static ZEND_COLD void zend_ast_export_type(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_type() argument
1513 zend_ast_export_type(str, list->child[i], indent); in zend_ast_export_type()
1523 zend_ast_export_type(str, list->child[i], indent); in zend_ast_export_type()
1530 zend_ast_export_ns_name(str, ast, 0, indent); in zend_ast_export_type()
1575 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex() argument
1588 zend_ast_export_zval(str, zend_ast_get_zval(ast), priority, indent); in zend_ast_export_ex()
1611 zend_ast_export_attributes(str, decl->child[4], indent, newlines); in zend_ast_export_ex()
1637 zend_ast_export_ex(str, decl->child[0], 0, indent); in zend_ast_export_ex()
1639 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_ex()
1642 zend_ast_export_type(str, decl->child[3], indent); in zend_ast_export_ex()
1648 zend_ast_export_ex(str, decl->child[2]->child[0], 0, indent); in zend_ast_export_ex()
1653 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_ex()
1654 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1666 zend_ast_export_attributes(str, decl->child[3], indent, 1); in zend_ast_export_ex()
1686 zend_ast_export_type(str, decl->child[4], indent); in zend_ast_export_ex()
1688 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
1697 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1701 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1706 zend_ast_export_encaps_list(str, '"', (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1711 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_ex()
1714 zend_ast_export_if_stmt(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1719 zend_ast_export_list(str, (zend_ast_list*)ast, 0, 0, indent); in zend_ast_export_ex()
1723 zend_ast_export_var_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1731 zend_ast_export_attributes(str, ast->child[2], indent, 1); in zend_ast_export_ex()
1744 zend_ast_export_type(str, type_ast, indent); in zend_ast_export_ex()
1757 zend_ast_export_attributes(str, ast->child[1], indent, 1); in zend_ast_export_ex()
1767 zend_ast_export_name_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1805 zend_ast_export_var(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1808 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1837 zend_ast_export_encaps_list(str, '`', (zend_ast_list*)ast->child[0], indent); in zend_ast_export_ex()
1891 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1906 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1915 zend_ast_export_ex(str, ast->child[0], 260, indent); in zend_ast_export_ex()
1918 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1924 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1926 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1929 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1931 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1934 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1936 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1943 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1945 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1960 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2015 zend_ast_export_ex(str, ast->child[1], 80, indent); in zend_ast_export_ex()
2020 zend_ast_export_ex(str, ast->child[0], 80, indent); in zend_ast_export_ex()
2027 zend_ast_export_attributes(str, decl->child[3], indent, 0); in zend_ast_export_ex()
2033 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2036 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
2038 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2040 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2045 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2047 zend_ast_export_ns_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2054 zend_ast_export_ex(str, ast->child[1], 70, indent); in zend_ast_export_ex()
2057 zend_ast_export_ex(str, ast->child[0], 70, indent); in zend_ast_export_ex()
2066 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2070 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2072 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2073 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2078 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
2079 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2081 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2088 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2090 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2093 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2095 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2100 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2102 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2103 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2107 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2110 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2115 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2119 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2121 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2122 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2126 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2128 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
2139 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
2143 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2144 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2154 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2158 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2161 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2162 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2169 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2171 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2175 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2178 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2184 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2188 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2189 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2197 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2209 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2221 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2223 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2225 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2229 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2231 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2233 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2238 zend_ast_export_ex(str, ast->child[0], 100, indent); in zend_ast_export_ex()
2241 zend_ast_export_ex(str, ast->child[1], 101, indent); in zend_ast_export_ex()
2246 zend_ast_export_ex(str, ast->child[2], 101, indent); in zend_ast_export_ex()
2252 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
2253 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2254 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2257 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
2258 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2264 zend_ast_export_catch_name_list(str, zend_ast_get_list(ast->child[0]), indent); in zend_ast_export_ex()
2267 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2270 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
2271 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2275 zend_ast_export_attributes(str, ast->child[3], indent, 0); in zend_ast_export_ex()
2278 zend_ast_export_type(str, ast->child[0], indent); in zend_ast_export_ex()
2288 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2292 zend_ast_export_attributes(str, ast->child[3], indent, 1); in zend_ast_export_ex()
2295 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2298 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2305 zend_ast_export_ex(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[2], 0, indent); in zend_ast_export_ex()
2317 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
2318 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2323 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2326 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2329 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2331 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
2332 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2341 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2343 zend_ast_export_ex(str, ast->child[1], pr, indent); in zend_ast_export_ex()
2350 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2356 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2364 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()