• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  // File automatically generated by Parser/asdl_c.py.
2  
3  #ifndef Py_INTERNAL_AST_STATE_H
4  #define Py_INTERNAL_AST_STATE_H
5  #ifdef __cplusplus
6  extern "C" {
7  #endif
8  
9  #ifndef Py_BUILD_CORE
10  #  error "this header requires Py_BUILD_CORE define"
11  #endif
12  
13  struct ast_state {
14      int initialized;
15      PyObject *AST_type;
16      PyObject *Add_singleton;
17      PyObject *Add_type;
18      PyObject *And_singleton;
19      PyObject *And_type;
20      PyObject *AnnAssign_type;
21      PyObject *Assert_type;
22      PyObject *Assign_type;
23      PyObject *AsyncFor_type;
24      PyObject *AsyncFunctionDef_type;
25      PyObject *AsyncWith_type;
26      PyObject *Attribute_type;
27      PyObject *AugAssign_type;
28      PyObject *Await_type;
29      PyObject *BinOp_type;
30      PyObject *BitAnd_singleton;
31      PyObject *BitAnd_type;
32      PyObject *BitOr_singleton;
33      PyObject *BitOr_type;
34      PyObject *BitXor_singleton;
35      PyObject *BitXor_type;
36      PyObject *BoolOp_type;
37      PyObject *Break_type;
38      PyObject *Call_type;
39      PyObject *ClassDef_type;
40      PyObject *Compare_type;
41      PyObject *Constant_type;
42      PyObject *Continue_type;
43      PyObject *Del_singleton;
44      PyObject *Del_type;
45      PyObject *Delete_type;
46      PyObject *DictComp_type;
47      PyObject *Dict_type;
48      PyObject *Div_singleton;
49      PyObject *Div_type;
50      PyObject *Eq_singleton;
51      PyObject *Eq_type;
52      PyObject *ExceptHandler_type;
53      PyObject *Expr_type;
54      PyObject *Expression_type;
55      PyObject *FloorDiv_singleton;
56      PyObject *FloorDiv_type;
57      PyObject *For_type;
58      PyObject *FormattedValue_type;
59      PyObject *FunctionDef_type;
60      PyObject *FunctionType_type;
61      PyObject *GeneratorExp_type;
62      PyObject *Global_type;
63      PyObject *GtE_singleton;
64      PyObject *GtE_type;
65      PyObject *Gt_singleton;
66      PyObject *Gt_type;
67      PyObject *IfExp_type;
68      PyObject *If_type;
69      PyObject *ImportFrom_type;
70      PyObject *Import_type;
71      PyObject *In_singleton;
72      PyObject *In_type;
73      PyObject *Interactive_type;
74      PyObject *Invert_singleton;
75      PyObject *Invert_type;
76      PyObject *IsNot_singleton;
77      PyObject *IsNot_type;
78      PyObject *Is_singleton;
79      PyObject *Is_type;
80      PyObject *JoinedStr_type;
81      PyObject *LShift_singleton;
82      PyObject *LShift_type;
83      PyObject *Lambda_type;
84      PyObject *ListComp_type;
85      PyObject *List_type;
86      PyObject *Load_singleton;
87      PyObject *Load_type;
88      PyObject *LtE_singleton;
89      PyObject *LtE_type;
90      PyObject *Lt_singleton;
91      PyObject *Lt_type;
92      PyObject *MatMult_singleton;
93      PyObject *MatMult_type;
94      PyObject *MatchAs_type;
95      PyObject *MatchClass_type;
96      PyObject *MatchMapping_type;
97      PyObject *MatchOr_type;
98      PyObject *MatchSequence_type;
99      PyObject *MatchSingleton_type;
100      PyObject *MatchStar_type;
101      PyObject *MatchValue_type;
102      PyObject *Match_type;
103      PyObject *Mod_singleton;
104      PyObject *Mod_type;
105      PyObject *Module_type;
106      PyObject *Mult_singleton;
107      PyObject *Mult_type;
108      PyObject *Name_type;
109      PyObject *NamedExpr_type;
110      PyObject *Nonlocal_type;
111      PyObject *NotEq_singleton;
112      PyObject *NotEq_type;
113      PyObject *NotIn_singleton;
114      PyObject *NotIn_type;
115      PyObject *Not_singleton;
116      PyObject *Not_type;
117      PyObject *Or_singleton;
118      PyObject *Or_type;
119      PyObject *Pass_type;
120      PyObject *Pow_singleton;
121      PyObject *Pow_type;
122      PyObject *RShift_singleton;
123      PyObject *RShift_type;
124      PyObject *Raise_type;
125      PyObject *Return_type;
126      PyObject *SetComp_type;
127      PyObject *Set_type;
128      PyObject *Slice_type;
129      PyObject *Starred_type;
130      PyObject *Store_singleton;
131      PyObject *Store_type;
132      PyObject *Sub_singleton;
133      PyObject *Sub_type;
134      PyObject *Subscript_type;
135      PyObject *Try_type;
136      PyObject *Tuple_type;
137      PyObject *TypeIgnore_type;
138      PyObject *UAdd_singleton;
139      PyObject *UAdd_type;
140      PyObject *USub_singleton;
141      PyObject *USub_type;
142      PyObject *UnaryOp_type;
143      PyObject *While_type;
144      PyObject *With_type;
145      PyObject *YieldFrom_type;
146      PyObject *Yield_type;
147      PyObject *__dict__;
148      PyObject *__doc__;
149      PyObject *__match_args__;
150      PyObject *__module__;
151      PyObject *_attributes;
152      PyObject *_fields;
153      PyObject *alias_type;
154      PyObject *annotation;
155      PyObject *arg;
156      PyObject *arg_type;
157      PyObject *args;
158      PyObject *argtypes;
159      PyObject *arguments_type;
160      PyObject *asname;
161      PyObject *ast;
162      PyObject *attr;
163      PyObject *bases;
164      PyObject *body;
165      PyObject *boolop_type;
166      PyObject *cases;
167      PyObject *cause;
168      PyObject *cls;
169      PyObject *cmpop_type;
170      PyObject *col_offset;
171      PyObject *comparators;
172      PyObject *comprehension_type;
173      PyObject *context_expr;
174      PyObject *conversion;
175      PyObject *ctx;
176      PyObject *decorator_list;
177      PyObject *defaults;
178      PyObject *elt;
179      PyObject *elts;
180      PyObject *end_col_offset;
181      PyObject *end_lineno;
182      PyObject *exc;
183      PyObject *excepthandler_type;
184      PyObject *expr_context_type;
185      PyObject *expr_type;
186      PyObject *finalbody;
187      PyObject *format_spec;
188      PyObject *func;
189      PyObject *generators;
190      PyObject *guard;
191      PyObject *handlers;
192      PyObject *id;
193      PyObject *ifs;
194      PyObject *is_async;
195      PyObject *items;
196      PyObject *iter;
197      PyObject *key;
198      PyObject *keys;
199      PyObject *keyword_type;
200      PyObject *keywords;
201      PyObject *kind;
202      PyObject *kw_defaults;
203      PyObject *kwarg;
204      PyObject *kwd_attrs;
205      PyObject *kwd_patterns;
206      PyObject *kwonlyargs;
207      PyObject *left;
208      PyObject *level;
209      PyObject *lineno;
210      PyObject *lower;
211      PyObject *match_case_type;
212      PyObject *mod_type;
213      PyObject *module;
214      PyObject *msg;
215      PyObject *name;
216      PyObject *names;
217      PyObject *op;
218      PyObject *operand;
219      PyObject *operator_type;
220      PyObject *ops;
221      PyObject *optional_vars;
222      PyObject *orelse;
223      PyObject *pattern;
224      PyObject *pattern_type;
225      PyObject *patterns;
226      PyObject *posonlyargs;
227      PyObject *rest;
228      PyObject *returns;
229      PyObject *right;
230      PyObject *simple;
231      PyObject *slice;
232      PyObject *step;
233      PyObject *stmt_type;
234      PyObject *subject;
235      PyObject *tag;
236      PyObject *target;
237      PyObject *targets;
238      PyObject *test;
239      PyObject *type;
240      PyObject *type_comment;
241      PyObject *type_ignore_type;
242      PyObject *type_ignores;
243      PyObject *unaryop_type;
244      PyObject *upper;
245      PyObject *value;
246      PyObject *values;
247      PyObject *vararg;
248      PyObject *withitem_type;
249  };
250  
251  #ifdef __cplusplus
252  }
253  #endif
254  #endif /* !Py_INTERNAL_AST_STATE_H */
255  
256