Searched refs:AsyncFunctionDef (Results 1 – 10 of 10) sorted by relevance
| /third_party/python/Python/ |
| D | symtable.c | 1437 if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s))) in symtable_visit_stmt() 1439 if (s->v.AsyncFunctionDef.args->defaults) in symtable_visit_stmt() 1440 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.args->defaults); in symtable_visit_stmt() 1441 if (s->v.AsyncFunctionDef.args->kw_defaults) in symtable_visit_stmt() 1443 s->v.AsyncFunctionDef.args->kw_defaults); in symtable_visit_stmt() 1444 if (!symtable_visit_annotations(st, s, s->v.AsyncFunctionDef.args, in symtable_visit_stmt() 1445 s->v.AsyncFunctionDef.returns)) in symtable_visit_stmt() 1447 if (s->v.AsyncFunctionDef.decorator_list) in symtable_visit_stmt() 1448 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list); in symtable_visit_stmt() 1449 if (!symtable_enter_block(st, s->v.AsyncFunctionDef.name, in symtable_visit_stmt() [all …]
|
| D | ast.c | 912 ret = validate_body(state, stmt->v.AsyncFunctionDef.body, "AsyncFunctionDef") && in validate_stmt() 913 validate_arguments(state, stmt->v.AsyncFunctionDef.args) && in validate_stmt() 914 validate_exprs(state, stmt->v.AsyncFunctionDef.decorator_list, Load, 0) && in validate_stmt() 915 (!stmt->v.AsyncFunctionDef.returns || in validate_stmt() 916 validate_expr(state, stmt->v.AsyncFunctionDef.returns, Load)); in validate_stmt()
|
| D | ast_opt.c | 885 CALL(astfold_arguments, arguments_ty, node_->v.AsyncFunctionDef.args); in astfold_stmt() 886 CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body); in astfold_stmt() 887 CALL_SEQ(astfold_expr, expr, node_->v.AsyncFunctionDef.decorator_list); in astfold_stmt() 889 CALL_OPT(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.returns); in astfold_stmt()
|
| D | Python-ast.c | 2013 p->v.AsyncFunctionDef.name = name; in _PyAST_AsyncFunctionDef() 2014 p->v.AsyncFunctionDef.args = args; in _PyAST_AsyncFunctionDef() 2015 p->v.AsyncFunctionDef.body = body; in _PyAST_AsyncFunctionDef() 2016 p->v.AsyncFunctionDef.decorator_list = decorator_list; in _PyAST_AsyncFunctionDef() 2017 p->v.AsyncFunctionDef.returns = returns; in _PyAST_AsyncFunctionDef() 2018 p->v.AsyncFunctionDef.type_comment = type_comment; in _PyAST_AsyncFunctionDef() 3739 value = ast2obj_identifier(state, o->v.AsyncFunctionDef.name); in ast2obj_stmt() 3744 value = ast2obj_arguments(state, o->v.AsyncFunctionDef.args); in ast2obj_stmt() 3749 value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFunctionDef.body, in ast2obj_stmt() 3756 (asdl_seq*)o->v.AsyncFunctionDef.decorator_list, in ast2obj_stmt() [all …]
|
| D | compile.c | 2606 args = s->v.AsyncFunctionDef.args; in compiler_function() 2607 returns = s->v.AsyncFunctionDef.returns; in compiler_function() 2608 decos = s->v.AsyncFunctionDef.decorator_list; in compiler_function() 2609 name = s->v.AsyncFunctionDef.name; in compiler_function() 2610 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 | 1863 .. class:: AsyncFunctionDef(name, args, body, decorator_list, returns, type_comment) 1872 Only valid in the body of an :class:`AsyncFunctionDef`. 1882 AsyncFunctionDef( 1906 body of an :class:`AsyncFunctionDef`. 2030 :class:`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`, 2036 :class:`AsyncFunctionDef` is now supported.
|
| /third_party/python/Lib/ |
| D | ast.py | 290 if not isinstance(node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)): 789 node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)
|
| /third_party/python/Include/internal/ |
| D | pycore_ast.h | 204 } AsyncFunctionDef; member
|
| /third_party/python/Misc/ |
| D | NEWS | 18954 removed from Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes 19017 ``ast.AsyncFor``, ``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. 21594 removed from Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes 24175 AsyncFunctionDef ast nodes. docstring is not first stmt in their body
|