• Home
  • Raw
  • Download

Lines Matching defs:_symtable_entry

38 typedef struct _symtable_entry {  struct
40 PyObject *ste_id; /* int: key in ste_table->st_blocks */
41 PyObject *ste_symbols; /* dict: variable names to flags */
42 PyObject *ste_name; /* string: name of current block */
43 PyObject *ste_varnames; /* list of function parameters */
44 PyObject *ste_children; /* list of child blocks */
45 PyObject *ste_directives;/* locations of global and nonlocal statements */
46 _Py_block_ty ste_type; /* module, class, or function */
47 int ste_nested; /* true if block is nested */
48 unsigned ste_free : 1; /* true if block has free variables */
49 unsigned ste_child_free : 1; /* true if a child block has free vars,
51 unsigned ste_generator : 1; /* true if namespace is a generator */
52 unsigned ste_coroutine : 1; /* true if namespace is a coroutine */
53 unsigned ste_comprehension : 1; /* true if namespace is a list comprehension */
54 unsigned ste_varargs : 1; /* true if block has varargs */
55 unsigned ste_varkeywords : 1; /* true if block has varkeywords */
56 unsigned ste_returns_value : 1; /* true if namespace uses return with
58 unsigned ste_needs_class_closure : 1; /* for class scopes, true if a
61 unsigned ste_comp_iter_target : 1; /* true if visiting comprehension target */
62 int ste_comp_iter_expr; /* non-zero if visiting a comprehension range expression */
63 int ste_lineno; /* first line of block */
64 int ste_col_offset; /* offset of first line of block */
65 int ste_opt_lineno; /* lineno of last exec or import * */
66 int ste_opt_col_offset; /* offset of last exec or import * */
67 struct symtable *ste_table;