Lines Matching refs:APPEND_STR_IF
41 #define APPEND_STR_IF(cond, str) do { \ macro
48 APPEND_STR_IF(!first, (str)); \
124 APPEND_STR_IF(level > pr, "("); in append_ast_boolop()
130 APPEND_STR_IF(i > 0, op); in append_ast_boolop()
134 APPEND_STR_IF(level > pr, ")"); in append_ast_boolop()
165 APPEND_STR_IF(level > pr, "("); in append_ast_binop()
169 APPEND_STR_IF(level > pr, ")"); in append_ast_binop()
190 APPEND_STR_IF(level > pr, "("); in append_ast_unaryop()
193 APPEND_STR_IF(level > pr, ")"); in append_ast_unaryop()
279 APPEND_STR_IF(level > PR_TEST, "("); in append_ast_lambda()
286 APPEND_STR_IF(level > PR_TEST, ")"); in append_ast_lambda()
293 APPEND_STR_IF(level > PR_TEST, "("); in append_ast_ifexp()
299 APPEND_STR_IF(level > PR_TEST, ")"); in append_ast_ifexp()
313 APPEND_STR_IF(i > 0, ", "); in append_ast_dict()
337 APPEND_STR_IF(i > 0, ", "); in append_ast_set()
352 APPEND_STR_IF(i > 0, ", "); in append_ast_list()
370 APPEND_STR_IF(level > PR_TUPLE, "("); in append_ast_tuple()
373 APPEND_STR_IF(i > 0, ", "); in append_ast_tuple()
377 APPEND_STR_IF(elem_count == 1, ","); in append_ast_tuple()
378 APPEND_STR_IF(level > PR_TUPLE, ")"); in append_ast_tuple()
459 APPEND_STR_IF(level > PR_CMP, "("); in append_ast_compare()
511 APPEND_STR_IF(level > PR_CMP, ")"); in append_ast_compare()
727 APPEND_STR_IF(i > 0, ", "); in append_ast_constant()
733 APPEND_STR_IF(elem_count == 1, ","); in append_ast_constant()
831 APPEND_STR_IF(level > PR_AWAIT, "("); in append_ast_await()
834 APPEND_STR_IF(level > PR_AWAIT, ")"); in append_ast_await()
841 APPEND_STR_IF(level > PR_TUPLE, "("); in append_named_expr()
845 APPEND_STR_IF(level > PR_TUPLE, ")"); in append_named_expr()