Lines Matching refs:symtable

4 #include "symtable.h"
21 ste_new(struct symtable *st, identifier name, _Py_block_ty block,
90 "<symtable entry %.100s(%ld), line %d>",
125 "symtable entry",
164 static int symtable_analyze(struct symtable *st);
165 static int symtable_warn(struct symtable *st, char *msg, int lineno);
166 static int symtable_enter_block(struct symtable *st, identifier name,
168 static int symtable_exit_block(struct symtable *st, void *ast);
169 static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
170 static int symtable_visit_expr(struct symtable *st, expr_ty s);
171 static int symtable_visit_genexp(struct symtable *st, expr_ty s);
172 static int symtable_visit_setcomp(struct symtable *st, expr_ty e);
173 static int symtable_visit_dictcomp(struct symtable *st, expr_ty e);
174 static int symtable_visit_arguments(struct symtable *st, arguments_ty);
175 static int symtable_visit_excepthandler(struct symtable *st, excepthandler_ty);
176 static int symtable_visit_alias(struct symtable *st, alias_ty);
177 static int symtable_visit_comprehension(struct symtable *st, comprehension_ty);
178 static int symtable_visit_keyword(struct symtable *st, keyword_ty);
179 static int symtable_visit_slice(struct symtable *st, slice_ty);
180 static int symtable_visit_params(struct symtable *st, asdl_seq *args, int top);
181 static int symtable_visit_params_nested(struct symtable *st, asdl_seq *args);
182 static int symtable_implicit_arg(struct symtable *st, int pos);
194 static struct symtable *
197 struct symtable *st;
199 st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
218 struct symtable *
221 struct symtable *st = symtable_new();
277 PySymtable_Free(struct symtable *st)
285 PySymtable_Lookup(struct symtable *st, void *key)
600 ste -- current symtable entry (input/output)
778 symtable_analyze(struct symtable *st)
799 symtable_warn(struct symtable *st, char *msg, int lineno)
819 symtable_exit_block(struct symtable *st, void *ast)
838 symtable_enter_block(struct symtable *st, identifier name, _Py_block_ty block,
865 symtable_lookup(struct symtable *st, PyObject *name)
879 symtable_add_def(struct symtable *st, PyObject *name, int flag)
1001 symtable_visit_stmt(struct symtable *st, stmt_ty s)
1184 symtable_visit_expr(struct symtable *st, expr_ty e)
1296 symtable_implicit_arg(struct symtable *st, int pos)
1310 symtable_visit_params(struct symtable *st, asdl_seq *args, int toplevel)
1348 symtable_visit_params_nested(struct symtable *st, asdl_seq *args)
1362 symtable_visit_arguments(struct symtable *st, arguments_ty a)
1386 symtable_visit_excepthandler(struct symtable *st, excepthandler_ty eh)
1398 symtable_visit_alias(struct symtable *st, alias_ty a)
1438 symtable_visit_comprehension(struct symtable *st, comprehension_ty lc)
1448 symtable_visit_keyword(struct symtable *st, keyword_ty k)
1456 symtable_visit_slice(struct symtable *st, slice_ty s)
1480 symtable_new_tmpname(struct symtable *st)
1497 symtable_handle_comprehension(struct symtable *st, expr_ty e,
1534 symtable_visit_genexp(struct symtable *st, expr_ty e)
1542 symtable_visit_setcomp(struct symtable *st, expr_ty e)
1550 symtable_visit_dictcomp(struct symtable *st, expr_ty e)