4 "script_declarations":{
8 "kind":"markup_section",
24 "kind":"markup_suffix",
25 "markup_suffix_less_than_question":{
39 "markup_suffix_name":{
49 "trailing":[{"kind":"end_of_line","text":"\n","offset":4,"width":1}],
56 "kind":"function_declaration",
57 "function_attribute_spec":{"kind":"missing"},
58 "function_declaration_header":{
59 "kind":"function_declaration_header",
60 "function_modifiers":{"kind":"missing"},
71 {"kind":"end_of_line","text":"\n","offset":5,"width":1},
73 "kind":"single_line_comment",
74 "text":"// Qualified names should not have trailing backslashes",
78 {"kind":"end_of_line","text":"\n","offset":61,"width":1},
79 {"kind":"end_of_line","text":"\n","offset":62,"width":1}
81 "trailing":[{"kind":"whitespace","text":" ","offset":71,"width":1}],
99 "function_type_parameter_list":{"kind":"missing"},
100 "function_left_paren":{
114 "function_parameter_list":{"kind":"missing"},
115 "function_right_paren":{
129 "function_capability":{"kind":"missing"},
140 "trailing":[{"kind":"whitespace","text":" ","offset":79,"width":1}],
145 "kind":"simple_type_specifier",
146 "simple_type_specifier":{
156 "trailing":[{"kind":"whitespace","text":" ","offset":84,"width":1}],
161 "function_where_clause":{"kind":"missing"}
164 "kind":"compound_statement",
165 "compound_left_brace":{
175 "trailing":[{"kind":"end_of_line","text":"\n","offset":86,"width":1}],
179 "compound_statements":{
183 "kind":"expression_statement",
184 "expression_statement_expression":{
185 "kind":"binary_expression",
186 "binary_left_operand":{
188 "variable_expression":{
197 "leading":[{"kind":"whitespace","text":" ","offset":87,"width":2}],
198 "trailing":[{"kind":"whitespace","text":" ","offset":91,"width":1}],
213 "trailing":[{"kind":"whitespace","text":" ","offset":93,"width":1}],
217 "binary_right_operand":{
218 "kind":"object_creation_expression",
219 "object_creation_new_keyword":{
229 "trailing":[{"kind":"whitespace","text":" ","offset":97,"width":1}],
233 "object_creation_object":{
234 "kind":"constructor_call",
235 "constructor_call_type":{
236 "kind":"simple_type_specifier",
237 "simple_type_specifier":{
238 "kind":"qualified_name",
239 "qualified_name_parts":{
277 "constructor_call_left_paren":{
291 "constructor_call_argument_list":{"kind":"missing"},
292 "constructor_call_right_paren":{
309 "expression_statement_semicolon":{
319 "trailing":[{"kind":"end_of_line","text":"\n","offset":110,"width":1}],
325 "kind":"expression_statement",
326 "expression_statement_expression":{
327 "kind":"binary_expression",
328 "binary_left_operand":{
330 "variable_expression":{
340 {"kind":"end_of_line","text":"\n","offset":111,"width":1},
341 {"kind":"whitespace","text":" ","offset":112,"width":2}
343 "trailing":[{"kind":"whitespace","text":" ","offset":116,"width":1}],
358 "trailing":[{"kind":"whitespace","text":" ","offset":118,"width":1}],
362 "binary_right_operand":{
363 "kind":"function_call_expression",
364 "function_call_receiver":{
365 "kind":"qualified_name",
366 "qualified_name_parts":{
434 "function_call_type_args":{"kind":"missing"},
435 "function_call_left_paren":{
449 "function_call_argument_list":{"kind":"missing"},
450 "function_call_right_paren":{
466 "expression_statement_semicolon":{
476 "trailing":[{"kind":"end_of_line","text":"\n","offset":135,"width":1}],
482 "kind":"expression_statement",
483 "expression_statement_expression":{
484 "kind":"binary_expression",
485 "binary_left_operand":{
487 "variable_expression":{
497 {"kind":"end_of_line","text":"\n","offset":136,"width":1},
498 {"kind":"whitespace","text":" ","offset":137,"width":2}
500 "trailing":[{"kind":"whitespace","text":" ","offset":141,"width":1}],
515 "trailing":[{"kind":"whitespace","text":" ","offset":143,"width":1}],
519 "binary_right_operand":{
520 "kind":"scope_resolution_expression",
521 "scope_resolution_qualifier":{
522 "kind":"qualified_name",
523 "qualified_name_parts":{
560 "scope_resolution_operator":{
574 "scope_resolution_name":{
590 "expression_statement_semicolon":{
600 "trailing":[{"kind":"end_of_line","text":"\n","offset":156,"width":1}],
607 "compound_right_brace":{
617 "trailing":[{"kind":"end_of_line","text":"\n","offset":158,"width":1}],
624 "kind":"end_of_file",
625 "end_of_file_token":{
628 "kind":"end_of_file",
643 "program_text":"<?hh\n\n// Qualified names should not have trailing backslashes\n\nfunction test(): void {\n $x = new Foospace\\();\n\n $y = Foospace\\bar\\();\n\n $z = Foo\\::class;\n}\n",
644 "version":"2020-12-09-0001"