MODULE@0..52 WHILE_STMT@0..13 WHILE_KW@0..5 "while" WHITESPACE@5..6 " " CONDITION@6..10 LITERAL@6..10 TRUE_KW@6..10 "true" WHITESPACE@10..11 " " BLOCK_STMT@11..13 L_CURLY@11..12 "{" R_CURLY@12..13 "}" WHITESPACE@13..14 "\n" WHILE_STMT@14..22 WHILE_KW@14..19 "while" WHITESPACE@19..20 " " CONDITION@20..20 BLOCK_STMT@20..22 L_CURLY@20..21 "{" R_CURLY@21..22 "}" WHITESPACE@22..23 "\n" WHILE_STMT@23..37 WHILE_KW@23..28 "while" WHITESPACE@28..29 " " CONDITION@29..34 L_PAREN@29..30 "(" LITERAL@30..34 TRUE_KW@30..34 "true" WHITESPACE@34..35 " " BLOCK_STMT@35..37 L_CURLY@35..36 "{" R_CURLY@36..37 "}" WHITESPACE@37..38 "\n" WHILE_STMT@38..51 WHILE_KW@38..43 "while" WHITESPACE@43..44 " " CONDITION@44..49 LITERAL@44..48 TRUE_KW@44..48 "true" R_PAREN@48..49 ")" WHITESPACE@49..50 " " ERROR@50..51 R_CURLY@50..51 "}" WHITESPACE@51..52 "\n" -- error[SyntaxError]: expected `'('` but instead found `true` ┌─ while_stmt_err.js:1:7 │ 1 │ while true {} │ ^^^^ unexpected -- error[SyntaxError]: expected `')'` but instead found `{` ┌─ while_stmt_err.js:1:12 │ 1 │ while true {} │ ^ unexpected -- error[SyntaxError]: expected `'('` but instead found `{` ┌─ while_stmt_err.js:2:7 │ 2 │ while {} │ ^ unexpected -- error[SyntaxError]: Expected an expression, but found none ┌─ while_stmt_err.js:2:7 │ 2 │ while {} │ ^ Expected an expression here -- error[SyntaxError]: expected `')'` but instead found `{` ┌─ while_stmt_err.js:2:7 │ 2 │ while {} │ ^ unexpected -- error[SyntaxError]: expected `')'` but instead found `{` ┌─ while_stmt_err.js:3:13 │ 3 │ while (true {} │ ^ unexpected -- error[SyntaxError]: expected `'('` but instead found `true` ┌─ while_stmt_err.js:4:7 │ 4 │ while true) } │ ^^^^ unexpected -- error[SyntaxError]: Expected a statement or declaration, but found none ┌─ while_stmt_err.js:4:13 │ 4 │ while true) } │ ^ Expected a statement or declaration here -- while true {} while {} while (true {} while true) }