Home
last modified time | relevance | path

Searched refs:ListComp (Results 1 – 25 of 31) 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, 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(),
/external/starlark-go/syntax/
Dgrammar.txt61 | ListExpr | ListComp
75 ListComp = '[' Test {CompClause} ']'.
/external/tensorflow/tensorflow/python/autograph/converters/
Dlist_comprehensions.py42 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.asdl65 | ListComp(expr elt, comprehension* generators)
/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/python/cpython3/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()
/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/cpython3/Include/internal/
Dpycore_ast.h387 } ListComp; member
/external/python/cpython2/PC/os2emx/
Dpython27.def716 "ListComp"
/external/python/cpython3/Doc/library/
Dast.rst617 .. class:: ListComp(elt, generators)
632 body=ListComp(
681 body=ListComp(
729 body=ListComp(
/external/python/cpython2/Doc/library/
Dcompiler.rst396 | :class:`ListComp` | :attr:`expr` | |
/external/python/cpython2/Lib/compiler/
Dtransformer.py1161 return ListComp(expr1, fors, lineno=lineno)
Dast.py834 class ListComp(Node): class

12