Home
last modified time | relevance | path

Searched refs:decorator_seq (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Python/
Dast.c1553 asdl_seq* decorator_seq; in ast_for_decorators() local
1558 decorator_seq = _Py_asdl_seq_new(NCH(n), c->c_arena); in ast_for_decorators()
1559 if (!decorator_seq) in ast_for_decorators()
1566 asdl_seq_SET(decorator_seq, i, d); in ast_for_decorators()
1568 return decorator_seq; in ast_for_decorators()
1573 asdl_seq *decorator_seq, bool is_async) in ast_for_funcdef_impl() argument
1604 return AsyncFunctionDef(name, args, body, decorator_seq, returns, in ast_for_funcdef_impl()
1607 return FunctionDef(name, args, body, decorator_seq, returns, in ast_for_funcdef_impl()
1612 ast_for_async_funcdef(struct compiling *c, const node *n, asdl_seq *decorator_seq) in ast_for_async_funcdef() argument
1620 return ast_for_funcdef_impl(c, n, decorator_seq, in ast_for_async_funcdef()
[all …]
/external/python/cpython2/Python/
Dast.c874 asdl_seq* decorator_seq; in ast_for_decorators() local
879 decorator_seq = asdl_seq_new(NCH(n), c->c_arena); in ast_for_decorators()
880 if (!decorator_seq) in ast_for_decorators()
887 asdl_seq_SET(decorator_seq, i, d); in ast_for_decorators()
889 return decorator_seq; in ast_for_decorators()
893 ast_for_funcdef(struct compiling *c, const node *n, asdl_seq *decorator_seq) in ast_for_funcdef() argument
915 return FunctionDef(name, args, body, decorator_seq, LINENO(n), in ast_for_funcdef()
924 asdl_seq *decorator_seq = NULL; in ast_for_decorated() local
928 decorator_seq = ast_for_decorators(c, CHILD(n, 0)); in ast_for_decorated()
929 if (!decorator_seq) in ast_for_decorated()
[all …]