Searched refs:validate_expr (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Python/ |
D | ast.c | 20 static int validate_expr(expr_ty, expr_context_ty); 32 if (!validate_expr(comp->target, Store) || in validate_comprehension() 33 !validate_expr(comp->iter, Load) || in validate_comprehension() 45 return (!slice->v.Slice.lower || validate_expr(slice->v.Slice.lower, Load)) && in validate_slice() 46 (!slice->v.Slice.upper || validate_expr(slice->v.Slice.upper, Load)) && in validate_slice() 47 (!slice->v.Slice.step || validate_expr(slice->v.Slice.step, Load)); in validate_slice() 58 return validate_expr(slice->v.Index.value, Load); in validate_slice() 70 if (!validate_expr(((keyword_ty)asdl_seq_GET(keywords, i))->value, Load)) in validate_keywords() 81 if (arg->annotation && !validate_expr(arg->annotation, Load)) in validate_args() 114 && !validate_expr(args->vararg->annotation, Load)) { in validate_arguments() [all …]
|
/external/python/cpython2/Modules/ |
D | parsermodule.c | 2050 && validate_expr(CHILD(tree, 1))); in validate_exec_stmt() 2304 && validate_expr(CHILD(tree, 0))); in validate_comparison() 2308 && validate_expr(CHILD(tree, pos + 1))); in validate_comparison() 2366 validate_expr(node *tree) in validate_expr() function 2708 && validate_expr(CHILD(tree, 2))); in validate_with_item() 3040 validate_expr, "exprlist")); in validate_exprlist() 3300 res = validate_expr(tree); in validate_node()
|