Home
last modified time | relevance | path

Searched refs:decorator_list (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Parser/
DPython.asdl13 stmt* body, expr* decorator_list)
14 | ClassDef(identifier name, expr* bases, stmt* body, expr* decorator_list)
/external/python/cpython2/Include/
DPython-ast.h76 asdl_seq *decorator_list; member
83 asdl_seq *decorator_list; member
385 asdl_seq * decorator_list, int lineno, int col_offset,
389 asdl_seq * decorator_list, int lineno, int col_offset,
/external/python/cpython2/Python/
DPython-ast.c1042 decorator_list, int lineno, int col_offset, PyArena *arena) in FunctionDef() argument
1062 p->v.FunctionDef.decorator_list = decorator_list; in FunctionDef()
1070 decorator_list, int lineno, int col_offset, PyArena *arena) in ClassDef() argument
1085 p->v.ClassDef.decorator_list = decorator_list; in ClassDef()
2217 value = ast2obj_list(o->v.FunctionDef.decorator_list, in ast2obj_stmt()
2243 value = ast2obj_list(o->v.ClassDef.decorator_list, in ast2obj_stmt()
3527 asdl_seq* decorator_list; in obj2ast_stmt() local
3593 decorator_list = asdl_seq_new(len, arena); in obj2ast_stmt()
3594 if (decorator_list == NULL) goto failed; in obj2ast_stmt()
3603 asdl_seq_SET(decorator_list, i, value); in obj2ast_stmt()
[all …]
Dsymtable.c1009 if (s->v.FunctionDef.decorator_list) in symtable_visit_stmt()
1010 VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list); in symtable_visit_stmt()
1024 if (s->v.ClassDef.decorator_list) in symtable_visit_stmt()
1025 VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list); in symtable_visit_stmt()
Dcompile.c1348 asdl_seq* decos = s->v.FunctionDef.decorator_list; in compiler_function()
1402 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class()
/external/python/cpython2/Demo/parser/
Dunparse.py227 for deco in t.decorator_list:
243 for deco in t.decorator_list:
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
D_ast_util.py412 for decorator in node.decorator_list: