Lines Matching refs:decorator_seq
874 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()
936 thing = ast_for_funcdef(c, CHILD(n, 1), decorator_seq); in ast_for_decorated()
938 thing = ast_for_classdef(c, CHILD(n, 1), decorator_seq); in ast_for_decorated()
3202 ast_for_classdef(struct compiling *c, const node *n, asdl_seq *decorator_seq) in ast_for_classdef() argument
3220 return ClassDef(classname, NULL, s, decorator_seq, LINENO(n), in ast_for_classdef()
3231 return ClassDef(classname, NULL, s, decorator_seq, LINENO(n), in ast_for_classdef()
3246 return ClassDef(classname, bases, s, decorator_seq, in ast_for_classdef()