• Home
  • Raw
  • Download

Lines Matching refs:st_cur

98     if (st->st_cur != NULL &&  in ste_new()
99 (st->st_cur->ste_nested || in ste_new()
100 st->st_cur->ste_type == FunctionBlock)) in ste_new()
261 st->st_cur = NULL; in symtable_new()
321 st->st_top = st->st_cur; in _PySymtable_Build()
967 st->st_cur = NULL; in symtable_exit_block()
973 st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1); in symtable_exit_block()
992 prev = st->st_cur; in symtable_enter_block()
1002 st->st_cur = ste; in symtable_enter_block()
1012 st->st_global = st->st_cur->ste_symbols; in symtable_enter_block()
1028 long ret = _PyST_GetSymbol(st->st_cur, mangled); in symtable_lookup()
1123 return symtable_add_def_helper(st, name, flag, st->st_cur, in symtable_add_def()
1182 if (!st->st_cur->ste_directives) { in symtable_record_directive()
1183 st->st_cur->ste_directives = PyList_New(0); in symtable_record_directive()
1184 if (!st->st_cur->ste_directives) in symtable_record_directive()
1193 res = PyList_Append(st->st_cur->ste_directives, data); in symtable_record_directive()
1252 st->st_cur->ste_returns_value = 1; in symtable_visit_stmt()
1270 && (st->st_cur->ste_symbols != st->st_global) in symtable_visit_stmt()
1459 st->st_cur->ste_coroutine = 1; in symtable_visit_stmt()
1559 if (st->st_cur->ste_comp_iter_expr > 0) { in symtable_handle_namedexpr()
1569 if (st->st_cur->ste_comprehension) { in symtable_handle_namedexpr()
1657 st->st_cur->ste_generator = 1; in symtable_visit_expr()
1658 if (st->st_cur->ste_comprehension) { in symtable_visit_expr()
1667 st->st_cur->ste_generator = 1; in symtable_visit_expr()
1668 if (st->st_cur->ste_comprehension) { in symtable_visit_expr()
1677 st->st_cur->ste_coroutine = 1; in symtable_visit_expr()
1724 st->st_cur->ste_type == FunctionBlock && in symtable_visit_expr()
1798 if (!symtable_add_def(st, id, DEF_PARAM, ST_LOCATION(st->st_cur))) { in symtable_implicit_arg()
1902 st->st_cur->ste_varargs = 1; in symtable_visit_arguments()
1907 st->st_cur->ste_varkeywords = 1; in symtable_visit_arguments()
1972 if (st->st_cur->ste_type != ModuleBlock) { in symtable_visit_alias()
1993 st->st_cur->ste_comp_iter_target = 1; in symtable_visit_comprehension()
1995 st->st_cur->ste_comp_iter_target = 0; in symtable_visit_comprehension()
1996 st->st_cur->ste_comp_iter_expr++; in symtable_visit_comprehension()
1998 st->st_cur->ste_comp_iter_expr--; in symtable_visit_comprehension()
2001 st->st_cur->ste_coroutine = 1; in symtable_visit_comprehension()
2024 st->st_cur->ste_comp_iter_expr++; in symtable_handle_comprehension()
2026 st->st_cur->ste_comp_iter_expr--; in symtable_handle_comprehension()
2036 st->st_cur->ste_comprehension = ListComprehension; in symtable_handle_comprehension()
2039 st->st_cur->ste_comprehension = SetComprehension; in symtable_handle_comprehension()
2042 st->st_cur->ste_comprehension = DictComprehension; in symtable_handle_comprehension()
2045 st->st_cur->ste_comprehension = GeneratorExpression; in symtable_handle_comprehension()
2049 st->st_cur->ste_coroutine = 1; in symtable_handle_comprehension()
2058 st->st_cur->ste_comp_iter_target = 1; in symtable_handle_comprehension()
2060 st->st_cur->ste_comp_iter_target = 0; in symtable_handle_comprehension()
2067 st->st_cur->ste_generator = is_generator; in symtable_handle_comprehension()
2107 if (st->st_cur->ste_type != AnnotationBlock) { in symtable_raise_if_annotation_block()
2122 _Py_comprehension_ty type = st->st_cur->ste_comprehension; in symtable_raise_if_comprehension_block()