Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dast_unparse.c416 APPEND_EXPR(e->v.DictComp.key, PR_TEST); in append_ast_dictcomp()
418 APPEND_EXPR(e->v.DictComp.value, PR_TEST); in append_ast_dictcomp()
419 APPEND(comprehensions, e->v.DictComp.generators); in append_ast_dictcomp()
Dast_opt.c557 CALL(astfold_expr, expr_ty, node_->v.DictComp.key); in astfold_expr()
558 CALL(astfold_expr, expr_ty, node_->v.DictComp.value); in astfold_expr()
559 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.DictComp.generators); in astfold_expr()
Dsymtable.c1796 e->v.DictComp.generators, in symtable_visit_dictcomp()
1797 e->v.DictComp.key, in symtable_visit_dictcomp()
1798 e->v.DictComp.value); in symtable_visit_dictcomp()
DPython-ast.c1949 DictComp(expr_ty key, expr_ty value, asdl_seq * generators, int lineno, int in DictComp() function
1967 p->v.DictComp.key = key; in DictComp()
1968 p->v.DictComp.value = value; in DictComp()
1969 p->v.DictComp.generators = generators; in DictComp()
3190 value = ast2obj_expr(o->v.DictComp.key); in ast2obj_expr()
3195 value = ast2obj_expr(o->v.DictComp.value); in ast2obj_expr()
3200 value = ast2obj_list(o->v.DictComp.generators, ast2obj_comprehension); in ast2obj_expr()
6306 *out = DictComp(key, value, generators, lineno, col_offset, arena); in obj2ast_expr()
Dast.c264 return validate_comprehension(exp->v.DictComp.generators) && in validate_expr()
265 validate_expr(exp->v.DictComp.key, Load) && in validate_expr()
266 validate_expr(exp->v.DictComp.value, Load); in validate_expr()
1999 return DictComp(key, value, comps, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_dictcomp()
Dcompile.c4181 e->v.DictComp.generators, in compiler_dictcomp()
4182 e->v.DictComp.key, e->v.DictComp.value); in compiler_dictcomp()
/external/python/cpython2/Parser/
DPython.asdl62 | DictComp(expr key, expr value, comprehension* generators)
/external/python/cpython3/Parser/
DPython.asdl68 | DictComp(expr key, expr value, comprehension* generators)
/external/python/cpython2/Include/
DPython-ast.h246 } DictComp; member
475 #define DictComp(a0, a1, a2, a3, a4, a5) _Py_DictComp(a0, a1, a2, a3, a4, a5) macro
/external/python/cpython3/Lib/test/
Dtest_ast.py907 c = ast.DictComp(ast.Name("x", ast.Store()),
910 c = ast.DictComp(ast.Name("x", ast.Load()),
916 return ast.DictComp(k, v, comps)
/external/python/cpython2/Python/
Dsymtable.c1607 e->v.DictComp.generators, in symtable_visit_dictcomp()
1608 e->v.DictComp.key, in symtable_visit_dictcomp()
1609 e->v.DictComp.value); in symtable_visit_dictcomp()
DPython-ast.c1688 DictComp(expr_ty key, expr_ty value, asdl_seq * generators, int lineno, int in DictComp() function
1706 p->v.DictComp.key = key; in DictComp()
1707 p->v.DictComp.value = value; in DictComp()
1708 p->v.DictComp.generators = generators; in DictComp()
2712 value = ast2obj_expr(o->v.DictComp.key); in ast2obj_expr()
2717 value = ast2obj_expr(o->v.DictComp.value); in ast2obj_expr()
2722 value = ast2obj_list(o->v.DictComp.generators, in ast2obj_expr()
5332 *out = DictComp(key, value, generators, lineno, col_offset, in obj2ast_expr()
Dcompile.c2840 e->v.DictComp.generators, in compiler_dictcomp()
2841 e->v.DictComp.key, e->v.DictComp.value); in compiler_dictcomp()
Dast.c1342 return DictComp(key, value, comps, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_dictcomp()
/external/python/cpython3/Include/
DPython-ast.h269 } DictComp; member
550 #define DictComp(a0, a1, a2, a3, a4, a5) _Py_DictComp(a0, a1, a2, a3, a4, a5) macro
/external/python/cpython2/Lib/compiler/
Dtransformer.py1165 return DictComp(expr1, expr2, fors, lineno=lineno)
Dast.py914 class DictComp(Node): class