4 "script_declarations":{
8 "kind":"markup_section",
24 "kind":"markup_suffix",
25 "markup_suffix_less_than_question":{
39 "markup_suffix_name":{
50 {"kind":"whitespace","text":" ","offset":4,"width":1},
51 {"kind":"single_line_comment","text":"// strict","offset":5,"width":9},
52 {"kind":"end_of_line","text":"\n","offset":14,"width":1}
60 "kind":"function_declaration",
61 "function_attribute_spec":{"kind":"missing"},
62 "function_declaration_header":{
63 "kind":"function_declaration_header",
64 "function_modifiers":{"kind":"missing"},
75 "trailing":[{"kind":"whitespace","text":" ","offset":23,"width":1}],
93 "function_type_parameter_list":{"kind":"missing"},
94 "function_left_paren":{
108 "function_parameter_list":{"kind":"missing"},
109 "function_right_paren":{
119 "trailing":[{"kind":"whitespace","text":" ","offset":29,"width":1}],
123 "function_capability":{"kind":"missing"},
134 "trailing":[{"kind":"whitespace","text":" ","offset":31,"width":1}],
139 "kind":"simple_type_specifier",
140 "simple_type_specifier":{
150 "trailing":[{"kind":"whitespace","text":" ","offset":36,"width":1}],
155 "function_where_clause":{"kind":"missing"}
158 "kind":"compound_statement",
159 "compound_left_brace":{
169 "trailing":[{"kind":"end_of_line","text":"\n","offset":38,"width":1}],
173 "compound_statements":{
177 "kind":"switch_fallthrough",
178 "fallthrough_keyword":{
181 "kind":"fallthrough",
182 "text":"fallthrough",
187 "leading":[{"kind":"whitespace","text":" ","offset":39,"width":2}],
192 "fallthrough_semicolon":{
203 {"kind":"whitespace","text":" ","offset":53,"width":1},
204 {"kind":"single_line_comment","text":"// error","offset":54,"width":8},
205 {"kind":"end_of_line","text":"\n","offset":62,"width":1}
213 "compound_right_brace":{
223 "trailing":[{"kind":"end_of_line","text":"\n","offset":64,"width":1}],
230 "kind":"end_of_file",
231 "end_of_file_token":{
234 "kind":"end_of_file",
249 "program_text":"<?hh // strict\nfunction foo() : void {\n fallthrough; // error\n}\n",
250 "version":"2020-12-09-0001"