Searched refs:FunctionBlock (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Include/ |
D | symtable.h | 8 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
|
/external/python/cpython3/Include/ |
D | symtable.h | 14 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 70 PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock); in init_symtable()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 108 PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock); in PyInit__symtable()
|
/external/python/cpython3/Python/ |
D | symtable.c | 85 st->st_cur->ste_type == FunctionBlock)) in ste_new() 804 if (ste->ste_type == FunctionBlock) { in analyze_block() 859 if (ste->ste_type == FunctionBlock && !analyze_cells(scopes, newfree)) in analyze_block() 1192 FunctionBlock, (void *)s, s->lineno, in symtable_visit_stmt() 1410 FunctionBlock, (void *)s, s->lineno, in symtable_visit_stmt() 1466 if (ste->ste_type == FunctionBlock) { in symtable_extend_namedexpr_scope() 1558 FunctionBlock, (void *)e, e->lineno, in symtable_visit_expr() 1653 st->st_cur->ste_type == FunctionBlock && in symtable_visit_expr() 1865 !symtable_enter_block(st, scope_name, FunctionBlock, (void *)e, in symtable_handle_comprehension()
|
D | compile.c | 2899 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_return() 3586 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop() 3590 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop() 5027 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr1() 5038 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr1() 5051 if (c->u->u_ste->ste_type != FunctionBlock){ in compiler_visit_expr1() 5838 if (ste->ste_type == FunctionBlock) { in compute_code_flags()
|
/external/python/cpython2/Python/ |
D | symtable.c | 69 st->st_cur->ste_type == FunctionBlock)) in ste_new() 488 if (ste->ste_type != FunctionBlock || !ste->ste_unoptimized in check_unoptimized() 677 if (ste->ste_type == FunctionBlock) { in analyze_block() 712 if (ste->ste_type == FunctionBlock && !analyze_cells(scope, newfree)) in analyze_block() 1018 FunctionBlock, (void *)s, s->lineno)) in symtable_visit_stmt() 1209 FunctionBlock, (void *)e, e->lineno)) in symtable_visit_expr() 1514 !symtable_enter_block(st, scope_name, FunctionBlock, (void *)e, 0)) { in symtable_handle_comprehension()
|
D | compile.c | 2089 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_stmt() 2341 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop() 2345 if (c->u->u_ste->ste_type == FunctionBlock && in compiler_nameop() 3010 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr() 3773 if (ste->ste_type == FunctionBlock) { in compute_code_flags()
|