Searched refs:DEF_LOCAL (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Include/ |
D | symtable.h | 87 #define DEF_LOCAL 2 /* assignment in code block */ macro 96 #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT) 103 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
|
/external/python/cpython2/Include/ |
D | symtable.h | 64 #define DEF_LOCAL 2 /* assignment in code block */ macro 71 #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
|
/external/python/cpython3/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM, 203 return bool(self.__flags & DEF_LOCAL)
|
/external/python/cpython2/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM, 205 return bool(self.__flags & DEF_LOCAL)
|
/external/python/cpython3/Python/ |
D | symtable.c | 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() 1191 DEF_ANNOT | DEF_LOCAL)) { in symtable_visit_stmt() 1196 && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL)) { in symtable_visit_stmt() 1266 if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) { in symtable_visit_stmt() 1299 if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) { in symtable_visit_stmt() 1336 if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt() 1488 e->v.Name.ctx == Load ? USE : DEF_LOCAL)) in symtable_visit_expr() 1605 if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL)) in symtable_visit_excepthandler()
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 63 PyModule_AddIntConstant(m, "DEF_LOCAL", DEF_LOCAL); in init_symtable()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 87 PyModule_AddIntMacro(m, DEF_LOCAL); in PyInit__symtable()
|
/external/python/cpython2/Demo/pdist/ |
D | rcvs.py | 43 DEF_LOCAL = 1 # Default -l variable 408 local = DEF_LOCAL
|
/external/python/cpython2/Python/ |
D | symtable.c | 1011 if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt() 1027 if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL)) in symtable_visit_stmt() 1152 if (cur & (DEF_LOCAL | USE)) { in symtable_visit_stmt() 1154 if (cur & DEF_LOCAL) in symtable_visit_stmt() 1287 e->v.Name.ctx == Load ? USE : DEF_LOCAL)) in symtable_visit_expr() 1495 if (!symtable_add_def(st, tmp, DEF_LOCAL)) in symtable_new_tmpname()
|