Free up m_pos for bespokes
[hiphop-php.git] / hphp / hack / test / full_fidelity / cases / test_errors_method.php.sexp.exp
bloba7beeb94a4cc0547a49691c9f6880fd399a1237c
1 ((script 828
2 ((list 828
3 ((markup_section 4
4 ((() markup 0 ())
5 (markup_suffix 4
6 ((() <? 2 ())
7 (() name 2 ((whitespace 1) (single_line_comment 9) (end_of_line 1)))))))
8 (classish_declaration 812
9 ((missing 0 ()) (missing 0 ()) (missing 0 ())
10 (((end_of_line 1)) class 5 ((whitespace 1)))
11 (() name 1 ((whitespace 1))) (missing 0 ()) (missing 0 ())
12 (missing 0 ()) (missing 0 ()) (missing 0 ()) (missing 0 ())
13 (classish_body 804
14 ((() { 1 ((end_of_line 1)))
15 (list 769
16 ((methodish_declaration 38
17 ((missing 0 ())
18 (function_declaration_header 35
19 ((list 14
20 ((((whitespace 2)) public 6 ((whitespace 1)))
21 (() private 7 ((whitespace 1)))))
22 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
23 (missing 0 ()) (() "(" 1 ()) (missing 0 ())
24 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
25 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
26 (missing 0 ())))
27 (compound_statement 2
28 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
29 (missing 0 ())))
30 (methodish_declaration 35
31 ((missing 0 ())
32 (function_declaration_header 32
33 ((list 11
34 ((((whitespace 2)) final 5 ((whitespace 1)))
35 (() final 5 ((whitespace 1)))))
36 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
37 (missing 0 ()) (() "(" 1 ()) (missing 0 ())
38 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
39 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
40 (missing 0 ())))
41 (compound_statement 2
42 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
43 (missing 0 ())))
44 (methodish_declaration 44
45 ((missing 0 ())
46 (function_declaration_header 42
47 ((list 21
48 ((((whitespace 2)) public 6 ((whitespace 1)))
49 (() abstract 8 ((whitespace 1)))
50 (() final 5 ((whitespace 1)))))
51 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
52 (missing 0 ()) (() "(" 1 ()) (missing 0 ())
53 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
54 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
55 (missing 0 ())))
56 (missing 0 ()) (() ";" 1 ((end_of_line 1)))))
57 (methodish_declaration 39
58 ((missing 0 ())
59 (function_declaration_header 37
60 ((list 16
61 ((((whitespace 2)) private 7 ((whitespace 1)))
62 (() abstract 8 ((whitespace 1)))))
63 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
64 (missing 0 ()) (() "(" 1 ()) (missing 0 ())
65 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
66 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
67 (missing 0 ())))
68 (missing 0 ()) (() ";" 1 ((end_of_line 1)))))
69 (methodish_declaration 46
70 ((missing 0 ())
71 (function_declaration_header 43
72 ((list 22
73 ((((whitespace 2)) public 6 ((whitespace 1)))
74 (() abstract 8 ((whitespace 1)))
75 (() static 6 ((whitespace 1)))))
76 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
77 (missing 0 ()) (() "(" 1 ()) (missing 0 ())
78 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
79 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
80 (missing 0 ())))
81 (compound_statement 2
82 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
83 (missing 0 ())))
84 (methodish_declaration 45
85 ((missing 0 ())
86 (function_declaration_header 43
87 ((list 22
88 ((((whitespace 2)) public 6 ((whitespace 1)))
89 (() abstract 8 ((whitespace 1)))
90 (() static 6 ((whitespace 1)))))
91 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
92 (missing 0 ()) (() "(" 1 ()) (missing 0 ())
93 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
94 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
95 (missing 0 ())))
96 (missing 0 ()) (() ";" 1 ((end_of_line 1)))))
97 (methodish_declaration 29
98 ((missing 0 ())
99 (function_declaration_header 27
100 ((list 6 ((((whitespace 2)) public 6 ((whitespace 1)))))
101 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
102 (missing 0 ()) (() "(" 1 ()) (missing 0 ())
103 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
104 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
105 (missing 0 ())))
106 (missing 0 ()) (() ";" 1 ((end_of_line 1)))))
107 (methodish_declaration 40
108 ((missing 0 ())
109 (function_declaration_header 37
110 ((list 13
111 ((((whitespace 2)) public 6 ((whitespace 1)))
112 (() static 6 ((whitespace 1)))))
113 (() function 8 ((whitespace 1)))
114 (() __construct 11 ((whitespace 1))) (missing 0 ())
115 (() "(" 1 ()) (missing 0 ()) (() ")" 1 ((whitespace 1)))
116 (missing 0 ()) (missing 0 ()) (missing 0 ())))
117 (compound_statement 2
118 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
119 (missing 0 ())))
120 (methodish_declaration 46
121 ((missing 0 ())
122 (function_declaration_header 43
123 ((list 6 ((((whitespace 2)) public 6 ((whitespace 1)))))
124 (() function 8 ((whitespace 1)))
125 (() __construct 11 ((whitespace 1))) (missing 0 ())
126 (() "(" 1 ())
127 (list 13
128 ((list_item 13
129 ((parameter_declaration 13
130 ((missing 0 ()) (() public 6 ((whitespace 1)))
131 (missing 0 ())
132 (simple_type_specifier 3 ((() int 3 ((whitespace 1)))))
133 (() variable 2 ()) (missing 0 ())))
134 (missing 0 ())))))
135 (() ")" 1 ((whitespace 1))) (missing 0 ()) (missing 0 ())
136 (missing 0 ())))
137 (compound_statement 2
138 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
139 (missing 0 ())))
140 (methodish_declaration 41
141 ((missing 0 ())
142 (function_declaration_header 39
143 ((list 15
144 ((((whitespace 2)) public 6 ((whitespace 1)))
145 (() abstract 8 ((whitespace 1)))))
146 (() function 8 ((whitespace 1)))
147 (() __construct 11 ((whitespace 1))) (missing 0 ())
148 (() "(" 1 ()) (missing 0 ()) (() ")" 1 ((whitespace 1)))
149 (missing 0 ()) (missing 0 ()) (missing 0 ())))
150 (missing 0 ()) (() ";" 1 ((end_of_line 1)))))
151 (methodish_declaration 42
152 ((missing 0 ())
153 (function_declaration_header 39
154 ((list 15
155 ((((whitespace 2)) public 6 ((whitespace 1)))
156 (() abstract 8 ((whitespace 1)))))
157 (() function 8 ((whitespace 1)))
158 (() __construct 11 ((whitespace 1))) (missing 0 ())
159 (() "(" 1 ()) (missing 0 ()) (() ")" 1 ((whitespace 1)))
160 (missing 0 ()) (missing 0 ()) (missing 0 ())))
161 (compound_statement 2
162 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
163 (missing 0 ())))
164 (methodish_declaration 43
165 ((missing 0 ())
166 (function_declaration_header 40
167 ((list 6 ((((whitespace 2)) public 6 ((whitespace 1)))))
168 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
169 (missing 0 ()) (() "(" 1 ())
170 (list 13
171 ((list_item 13
172 ((parameter_declaration 13
173 ((missing 0 ()) (() public 6 ((whitespace 1)))
174 (missing 0 ())
175 (simple_type_specifier 3 ((() int 3 ((whitespace 1)))))
176 (() variable 2 ()) (missing 0 ())))
177 (missing 0 ())))))
178 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
179 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
180 (missing 0 ())))
181 (compound_statement 2
182 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
183 (missing 0 ())))
184 (methodish_declaration 39
185 ((missing 0 ())
186 (function_declaration_header 36
187 ((list 6 ((((whitespace 2)) public 6 ((whitespace 1)))))
188 (() function 8 ((whitespace 1)))
189 (() __construct 11 ((whitespace 1))) (missing 0 ())
190 (() "(" 1 ()) (missing 0 ()) (() ")" 1 ((whitespace 1)))
191 (() : 1 ((whitespace 1)))
192 (simple_type_specifier 3 ((() int 3 ((whitespace 1)))))
193 (missing 0 ())))
194 (compound_statement 2
195 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
196 (missing 0 ())))
197 (methodish_declaration 40
198 ((missing 0 ())
199 (function_declaration_header 37
200 ((list 6 ((((whitespace 2)) public 6 ((whitespace 1)))))
201 (() function 8 ((whitespace 1)))
202 (() __construct 11 ((whitespace 1))) (missing 0 ())
203 (() "(" 1 ()) (missing 0 ()) (() ")" 1 ((whitespace 1)))
204 (() : 1 ((whitespace 1)))
205 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
206 (missing 0 ())))
207 (compound_statement 2
208 ((() { 1 ()) (missing 0 ()) (() } 1 ((end_of_line 1)))))
209 (missing 0 ())))
210 (methodish_declaration 33
211 ((missing 0 ())
212 (function_declaration_header 30
213 ((list 6 ((((whitespace 2)) public 6 ((whitespace 1)))))
214 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
215 (missing 0 ()) (() "(" 1 ())
216 (list 3
217 ((list_item 3
218 ((variadic_parameter 3
219 ((missing 0 ()) (missing 0 ()) (() ... 3 ())))
220 (missing 0 ())))))
221 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
222 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
223 (missing 0 ())))
224 (compound_statement 2
225 ((() { 1 ()) (missing 0 ())
226 (() } 1
227 ((whitespace 1) (single_line_comment 12) (end_of_line 1)))))
228 (missing 0 ())))
229 (methodish_declaration 34
230 ((missing 0 ())
231 (function_declaration_header 31
232 ((list 6 ((((whitespace 2)) public 6 ((whitespace 1)))))
233 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
234 (missing 0 ()) (() "(" 1 ())
235 (list 4
236 ((list_item 4
237 ((variadic_parameter 3
238 ((missing 0 ()) (missing 0 ()) (() ... 3 ())))
239 (() , 1 ())))))
240 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
241 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
242 (missing 0 ())))
243 (compound_statement 2
244 ((() { 1 ()) (missing 0 ())
245 (() } 1
246 ((whitespace 1) (single_line_comment 32) (end_of_line 1)))))
247 (missing 0 ())))
248 (methodish_declaration 41
249 ((missing 0 ())
250 (function_declaration_header 38
251 ((list 6 ((((whitespace 2)) public 6 ((whitespace 1)))))
252 (() function 8 ((whitespace 1))) (() name 1 ((whitespace 1)))
253 (missing 0 ()) (() "(" 1 ())
254 (list 11
255 ((list_item 4
256 ((variadic_parameter 3
257 ((missing 0 ()) (missing 0 ()) (() ... 3 ())))
258 (() , 1 ((whitespace 1)))))
259 (list_item 6
260 ((parameter_declaration 6
261 ((missing 0 ()) (missing 0 ()) (missing 0 ())
262 (simple_type_specifier 3 ((() int 3 ((whitespace 1)))))
263 (() variable 2 ()) (missing 0 ())))
264 (missing 0 ())))))
265 (() ")" 1 ((whitespace 1))) (() : 1 ((whitespace 1)))
266 (simple_type_specifier 4 ((() void 4 ((whitespace 1)))))
267 (missing 0 ())))
268 (compound_statement 2
269 ((() { 1 ()) (missing 0 ())
270 (() } 1
271 ((whitespace 1) (single_line_comment 28) (end_of_line 1)))))
272 (missing 0 ())))))
273 (() } 1 ((end_of_line 1)))))))
274 (end_of_file 0 ((() end_of_file 0 ()))))))))