Home
last modified time | relevance | path

Searched refs:ListComp (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/lib2to3/fixes/
Dfix_filter.py20 from ..fixer_util import Name, ArgList, ListComp, in_special_context, parenthesize
73 new = ListComp(results.get("fp").clone(),
79 new = ListComp(Name("_f"),
Dfix_map.py25 from ..fixer_util import Name, ArgList, Call, ListComp, in_special_context
79 new = ListComp(results["xp"].clone(),
/third_party/python/Parser/
DPython.asdl65 | ListComp(expr elt, comprehension* generators)
/third_party/python/Python/
Dast_unparse.c431 APPEND_EXPR(e->v.ListComp.elt, PR_TEST); in append_ast_listcomp()
432 APPEND(comprehensions, e->v.ListComp.generators); in append_ast_listcomp()
Dast_opt.c527 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()
Dsymtable.c2083 e->v.ListComp.generators, in symtable_visit_listcomp()
2084 e->v.ListComp.elt, NULL); in symtable_visit_listcomp()
Dast.c278 COMP(ListComp) in validate_expr()
DPython-ast.c2768 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()
Dcompile.c4917 e->v.ListComp.generators, in compiler_listcomp()
4918 e->v.ListComp.elt, NULL); in compiler_listcomp()
/third_party/python/Lib/lib2to3/
Dfixer_util.py87 def ListComp(xp, fp, it, test=None): function
/third_party/python/Include/internal/
Dpycore_ast.h387 } ListComp; member
/third_party/python/Doc/library/
Dast.rst617 .. class:: ListComp(elt, generators)
632 body=ListComp(
681 body=ListComp(
729 body=ListComp(
/third_party/python/Lib/test/
Dtest_ast.py1371 self._simple_comp(ast.ListComp)