Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_symtable.h13 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock, AnnotationBlock } enumerator
/third_party/python/Modules/
Dsymtablemodule.c92 if (PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock) < 0) return -1; in symtable_init_constants()
/third_party/python/Python/
Dsymtable.c790 if (ste->ste_type == ClassBlock) { in analyze_block()
813 if (ste->ste_type != ClassBlock) { in analyze_block()
872 else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree)) in analyze_block()
876 ste->ste_type == ClassBlock)) in analyze_block()
1237 if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock, in symtable_visit_stmt()
1538 if (ste->ste_type == ClassBlock) { in symtable_extend_namedexpr_scope()
Dcompile.c3734 op = (c->u->u_ste->ste_type == ClassBlock) ? LOAD_CLASSDEREF : LOAD_DEREF; in compiler_nameop()