Lines Matching refs:add_attributes
955 add_attributes(struct ast_state *state, PyObject *type, const char * const *attrs, int num_fields)
1114 if (!add_attributes(state, state->mod_type, NULL, 0)) return 0;
1161 if (!add_attributes(state, state->stmt_type, stmt_attributes, 4)) return 0;
1339 if (!add_attributes(state, state->expr_type, expr_attributes, 4)) return 0;
1471 if (!add_attributes(state, state->expr_context_type, NULL, 0)) return 0;
1495 if (!add_attributes(state, state->boolop_type, NULL, 0)) return 0;
1512 if (!add_attributes(state, state->operator_type, NULL, 0)) return 0;
1606 if (!add_attributes(state, state->unaryop_type, NULL, 0)) return 0;
1636 if (!add_attributes(state, state->cmpop_type, NULL, 0)) return 0;
1702 if (!add_attributes(state, state->comprehension_type, NULL, 0)) return 0;
1707 if (!add_attributes(state, state->excepthandler_type,
1728 if (!add_attributes(state, state->arguments_type, NULL, 0)) return 0;
1736 if (!add_attributes(state, state->arg_type, arg_attributes, 4)) return 0;
1749 if (!add_attributes(state, state->keyword_type, keyword_attributes, 4))
1762 if (!add_attributes(state, state->alias_type, alias_attributes, 4)) return
1775 if (!add_attributes(state, state->withitem_type, NULL, 0)) return 0;
1783 if (!add_attributes(state, state->match_case_type, NULL, 0)) return 0;
1796 if (!add_attributes(state, state->pattern_type, pattern_attributes, 4))
1847 if (!add_attributes(state, state->type_ignore_type, NULL, 0)) return 0;