File indexing completed on 2025-01-18 10:06:42
0001
0002
0003 #ifndef Py_INTERNAL_AST_STATE_H
0004 #define Py_INTERNAL_AST_STATE_H
0005 #ifdef __cplusplus
0006 extern "C" {
0007 #endif
0008
0009 #ifndef Py_BUILD_CORE
0010 # error "this header requires Py_BUILD_CORE define"
0011 #endif
0012
0013 struct ast_state {
0014 int initialized;
0015 int unused_recursion_depth;
0016 int unused_recursion_limit;
0017 PyObject *AST_type;
0018 PyObject *Add_singleton;
0019 PyObject *Add_type;
0020 PyObject *And_singleton;
0021 PyObject *And_type;
0022 PyObject *AnnAssign_type;
0023 PyObject *Assert_type;
0024 PyObject *Assign_type;
0025 PyObject *AsyncFor_type;
0026 PyObject *AsyncFunctionDef_type;
0027 PyObject *AsyncWith_type;
0028 PyObject *Attribute_type;
0029 PyObject *AugAssign_type;
0030 PyObject *Await_type;
0031 PyObject *BinOp_type;
0032 PyObject *BitAnd_singleton;
0033 PyObject *BitAnd_type;
0034 PyObject *BitOr_singleton;
0035 PyObject *BitOr_type;
0036 PyObject *BitXor_singleton;
0037 PyObject *BitXor_type;
0038 PyObject *BoolOp_type;
0039 PyObject *Break_type;
0040 PyObject *Call_type;
0041 PyObject *ClassDef_type;
0042 PyObject *Compare_type;
0043 PyObject *Constant_type;
0044 PyObject *Continue_type;
0045 PyObject *Del_singleton;
0046 PyObject *Del_type;
0047 PyObject *Delete_type;
0048 PyObject *DictComp_type;
0049 PyObject *Dict_type;
0050 PyObject *Div_singleton;
0051 PyObject *Div_type;
0052 PyObject *Eq_singleton;
0053 PyObject *Eq_type;
0054 PyObject *ExceptHandler_type;
0055 PyObject *Expr_type;
0056 PyObject *Expression_type;
0057 PyObject *FloorDiv_singleton;
0058 PyObject *FloorDiv_type;
0059 PyObject *For_type;
0060 PyObject *FormattedValue_type;
0061 PyObject *FunctionDef_type;
0062 PyObject *FunctionType_type;
0063 PyObject *GeneratorExp_type;
0064 PyObject *Global_type;
0065 PyObject *GtE_singleton;
0066 PyObject *GtE_type;
0067 PyObject *Gt_singleton;
0068 PyObject *Gt_type;
0069 PyObject *IfExp_type;
0070 PyObject *If_type;
0071 PyObject *ImportFrom_type;
0072 PyObject *Import_type;
0073 PyObject *In_singleton;
0074 PyObject *In_type;
0075 PyObject *Interactive_type;
0076 PyObject *Invert_singleton;
0077 PyObject *Invert_type;
0078 PyObject *IsNot_singleton;
0079 PyObject *IsNot_type;
0080 PyObject *Is_singleton;
0081 PyObject *Is_type;
0082 PyObject *JoinedStr_type;
0083 PyObject *LShift_singleton;
0084 PyObject *LShift_type;
0085 PyObject *Lambda_type;
0086 PyObject *ListComp_type;
0087 PyObject *List_type;
0088 PyObject *Load_singleton;
0089 PyObject *Load_type;
0090 PyObject *LtE_singleton;
0091 PyObject *LtE_type;
0092 PyObject *Lt_singleton;
0093 PyObject *Lt_type;
0094 PyObject *MatMult_singleton;
0095 PyObject *MatMult_type;
0096 PyObject *MatchAs_type;
0097 PyObject *MatchClass_type;
0098 PyObject *MatchMapping_type;
0099 PyObject *MatchOr_type;
0100 PyObject *MatchSequence_type;
0101 PyObject *MatchSingleton_type;
0102 PyObject *MatchStar_type;
0103 PyObject *MatchValue_type;
0104 PyObject *Match_type;
0105 PyObject *Mod_singleton;
0106 PyObject *Mod_type;
0107 PyObject *Module_type;
0108 PyObject *Mult_singleton;
0109 PyObject *Mult_type;
0110 PyObject *Name_type;
0111 PyObject *NamedExpr_type;
0112 PyObject *Nonlocal_type;
0113 PyObject *NotEq_singleton;
0114 PyObject *NotEq_type;
0115 PyObject *NotIn_singleton;
0116 PyObject *NotIn_type;
0117 PyObject *Not_singleton;
0118 PyObject *Not_type;
0119 PyObject *Or_singleton;
0120 PyObject *Or_type;
0121 PyObject *ParamSpec_type;
0122 PyObject *Pass_type;
0123 PyObject *Pow_singleton;
0124 PyObject *Pow_type;
0125 PyObject *RShift_singleton;
0126 PyObject *RShift_type;
0127 PyObject *Raise_type;
0128 PyObject *Return_type;
0129 PyObject *SetComp_type;
0130 PyObject *Set_type;
0131 PyObject *Slice_type;
0132 PyObject *Starred_type;
0133 PyObject *Store_singleton;
0134 PyObject *Store_type;
0135 PyObject *Sub_singleton;
0136 PyObject *Sub_type;
0137 PyObject *Subscript_type;
0138 PyObject *TryStar_type;
0139 PyObject *Try_type;
0140 PyObject *Tuple_type;
0141 PyObject *TypeAlias_type;
0142 PyObject *TypeIgnore_type;
0143 PyObject *TypeVarTuple_type;
0144 PyObject *TypeVar_type;
0145 PyObject *UAdd_singleton;
0146 PyObject *UAdd_type;
0147 PyObject *USub_singleton;
0148 PyObject *USub_type;
0149 PyObject *UnaryOp_type;
0150 PyObject *While_type;
0151 PyObject *With_type;
0152 PyObject *YieldFrom_type;
0153 PyObject *Yield_type;
0154 PyObject *__dict__;
0155 PyObject *__doc__;
0156 PyObject *__match_args__;
0157 PyObject *__module__;
0158 PyObject *_attributes;
0159 PyObject *_fields;
0160 PyObject *alias_type;
0161 PyObject *annotation;
0162 PyObject *arg;
0163 PyObject *arg_type;
0164 PyObject *args;
0165 PyObject *argtypes;
0166 PyObject *arguments_type;
0167 PyObject *asname;
0168 PyObject *ast;
0169 PyObject *attr;
0170 PyObject *bases;
0171 PyObject *body;
0172 PyObject *boolop_type;
0173 PyObject *bound;
0174 PyObject *cases;
0175 PyObject *cause;
0176 PyObject *cls;
0177 PyObject *cmpop_type;
0178 PyObject *col_offset;
0179 PyObject *comparators;
0180 PyObject *comprehension_type;
0181 PyObject *context_expr;
0182 PyObject *conversion;
0183 PyObject *ctx;
0184 PyObject *decorator_list;
0185 PyObject *defaults;
0186 PyObject *elt;
0187 PyObject *elts;
0188 PyObject *end_col_offset;
0189 PyObject *end_lineno;
0190 PyObject *exc;
0191 PyObject *excepthandler_type;
0192 PyObject *expr_context_type;
0193 PyObject *expr_type;
0194 PyObject *finalbody;
0195 PyObject *format_spec;
0196 PyObject *func;
0197 PyObject *generators;
0198 PyObject *guard;
0199 PyObject *handlers;
0200 PyObject *id;
0201 PyObject *ifs;
0202 PyObject *is_async;
0203 PyObject *items;
0204 PyObject *iter;
0205 PyObject *key;
0206 PyObject *keys;
0207 PyObject *keyword_type;
0208 PyObject *keywords;
0209 PyObject *kind;
0210 PyObject *kw_defaults;
0211 PyObject *kwarg;
0212 PyObject *kwd_attrs;
0213 PyObject *kwd_patterns;
0214 PyObject *kwonlyargs;
0215 PyObject *left;
0216 PyObject *level;
0217 PyObject *lineno;
0218 PyObject *lower;
0219 PyObject *match_case_type;
0220 PyObject *mod_type;
0221 PyObject *module;
0222 PyObject *msg;
0223 PyObject *name;
0224 PyObject *names;
0225 PyObject *op;
0226 PyObject *operand;
0227 PyObject *operator_type;
0228 PyObject *ops;
0229 PyObject *optional_vars;
0230 PyObject *orelse;
0231 PyObject *pattern;
0232 PyObject *pattern_type;
0233 PyObject *patterns;
0234 PyObject *posonlyargs;
0235 PyObject *rest;
0236 PyObject *returns;
0237 PyObject *right;
0238 PyObject *simple;
0239 PyObject *slice;
0240 PyObject *step;
0241 PyObject *stmt_type;
0242 PyObject *subject;
0243 PyObject *tag;
0244 PyObject *target;
0245 PyObject *targets;
0246 PyObject *test;
0247 PyObject *type;
0248 PyObject *type_comment;
0249 PyObject *type_ignore_type;
0250 PyObject *type_ignores;
0251 PyObject *type_param_type;
0252 PyObject *type_params;
0253 PyObject *unaryop_type;
0254 PyObject *upper;
0255 PyObject *value;
0256 PyObject *values;
0257 PyObject *vararg;
0258 PyObject *withitem_type;
0259 };
0260
0261 #ifdef __cplusplus
0262 }
0263 #endif
0264 #endif
0265