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.h13 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.c96 PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock); in PyInit__symtable()
/external/python/cpython3/Python/
Dsymtable.c749 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()
Dcompile.c3214 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()