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(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_name_list() argument
806 zend_ast_export_name(str, list->child[i], 0, indent); in zend_ast_export_name_list()
811 static void zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_var_list() argument
823 zend_ast_export_name(str, list->child[i], 20, indent); in zend_ast_export_var_list()
828 static void zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) in zend_ast_export_stmt() argument
841 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_stmt()
845 zend_ast_export_indent(str, indent); in zend_ast_export_stmt()
846 zend_ast_export_ex(str, ast, 0, indent); in zend_ast_export_stmt()
870 static void zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) in zend_ast_export_if_stmt() argument
884 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
887 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_if_stmt()
889 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
891 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
898 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_if_stmt()
903 zend_ast_export_indent(str, indent); in zend_ast_export_if_stmt()
907 static void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) in zend_ast_export_zval() argument
955 zend_ast_export_zval(str, val, 0, indent); in zend_ast_export_zval()
963 zend_ast_export_ex(str, Z_ASTVAL_P(zv), priority, indent); in zend_ast_export_zval()
969 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
972 zend_ast_export_ns_name(str, decl->child[0], 0, indent); in zend_ast_export_class_no_header()
976 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_class_no_header()
979 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_class_no_header()
980 zend_ast_export_indent(str, indent); in zend_ast_export_class_no_header()
1026 static void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) in zend_ast_export_ex() argument
1039 zend_ast_export_zval(str, zend_ast_get_zval(ast), priority, indent); in zend_ast_export_ex()
1075 zend_ast_export_ex(str, decl->child[0], 0, indent); in zend_ast_export_ex()
1077 zend_ast_export_ex(str, decl->child[1], 0, indent); in zend_ast_export_ex()
1080 zend_ast_export_ns_name(str, decl->child[3], 0, indent); in zend_ast_export_ex()
1084 zend_ast_export_stmt(str, decl->child[2], indent + 1); in zend_ast_export_ex()
1085 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1110 zend_ast_export_class_no_header(str, decl, indent); in zend_ast_export_ex()
1119 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1123 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1128 zend_ast_export_list(str, (zend_ast_list*)ast, 1, 20, indent); in zend_ast_export_ex()
1133 zend_ast_export_encaps_list(str, '"', (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1138 zend_ast_export_stmt(str, ast, indent); in zend_ast_export_ex()
1141 zend_ast_export_if_stmt(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1145 zend_ast_export_list(str, (zend_ast_list*)ast, 0, 0, indent); in zend_ast_export_ex()
1149 zend_ast_export_var_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1169 zend_ast_export_name_list(str, (zend_ast_list*)ast, indent); in zend_ast_export_ex()
1205 zend_ast_export_var(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1208 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1237 zend_ast_export_encaps_list(str, '`', (zend_ast_list*)ast->child[0], indent); in zend_ast_export_ex()
1291 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1306 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1315 zend_ast_export_ex(str, ast->child[0], 260, indent); in zend_ast_export_ex()
1318 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1323 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1325 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1328 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1330 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1333 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1335 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1339 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1341 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1393 zend_ast_export_ex(str, ast->child[1], 80, indent); in zend_ast_export_ex()
1396 zend_ast_export_ex(str, ast->child[0], 80, indent); in zend_ast_export_ex()
1404 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1407 zend_ast_export_class_no_header(str, (zend_ast_decl *) ast->child[0], indent); in zend_ast_export_ex()
1409 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1411 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1416 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1418 zend_ast_export_ns_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1425 zend_ast_export_ex(str, ast->child[1], 70, indent); in zend_ast_export_ex()
1428 zend_ast_export_ex(str, ast->child[0], 70, indent); in zend_ast_export_ex()
1437 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1441 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1443 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1444 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1449 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
1450 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1452 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1459 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1461 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1464 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1466 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1471 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1473 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
1474 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1478 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1481 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1486 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1491 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); in zend_ast_export_ex()
1495 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1496 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1506 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1510 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1513 zend_ast_export_ex(str, ast->child[1], 0, indent + 1); in zend_ast_export_ex()
1514 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1521 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1523 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1527 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1530 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1536 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1540 zend_ast_export_stmt(str, ast->child[1], indent + 1); in zend_ast_export_ex()
1541 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1549 zend_ast_export_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1561 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1567 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1569 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1571 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
1575 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1577 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1579 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
1584 zend_ast_export_ex(str, ast->child[0], 100, indent); in zend_ast_export_ex()
1587 zend_ast_export_ex(str, ast->child[1], 101, indent); in zend_ast_export_ex()
1592 zend_ast_export_ex(str, ast->child[2], 101, indent); in zend_ast_export_ex()
1598 zend_ast_export_stmt(str, ast->child[0], indent + 1); in zend_ast_export_ex()
1599 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1600 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1603 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
1604 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1610 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1612 zend_ast_export_var(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1614 zend_ast_export_stmt(str, ast->child[2], indent + 1); in zend_ast_export_ex()
1615 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1619 zend_ast_export_ns_name(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1629 zend_ast_export_name(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1635 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1639 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1644 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
1647 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
1648 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1653 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()
1656 zend_ast_export_ex(str, ast->child[2], 0, indent); in zend_ast_export_ex()
1659 zend_ast_export_ex(str, ast->child[1], 0, indent); in zend_ast_export_ex()
1661 zend_ast_export_stmt(str, ast->child[3], indent + 1); in zend_ast_export_ex()
1662 zend_ast_export_indent(str, indent); in zend_ast_export_ex()
1671 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
1673 zend_ast_export_ex(str, ast->child[1], pr, indent); in zend_ast_export_ex()
1680 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
1686 zend_ast_export_ex(str, ast->child[0], pl, indent); in zend_ast_export_ex()
1694 zend_ast_export_ex(str, ast->child[0], 0, indent); in zend_ast_export_ex()