Home
last modified time | relevance | path

Searched refs:ListComp (Results 1 – 25 of 30) 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.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.asdl63 | 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.c426 APPEND_EXPR(e->v.ListComp.elt, PR_TEST); in append_ast_listcomp()
427 APPEND(comprehensions, e->v.ListComp.generators); in append_ast_listcomp()
Dast_opt.c500 CALL(astfold_expr, expr_ty, node_->v.ListComp.elt); in astfold_expr()
501 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.ListComp.generators); in astfold_expr()
Dsymtable.c1917 e->v.ListComp.generators, in symtable_visit_listcomp()
1918 e->v.ListComp.elt, NULL); in symtable_visit_listcomp()
DPython-ast.c2754 ListComp(expr_ty elt, asdl_seq * generators, int lineno, int col_offset, int in ListComp() function
2767 p->v.ListComp.elt = elt; in ListComp()
2768 p->v.ListComp.generators = generators; in ListComp()
4078 value = ast2obj_expr(state, o->v.ListComp.elt); in ast2obj_expr()
4083 value = ast2obj_list(state, o->v.ListComp.generators, in ast2obj_expr()
7545 *out = ListComp(elt, generators, lineno, col_offset, end_lineno, in obj2ast_expr()
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py89 def ListComp(xp, fp, it, test=None): function
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py87 def ListComp(xp, fp, it, test=None): function
/external/python/cpython3/Include/
DPython-ast.h281 } ListComp; member
589 #define ListComp(a0, a1, a2, a3, a4, a5, a6) _Py_ListComp(a0, a1, a2, a3, a4, a5, a6) macro
/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/Doc/library/
Dast.rst611 .. class:: ListComp(elt, generators)
626 body=ListComp(
675 body=ListComp(
723 body=ListComp(
/external/python/cpython2/PC/os2emx/
Dpython27.def716 "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