2 { c_span
= [3:1-89]; c_annotation
= (); c_mode
= <opaque
>;
3 c_final
= false
; c_is_xhp
= false
; c_kind
= Cnormal
;
4 c_name
= ([3:7-10], "\\Foo"); c_tparams = <opaque>; c_extends = [];
5 c_uses
= []; c_method_redeclarations
= []; c_xhp_attr_uses
= [];
6 c_xhp_category
= []; c_req_extends
= []; c_req_implements
= [];
8 [([3:22-43], (Happly
(([3:22-43], "\\HH\\TypeAliasAttribute"), [])))];
9 c_consts
= []; c_typeconsts
= []; c_static_vars
= []; c_vars
= [];
11 (Some
{ m_span
= [3:46-87]; m_annotation
= (); m_final
= false
;
12 m_abstract
= false
; m_static
= false
; m_visibility
= Public
;
13 m_name
= ([3:62-73], "__construct"); m_tparams = [];
14 m_where_constraints
= [];
17 { param_annotation
= ([3:81-83], varray
<int>);
18 param_hint
= (Some
([3:74-77], (Hprim Tint
)));
19 param_is_reference
= false
; param_is_variadic
= true
;
20 param_pos
= [3:81-83]; param_name
= "$x";
21 param_expr
= None; param_callconv
= None;
22 param_user_attributes
= [] });
24 m_body
= (NamedBody
{ fnb_nast
= [Noop
]; fnb_unsafe
= false
});
25 m_fun_kind
= FSync
; m_user_attributes
= [];
26 m_ret
= (Some
([3:62-73], (Happly
(([3:62-73], "void"), []))));
27 m_ret_by_ref
= false
; m_external
= false
; m_doc_comment
= None
29 c_static_methods
= []; c_methods
= []; c_attributes
= [];
30 c_xhp_children
= []; c_xhp_attrs
= []; c_namespace
= <opaque
>;
31 c_user_attributes
= []; c_enum
= None; c_doc_comment
= None });
33 { c_span
= [4:1-46]; c_annotation
= (); c_mode
= <opaque
>;
34 c_final
= false
; c_is_xhp
= false
; c_kind
= Cnormal
;
35 c_name
= ([4:7-10], "\\Bar"); c_tparams = <opaque>; c_extends = [];
36 c_uses
= []; c_method_redeclarations
= []; c_xhp_attr_uses
= [];
37 c_xhp_category
= []; c_req_extends
= []; c_req_implements
= [];
39 [([4:22-43], (Happly
(([4:22-43], "\\HH\\TypeAliasAttribute"), [])))];
40 c_consts
= []; c_typeconsts
= []; c_static_vars
= []; c_vars
= [];
41 c_constructor
= None; c_static_methods
= []; c_methods
= [];
42 c_attributes
= []; c_xhp_children
= []; c_xhp_attrs
= [];
43 c_namespace
= <opaque
>; c_user_attributes
= []; c_enum
= None;
44 c_doc_comment
= None });
46 { c_span
= [5:1-58]; c_annotation
= (); c_mode
= <opaque
>;
47 c_final
= false
; c_is_xhp
= false
; c_kind
= Cnormal
;
48 c_name
= ([5:7-22], "\\SingleAttribute"); c_tparams = <opaque>;
49 c_extends
= []; c_uses
= []; c_method_redeclarations
= [];
50 c_xhp_attr_uses
= []; c_xhp_category
= []; c_req_extends
= [];
51 c_req_implements
= [];
53 [([5:34-55], (Happly
(([5:34-55], "\\HH\\TypeAliasAttribute"), [])))];
54 c_consts
= []; c_typeconsts
= []; c_static_vars
= []; c_vars
= [];
55 c_constructor
= None; c_static_methods
= []; c_methods
= [];
56 c_attributes
= []; c_xhp_children
= []; c_xhp_attrs
= [];
57 c_namespace
= <opaque
>; c_user_attributes
= []; c_enum
= None;
58 c_doc_comment
= None });
60 { t_annotation
= (); t_name
= ([8:6-8], "\\T1"); t_tparams = [];
61 t_constraint
= None; t_kind
= ([8:11-14], (Hprim Tint
));
63 [{ ua_name
= ([7:15-18], "\\Bar"); ua_params = [] };
64 { ua_name
= ([7:3-6], "\\Foo");
66 [(([7:7-8], int), (Int "1")); (([7:9-10], int), (Int "2"));
67 (([7:11-12], int), (Int "3"))]
70 t_mode
= <opaque
>; t_vis
= Transparent
; t_namespace
= <opaque
> });
72 { t_annotation
= (); t_name
= ([11:6-8], "\\T2"); t_tparams = [];
74 t_kind
= ([11:11-18], (Hoption
([11:12-18], (Hprim Tstring
))));
76 [{ ua_name
= ([10:3-18], "\\SingleAttribute"); ua_params = [] }];
77 t_mode
= <opaque
>; t_vis
= Transparent
; t_namespace
= <opaque
> });
79 { t_annotation
= (); t_name
= ([13:6-23], "\\Serialized_contra");
80 t_tparams
= [(Contravariant
, ([13:25-26], "T"), [], false)];
81 t_constraint
= None; t_kind
= ([13:30-36], (Hprim Tstring
));
82 t_user_attributes
= []; t_mode
= <opaque
>; t_vis
= Transparent
;
83 t_namespace
= <opaque
> });
85 { t_annotation
= (); t_name
= ([14:6-19], "\\Serialized_co");
86 t_tparams
= [(Covariant
, ([14:21-22], "T"), [], false)];
87 t_constraint
= None; t_kind
= ([14:26-32], (Hprim Tstring
));
88 t_user_attributes
= []; t_mode
= <opaque
>; t_vis
= Transparent
;
89 t_namespace
= <opaque
> })