/external/tensorflow/tensorflow/python/autograph/converters/ |
D | call_trees.py | 54 node.decorator_list = [] 59 node.decorator_list.append(
|
D | lists.py | 210 node.decorator_list = self.visit_block(node.decorator_list)
|
/external/python/cpython3/Parser/ |
D | Python.asdl | 17 stmt* body, expr* decorator_list, expr? returns) 19 stmt* body, expr* decorator_list, expr? returns) 25 expr* decorator_list)
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | pretty_printer_test.py | 53 decorator_list=[],
|
D | compiler_test.py | 89 decorator_list=[],
|
/external/python/cpython3/Include/ |
D | Python-ast.h | 81 asdl_seq *decorator_list; member 89 asdl_seq *decorator_list; member 98 asdl_seq *decorator_list; member 452 asdl_seq * decorator_list, expr_ty returns, int lineno, 456 body, asdl_seq * decorator_list, expr_ty returns, 460 asdl_seq * body, asdl_seq * decorator_list, int lineno,
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 13 stmt* body, expr* decorator_list) 14 | ClassDef(identifier name, expr* bases, stmt* body, expr* decorator_list)
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 76 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/cpython3/Python/ |
D | Python-ast.c | 39 _Py_IDENTIFIER(decorator_list); 1245 decorator_list, expr_ty returns, int lineno, int col_offset, in FunctionDef() argument 1266 p->v.FunctionDef.decorator_list = decorator_list; in FunctionDef() 1275 * decorator_list, expr_ty returns, int lineno, int col_offset, in AsyncFunctionDef() argument 1296 p->v.AsyncFunctionDef.decorator_list = decorator_list; in AsyncFunctionDef() 1305 body, asdl_seq * decorator_list, int lineno, int col_offset, PyArena in ClassDef() argument 1322 p->v.ClassDef.decorator_list = decorator_list; in ClassDef() 2650 value = ast2obj_list(o->v.FunctionDef.decorator_list, ast2obj_expr); in ast2obj_stmt() 2679 value = ast2obj_list(o->v.AsyncFunctionDef.decorator_list, in ast2obj_stmt() 2714 value = ast2obj_list(o->v.ClassDef.decorator_list, ast2obj_expr); in ast2obj_stmt() [all …]
|
D | symtable.c | 1129 if (s->v.FunctionDef.decorator_list) in symtable_visit_stmt() 1130 VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list); in symtable_visit_stmt() 1146 if (s->v.ClassDef.decorator_list) in symtable_visit_stmt() 1147 VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list); in symtable_visit_stmt() 1346 if (s->v.AsyncFunctionDef.decorator_list) in symtable_visit_stmt() 1347 VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list); in symtable_visit_stmt()
|
D | ast_opt.c | 685 CALL_SEQ(astfold_expr, expr_ty, node_->v.FunctionDef.decorator_list); in astfold_stmt() 691 CALL_SEQ(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.decorator_list); in astfold_stmt() 698 CALL_SEQ(astfold_expr, expr_ty, node_->v.ClassDef.decorator_list); in astfold_stmt()
|
D | ast.c | 383 validate_exprs(stmt->v.FunctionDef.decorator_list, Load, 0) && in validate_stmt() 390 validate_exprs(stmt->v.ClassDef.decorator_list, Load, 0); in validate_stmt() 504 validate_exprs(stmt->v.AsyncFunctionDef.decorator_list, Load, 0) && in validate_stmt()
|
D | compile.c | 1889 decos = s->v.AsyncFunctionDef.decorator_list; in compiler_function() 1899 decos = s->v.FunctionDef.decorator_list; in compiler_function() 1970 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class()
|
/external/python/cpython3/Lib/test/ |
D | test_ast.py | 695 def cls(bases=None, keywords=None, body=None, decorator_list=None): argument 702 if decorator_list is None: 703 decorator_list = [] 705 body, decorator_list) 712 self.stmt(cls(decorator_list=[ast.Name("x", ast.Store())]),
|
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | activity.py | 401 node.decorator_list = self.visit_block(node.decorator_list)
|
/external/python/cpython2/Python/ |
D | Python-ast.c | 1042 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, val); in obj2ast_stmt() [all …]
|
D | symtable.c | 1015 if (s->v.FunctionDef.decorator_list) in symtable_visit_stmt() 1016 VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list); in symtable_visit_stmt() 1030 if (s->v.ClassDef.decorator_list) in symtable_visit_stmt() 1031 VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list); in symtable_visit_stmt()
|
D | compile.c | 1357 asdl_seq* decos = s->v.FunctionDef.decorator_list; in compiler_function() 1411 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class()
|
/external/python/cpython2/Demo/parser/ |
D | unparse.py | 227 for deco in t.decorator_list: 243 for deco in t.decorator_list:
|
/external/python/cpython3/Tools/parser/ |
D | unparse.py | 221 for deco in t.decorator_list: 249 for deco in t.decorator_list:
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | conversion.py | 288 decorator_list=[])
|