Searched refs:ClassBlock (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Include/ |
D | symtable.h | 8 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
|
/external/python/cpython3/Include/ |
D | symtable.h | 13 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 71 PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock); in init_symtable()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 96 PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock); in PyInit__symtable()
|
/external/python/cpython3/Python/ |
D | symtable.c | 749 if (ste->ste_type == ClassBlock) { in analyze_block() 772 if (ste->ste_type != ClassBlock) { in analyze_block() 831 else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree)) in analyze_block() 835 ste->ste_type == ClassBlock)) in analyze_block() 1148 if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock, in symtable_visit_stmt()
|
D | compile.c | 3214 op = (c->u->u_ste->ste_type == ClassBlock) ? LOAD_CLASSDEREF : LOAD_DEREF; in compiler_nameop()
|
/external/python/cpython2/Python/ |
D | symtable.c | 661 if (ste->ste_type == ClassBlock) { in analyze_block() 676 if (ste->ste_type != ClassBlock) { in analyze_block() 715 ste->ste_type == ClassBlock)) in analyze_block() 1032 if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock, in symtable_visit_stmt()
|