Lines Matching refs:indent
960 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent);
1022 static ZEND_COLD void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent() argument
1024 while (indent > 0) { in zend_ast_export_indent()
1026 indent--; in zend_ast_export_indent()
1030 static ZEND_COLD void zend_ast_export_name(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_name() argument
1040 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_name()
1043 …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
1058 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_ns_name()
1105 static ZEND_COLD void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_var() argument
1115 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_var()
1119 zend_ast_export_name(str, ast, 0, indent); in zend_ast_export_var()
1123 …zend_ast_export_list(smart_str *str, zend_ast_list *list, bool separator, int priority, int indent) in zend_ast_export_list() argument
1131 zend_ast_export_ex(str, list->child[i], priority, indent); in zend_ast_export_list()
1136 …_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
1155 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
1158 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
1165 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
1173 zend_ast_export_name(str, list->child[i], 0, indent); in zend_ast_export_name_list_ex()
1181 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
1193 zend_ast_export_name(str, list->child[i], 20, indent); in zend_ast_export_var_list()
1198 static ZEND_COLD void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt() argument
1211 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_stmt()
1215 zend_ast_export_indent(str, indent); in zend_ast_export_stmt()
1216 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_stmt()
1240 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
1254 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1257 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_if_stmt()
1259 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
1261 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1268 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
1273 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
1277 static ZEND_COLD void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval() argument
1325 zend_ast_export_zval(str, val, 0, indent); in zend_ast_export_zval()
1330 zend_ast_export_ex(str, Z_ASTVAL_P(zv), priority, indent); in zend_ast_export_zval()
1336 …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
1339 zend_ast_export_ns_name(str, decl->child[0], 0, indent); in zend_ast_export_class_no_header()
1343 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_class_no_header()
1346 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_class_no_header()
1347 zend_ast_export_indent(str, indent); in zend_ast_export_class_no_header()
1351 static ZEND_COLD void zend_ast_export_attribute_group(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_attribute_group() argument
1361 zend_ast_export_ns_name(str, attr->child[0], 0, indent); in zend_ast_export_attribute_group()
1371 zend_ast_export_ex(str, args->child[j], 0, indent); in zend_ast_export_attribute_group()
1378 static ZEND_COLD void zend_ast_export_attributes(smart_str *str, zend_ast *ast, int indent, zend_bo… in zend_ast_export_attributes() argument
1384 zend_ast_export_attribute_group(str, list->child[i], indent); in zend_ast_export_attributes()
1389 zend_ast_export_indent(str, indent); in zend_ast_export_attributes()
1406 static ZEND_COLD void zend_ast_export_type(smart_str *str, zend_ast *ast, int indent) { in zend_ast_export_type() argument
1413 zend_ast_export_type(str, list->child[i], indent); in zend_ast_export_type()
1420 zend_ast_export_ns_name(str, ast, 0, indent); in zend_ast_export_type()
1465 static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex() argument
1478 zend_ast_export_zval(str, zend_ast_get_zval(ast), priority, indent); in zend_ast_export_ex()
1501 zend_ast_export_attributes(str, decl->child[4], indent, newlines); in zend_ast_export_ex()
1527 zend_ast_export_ex(str, decl->child[0], 0, indent); in zend_ast_export_ex()
1529 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_ex()
1532 zend_ast_export_type(str, decl->child[3], indent); in zend_ast_export_ex()
1538 zend_ast_export_ex(str, decl->child[2]->child[0], 0, indent); in zend_ast_export_ex()
1543 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_ex()
1544 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1556 zend_ast_export_attributes(str, decl->child[3], indent, 1); in zend_ast_export_ex()
1572 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
1581 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1585 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1590 zend_ast_export_encaps_list(str, '"', (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1595 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_ex()
1598 zend_ast_export_if_stmt(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1603 zend_ast_export_list(str, (zend_ast_list*)ast, 0, 0, indent); in zend_ast_export_ex()
1607 zend_ast_export_var_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1615 zend_ast_export_attributes(str, ast->child[2], indent, 1); in zend_ast_export_ex()
1625 zend_ast_export_type(str, type_ast, indent); in zend_ast_export_ex()
1638 zend_ast_export_attributes(str, ast->child[1], indent, 1); in zend_ast_export_ex()
1648 zend_ast_export_name_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1686 zend_ast_export_var(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1689 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1718 zend_ast_export_encaps_list(str, '`', (zend_ast_list*)ast->child[0], indent); in zend_ast_export_ex()
1772 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1787 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1796 zend_ast_export_ex(str, ast->child[0], 260, indent); in zend_ast_export_ex()
1799 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1805 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1807 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1810 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1812 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1815 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1817 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1821 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1823 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1826 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1880 zend_ast_export_ex(str, ast->child[1], 80, indent); in zend_ast_export_ex()
1885 zend_ast_export_ex(str, ast->child[0], 80, indent); in zend_ast_export_ex()
1892 zend_ast_export_attributes(str, decl->child[3], indent, 0); in zend_ast_export_ex()
1897 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1900 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
1902 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1904 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1909 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1911 zend_ast_export_ns_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1918 zend_ast_export_ex(str, ast->child[1], 70, indent); in zend_ast_export_ex()
1921 zend_ast_export_ex(str, ast->child[0], 70, indent); in zend_ast_export_ex()
1930 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1934 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1936 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1937 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1942 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
1943 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1945 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1952 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1954 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1957 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1959 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1964 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1966 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
1967 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1971 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1974 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1979 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1983 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1985 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
1986 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1990 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1992 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
2003 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
2007 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2008 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2018 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2022 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2025 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
2026 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2033 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2035 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2039 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2042 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2048 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2052 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
2053 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2061 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2073 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2085 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2087 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2089 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2093 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2095 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2097 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2102 zend_ast_export_ex(str, ast->child[0], 100, indent); in zend_ast_export_ex()
2105 zend_ast_export_ex(str, ast->child[1], 101, indent); in zend_ast_export_ex()
2110 zend_ast_export_ex(str, ast->child[2], 101, indent); in zend_ast_export_ex()
2116 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
2117 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2118 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2121 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
2122 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2128 zend_ast_export_catch_name_list(str, zend_ast_get_list(ast->child[0]), indent); in zend_ast_export_ex()
2131 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2134 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
2135 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2139 zend_ast_export_attributes(str, ast->child[3], indent, 0); in zend_ast_export_ex()
2142 zend_ast_export_type(str, ast->child[0], indent); in zend_ast_export_ex()
2152 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2158 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2162 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2167 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2170 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
2171 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2176 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
2179 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
2182 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
2184 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
2185 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
2194 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2196 zend_ast_export_ex(str, ast->child[1], pr, indent); in zend_ast_export_ex()
2203 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2209 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
2217 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()