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"},
72 "kind":"delimited_comment",
73 "text":"/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the \"hack\" directory of this source tree.\n *\n *\n */",
77 {"kind":"end_of_line","text":"\n","offset":211,"width":1},
78 {"kind":"end_of_line","text":"\n","offset":212,"width":1}
80 "trailing":[{"kind":"whitespace","text":" ","offset":221,"width":1}],
98 "function_type_parameter_list":{"kind":"missing"},
99 "function_left_paren":{
113 "function_parameter_list":{
119 "kind":"parameter_declaration",
120 "parameter_attribute":{"kind":"missing"},
121 "parameter_visibility":{"kind":"missing"},
122 "parameter_call_convention":{"kind":"missing"},
124 "kind":"simple_type_specifier",
125 "simple_type_specifier":{
135 "trailing":[{"kind":"whitespace","text":" ","offset":232,"width":1}],
154 "parameter_default_value":{"kind":"missing"}
156 "list_separator":{"kind":"missing"}
160 "function_right_paren":{
174 "function_capability":{"kind":"missing"},
185 "trailing":[{"kind":"whitespace","text":" ","offset":237,"width":1}],
190 "kind":"simple_type_specifier",
191 "simple_type_specifier":{
201 "trailing":[{"kind":"whitespace","text":" ","offset":242,"width":1}],
206 "function_where_clause":{"kind":"missing"}
209 "kind":"compound_statement",
210 "compound_left_brace":{
220 "trailing":[{"kind":"end_of_line","text":"\n","offset":244,"width":1}],
224 "compound_statements":{
228 "kind":"expression_statement",
229 "expression_statement_expression":{
230 "kind":"is_expression",
233 "variable_expression":{
242 "leading":[{"kind":"whitespace","text":" ","offset":245,"width":2}],
243 "trailing":[{"kind":"whitespace","text":" ","offset":249,"width":1}],
258 "trailing":[{"kind":"whitespace","text":" ","offset":252,"width":1}],
263 "kind":"soft_type_specifier",
279 "kind":"simple_type_specifier",
280 "simple_type_specifier":{
297 "expression_statement_semicolon":{
308 {"kind":"whitespace","text":" ","offset":258,"width":1},
309 {"kind":"single_line_comment","text":"// error","offset":259,"width":8},
310 {"kind":"end_of_line","text":"\n","offset":267,"width":1}
318 "compound_right_brace":{
328 "trailing":[{"kind":"end_of_line","text":"\n","offset":269,"width":1}],
335 "kind":"end_of_file",
336 "end_of_file_token":{
339 "kind":"end_of_file",
354 "program_text":"<?hh\n/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the \"hack\" directory of this source tree.\n *\n *\n */\n\nfunction test(mixed $e): void {\n $e is @int; // error\n}\n",
355 "version":"2020-12-09-0001"