2 (Shallow_decl_defs.Class
3 { Shallow_decl_defs.sc_mode
= Mstrict
; sc_final
= false
;
4 sc_abstract
= false
; sc_is_xhp
= false
; sc_internal
= false
;
5 sc_has_xhp_keyword
= false
; sc_kind
= (Cclass Concrete
);
6 sc_module
= None; sc_name
= ([3:7-8], "\\E");
8 [{ Typing_defs_core.tp_variance
= Invariant
;
9 tp_name
= ([3:9-11], "Ta"); tp_tparams = []; tp_constraints = [];
10 tp_reified
= Erased
; tp_user_attributes
= [] };
11 { Typing_defs_core.tp_variance
= Invariant
;
12 tp_name
= ([3:13-15], "Tb"); tp_tparams = []; tp_constraints = [];
13 tp_reified
= Erased
; tp_user_attributes
= [] }
15 sc_where_constraints
= []; sc_extends
= []; sc_uses
= [];
16 sc_xhp_attr_uses
= []; sc_xhp_enum_values
= {};
17 sc_xhp_marked_empty
= false
; sc_req_extends
= [];
18 sc_req_implements
= []; sc_req_class
= []; sc_implements
= [];
19 sc_support_dynamic_type
= false
; sc_consts
= []; sc_typeconsts
= [];
20 sc_props
= []; sc_sprops
= []; sc_constructor
= None;
21 sc_static_methods
= []; sc_methods
= []; sc_user_attributes
= [];
22 sc_enum_type
= None; sc_docs_url
= None; sc_package_override
= None }));
24 (Shallow_decl_defs.Class
25 { Shallow_decl_defs.sc_mode
= Mstrict
; sc_final
= false
;
26 sc_abstract
= false
; sc_is_xhp
= false
; sc_internal
= false
;
27 sc_has_xhp_keyword
= false
; sc_kind
= Cinterface
; sc_module
= None;
28 sc_name
= ([5:11-12], "\\I");
30 [{ Typing_defs_core.tp_variance
= Invariant
;
31 tp_name
= ([6:3-5], "Ta"); tp_tparams = [];
33 [(Constraint_as
, (Rhint
([6:9-17]), (Tprim Tarraykey
)))];
34 tp_reified
= Erased
; tp_user_attributes
= [] };
35 { Typing_defs_core.tp_variance
= Invariant
;
36 tp_name
= ([7:3-5], "Tb"); tp_tparams = [];
38 [(Constraint_as
, (Rhint
([7:9-11]), (Tgeneric
("Ta", []))))];
39 tp_reified
= Erased
; tp_user_attributes
= [] };
40 { Typing_defs_core.tp_variance
= Invariant
;
41 tp_name
= ([8:3-5], "Tc"); tp_tparams = [];
43 [(Constraint_as
, (Rhint
([8:9-11]), (Tgeneric
("Td", []))))];
44 tp_reified
= Erased
; tp_user_attributes
= [] };
45 { Typing_defs_core.tp_variance
= Invariant
;
46 tp_name
= ([9:3-5], "Td"); tp_tparams = [];
50 (Tapply
(([9:9-10], "\\E"),
51 [(Rhint
([9:11-13]), (Tgeneric
("Ta", [])));
52 (Rhint
([9:15-17]), (Tgeneric
("Tf", [])))]
55 tp_reified
= Erased
; tp_user_attributes
= [] };
56 { Typing_defs_core.tp_variance
= Invariant
;
57 tp_name
= ([10:3-5], "Tf"); tp_tparams = []; tp_constraints = [];
58 tp_reified
= Erased
; tp_user_attributes
= [] };
59 { Typing_defs_core.tp_variance
= Invariant
;
60 tp_name
= ([11:3-7], "Tarr"); tp_tparams = [];
64 (Tapply
(([11:11-17], "\\HH\\vec"),
65 [(Rhint
([11:18-20]), (Tgeneric
("Ta", [])))]))))
67 tp_reified
= Erased
; tp_user_attributes
= [] };
68 { Typing_defs_core.tp_variance
= Invariant
;
69 tp_name
= ([12:3-8], "Tlike"); tp_tparams = [];
73 (Tlike
(Rhint
([12:13-15]), (Tgeneric
("Ta", []))))))
75 tp_reified
= Erased
; tp_user_attributes
= [] };
76 { Typing_defs_core.tp_variance
= Invariant
;
77 tp_name
= ([13:3-7], "Topt"); tp_tparams = [];
81 (Toption
(Rhint
([13:12-14]), (Tgeneric
("Ta", []))))))
83 tp_reified
= Erased
; tp_user_attributes
= [] };
84 { Typing_defs_core.tp_variance
= Invariant
;
85 tp_name
= ([14:3-7], "Tfun"); tp_tparams = [];
90 { ft_tparams
= []; ft_where_constraints
= [];
92 [{ fp_pos
= [14:21-23]; fp_name
= None;
93 fp_type
= (Rhint
([14:21-23]), (Tgeneric
("Ta", [])));
95 { Typing_defs_flags.FunParam.accept_disposable
= false
;
96 inout
= false
; has_default
= false
;
97 readonly
= false
; ignore_readonly_error
= false
};
101 { capability
= (CapDefaults
[14:11-29]) };
102 ft_ret
= (Rhint
([14:26-28]), (Tgeneric
("Tb", [])));
104 { Typing_defs_flags.Fun.return_disposable
= false
;
105 async
= false
; generator
= false
; fun_kind
= FSync
;
106 instantiated_targs
= false
;
107 is_function_pointer
= false
; returns_readonly
= false
;
108 readonly_this
= false
; support_dynamic_type
= false
;
109 is_memoized
= false
; variadic
= false
};
110 ft_cross_package
= None })))
112 tp_reified
= Erased
; tp_user_attributes
= [] };
113 { Typing_defs_core.tp_variance
= Invariant
;
114 tp_name
= ([15:3-9], "Tshape"); tp_tparams = [];
119 { s_origin
= Typing_defs_core.Missing_origin
;
121 { (Typing_defs_core.TSFlit_str
([15:19-22], "a")) ->
122 { sft_optional
= false
;
123 sft_ty
= (Rhint
([15:26-28]), (Tgeneric
("Ta", [])))
125 s_unknown_value
= (Rhint
([Pos.
none]), (Tunion
[])) })))
127 tp_reified
= Erased
; tp_user_attributes
= [] };
128 { Typing_defs_core.tp_variance
= Invariant
;
129 tp_name
= ([16:3-8], "Tdarr"); tp_tparams = [];
133 (Tapply
(([16:12-18], "\\HH\\dict"),
134 [(Rhint
([16:19-21]), (Tgeneric
("Ta", [])));
135 (Rhint
([16:23-25]), (Tgeneric
("Tb", [])))]
138 tp_reified
= Erased
; tp_user_attributes
= [] };
139 { Typing_defs_core.tp_variance
= Invariant
;
140 tp_name
= ([17:3-8], "Tvarr"); tp_tparams = [];
144 (Tapply
(([17:12-18], "\\HH\\vec"),
145 [(Rhint
([17:19-21]), (Tgeneric
("Ta", [])))]))))
147 tp_reified
= Erased
; tp_user_attributes
= [] };
148 { Typing_defs_core.tp_variance
= Invariant
;
149 tp_name
= ([18:3-9], "Tvdarr"); tp_tparams = [];
153 (Tvec_or_dict
(Rhint
([18:30-32]), (Tgeneric
("Ta", []))),
154 (Rhint
([18:34-36]), (Tgeneric
("Tb", []))))))
156 tp_reified
= Erased
; tp_user_attributes
= [] };
157 { Typing_defs_core.tp_variance
= Invariant
;
158 tp_name
= ([19:3-9], "Ttuple"); tp_tparams = [];
163 [(Rhint
([19:14-16]), (Tgeneric
("Ta", [])));
164 (Rhint
([19:18-20]), (Tgeneric
("Tb", [])))])))
166 tp_reified
= Erased
; tp_user_attributes
= [] }
168 sc_where_constraints
= []; sc_extends
= []; sc_uses
= [];
169 sc_xhp_attr_uses
= []; sc_xhp_enum_values
= {};
170 sc_xhp_marked_empty
= false
; sc_req_extends
= [];
171 sc_req_implements
= []; sc_req_class
= []; sc_implements
= [];
172 sc_support_dynamic_type
= false
; sc_consts
= []; sc_typeconsts
= [];
173 sc_props
= []; sc_sprops
= []; sc_constructor
= None;
174 sc_static_methods
= []; sc_methods
= []; sc_user_attributes
= [];
175 sc_enum_type
= None; sc_docs_url
= None; sc_package_override
= None }))