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 | 13 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 95 PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock); in PyInit__symtable()
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 70 PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock); in init_symtable()
|
/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()
|
/external/python/cpython3/Python/ |
D | symtable.c | 77 st->st_cur->ste_type == FunctionBlock)) in ste_new() 774 if (ste->ste_type == FunctionBlock) { in analyze_block() 829 if (ste->ste_type == FunctionBlock && !analyze_cells(scopes, newfree)) in analyze_block() 1132 FunctionBlock, (void *)s, s->lineno, in symtable_visit_stmt() 1349 FunctionBlock, (void *)s, s->lineno, in symtable_visit_stmt() 1400 FunctionBlock, (void *)e, e->lineno, in symtable_visit_expr() 1492 st->st_cur->ste_type == FunctionBlock && in symtable_visit_expr() 1717 !symtable_enter_block(st, scope_name, FunctionBlock, (void *)e, in symtable_handle_comprehension()
|
D | compile.c | 2985 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_stmt() 3192 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop() 3196 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop() 4430 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr() 4441 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr() 4453 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr() 5345 if (ste->ste_type == FunctionBlock) { in compute_code_flags()
|