2 (Shallow_decl_defs.Typedef
3 { Typing_defs.td_module
= None; td_pos
= [3:6-16]; td_vis
= Transparent
;
4 td_tparams
= []; td_constraint
= None;
7 (Tshape
(Typing_defs_core.Open_shape
,
8 { (Typing_defs_core.TSFlit_str
([3:25-28], "x")) ->
9 { sft_optional
= false
;
10 sft_ty
= (Rhint
([3:32-37]), (Tprim Tfloat
)) };
11 (Typing_defs_core.TSFlit_str
([3:39-42], "y")) ->
12 { sft_optional
= false
;
13 sft_ty
= (Rhint
([3:46-51]), (Tprim Tfloat
)) } }
15 td_is_ctx
= false
; td_attributes
= []; td_internal
= false
}));
17 (Shallow_decl_defs.Fun
18 { Typing_defs.fe_deprecated
= None; fe_module
= None;
21 (Rwitness_from_decl
([5:10-21]),
23 { ft_tparams
= []; ft_where_constraints
= [];
25 [{ fp_pos
= [5:56-61]; fp_name
= (Some
"$arg1");
27 { et_enforced
= Typing_defs_core.Unenforced
;
30 (Tshape
(Typing_defs_core.Closed_shape
,
31 { (Typing_defs_core.TSFlit_str
([5:28-31], "x")) ->
32 { sft_optional
= false
;
33 sft_ty
= (Rhint
([5:35-40]), (Tprim Tfloat
)) };
34 (Typing_defs_core.TSFlit_str
([5:42-45], "y")) ->
35 { sft_optional
= false
;
36 sft_ty
= (Rhint
([5:49-54]), (Tprim Tfloat
)) } }
40 (make_fp_flags ~accept_disposable
:false ~has_default
:false
41 ~
mode:Typing_defs_core.FPnormal ~ifc_external
:false
42 ~ifc_can_call
:false ~readonly
:false
);
45 ft_implicit_params
= { capability
= (CapDefaults
[5:10-21]) };
47 { et_enforced
= Typing_defs_core.Unenforced
;
50 (Tapply
(([5:64-74], "\\Coordinate"), [])))
53 (make_ft_flags FSync ~return_disposable
:false
54 ~returns_readonly
:false ~support_dynamic_type
:false
55 ~readonly_this
:false ~is_memoized
:false ~variadic
:false
);
56 ft_ifc_decl
= FDPolicied
{PUBLIC
} }));
57 fe_pos
= [5:10-21]; fe_php_std_lib
= false
;
58 fe_support_dynamic_type
= false
}));
60 (Shallow_decl_defs.Fun
61 { Typing_defs.fe_deprecated
= None; fe_module
= None;
64 (Rwitness_from_decl
([9:10-23]),
66 { ft_tparams
= []; ft_where_constraints
= [];
68 [{ fp_pos
= [10:14-19]; fp_name
= (Some
"$arg1");
70 { et_enforced
= Typing_defs_core.Unenforced
;
73 (Tapply
(([10:3-13], "\\Coordinate"), [])))
76 (make_fp_flags ~accept_disposable
:false ~has_default
:false
77 ~
mode:Typing_defs_core.FPnormal ~ifc_external
:false
78 ~ifc_can_call
:false ~readonly
:false
);
81 ft_implicit_params
= { capability
= (CapDefaults
[9:10-23]) };
83 { et_enforced
= Typing_defs_core.Unenforced
;
86 (Tshape
(Typing_defs_core.Open_shape
,
87 { (Typing_defs_core.TSFlit_str
([11:10-13], "x")) ->
88 { sft_optional
= false
;
89 sft_ty
= (Rhint
([11:17-22]), (Tprim Tfloat
)) };
90 (Typing_defs_core.TSFlit_str
([11:24-27], "y")) ->
91 { sft_optional
= false
;
92 sft_ty
= (Rhint
([11:31-36]), (Tprim Tfloat
)) } }
96 (make_ft_flags FSync ~return_disposable
:false
97 ~returns_readonly
:false ~support_dynamic_type
:false
98 ~readonly_this
:false ~is_memoized
:false ~variadic
:false
);
99 ft_ifc_decl
= FDPolicied
{PUBLIC
} }));
100 fe_pos
= [9:10-23]; fe_php_std_lib
= false
;
101 fe_support_dynamic_type
= false
}));
103 (Shallow_decl_defs.Fun
104 { Typing_defs.fe_deprecated
= None; fe_module
= None;
107 (Rwitness_from_decl
([15:10-23]),
110 [{ Typing_defs_core.tp_variance
= Invariant
;
111 tp_name
= ([15:24-25], "T"); tp_tparams = [];
112 tp_constraints
= []; tp_reified
= Erased
;
113 tp_user_attributes
= [] }
115 ft_where_constraints
= [];
117 [{ fp_pos
= [15:34-39]; fp_name
= (Some
"$arg1");
119 { et_enforced
= Typing_defs_core.Unenforced
;
123 [(Rhint
([15:28-29]), (Tgeneric
("T", [])));
124 (Rhint
([15:31-32]), (Tgeneric
("T", [])))]))
127 (make_fp_flags ~accept_disposable
:false ~has_default
:false
128 ~
mode:Typing_defs_core.FPnormal ~ifc_external
:false
129 ~ifc_can_call
:false ~readonly
:false
);
132 ft_implicit_params
= { capability
= (CapDefaults
[15:10-23]) };
134 { et_enforced
= Typing_defs_core.Unenforced
;
138 [(Rhint
([15:43-44]), (Tgeneric
("T", [])));
139 (Rhint
([15:46-47]), (Tgeneric
("T", [])))]))
142 (make_ft_flags FSync ~return_disposable
:false
143 ~returns_readonly
:false ~support_dynamic_type
:false
144 ~readonly_this
:false ~is_memoized
:false ~variadic
:false
);
145 ft_ifc_decl
= FDPolicied
{PUBLIC
} }));
146 fe_pos
= [15:10-23]; fe_php_std_lib
= false
;
147 fe_support_dynamic_type
= false
}));
148 ("\\TaggedCoordinate",
149 (Shallow_decl_defs.Typedef
150 { Typing_defs.td_module
= None; td_pos
= [19:6-22];
151 td_vis
= Transparent
; td_tparams
= []; td_constraint
= None;
154 (Tshape
(Typing_defs_core.Closed_shape
,
155 { (Typing_defs_core.TSFlit_str
([20:27-34], "coord")) ->
156 { sft_optional
= false
;
159 (Tshape
(Typing_defs_core.Closed_shape
,
160 { (Typing_defs_core.TSFlit_str
([20:44-47], "x")) ->
161 { sft_optional
= false
;
162 sft_ty
= (Rhint
([20:51-56]), (Tprim Tfloat
)) };
163 (Typing_defs_core.TSFlit_str
([20:58-61], "y")) ->
164 { sft_optional
= false
;
165 sft_ty
= (Rhint
([20:65-70]), (Tprim Tfloat
)) } }
168 (Typing_defs_core.TSFlit_str
([20:10-15], "tag")) ->
169 { sft_optional
= true
;
170 sft_ty
= (Rhint
([20:19-25]), (Tprim Tstring
)) } }
172 td_is_ctx
= false
; td_attributes
= []; td_internal
= false
}))