Searched refs:AsyncFunctionDef (Results 1 – 12 of 12) sorted by relevance
1397 if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt()1399 if (s->v.AsyncFunctionDef.args->defaults) in symtable_visit_stmt()1400 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.args->defaults); in symtable_visit_stmt()1401 if (s->v.AsyncFunctionDef.args->kw_defaults) in symtable_visit_stmt()1403 s->v.AsyncFunctionDef.args->kw_defaults); in symtable_visit_stmt()1404 if (!symtable_visit_annotations(st, s->v.AsyncFunctionDef.args, in symtable_visit_stmt()1405 s->v.AsyncFunctionDef.returns)) in symtable_visit_stmt()1407 if (s->v.AsyncFunctionDef.decorator_list) in symtable_visit_stmt()1408 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list); in symtable_visit_stmt()1409 if (!symtable_enter_block(st, s->v.AsyncFunctionDef.name, in symtable_visit_stmt()[all …]
630 CALL(astfold_arguments, arguments_ty, node_->v.AsyncFunctionDef.args); in astfold_stmt()631 CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body); in astfold_stmt()632 CALL_SEQ(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.decorator_list); in astfold_stmt()634 CALL_OPT(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.returns); in astfold_stmt()
2008 AsyncFunctionDef(identifier name, arguments_ty args, asdl_seq * body, asdl_seq in AsyncFunctionDef() function2028 p->v.AsyncFunctionDef.name = name; in AsyncFunctionDef()2029 p->v.AsyncFunctionDef.args = args; in AsyncFunctionDef()2030 p->v.AsyncFunctionDef.body = body; in AsyncFunctionDef()2031 p->v.AsyncFunctionDef.decorator_list = decorator_list; in AsyncFunctionDef()2032 p->v.AsyncFunctionDef.returns = returns; in AsyncFunctionDef()2033 p->v.AsyncFunctionDef.type_comment = type_comment; in AsyncFunctionDef()3494 value = ast2obj_identifier(state, o->v.AsyncFunctionDef.name); in ast2obj_stmt()3499 value = ast2obj_arguments(state, o->v.AsyncFunctionDef.args); in ast2obj_stmt()3504 value = ast2obj_list(state, o->v.AsyncFunctionDef.body, ast2obj_stmt); in ast2obj_stmt()[all …]
476 return validate_body(stmt->v.AsyncFunctionDef.body, "AsyncFunctionDef") && in validate_stmt()477 validate_arguments(stmt->v.AsyncFunctionDef.args) && in validate_stmt()478 validate_exprs(stmt->v.AsyncFunctionDef.decorator_list, Load, 0) && in validate_stmt()479 (!stmt->v.AsyncFunctionDef.returns || in validate_stmt()480 validate_expr(stmt->v.AsyncFunctionDef.returns, Load)); in validate_stmt()1776 return AsyncFunctionDef(name, args, body, decorator_seq, returns, type_comment, in ast_for_funcdef_impl()
2221 args = s->v.AsyncFunctionDef.args; in compiler_function()2222 returns = s->v.AsyncFunctionDef.returns; in compiler_function()2223 decos = s->v.AsyncFunctionDef.decorator_list; in compiler_function()2224 name = s->v.AsyncFunctionDef.name; in compiler_function()2225 body = s->v.AsyncFunctionDef.body; in compiler_function()
14 | AsyncFunctionDef(identifier name, arguments args,
1461 .. class:: AsyncFunctionDef(name, args, body, decorator_list, returns, type_comment)1470 Only valid in the body of an :class:`AsyncFunctionDef`.1480 AsyncFunctionDef(1504 body of an :class:`AsyncFunctionDef`.1600 :class:`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`,1606 :class:`AsyncFunctionDef` is now supported.
103 } AsyncFunctionDef; member473 #define AsyncFunctionDef(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) _Py_AsyncFunctionDef(a0, a1, … macro
69 Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes which was
1540 Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes which was1718 ``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, ``col_offset``
788 AsyncFunctionDef ast nodes. docstring is not first stmt in their body
279 if not isinstance(node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)):775 node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)