Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dcompile.c1314 compiler_decorators(struct compiler *c, asdl_seq* decos) in compiler_decorators() argument
1318 if (!decos) in compiler_decorators()
1321 for (i = 0; i < asdl_seq_LEN(decos); i++) { in compiler_decorators()
1322 VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i)); in compiler_decorators()
1357 asdl_seq* decos = s->v.FunctionDef.decorator_list; in compiler_function() local
1363 if (!compiler_decorators(c, decos)) in compiler_function()
1398 for (i = 0; i < asdl_seq_LEN(decos); i++) { in compiler_function()
1411 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class() local
1413 if (!compiler_decorators(c, decos)) in compiler_class()
1462 for (i = 0; i < asdl_seq_LEN(decos); i++) { in compiler_class()
/external/python/cpython3/Python/
Dcompile.c1653 compiler_decorators(struct compiler *c, asdl_seq* decos) in compiler_decorators() argument
1657 if (!decos) in compiler_decorators()
1660 for (i = 0; i < asdl_seq_LEN(decos); i++) { in compiler_decorators()
1661 VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i)); in compiler_decorators()
1876 asdl_seq* decos; in compiler_function() local
1889 decos = s->v.AsyncFunctionDef.decorator_list; in compiler_function()
1899 decos = s->v.FunctionDef.decorator_list; in compiler_function()
1906 if (!compiler_decorators(c, decos)) in compiler_function()
1957 for (i = 0; i < asdl_seq_LEN(decos); i++) { in compiler_function()
1970 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class() local
[all …]