Searched refs:DictComp (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Python/ |
D | ast_unparse.c | 449 APPEND_EXPR(e->v.DictComp.key, PR_TEST); in append_ast_dictcomp() 451 APPEND_EXPR(e->v.DictComp.value, PR_TEST); in append_ast_dictcomp() 452 APPEND(comprehensions, e->v.DictComp.generators); in append_ast_dictcomp()
|
D | ast_opt.c | 535 CALL(astfold_expr, expr_ty, node_->v.DictComp.key); in astfold_expr() 536 CALL(astfold_expr, expr_ty, node_->v.DictComp.value); in astfold_expr() 537 CALL_SEQ(astfold_comprehension, comprehension, node_->v.DictComp.generators); in astfold_expr()
|
D | ast.c | 283 ret = validate_comprehension(state, exp->v.DictComp.generators) && in validate_expr() 284 validate_expr(state, exp->v.DictComp.key, Load) && in validate_expr() 285 validate_expr(state, exp->v.DictComp.value, Load); in validate_expr()
|
D | symtable.c | 2099 e->v.DictComp.generators, in symtable_visit_dictcomp() 2100 e->v.DictComp.key, in symtable_visit_dictcomp() 2101 e->v.DictComp.value); in symtable_visit_dictcomp()
|
D | Python-ast.c | 2821 p->v.DictComp.key = key; in _PyAST_DictComp() 2822 p->v.DictComp.value = value; in _PyAST_DictComp() 2823 p->v.DictComp.generators = generators; in _PyAST_DictComp() 4343 value = ast2obj_expr(state, o->v.DictComp.key); in ast2obj_expr() 4348 value = ast2obj_expr(state, o->v.DictComp.value); in ast2obj_expr() 4353 value = ast2obj_list(state, (asdl_seq*)o->v.DictComp.generators, in ast2obj_expr()
|
D | compile.c | 4948 e->v.DictComp.generators, in compiler_dictcomp() 4949 e->v.DictComp.key, e->v.DictComp.value); in compiler_dictcomp()
|
/third_party/python/Parser/ |
D | Python.asdl | 67 | DictComp(expr key, expr value, comprehension* generators)
|
/third_party/python/Lib/test/ |
D | test_ast.py | 1382 c = ast.DictComp(ast.Name("x", ast.Store()), 1385 c = ast.DictComp(ast.Name("x", ast.Load()), 1391 return ast.DictComp(k, v, comps)
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 398 } DictComp; member
|
/third_party/python/Doc/library/ |
D | ast.rst | 620 DictComp(key, value, generators) 642 body=DictComp(
|