Home
last modified time | relevance | path

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

/third_party/python/Python/
DPython-ast.c247 Py_CLEAR(state->stmt_type); in _PyAST_Fini()
1124 state->stmt_type = make_type(state, "stmt", state->AST_type, NULL, 0, in init_types()
1151 if (!state->stmt_type) return 0; in init_types()
1152 if (!add_attributes(state, state->stmt_type, stmt_attributes, 4)) return 0; in init_types()
1153 if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1) in init_types()
1155 if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) == in init_types()
1158 state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type, in init_types()
1169 state->stmt_type, in init_types()
1179 state->ClassDef_type = make_type(state, "ClassDef", state->stmt_type, in init_types()
1183 state->Return_type = make_type(state, "Return", state->stmt_type, in init_types()
[all …]
/third_party/python/Include/internal/
Dpycore_ast_state.h233 PyObject *stmt_type; member