Home
last modified time | relevance | path

Searched refs:FunctionBlock (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Include/
Dsymtable.h8 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
/external/python/cpython3/Include/
Dsymtable.h14 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
/external/python/cpython2/Modules/
Dsymtablemodule.c70 PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock); in init_symtable()
/external/python/cpython3/Modules/
Dsymtablemodule.c108 PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock); in PyInit__symtable()
/external/python/cpython3/Python/
Dsymtable.c85 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()
Dcompile.c2899 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/
Dsymtable.c69 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()
Dcompile.c2089 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()