Lines Matching refs:symtable

59 ste_new(struct symtable *st, identifier name, _Py_block_ty block,
131 return PyUnicode_FromFormat("<symtable entry %U(%ld), line %d>",
165 "symtable entry",
204 static int symtable_analyze(struct symtable *st);
205 static int symtable_enter_block(struct symtable *st, identifier name,
209 static int symtable_exit_block(struct symtable *st);
210 static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
211 static int symtable_visit_expr(struct symtable *st, expr_ty s);
212 static int symtable_visit_genexp(struct symtable *st, expr_ty s);
213 static int symtable_visit_listcomp(struct symtable *st, expr_ty s);
214 static int symtable_visit_setcomp(struct symtable *st, expr_ty s);
215 static int symtable_visit_dictcomp(struct symtable *st, expr_ty s);
216 static int symtable_visit_arguments(struct symtable *st, arguments_ty);
217 static int symtable_visit_excepthandler(struct symtable *st, excepthandler_ty);
218 static int symtable_visit_alias(struct symtable *st, alias_ty);
219 static int symtable_visit_comprehension(struct symtable *st, comprehension_ty);
220 static int symtable_visit_keyword(struct symtable *st, keyword_ty);
221 static int symtable_visit_params(struct symtable *st, asdl_arg_seq *args);
222 static int symtable_visit_annotation(struct symtable *st, expr_ty annotation);
223 static int symtable_visit_argannotations(struct symtable *st, asdl_arg_seq *args);
224 static int symtable_implicit_arg(struct symtable *st, int pos);
225 static int symtable_visit_annotations(struct symtable *st, stmt_ty, arguments_ty, expr_ty);
226 static int symtable_visit_withitem(struct symtable *st, withitem_ty item);
227 static int symtable_visit_match_case(struct symtable *st, match_case_ty m);
228 static int symtable_visit_pattern(struct symtable *st, pattern_ty s);
229 static int symtable_raise_if_annotation_block(struct symtable *st, const char *, expr_ty);
230 static int symtable_raise_if_comprehension_block(struct symtable *st, expr_ty);
236 static struct symtable *
239 struct symtable *st;
241 st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
274 struct symtable *
277 struct symtable *st = symtable_new();
346 "symtable analysis recursion depth mismatch (before=%d, after=%d)",
364 _PySymtable_Free(struct symtable *st)
373 PySymtable_Lookup(struct symtable *st, void *key)
717 ste -- current symtable entry (input/output)
927 symtable_analyze(struct symtable *st)
952 symtable_exit_block(struct symtable *st)
968 symtable_enter_block(struct symtable *st, identifier name, _Py_block_ty block,
1012 symtable_lookup(struct symtable *st, PyObject *name)
1023 symtable_add_def_helper(struct symtable *st, PyObject *name, int flag, struct _symtable_entry *ste,
1109 symtable_add_def(struct symtable *st, PyObject *name, int flag,
1166 symtable_record_directive(struct symtable *st, identifier name, int lineno,
1189 symtable_visit_stmt(struct symtable *st, stmt_ty s)
1476 symtable_extend_namedexpr_scope(struct symtable *st, expr_ty e)
1552 symtable_handle_namedexpr(struct symtable *st, expr_ty e)
1575 symtable_visit_expr(struct symtable *st, expr_ty e)
1735 symtable_visit_pattern(struct symtable *st, pattern_ty p)
1785 symtable_implicit_arg(struct symtable *st, int pos)
1799 symtable_visit_params(struct symtable *st, asdl_arg_seq *args)
1816 symtable_visit_annotation(struct symtable *st, expr_ty annotation)
1834 symtable_visit_argannotations(struct symtable *st, asdl_arg_seq *args)
1851 symtable_visit_annotations(struct symtable *st, stmt_ty o, arguments_ty a, expr_ty returns)
1880 symtable_visit_arguments(struct symtable *st, arguments_ty a)
1906 symtable_visit_excepthandler(struct symtable *st, excepthandler_ty eh)
1918 symtable_visit_withitem(struct symtable *st, withitem_ty item)
1928 symtable_visit_match_case(struct symtable *st, match_case_ty m)
1939 symtable_visit_alias(struct symtable *st, alias_ty a)
1983 symtable_visit_comprehension(struct symtable *st, comprehension_ty lc)
2000 symtable_visit_keyword(struct symtable *st, keyword_ty k)
2008 symtable_handle_comprehension(struct symtable *st, expr_ty e,
2071 symtable_visit_genexp(struct symtable *st, expr_ty e)
2079 symtable_visit_listcomp(struct symtable *st, expr_ty e)
2087 symtable_visit_setcomp(struct symtable *st, expr_ty e)
2095 symtable_visit_dictcomp(struct symtable *st, expr_ty e)
2104 symtable_raise_if_annotation_block(struct symtable *st, const char *name, expr_ty e)
2120 symtable_raise_if_comprehension_block(struct symtable *st, expr_ty e) {
2133 struct symtable *
2137 struct symtable *st;