sync the repo
[hiphop-php.git] / hphp / hack / test / decl / nested_namespaces.php.exp
blob198c113488e5abd8d85f41071f5638fe176d8517
1 [("\\MyNamespace\\MyString",
2 (Shallow_decl_defs.Typedef
3 { Typing_defs.td_module = None; td_pos = [5:8-16]; td_vis = Transparent;
4 td_tparams = []; td_as_constraint = None; td_super_constraint = None;
5 td_type = (Rhint ([5:19-25]), (Tprim Tstring)); td_is_ctx = false;
6 td_attributes = []; td_internal = false; td_docs_url = None;
7 td_package_override = None }));
8 ("\\MyNamespace\\MyInt",
9 (Shallow_decl_defs.Typedef
10 { Typing_defs.td_module = None; td_pos = [6:8-13];
11 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
12 td_super_constraint = None;
13 td_type = (Rhint ([6:16-19]), (Tprim Tint)); td_is_ctx = false;
14 td_attributes = []; td_internal = false; td_docs_url = None;
15 td_package_override = None }));
16 ("\\MyNamespace\\MyFloat",
17 (Shallow_decl_defs.Typedef
18 { Typing_defs.td_module = None; td_pos = [7:8-15];
19 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
20 td_super_constraint = None;
21 td_type = (Rhint ([7:18-23]), (Tprim Tfloat)); td_is_ctx = false;
22 td_attributes = []; td_internal = false; td_docs_url = None;
23 td_package_override = None }));
24 ("\\MyNamespace\\MyNum",
25 (Shallow_decl_defs.Typedef
26 { Typing_defs.td_module = None; td_pos = [8:8-13];
27 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
28 td_super_constraint = None;
29 td_type = (Rhint ([8:16-19]), (Tprim Tnum)); td_is_ctx = false;
30 td_attributes = []; td_internal = false; td_docs_url = None;
31 td_package_override = None }));
32 ("\\MyNamespace\\MyBool",
33 (Shallow_decl_defs.Typedef
34 { Typing_defs.td_module = None; td_pos = [9:8-14];
35 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
36 td_super_constraint = None;
37 td_type = (Rhint ([9:17-21]), (Tprim Tbool)); td_is_ctx = false;
38 td_attributes = []; td_internal = false; td_docs_url = None;
39 td_package_override = None }));
40 ("\\MyNamespace\\MyNamespacedType",
41 (Shallow_decl_defs.Typedef
42 { Typing_defs.td_module = None; td_pos = [11:8-24];
43 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
44 td_super_constraint = None;
45 td_type =
46 (Rhint ([11:27-48]),
47 (Tapply (([11:27-48], "\\MyNamespace\\MyString"), [])));
48 td_is_ctx = false; td_attributes = []; td_internal = false;
49 td_docs_url = None; td_package_override = None }));
50 ("\\MyNamespace\\InnerNamespace\\MyInnerType",
51 (Shallow_decl_defs.Typedef
52 { Typing_defs.td_module = None; td_pos = [14:10-21];
53 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
54 td_super_constraint = None;
55 td_type = (Rhint ([14:24-30]), (Tprim Tstring)); td_is_ctx = false;
56 td_attributes = []; td_internal = false; td_docs_url = None;
57 td_package_override = None }));
58 ("\\MyNamespace\\InnerNamespace\\MyDoubleNamespacedType",
59 (Shallow_decl_defs.Typedef
60 { Typing_defs.td_module = None; td_pos = [15:10-32];
61 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
62 td_super_constraint = None;
63 td_type =
64 (Rhint ([15:35-64]),
65 (Tapply (([15:35-64], "\\MyNamespace\\MyNamespacedType"), [])));
66 td_is_ctx = false; td_attributes = []; td_internal = false;
67 td_docs_url = None; td_package_override = None }));
68 ("\\MyNamespace\\Very\\Inner\\Namespace\\MyVeryInnerNamespaceType",
69 (Shallow_decl_defs.Typedef
70 { Typing_defs.td_module = None; td_pos = [19:10-34];
71 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
72 td_super_constraint = None;
73 td_type = (Rhint ([19:37-43]), (Tprim Tstring)); td_is_ctx = false;
74 td_attributes = []; td_internal = false; td_docs_url = None;
75 td_package_override = None }));
76 ("\\MyNamespace\\Very\\Inner\\Namespace\\MyClass",
77 (Shallow_decl_defs.Class
78 { Shallow_decl_defs.sc_mode = Mstrict; sc_final = false;
79 sc_abstract = false; sc_is_xhp = false; sc_internal = false;
80 sc_has_xhp_keyword = false; sc_kind = (Cclass Concrete);
81 sc_module = None;
82 sc_name =
83 ([20:11-18], "\\MyNamespace\\Very\\Inner\\Namespace\\MyClass");
84 sc_tparams = []; sc_extends = []; sc_uses = [];
85 sc_xhp_attr_uses = []; sc_xhp_enum_values = {};
86 sc_xhp_marked_empty = false; sc_req_extends = [];
87 sc_req_implements = []; sc_req_class = []; sc_implements = [];
88 sc_support_dynamic_type = false; sc_consts = []; sc_typeconsts = [];
89 sc_props = []; sc_sprops = []; sc_constructor = None;
90 sc_static_methods = []; sc_methods = []; sc_user_attributes = [];
91 sc_enum_type = None; sc_docs_url = None; sc_package_override = None }));
92 ("\\MyNamespace\\MyVeryInnerNamespaceType",
93 (Shallow_decl_defs.Typedef
94 { Typing_defs.td_module = None; td_pos = [23:8-32];
95 td_vis = Transparent; td_tparams = []; td_as_constraint = None;
96 td_super_constraint = None;
97 td_type =
98 (Rhint ([23:35-80]),
99 (Tapply (
100 ([23:35-80],
101 "\\MyNamespace\\Very\\Inner\\Namespace\\MyVeryInnerNamespaceType"),
102 [])));
103 td_is_ctx = false; td_attributes = []; td_internal = false;
104 td_docs_url = None; td_package_override = None }));
105 ("\\MyNamespace\\hello",
106 (Shallow_decl_defs.Const
107 { Typing_defs.cd_pos = [24:3-50];
108 cd_type =
109 (Rhint ([24:9-33]),
110 (Tapply (([24:9-33], "\\MyNamespace\\MyVeryInnerNamespaceType"),
111 [])));
112 cd_value = None }))