Updating submodules
[hiphop-php.git] / hphp / hack / test / nast / taccess_context.php.exp
blob4b7832ad26e5705f648b94eb60252205fa79eb79
1 [(Class
2 { c_span = [3:1-6:2]; c_annotation = (); c_mode = Mstrict; c_final = false;
3 c_is_xhp = false; c_has_xhp_keyword = false; c_kind = (Cclass Concrete);
4 c_name = ([3:7-19], "\\WithConstant"); c_tparams = []; c_extends = [];
5 c_uses = []; c_xhp_attr_uses = []; c_xhp_category = None; c_reqs = [];
6 c_implements = []; c_where_constraints = []; c_consts = [];
7 c_typeconsts =
8 [{ c_tconst_user_attributes = []; c_tconst_name = ([4:13-14], "C");
9 c_tconst_kind = (TCConcrete { c_tc_type = ([4:17-21], (Hintersection [([4:18-20], (Happly (([4:18-20], "\\HH\\Contexts\\io"), [])))])) });
10 c_tconst_span = [4:3-22]; c_tconst_doc_comment = None; c_tconst_is_ctx = true }
12 c_vars = [];
13 c_methods =
14 [{ m_span = [5:3-50]; m_annotation = (); m_final = false; m_abstract = false;
15 m_static = false; m_readonly_this = false; m_visibility = Public;
16 m_name = ([5:19-30], "uses_self_C"); m_tparams = []; m_where_constraints = [];
17 m_params = []; m_ctxs = (Some ([5:32-41], [([5:33-40], (Haccess (([5:33-37], (Happly (([3:7-19], "\\WithConstant"), []))), [([5:39-40], "C")])))]));
18 m_unsafe_ctxs = (Some ([5:32-41], [([5:33-40], (Haccess (([5:33-37], (Happly (([3:7-19], "\\WithConstant"), []))), [([5:39-40], "C")])))]));
19 m_body = { fb_ast = [([Pos.none], Noop)] }; m_fun_kind = FSync;
20 m_user_attributes = []; m_readonly_ret = None; m_ret = ((), (Some ([5:43-47], (Hprim Tvoid))));
21 m_external = false; m_doc_comment = None }
23 c_xhp_children = []; c_xhp_attrs = [];
24 c_namespace =
25 { Namespace_env.ns_ns_uses = <opaque>; ns_class_uses = <opaque>;
26 ns_fun_uses = <opaque>; ns_const_uses = <opaque>; ns_name = None;
27 ns_mode = Namespace_env.ForTypecheck; ns_disable_xhp_element_mangling = false };
28 c_user_attributes = [{ ua_name = ([3:7-19], "__SupportDynamicType"); ua_params = [] }];
29 c_file_attributes = []; c_docs_url = None; c_enum = None; c_doc_comment = None;
30 c_emit_id = None; c_internal = false; c_module = None });
31 (Class
32 { c_span = [8:1-14:2]; c_annotation = (); c_mode = Mstrict; c_final = false;
33 c_is_xhp = false; c_has_xhp_keyword = false; c_kind = (Cclass Abstract);
34 c_name = ([8:16-40], "\\AnotherClassWithConstant"); c_tparams = [];
35 c_extends = []; c_uses = []; c_xhp_attr_uses = []; c_xhp_category = None;
36 c_reqs = []; c_implements = []; c_where_constraints = []; c_consts = [];
37 c_typeconsts =
38 [{ c_tconst_user_attributes = []; c_tconst_name = ([9:22-23], "C");
39 c_tconst_kind = (TCAbstract { c_atc_as_constraint = None; c_atc_super_constraint = None; c_atc_default = None });
40 c_tconst_span = [9:3-24]; c_tconst_doc_comment = None; c_tconst_is_ctx = true }
42 c_vars = [];
43 c_methods =
44 [{ m_span = [11:3-57]; m_annotation = (); m_final = false; m_abstract = true;
45 m_static = false; m_readonly_this = false; m_visibility = Public;
46 m_name = ([11:28-39], "uses_this_C"); m_tparams = []; m_where_constraints = [];
47 m_params = []; m_ctxs = (Some ([11:41-50], [([11:42-49], (Haccess (([11:42-46], Hthis), [([11:48-49], "C")])))]));
48 m_unsafe_ctxs = (Some ([11:41-50], [([11:42-49], (Haccess (([11:42-46], Hthis), [([11:48-49], "C")])))]));
49 m_body = { fb_ast = [] }; m_fun_kind = FSync; m_user_attributes = [];
50 m_readonly_ret = None; m_ret = ((), (Some ([11:52-56], (Hprim Tvoid))));
51 m_external = false; m_doc_comment = None };
52 { m_span = [13:3-68]; m_annotation = (); m_final = false; m_abstract = true;
53 m_static = false; m_readonly_this = false; m_visibility = Public;
54 m_name = ([13:28-42], "uses_another_C"); m_tparams = []; m_where_constraints = [];
55 m_params = []; m_ctxs = (Some ([13:44-61], [([13:45-60], (Haccess (([13:45-57], (Happly (([13:45-57], "\\WithConstant"), []))), [([13:59-60], "C")])))]));
56 m_unsafe_ctxs = (Some ([13:44-61], [([13:45-60], (Haccess (([13:45-57], (Happly (([13:45-57], "\\WithConstant"), []))), [([13:59-60], "C")])))]));
57 m_body = { fb_ast = [] }; m_fun_kind = FSync; m_user_attributes = [];
58 m_readonly_ret = None; m_ret = ((), (Some ([13:63-67], (Hprim Tvoid))));
59 m_external = false; m_doc_comment = None }
61 c_xhp_children = []; c_xhp_attrs = [];
62 c_namespace =
63 { Namespace_env.ns_ns_uses = <opaque>; ns_class_uses = <opaque>;
64 ns_fun_uses = <opaque>; ns_const_uses = <opaque>; ns_name = None;
65 ns_mode = Namespace_env.ForTypecheck; ns_disable_xhp_element_mangling = false };
66 c_user_attributes = [{ ua_name = ([8:16-40], "__SupportDynamicType"); ua_params = [] }];
67 c_file_attributes = []; c_docs_url = None; c_enum = None; c_doc_comment = None;
68 c_emit_id = None; c_internal = false; c_module = None })