Home
last modified time | relevance | path

Searched refs:AST_type (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Include/internal/
Dpycore_ast_state.h15 PyObject *AST_type; member
/third_party/python/Python/
DPython-ast.c29 Py_CLEAR(state->AST_type); in _PyAST_Fini()
1068 PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 || in add_ast_fields()
1069 PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 || in add_ast_fields()
1070 PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) { in add_ast_fields()
1093 state->AST_type = PyType_FromSpec(&AST_type_spec); in init_types()
1094 if (!state->AST_type) { in init_types()
1100 state->mod_type = make_type(state, "mod", state->AST_type, NULL, 0, in init_types()
1124 state->stmt_type = make_type(state, "stmt", state->AST_type, NULL, 0, in init_types()
1297 state->expr_type = make_type(state, "expr", state->AST_type, NULL, 0, in init_types()
1455 state->AST_type, NULL, 0, in init_types()
[all …]