Home
last modified time | relevance | path

Searched refs:DictComp (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Python/
Dast_unparse.c449 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()
Dast_opt.c535 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()
Dast.c283 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()
Dsymtable.c2099 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()
DPython-ast.c2821 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()
Dcompile.c4948 e->v.DictComp.generators, in compiler_dictcomp()
4949 e->v.DictComp.key, e->v.DictComp.value); in compiler_dictcomp()
/third_party/python/Parser/
DPython.asdl67 | DictComp(expr key, expr value, comprehension* generators)
/third_party/python/Lib/test/
Dtest_ast.py1382 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/
Dpycore_ast.h398 } DictComp; member
/third_party/python/Doc/library/
Dast.rst620 DictComp(key, value, generators)
642 body=DictComp(