Add declarations for internal keyword in direct decl and legacy parsers
[hiphop-php.git] / hphp / hack / test / decl / class_const_referencing_global_const.php.exp
blob74533e2c4a716b6d8db3279d7b6f5b523468c76a
1 [("\\Integer",
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 = ([4:9-16], "\\Integer"); sc_tparams = [];
7 sc_where_constraints = []; sc_extends = []; sc_uses = [];
8 sc_xhp_attr_uses = []; sc_xhp_enum_values = {}; sc_req_extends = [];
9 sc_req_implements = []; sc_req_class = []; sc_implements = [];
10 sc_support_dynamic_type = false;
11 sc_consts =
12 [{ Shallow_decl_defs.scc_abstract = Typing_defs.CCConcrete;
13 scc_name = ([5:15-20], "MAX32");
14 scc_type = (Rhint ([5:11-14]), (Tprim Tint)); scc_refs = [] };
15 { Shallow_decl_defs.scc_abstract = Typing_defs.CCConcrete;
16 scc_name = ([6:15-20], "MAX64");
17 scc_type = (Rhint ([6:11-14]), (Tprim Tint)); scc_refs = [] }
19 sc_typeconsts = []; sc_props = []; sc_sprops = [];
20 sc_constructor = None; sc_static_methods = []; sc_methods = [];
21 sc_user_attributes = []; sc_enum_type = None }));
22 ("\\NS\\Integer",
23 (Shallow_decl_defs.Class
24 { Shallow_decl_defs.sc_mode = Mstrict; sc_final = false;
25 sc_abstract = false; sc_is_xhp = false; sc_internal = false;
26 sc_has_xhp_keyword = false; sc_kind = (Cclass Concrete);
27 sc_module = None; sc_name = ([10:11-18], "\\NS\\Integer");
28 sc_tparams = []; sc_where_constraints = []; sc_extends = [];
29 sc_uses = []; sc_xhp_attr_uses = []; sc_xhp_enum_values = {};
30 sc_req_extends = []; sc_req_implements = []; sc_req_class = [];
31 sc_implements = []; sc_support_dynamic_type = false;
32 sc_consts =
33 [{ Shallow_decl_defs.scc_abstract = Typing_defs.CCConcrete;
34 scc_name = ([11:17-22], "MAX32");
35 scc_type = (Rhint ([11:13-16]), (Tprim Tint)); scc_refs = [] };
36 { Shallow_decl_defs.scc_abstract = Typing_defs.CCConcrete;
37 scc_name = ([12:17-22], "MAX64");
38 scc_type = (Rhint ([12:13-16]), (Tprim Tint)); scc_refs = [] }
40 sc_typeconsts = []; sc_props = []; sc_sprops = [];
41 sc_constructor = None; sc_static_methods = []; sc_methods = [];
42 sc_user_attributes = []; sc_enum_type = None }))
45 They matched!