Lines Matching refs:symtable_add_def
979 symtable_add_def(struct symtable *st, PyObject *name, int flag) in symtable_add_def() function
1120 if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt()
1142 if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL)) in symtable_visit_stmt()
1190 !symtable_add_def(st, e_name->v.Name.id, in symtable_visit_stmt()
1196 && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL)) { in symtable_visit_stmt()
1284 if (!symtable_add_def(st, name, DEF_GLOBAL)) in symtable_visit_stmt()
1316 if (!symtable_add_def(st, name, DEF_NONLOCAL)) in symtable_visit_stmt()
1336 if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt()
1487 if (!symtable_add_def(st, e->v.Name.id, in symtable_visit_expr()
1495 !symtable_add_def(st, __class__, USE)) in symtable_visit_expr()
1516 if (!symtable_add_def(st, id, DEF_PARAM)) { in symtable_implicit_arg()
1534 if (!symtable_add_def(st, arg->arg, DEF_PARAM)) in symtable_visit_params()
1586 if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM)) in symtable_visit_arguments()
1591 if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM)) in symtable_visit_arguments()
1605 if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL)) in symtable_visit_excepthandler()
1643 int r = symtable_add_def(st, store_name, DEF_IMPORT); in symtable_visit_alias()