Lines Matching defs:target

252     Py_CLEAR(state->target);
349 if ((state->target = PyUnicode_InternFromString("target")) == NULL) return 0;
433 "target",
438 "target",
444 "target",
451 "target",
530 "target",
644 "target",
1139 " | AugAssign(expr target, operator op, expr value)\n"
1140 " | AnnAssign(expr target, expr annotation, expr? value, int simple)\n"
1141 " | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
1142 " | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
1211 "AugAssign(expr target, operator op, expr value)");
1215 "AnnAssign(expr target, expr annotation, expr? value, int simple)");
1220 "For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
1226 "AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
1312 " | NamedExpr(expr target, expr value)\n"
1351 "NamedExpr(expr target, expr value)");
1700 "comprehension(expr target, expr iter, expr* ifs, int is_async)");
2114 _PyAST_AugAssign(expr_ty target, operator_ty op, expr_ty value, int lineno, int
2118 if (!target) {
2120 "field 'target' is required for AugAssign");
2137 p->v.AugAssign.target = target;
2148 _PyAST_AnnAssign(expr_ty target, expr_ty annotation, expr_ty value, int simple,
2153 if (!target) {
2155 "field 'target' is required for AnnAssign");
2167 p->v.AnnAssign.target = target;
2179 _PyAST_For(expr_ty target, expr_ty iter, asdl_stmt_seq * body, asdl_stmt_seq *
2184 if (!target) {
2186 "field 'target' is required for For");
2198 p->v.For.target = target;
2211 _PyAST_AsyncFor(expr_ty target, expr_ty iter, asdl_stmt_seq * body,
2216 if (!target) {
2218 "field 'target' is required for AsyncFor");
2230 p->v.AsyncFor.target = target;
2604 _PyAST_NamedExpr(expr_ty target, expr_ty value, int lineno, int col_offset, int
2608 if (!target) {
2610 "field 'target' is required for NamedExpr");
2622 p->v.NamedExpr.target = target;
3260 _PyAST_comprehension(expr_ty target, expr_ty iter, asdl_expr_seq * ifs, int
3264 if (!target) {
3266 "field 'target' is required for comprehension");
3277 p->target = target;
3853 value = ast2obj_expr(state, o->v.AugAssign.target);
3855 if (PyObject_SetAttr(result, state->target, value) == -1)
3873 value = ast2obj_expr(state, o->v.AnnAssign.target);
3875 if (PyObject_SetAttr(result, state->target, value) == -1)
3898 value = ast2obj_expr(state, o->v.For.target);
3900 if (PyObject_SetAttr(result, state->target, value) == -1)
3928 value = ast2obj_expr(state, o->v.AsyncFor.target);
3930 if (PyObject_SetAttr(result, state->target, value) == -1)
4283 value = ast2obj_expr(state, o->v.NamedExpr.target);
4285 if (PyObject_SetAttr(result, state->target, value) == -1)
4874 value = ast2obj_expr(state, o->target);
4876 if (PyObject_SetAttr(result, state->target, value) == -1)
6487 expr_ty target;
6491 if (_PyObject_LookupAttr(obj, state->target, &tmp) < 0) {
6495 PyErr_SetString(PyExc_TypeError, "required field \"target\" missing from AugAssign");
6503 res = obj2ast_expr(state, tmp, &target, arena);
6542 *out = _PyAST_AugAssign(target, op, value, lineno, col_offset,
6553 expr_ty target;
6558 if (_PyObject_LookupAttr(obj, state->target, &tmp) < 0) {
6562 PyErr_SetString(PyExc_TypeError, "required field \"target\" missing from AnnAssign");
6570 res = obj2ast_expr(state, tmp, &target, arena);
6626 *out = _PyAST_AnnAssign(target, annotation, value, simple, lineno,
6637 expr_ty target;
6643 if (_PyObject_LookupAttr(obj, state->target, &tmp) < 0) {
6647 PyErr_SetString(PyExc_TypeError, "required field \"target\" missing from For");
6655 res = obj2ast_expr(state, tmp, &target, arena);
6768 *out = _PyAST_For(target, iter, body, orelse, type_comment, lineno,
6779 expr_ty target;
6785 if (_PyObject_LookupAttr(obj, state->target, &tmp) < 0) {
6789 PyErr_SetString(PyExc_TypeError, "required field \"target\" missing from AsyncFor");
6797 res = obj2ast_expr(state, tmp, &target, arena);
6910 *out = _PyAST_AsyncFor(target, iter, body, orelse, type_comment,
8300 expr_ty target;
8303 if (_PyObject_LookupAttr(obj, state->target, &tmp) < 0) {
8307 PyErr_SetString(PyExc_TypeError, "required field \"target\" missing from NamedExpr");
8315 res = obj2ast_expr(state, tmp, &target, arena);
8337 *out = _PyAST_NamedExpr(target, value, lineno, col_offset, end_lineno,
10218 expr_ty target;
10223 if (_PyObject_LookupAttr(obj, state->target, &tmp) < 0) {
10227 PyErr_SetString(PyExc_TypeError, "required field \"target\" missing from comprehension");
10235 res = obj2ast_expr(state, tmp, &target, arena);
10311 *out = _PyAST_comprehension(target, iter, ifs, is_async, arena);