Lines Matching refs:LOCATION

52 #define LOCATION(x) \
1198 if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
1211 LOCATION(s)))
1220 if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
1273 DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
1278 && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
1381 if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s)))
1416 if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
1437 if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
1512 if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e)))
1515 if (!symtable_add_def(st, target_name, DEF_NONLOCAL, LOCATION(e)))
1518 if (!symtable_record_directive(st, target_name, LOCATION(e)))
1521 return symtable_add_def_helper(st, target_name, DEF_LOCAL, ste, LOCATION(e));
1525 if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e)))
1527 if (!symtable_record_directive(st, target_name, LOCATION(e)))
1530 return symtable_add_def_helper(st, target_name, DEF_GLOBAL, ste, LOCATION(e));
1713 e->v.Name.ctx == Load ? USE : DEF_LOCAL, LOCATION(e)))
1719 if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
1754 symtable_add_def(st, p->v.MatchStar.name, DEF_LOCAL, LOCATION(p));
1761 symtable_add_def(st, p->v.MatchMapping.rest, DEF_LOCAL, LOCATION(p));
1774 symtable_add_def(st, p->v.MatchAs.name, DEF_LOCAL, LOCATION(p));
1808 if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
1892 if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
1897 if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
1911 if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL, LOCATION(eh)))
1959 int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));