Home
last modified time | relevance | path

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

/external/starlark-go/syntax/
Dgrammar.txt62 | DictExpr | DictComp
78 DictComp = '{' Entry {CompClause} '}' .
/external/python/cpython3/Python/
Dast_unparse.c444 APPEND_EXPR(e->v.DictComp.key, PR_TEST); in append_ast_dictcomp()
446 APPEND_EXPR(e->v.DictComp.value, PR_TEST); in append_ast_dictcomp()
447 APPEND(comprehensions, e->v.DictComp.generators); in append_ast_dictcomp()
Dast_opt.c508 CALL(astfold_expr, expr_ty, node_->v.DictComp.key); in astfold_expr()
509 CALL(astfold_expr, expr_ty, node_->v.DictComp.value); in astfold_expr()
510 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.DictComp.generators); in astfold_expr()
Dsymtable.c1933 e->v.DictComp.generators, in symtable_visit_dictcomp()
1934 e->v.DictComp.key, in symtable_visit_dictcomp()
1935 e->v.DictComp.value); in symtable_visit_dictcomp()
Dast.c263 return validate_comprehension(exp->v.DictComp.generators) && in validate_expr()
264 validate_expr(exp->v.DictComp.key, Load) && in validate_expr()
265 validate_expr(exp->v.DictComp.value, Load); in validate_expr()
2209 return DictComp(key, value, comps, LINENO(n), n->n_col_offset, in ast_for_dictcomp()
DPython-ast.c2800 DictComp(expr_ty key, expr_ty value, asdl_seq * generators, int lineno, int in DictComp() function
2818 p->v.DictComp.key = key; in DictComp()
2819 p->v.DictComp.value = value; in DictComp()
2820 p->v.DictComp.generators = generators; in DictComp()
4110 value = ast2obj_expr(state, o->v.DictComp.key); in ast2obj_expr()
4115 value = ast2obj_expr(state, o->v.DictComp.value); in ast2obj_expr()
4120 value = ast2obj_list(state, o->v.DictComp.generators, in ast2obj_expr()
7679 *out = DictComp(key, value, generators, lineno, col_offset, end_lineno, in obj2ast_expr()
Dcompile.c4757 e->v.DictComp.generators, in compiler_dictcomp()
4758 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.asdl65 | 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/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.h292 } DictComp; member
597 #define DictComp(a0, a1, a2, a3, a4, a5, a6, a7) _Py_DictComp(a0, a1, a2, a3, a4, a5, a6, a7) macro
/external/python/cpython3/Lib/test/
Dtest_ast.py1318 c = ast.DictComp(ast.Name("x", ast.Store()),
1321 c = ast.DictComp(ast.Name("x", ast.Load()),
1327 return ast.DictComp(k, v, comps)
/external/python/cpython2/Lib/compiler/
Dtransformer.py1165 return DictComp(expr1, expr2, fors, lineno=lineno)
Dast.py914 class DictComp(Node): class
/external/python/cpython3/Doc/library/
Dast.rst614 DictComp(key, value, generators)
636 body=DictComp(
/external/starlark-go/doc/
Dspec.md1680 | DictExpr | DictComp
2233 DictComp = '{' Entry {CompClause} '}' .