Lines Matching refs:indent
598 static void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent);
660 static void zend_ast_export_indent(smart_str *str, int indent) in zend_ast_export_indent() argument
662 while (indent > 0) { in zend_ast_export_indent()
664 indent--; in zend_ast_export_indent()
668 static void zend_ast_export_name(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_name() argument
678 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_name()
681 static void zend_ast_export_ns_name(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ns_name() argument
696 zend_ast_export_ex(str, ast, priority, indent); in zend_ast_export_ns_name()
738 static void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_var() argument
748 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_var()
752 zend_ast_export_name(str, ast, 0, indent); in zend_ast_export_var()
756 … zend_ast_export_list(smart_str *str, zend_ast_list *list, int separator, int priority, int indent) in zend_ast_export_list() argument
764 zend_ast_export_ex(str, list->child[i], priority, indent); in zend_ast_export_list()
769 static void zend_ast_export_encaps_list(smart_str *str, char quote, zend_ast_list *list, int indent) in zend_ast_export_encaps_list() argument
788 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
791 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_encaps_list()
798 static void zend_ast_export_name_list_ex(smart_str *str, zend_ast_list *list, int indent, const cha… in zend_ast_export_name_list_ex() argument
806 zend_ast_export_name(str, list->child[i], 0, indent); in zend_ast_export_name_list_ex()
814 static void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list() argument
826 zend_ast_export_name(str, list->child[i], 20, indent); in zend_ast_export_var_list()
831 static void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt() argument
844 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_stmt()
848 zend_ast_export_indent(str, indent); in zend_ast_export_stmt()
849 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_stmt()
873 static void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt() argument
887 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
890 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_if_stmt()
892 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
894 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
901 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
906 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
910 static void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval() argument
958 zend_ast_export_zval(str, val, 0, indent); in zend_ast_export_zval()
966 zend_ast_export_ex(str, Z_ASTVAL_P(zv), priority, indent); in zend_ast_export_zval()
972 static void zend_ast_export_class_no_header(smart_str *str, zend_ast_decl *decl, int indent) { in zend_ast_export_class_no_header() argument
975 zend_ast_export_ns_name(str, decl->child[0], 0, indent); in zend_ast_export_class_no_header()
979 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_class_no_header()
982 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_class_no_header()
983 zend_ast_export_indent(str, indent); in zend_ast_export_class_no_header()
1029 static void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex() argument
1042 zend_ast_export_zval(str, zend_ast_get_zval(ast), priority, indent); in zend_ast_export_ex()
1078 zend_ast_export_ex(str, decl->child[0], 0, indent); in zend_ast_export_ex()
1080 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_ex()
1086 zend_ast_export_ns_name(str, decl->child[3], 0, indent); in zend_ast_export_ex()
1090 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_ex()
1091 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1116 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
1125 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1129 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1134 zend_ast_export_encaps_list(str, '"', (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1139 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_ex()
1142 zend_ast_export_if_stmt(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1146 zend_ast_export_list(str, (zend_ast_list*)ast, 0, 0, indent); in zend_ast_export_ex()
1150 zend_ast_export_var_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1170 zend_ast_export_name_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1206 zend_ast_export_var(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1209 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1238 zend_ast_export_encaps_list(str, '`', (zend_ast_list*)ast->child[0], indent); in zend_ast_export_ex()
1292 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1307 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1316 zend_ast_export_ex(str, ast->child[0], 260, indent); in zend_ast_export_ex()
1319 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1324 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1326 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1329 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1331 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1334 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1336 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1340 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1342 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1394 zend_ast_export_ex(str, ast->child[1], 80, indent); in zend_ast_export_ex()
1397 zend_ast_export_ex(str, ast->child[0], 80, indent); in zend_ast_export_ex()
1405 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1408 zend_ast_export_class_no_header(str, (zend_ast_decl *) ast->child[0], indent); in zend_ast_export_ex()
1410 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1412 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1417 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1419 zend_ast_export_ns_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1426 zend_ast_export_ex(str, ast->child[1], 70, indent); in zend_ast_export_ex()
1429 zend_ast_export_ex(str, ast->child[0], 70, indent); in zend_ast_export_ex()
1438 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1442 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1444 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1445 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1450 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
1451 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1453 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1460 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1462 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1465 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1467 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1472 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1474 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
1475 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1479 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1482 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1487 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1492 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
1496 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1497 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1507 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1511 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1514 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
1515 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1522 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1524 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1528 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1531 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1537 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1541 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1542 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1550 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1562 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1568 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1570 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1572 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
1576 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1578 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1580 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
1585 zend_ast_export_ex(str, ast->child[0], 100, indent); in zend_ast_export_ex()
1588 zend_ast_export_ex(str, ast->child[1], 101, indent); in zend_ast_export_ex()
1593 zend_ast_export_ex(str, ast->child[2], 101, indent); in zend_ast_export_ex()
1599 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
1600 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1601 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1604 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
1605 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1611 zend_ast_export_catch_name_list(str, zend_ast_get_list(ast->child[0]), indent); in zend_ast_export_ex()
1613 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1615 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
1616 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1623 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1633 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1639 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1643 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1648 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
1651 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
1652 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1657 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1660 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
1663 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1665 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
1666 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1675 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
1677 zend_ast_export_ex(str, ast->child[1], pr, indent); in zend_ast_export_ex()
1684 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
1690 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
1698 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()