Searched refs:ClassBlock (Results 1 – 4 of 4) sorted by relevance
13 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock, AnnotationBlock } enumerator
92 if (PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock) < 0) return -1; in symtable_init_constants()
790 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()
3734 op = (c->u->u_ste->ste_type == ClassBlock) ? LOAD_CLASSDEREF : LOAD_DEREF; in compiler_nameop()