Searched refs:ClassBlock (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Include/internal/ |
H A D | pycore_symtable.h | 13 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock, AnnotationBlock } enumerator
|
/third_party/python/Modules/ |
H A D | symtablemodule.c | 92 if (PyModule_AddIntConstant(m, "TYPE_CLASS", ClassBlock) < 0) return -1; in symtable_init_constants()
|
/third_party/python/Python/ |
H A D | symtable.c | 781 if (ste->ste_type == ClassBlock) { in analyze_block() 804 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() 1226 if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock, in symtable_visit_stmt() 1532 /* Disallow usage in ClassBlock */ in symtable_extend_namedexpr_scope() 1533 if (ste->ste_type == ClassBlock) { in symtable_extend_namedexpr_scope() 1544 /* We should always find either a FunctionBlock, ModuleBlock or ClassBlock in symtable_extend_namedexpr_scope()
|
H A D | compile.c | 4303 op = (c->u->u_ste->ste_type == ClassBlock) ? LOAD_CLASSDEREF : LOAD_DEREF; in compiler_nameop()
|
Completed in 15 milliseconds