Searched refs:ListComp (Results 1 – 13 of 13) sorted by relevance
/third_party/python/Lib/lib2to3/fixes/ |
D | fix_filter.py | 20 from ..fixer_util import Name, ArgList, ListComp, in_special_context, parenthesize 73 new = ListComp(results.get("fp").clone(), 79 new = ListComp(Name("_f"),
|
D | fix_map.py | 25 from ..fixer_util import Name, ArgList, Call, ListComp, in_special_context 79 new = ListComp(results["xp"].clone(),
|
/third_party/python/Parser/ |
D | Python.asdl | 65 | ListComp(expr elt, comprehension* generators)
|
/third_party/python/Python/ |
D | ast_unparse.c | 431 APPEND_EXPR(e->v.ListComp.elt, PR_TEST); in append_ast_listcomp() 432 APPEND(comprehensions, e->v.ListComp.generators); in append_ast_listcomp()
|
D | ast_opt.c | 527 CALL(astfold_expr, expr_ty, node_->v.ListComp.elt); in astfold_expr() 528 CALL_SEQ(astfold_comprehension, comprehension, node_->v.ListComp.generators); in astfold_expr()
|
D | symtable.c | 2083 e->v.ListComp.generators, in symtable_visit_listcomp() 2084 e->v.ListComp.elt, NULL); in symtable_visit_listcomp()
|
D | ast.c | 278 COMP(ListComp) in validate_expr()
|
D | Python-ast.c | 2768 p->v.ListComp.elt = elt; in _PyAST_ListComp() 2769 p->v.ListComp.generators = generators; in _PyAST_ListComp() 4311 value = ast2obj_expr(state, o->v.ListComp.elt); in ast2obj_expr() 4316 value = ast2obj_list(state, (asdl_seq*)o->v.ListComp.generators, in ast2obj_expr()
|
D | compile.c | 4917 e->v.ListComp.generators, in compiler_listcomp() 4918 e->v.ListComp.elt, NULL); in compiler_listcomp()
|
/third_party/python/Lib/lib2to3/ |
D | fixer_util.py | 87 def ListComp(xp, fp, it, test=None): function
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 387 } ListComp; member
|
/third_party/python/Doc/library/ |
D | ast.rst | 617 .. class:: ListComp(elt, generators) 632 body=ListComp( 681 body=ListComp( 729 body=ListComp(
|
/third_party/python/Lib/test/ |
D | test_ast.py | 1371 self._simple_comp(ast.ListComp)
|