Home
last modified time | relevance | path

Searched refs:AsyncFunctionDef (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Python/
Dsymtable.c1336 if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt()
1338 if (s->v.AsyncFunctionDef.args->defaults) in symtable_visit_stmt()
1339 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.args->defaults); in symtable_visit_stmt()
1340 if (s->v.AsyncFunctionDef.args->kw_defaults) in symtable_visit_stmt()
1342 s->v.AsyncFunctionDef.args->kw_defaults); in symtable_visit_stmt()
1343 if (!symtable_visit_annotations(st, s, s->v.AsyncFunctionDef.args, in symtable_visit_stmt()
1344 s->v.AsyncFunctionDef.returns)) in symtable_visit_stmt()
1346 if (s->v.AsyncFunctionDef.decorator_list) in symtable_visit_stmt()
1347 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list); in symtable_visit_stmt()
1348 if (!symtable_enter_block(st, s->v.AsyncFunctionDef.name, in symtable_visit_stmt()
[all …]
Dast_opt.c689 CALL(astfold_arguments, arguments_ty, node_->v.AsyncFunctionDef.args); in astfold_stmt()
690 CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body); in astfold_stmt()
691 CALL_SEQ(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.decorator_list); in astfold_stmt()
692 CALL_OPT(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.returns); in astfold_stmt()
DPython-ast.c1274 AsyncFunctionDef(identifier name, arguments_ty args, asdl_seq * body, asdl_seq in AsyncFunctionDef() function
1293 p->v.AsyncFunctionDef.name = name; in AsyncFunctionDef()
1294 p->v.AsyncFunctionDef.args = args; in AsyncFunctionDef()
1295 p->v.AsyncFunctionDef.body = body; in AsyncFunctionDef()
1296 p->v.AsyncFunctionDef.decorator_list = decorator_list; in AsyncFunctionDef()
1297 p->v.AsyncFunctionDef.returns = returns; in AsyncFunctionDef()
2664 value = ast2obj_identifier(o->v.AsyncFunctionDef.name); in ast2obj_stmt()
2669 value = ast2obj_arguments(o->v.AsyncFunctionDef.args); in ast2obj_stmt()
2674 value = ast2obj_list(o->v.AsyncFunctionDef.body, ast2obj_stmt); in ast2obj_stmt()
2679 value = ast2obj_list(o->v.AsyncFunctionDef.decorator_list, in ast2obj_stmt()
[all …]
Dast.c502 return validate_body(stmt->v.AsyncFunctionDef.body, "AsyncFunctionDef") && in validate_stmt()
503 validate_arguments(stmt->v.AsyncFunctionDef.args) && in validate_stmt()
504 validate_exprs(stmt->v.AsyncFunctionDef.decorator_list, Load, 0) && in validate_stmt()
505 (!stmt->v.AsyncFunctionDef.returns || in validate_stmt()
506 validate_expr(stmt->v.AsyncFunctionDef.returns, Load)); in validate_stmt()
1604 return AsyncFunctionDef(name, args, body, decorator_seq, returns, in ast_for_funcdef_impl()
Dcompile.c1887 args = s->v.AsyncFunctionDef.args; in compiler_function()
1888 returns = s->v.AsyncFunctionDef.returns; in compiler_function()
1889 decos = s->v.AsyncFunctionDef.decorator_list; in compiler_function()
1890 name = s->v.AsyncFunctionDef.name; in compiler_function()
1891 body = s->v.AsyncFunctionDef.body; in compiler_function()
/external/python/cpython3/Lib/
Dast.py207 if not isinstance(node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)):
/external/python/cpython3/Parser/
DPython.asdl18 | AsyncFunctionDef(identifier name, arguments args,
/external/python/cpython3/Doc/library/
Dast.rst149 :class:`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`,
155 :class:`AsyncFunctionDef` is now supported.
/external/python/cpython3/Include/
DPython-ast.h91 } AsyncFunctionDef; member
454 #define AsyncFunctionDef(a0, a1, a2, a3, a4, a5, a6, a7) _Py_AsyncFunctionDef(a0, a1, a2, a3, a4, a… macro
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b5.rst69 Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes which was
D3.7.1rc1.rst296 ``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, ``col_offset``
D3.7.0a1.rst789 AsyncFunctionDef ast nodes. docstring is not first stmt in their body