Home
last modified time | relevance | path

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

12

/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_filter.py19 from ..fixer_util import Name, Call, ListComp, in_special_context
58 new = ListComp(results.get("fp").clone(),
64 new = ListComp(Name(u"_f"),
Dfix_map.py25 from ..fixer_util import Name, Call, ListComp, in_special_context
69 new = ListComp(results["xp"].clone(),
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_filter.py20 from ..fixer_util import Name, ArgList, ListComp, in_special_context
68 new = ListComp(results.get("fp").clone(),
75 new = ListComp(Name("_f"),
Dfix_map.py25 from ..fixer_util import Name, ArgList, Call, ListComp, in_special_context
79 new = ListComp(results["xp"].clone(),
/external/tensorflow/tensorflow/python/autograph/converters/
Dlist_comprehensions.py46 if not isinstance(node.value, gast.ListComp):
/external/python/cpython2/Tools/compiler/
Dast.txt44 ListComp: expr, quals!
/external/python/cpython2/Parser/
DPython.asdl60 | ListComp(expr elt, comprehension* generators)
/external/python/cpython3/Parser/
DPython.asdl66 | ListComp(expr elt, comprehension* generators)
/external/python/cpython3/Python/
Dast_unparse.c398 APPEND_EXPR(e->v.ListComp.elt, PR_TEST); in append_ast_listcomp()
399 APPEND(comprehensions, e->v.ListComp.generators); in append_ast_listcomp()
Dast_opt.c549 CALL(astfold_expr, expr_ty, node_->v.ListComp.elt); in astfold_expr()
550 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.ListComp.generators); in astfold_expr()
Dsymtable.c1780 e->v.ListComp.generators, in symtable_visit_listcomp()
1781 e->v.ListComp.elt, NULL); in symtable_visit_listcomp()
DPython-ast.c1907 ListComp(expr_ty elt, asdl_seq * generators, int lineno, int col_offset, in ListComp() function
1920 p->v.ListComp.elt = elt; in ListComp()
1921 p->v.ListComp.generators = generators; in ListComp()
3162 value = ast2obj_expr(o->v.ListComp.elt); in ast2obj_expr()
3167 value = ast2obj_list(o->v.ListComp.generators, ast2obj_comprehension); in ast2obj_expr()
6182 *out = ListComp(elt, generators, lineno, col_offset, arena); in obj2ast_expr()
/external/python/cpython2/Include/
DPython-ast.h235 } ListComp; member
469 #define ListComp(a0, a1, a2, a3, a4) _Py_ListComp(a0, a1, a2, a3, a4) macro
/external/tensorflow/tensorflow/python/autograph/
DLIMITATIONS.md37 List Comprehensions | Yes | | We desugar `ListComp` into the ap…
/external/python/cpython3/Include/
DPython-ast.h258 } ListComp; member
544 #define ListComp(a0, a1, a2, a3, a4) _Py_ListComp(a0, a1, a2, a3, a4) macro
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py87 def ListComp(xp, fp, it, test=None): function
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py89 def ListComp(xp, fp, it, test=None): function
/external/python/cpython2/Python/
Dsymtable.c1555 asdl_seq *generators = e->v.ListComp.generators; in symtable_visit_listcomp()
1561 VISIT(st, expr, e->v.ListComp.elt); in symtable_visit_listcomp()
DPython-ast.c1646 ListComp(expr_ty elt, asdl_seq * generators, int lineno, int col_offset, in ListComp() function
1659 p->v.ListComp.elt = elt; in ListComp()
1660 p->v.ListComp.generators = generators; in ListComp()
2682 value = ast2obj_expr(o->v.ListComp.elt); in ast2obj_expr()
2687 value = ast2obj_list(o->v.ListComp.generators, in ast2obj_expr()
5213 *out = ListComp(elt, generators, lineno, col_offset, arena); in obj2ast_expr()
Dcompile.c2635 return compiler_listcomp_generator(c, e->v.ListComp.generators, 0, in compiler_listcomp()
2636 e->v.ListComp.elt); in compiler_listcomp()
/external/python/cpython2/PC/os2emx/
Dpython27.def716 "ListComp"
/external/python/cpython2/Doc/library/
Dcompiler.rst396 | :class:`ListComp` | :attr:`expr` | |
/external/python/cpython3/Lib/test/
Dtest_ast.py896 self._simple_comp(ast.ListComp)
/external/python/cpython2/Lib/compiler/
Dtransformer.py1161 return ListComp(expr1, fors, lineno=lineno)
Dast.py834 class ListComp(Node): class

12