Lines Matching refs:decorator_seq
1694 asdl_seq* decorator_seq; in ast_for_decorators() local
1699 decorator_seq = _Py_asdl_seq_new(NCH(n), c->c_arena); in ast_for_decorators()
1700 if (!decorator_seq) in ast_for_decorators()
1707 asdl_seq_SET(decorator_seq, i, d); in ast_for_decorators()
1709 return decorator_seq; in ast_for_decorators()
1714 asdl_seq *decorator_seq, bool is_async) in ast_for_funcdef_impl() argument
1776 return AsyncFunctionDef(name, args, body, decorator_seq, returns, type_comment, in ast_for_funcdef_impl()
1779 return FunctionDef(name, args, body, decorator_seq, returns, type_comment, in ast_for_funcdef_impl()
1784 ast_for_async_funcdef(struct compiling *c, const node *n, asdl_seq *decorator_seq) in ast_for_async_funcdef() argument
1791 return ast_for_funcdef_impl(c, n, decorator_seq, in ast_for_async_funcdef()
1796 ast_for_funcdef(struct compiling *c, const node *n, asdl_seq *decorator_seq) in ast_for_funcdef() argument
1799 return ast_for_funcdef_impl(c, n, decorator_seq, in ast_for_funcdef()
1836 asdl_seq *decorator_seq = NULL; in ast_for_decorated() local
1840 decorator_seq = ast_for_decorators(c, CHILD(n, 0)); in ast_for_decorated()
1841 if (!decorator_seq) in ast_for_decorated()
1849 thing = ast_for_funcdef(c, CHILD(n, 1), decorator_seq); in ast_for_decorated()
1851 thing = ast_for_classdef(c, CHILD(n, 1), decorator_seq); in ast_for_decorated()
1853 thing = ast_for_async_funcdef(c, CHILD(n, 1), decorator_seq); in ast_for_decorated()
4328 ast_for_classdef(struct compiling *c, const node *n, asdl_seq *decorator_seq) in ast_for_classdef() argument
4349 return ClassDef(classname, NULL, NULL, s, decorator_seq, in ast_for_classdef()
4365 return ClassDef(classname, NULL, NULL, s, decorator_seq, in ast_for_classdef()
4398 decorator_seq, LINENO(n), n->n_col_offset, in ast_for_classdef()