Searched refs:validate_body (Results 1 – 1 of 1) sorted by relevance
/external/python/cpython3/Python/ |
D | ast.c | 370 validate_body(asdl_seq *body, const char *owner) in validate_body() function 381 return validate_body(stmt->v.FunctionDef.body, "FunctionDef") && in validate_stmt() 387 return validate_body(stmt->v.ClassDef.body, "ClassDef") && in validate_stmt() 415 validate_body(stmt->v.For.body, "For") && in validate_stmt() 420 validate_body(stmt->v.AsyncFor.body, "AsyncFor") && in validate_stmt() 424 validate_body(stmt->v.While.body, "While") && in validate_stmt() 428 validate_body(stmt->v.If.body, "If") && in validate_stmt() 439 return validate_body(stmt->v.With.body, "With"); in validate_stmt() 449 return validate_body(stmt->v.AsyncWith.body, "AsyncWith"); in validate_stmt() 461 if (!validate_body(stmt->v.Try.body, "Try")) in validate_stmt() [all …]
|