Lines Matching refs:symtable
21 ste_new(struct symtable *st, identifier name, _Py_block_ty block, in ste_new()
164 static int symtable_analyze(struct symtable *st);
165 static int symtable_warn(struct symtable *st,
167 static int symtable_enter_block(struct symtable *st, identifier name,
169 static int symtable_exit_block(struct symtable *st, void *ast);
170 static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
171 static int symtable_visit_expr(struct symtable *st, expr_ty s);
172 static int symtable_visit_listcomp(struct symtable *st, expr_ty e);
173 static int symtable_visit_genexp(struct symtable *st, expr_ty s);
174 static int symtable_visit_setcomp(struct symtable *st, expr_ty e);
175 static int symtable_visit_dictcomp(struct symtable *st, expr_ty e);
176 static int symtable_visit_arguments(struct symtable *st, arguments_ty);
177 static int symtable_visit_excepthandler(struct symtable *st, excepthandler_ty);
178 static int symtable_visit_alias(struct symtable *st, alias_ty);
179 static int symtable_visit_comprehension(struct symtable *st, comprehension_ty);
180 static int symtable_visit_keyword(struct symtable *st, keyword_ty);
181 static int symtable_visit_slice(struct symtable *st, slice_ty);
182 static int symtable_visit_params(struct symtable *st, asdl_seq *args, int top);
183 static int symtable_visit_params_nested(struct symtable *st, asdl_seq *args);
184 static int symtable_implicit_arg(struct symtable *st, int pos);
196 static struct symtable *
199 struct symtable *st; in symtable_new()
201 st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable)); in symtable_new()
220 struct symtable *
223 struct symtable *st = symtable_new(); in PySymtable_Build()
279 PySymtable_Free(struct symtable *st) in PySymtable_Free()
287 PySymtable_Lookup(struct symtable *st, void *key) in PySymtable_Lookup()
780 symtable_analyze(struct symtable *st) in symtable_analyze()
801 symtable_warn(struct symtable *st, PyObject *warn, const char *msg, int lineno) in symtable_warn()
825 symtable_exit_block(struct symtable *st, void *ast) in symtable_exit_block()
844 symtable_enter_block(struct symtable *st, identifier name, _Py_block_ty block, in symtable_enter_block()
871 symtable_lookup(struct symtable *st, PyObject *name) in symtable_lookup()
885 symtable_add_def(struct symtable *st, PyObject *name, int flag) in symtable_add_def()
1007 symtable_visit_stmt(struct symtable *st, stmt_ty s) in symtable_visit_stmt()
1190 symtable_visit_expr(struct symtable *st, expr_ty e) in symtable_visit_expr()
1302 symtable_implicit_arg(struct symtable *st, int pos) in symtable_implicit_arg()
1316 symtable_visit_params(struct symtable *st, asdl_seq *args, int toplevel) in symtable_visit_params()
1354 symtable_visit_params_nested(struct symtable *st, asdl_seq *args) in symtable_visit_params_nested()
1368 symtable_visit_arguments(struct symtable *st, arguments_ty a) in symtable_visit_arguments()
1392 symtable_visit_excepthandler(struct symtable *st, excepthandler_ty eh) in symtable_visit_excepthandler()
1404 symtable_visit_alias(struct symtable *st, alias_ty a) in symtable_visit_alias()
1443 symtable_visit_comprehension(struct symtable *st, comprehension_ty lc) in symtable_visit_comprehension()
1453 symtable_visit_keyword(struct symtable *st, keyword_ty k) in symtable_visit_keyword()
1461 symtable_visit_slice(struct symtable *st, slice_ty s) in symtable_visit_slice()
1485 symtable_new_tmpname(struct symtable *st) in symtable_new_tmpname()
1502 symtable_handle_comprehension(struct symtable *st, expr_ty e, in symtable_handle_comprehension()
1553 symtable_visit_listcomp(struct symtable *st, expr_ty e) in symtable_visit_listcomp()
1588 symtable_visit_genexp(struct symtable *st, expr_ty e) in symtable_visit_genexp()
1596 symtable_visit_setcomp(struct symtable *st, expr_ty e) in symtable_visit_setcomp()
1604 symtable_visit_dictcomp(struct symtable *st, expr_ty e) in symtable_visit_dictcomp()