Home
last modified time | relevance | path

Searched refs:ClassBlock (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Include/
Dsymtable.h8 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
/external/python/cpython3/Include/
Dsymtable.h14 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
/external/python/cpython2/Modules/
Dsymtablemodule.c71 PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock); in init_symtable()
/external/python/cpython3/Modules/
Dsymtablemodule.c109 PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock); in PyInit__symtable()
/external/python/cpython3/Python/
Dsymtable.c779 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()
Dcompile.c3608 op = (c->u->u_ste->ste_type == ClassBlock) ? LOAD_CLASSDEREF : LOAD_DEREF; in compiler_nameop()
/external/python/cpython2/Python/
Dsymtable.c661 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()