Searched refs:AsyncFunctionDef (Results 1 – 12 of 12) sorted by relevance
/third_party/python/Python/ |
D | symtable.c | 1442 if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s))) in symtable_visit_stmt() 1444 if (s->v.AsyncFunctionDef.args->defaults) in symtable_visit_stmt() 1445 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.args->defaults); in symtable_visit_stmt() 1446 if (s->v.AsyncFunctionDef.args->kw_defaults) in symtable_visit_stmt() 1448 s->v.AsyncFunctionDef.args->kw_defaults); in symtable_visit_stmt() 1449 if (!symtable_visit_annotations(st, s, s->v.AsyncFunctionDef.args, in symtable_visit_stmt() 1450 s->v.AsyncFunctionDef.returns)) in symtable_visit_stmt() 1452 if (s->v.AsyncFunctionDef.decorator_list) in symtable_visit_stmt() 1453 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list); in symtable_visit_stmt() 1454 if (!symtable_enter_block(st, s->v.AsyncFunctionDef.name, in symtable_visit_stmt() [all …]
|
D | ast.c | 844 ret = validate_body(state, stmt->v.AsyncFunctionDef.body, "AsyncFunctionDef") && in validate_stmt() 845 validate_arguments(state, stmt->v.AsyncFunctionDef.args) && in validate_stmt() 846 validate_exprs(state, stmt->v.AsyncFunctionDef.decorator_list, Load, 0) && in validate_stmt() 847 (!stmt->v.AsyncFunctionDef.returns || in validate_stmt() 848 validate_expr(state, stmt->v.AsyncFunctionDef.returns, Load)); in validate_stmt()
|
D | ast_opt.c | 670 CALL(astfold_arguments, arguments_ty, node_->v.AsyncFunctionDef.args); in astfold_stmt() 671 CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body); in astfold_stmt() 672 CALL_SEQ(astfold_expr, expr, node_->v.AsyncFunctionDef.decorator_list); in astfold_stmt() 674 CALL_OPT(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.returns); in astfold_stmt()
|
D | Python-ast.c | 1998 p->v.AsyncFunctionDef.name = name; in _PyAST_AsyncFunctionDef() 1999 p->v.AsyncFunctionDef.args = args; in _PyAST_AsyncFunctionDef() 2000 p->v.AsyncFunctionDef.body = body; in _PyAST_AsyncFunctionDef() 2001 p->v.AsyncFunctionDef.decorator_list = decorator_list; in _PyAST_AsyncFunctionDef() 2002 p->v.AsyncFunctionDef.returns = returns; in _PyAST_AsyncFunctionDef() 2003 p->v.AsyncFunctionDef.type_comment = type_comment; in _PyAST_AsyncFunctionDef() 3691 value = ast2obj_identifier(state, o->v.AsyncFunctionDef.name); in ast2obj_stmt() 3696 value = ast2obj_arguments(state, o->v.AsyncFunctionDef.args); in ast2obj_stmt() 3701 value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFunctionDef.body, in ast2obj_stmt() 3708 (asdl_seq*)o->v.AsyncFunctionDef.decorator_list, in ast2obj_stmt() [all …]
|
D | compile.c | 2334 args = s->v.AsyncFunctionDef.args; in compiler_function() 2335 returns = s->v.AsyncFunctionDef.returns; in compiler_function() 2336 decos = s->v.AsyncFunctionDef.decorator_list; in compiler_function() 2337 name = s->v.AsyncFunctionDef.name; in compiler_function() 2338 body = s->v.AsyncFunctionDef.body; in compiler_function()
|
/third_party/python/Parser/ |
D | Python.asdl | 14 | AsyncFunctionDef(identifier name, arguments args,
|
/third_party/python/Doc/library/ |
D | ast.rst | 1835 .. class:: AsyncFunctionDef(name, args, body, decorator_list, returns, type_comment) 1844 Only valid in the body of an :class:`AsyncFunctionDef`. 1854 AsyncFunctionDef( 1878 body of an :class:`AsyncFunctionDef`. 1994 :class:`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`, 2000 :class:`AsyncFunctionDef` is now supported.
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0b5.rst | 69 Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes which was
|
D | 3.8.0a1.rst | 1540 Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes which was 1718 ``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, ``col_offset``
|
D | 3.7.0a1.rst | 788 AsyncFunctionDef ast nodes. docstring is not first stmt in their body
|
/third_party/python/Lib/ |
D | ast.py | 282 if not isinstance(node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)): 778 node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 204 } AsyncFunctionDef; member
|