Backout D24132229
[hiphop-php.git] / hphp / hack / test / tast / control_flow / do_throw_while.php.exp
blob57eb2caf7e729f3def81b9b1fb3176639c754df1
1 [(Fun
2 { f_span = [3:1-7:2]; f_annotation = (); f_mode = Mstrict;
3 f_ret = ((void), (Some ([3:44-48], (Hprim Tvoid))));
4 f_name = ([3:10-30], "\\throwFromDoWhileLoop"); f_tparams = [];
5 f_where_constraints = []; f_variadic = FVnonVariadic;
6 f_params =
7 [{ param_annotation = ([3:36-41], bool);
8 param_type_hint = ((bool), (Some ([3:31-35], (Hprim Tbool))));
9 param_is_variadic = false; param_pos = [3:36-41];
10 param_name = "$cond"; param_expr = None; param_callconv = None;
11 param_user_attributes = []; param_visibility = None }
13 f_cap = ((nothing), None); f_unsafe_cap = ((mixed), None);
14 f_body =
15 { fb_ast =
16 [([4:3-6:19],
17 (Do (
18 [([5:5-40],
19 (Throw
20 (([5:11-39], Exception),
21 (New (
22 (([5:15-24], Exception),
23 (CI ([5:15-24], "\\Exception"))),
24 [], [(([5:25-38], string), (String "DoWhileBody"))],
25 None,
26 ([5:15-24], (function(string $message=_, int $code=_, ?Exception $previous=_): void))
27 )))))
29 (([6:12-17], nothing), (Lvar ([6:12-17], $cond))))))
31 fb_annotation = () };
32 f_fun_kind = FSync; f_user_attributes = []; f_file_attributes = [];
33 f_external = false;
34 f_namespace =
35 { Namespace_env.ns_ns_uses = <opaque>; ns_class_uses = <opaque>;
36 ns_record_def_uses = <opaque>; ns_fun_uses = <opaque>;
37 ns_const_uses = <opaque>; ns_name = None; ns_auto_ns_map = [];
38 ns_is_codegen = false; ns_disable_xhp_element_mangling = false };
39 f_doc_comment = None; f_static = false })