2 (Shallow_decl_defs.Class
3 { Shallow_decl_defs.sc_mode
= Mstrict
; sc_final
= false
;
4 sc_is_xhp
= false
; sc_has_xhp_keyword
= false
; sc_kind
= Ctrait
;
5 sc_name
= ([3:7-15], "\\TMyTrait"); sc_tparams = [];
6 sc_where_constraints
= []; sc_extends
= []; sc_uses
= [];
7 sc_xhp_attr_uses
= []; sc_req_extends
= []; sc_req_implements
= [];
8 sc_implements
= []; sc_implements_dynamic
= false
; sc_consts
= [];
9 sc_typeconsts
= []; sc_props
= []; sc_sprops
= [];
10 sc_constructor
= None; sc_static_methods
= [];
12 [{ Shallow_decl_defs.sm_name
= ([4:19-28], "doNothing");
14 (Rwitness
(root|traits.php line
4, characters
19-27),
16 { ft_arity
= (Fstandard
()); ft_tparams
= [];
17 ft_where_constraints
= []; ft_params
= [];
18 ft_implicit_params
= { capability
= (CapDefaults
[4:19-28]) };
20 { et_enforced
= false
;
22 (Rhint
(root|traits.php line
4, characters
32-35),
26 (make_ft_flags FSync ~return_disposable
:false
27 ~returns_readonly
:false ~readonly_this
:false
29 ft_ifc_decl
= FDPolicied
{PUBLIC
} }));
30 sm_visibility
= Public
; sm_deprecated
= None; sm_flags
= (empty
) }
32 sc_user_attributes
= []; sc_enum_type
= None }));
34 (Shallow_decl_defs.Class
35 { Shallow_decl_defs.sc_mode
= Mstrict
; sc_final
= false
;
36 sc_is_xhp
= false
; sc_has_xhp_keyword
= false
; sc_kind
= Ctrait
;
37 sc_name
= ([7:7-16], "\\TMyTrait2"); sc_tparams = [];
38 sc_where_constraints
= []; sc_extends
= [];
40 [(Rhint
(root|traits.php line
8, characters
7-14),
41 (Tapply
(([8:7-15], "\\TMyTrait"), [])))];
42 sc_xhp_attr_uses
= []; sc_req_extends
= []; sc_req_implements
= [];
43 sc_implements
= []; sc_implements_dynamic
= false
; sc_consts
= [];
44 sc_typeconsts
= []; sc_props
= []; sc_sprops
= [];
45 sc_constructor
= None; sc_static_methods
= [];
47 [{ Shallow_decl_defs.sm_name
= ([10:19-32], "doMoreNothing");
49 (Rwitness
(root|traits.php line
10, characters
19-31),
51 { ft_arity
= (Fstandard
()); ft_tparams
= [];
52 ft_where_constraints
= []; ft_params
= [];
54 { capability
= (CapDefaults
[10:19-32]) };
56 { et_enforced
= false
;
58 (Rhint
(root|traits.php line
10, characters
36-39),
62 (make_ft_flags FSync ~return_disposable
:false
63 ~returns_readonly
:false ~readonly_this
:false
65 ft_ifc_decl
= FDPolicied
{PUBLIC
} }));
66 sm_visibility
= Public
; sm_deprecated
= None; sm_flags
= (empty
) }
68 sc_user_attributes
= []; sc_enum_type
= None }));
70 (Shallow_decl_defs.Class
71 { Shallow_decl_defs.sc_mode
= Mstrict
; sc_final
= false
;
72 sc_is_xhp
= false
; sc_has_xhp_keyword
= false
; sc_kind
= Ctrait
;
73 sc_name
= ([13:7-16], "\\TMyTrait3"); sc_tparams = [];
74 sc_where_constraints
= []; sc_extends
= []; sc_uses
= [];
75 sc_xhp_attr_uses
= []; sc_req_extends
= []; sc_req_implements
= [];
76 sc_implements
= []; sc_implements_dynamic
= false
; sc_consts
= [];
77 sc_typeconsts
= []; sc_props
= []; sc_sprops
= [];
78 sc_constructor
= None; sc_static_methods
= [];
80 [{ Shallow_decl_defs.sm_name
= ([14:19-35], "doYetMoreNothing");
82 (Rwitness
(root|traits.php line
14, characters
19-34),
84 { ft_arity
= (Fstandard
()); ft_tparams
= [];
85 ft_where_constraints
= []; ft_params
= [];
87 { capability
= (CapDefaults
[14:19-35]) };
89 { et_enforced
= false
;
91 (Rhint
(root|traits.php line
14, characters
39-42),
95 (make_ft_flags FSync ~return_disposable
:false
96 ~returns_readonly
:false ~readonly_this
:false
98 ft_ifc_decl
= FDPolicied
{PUBLIC
} }));
99 sm_visibility
= Public
; sm_deprecated
= None; sm_flags
= (empty
) }
101 sc_user_attributes
= []; sc_enum_type
= None }));
102 ("\\MyTraitUsingClass",
103 (Shallow_decl_defs.Class
104 { Shallow_decl_defs.sc_mode
= Mstrict
; sc_final
= false
;
105 sc_is_xhp
= false
; sc_has_xhp_keyword
= false
; sc_kind
= Cnormal
;
106 sc_name
= ([17:7-24], "\\MyTraitUsingClass"); sc_tparams = [];
107 sc_where_constraints
= []; sc_extends
= [];
109 [(Rhint
(root|traits.php line
18, characters
7-15),
110 (Tapply
(([18:7-16], "\\TMyTrait2"), [])));
111 (Rhint
(root|traits.php line
19, characters
7-15),
112 (Tapply
(([19:7-16], "\\TMyTrait3"), [])))
114 sc_xhp_attr_uses
= []; sc_req_extends
= []; sc_req_implements
= [];
115 sc_implements
= []; sc_implements_dynamic
= false
; sc_consts
= [];
116 sc_typeconsts
= []; sc_props
= []; sc_sprops
= [];
117 sc_constructor
= None; sc_static_methods
= []; sc_methods
= [];
118 sc_user_attributes
= []; sc_enum_type
= None }))