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 | 14 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 | 109 PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock); in PyInit__symtable()
|
/external/python/cpython3/Python/ |
D | symtable.c | 779 if (ste->ste_type == ClassBlock) { in analyze_block() 802 if (ste->ste_type != ClassBlock) { in analyze_block() 861 else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree)) in analyze_block() 865 ste->ste_type == ClassBlock)) in analyze_block() 1208 if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock, in symtable_visit_stmt() 1490 if (ste->ste_type == ClassBlock) { in symtable_extend_namedexpr_scope()
|
D | compile.c | 3608 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()
|