(
this: Parser,
node: Undone<N.VariableDeclaration>,
kind: "var" | "let" | "const" | "using" | "await using",
allowMissingInitializer: boolean = false,
)
| 1111 | // https://tc39.es/ecma262/#prod-VariableStatement |
| 1112 | // https://tc39.es/ecma262/#prod-LexicalDeclaration |
| 1113 | parseVarStatement( |
| 1114 | this: Parser, |
| 1115 | node: Undone<N.VariableDeclaration>, |
| 1116 | kind: "var" | "let" | "const" | "using" | "await using", |
| 1117 | allowMissingInitializer: boolean = false, |
| 1118 | ): N.VariableDeclaration { |
| 1119 | this.next(); |
| 1120 | this.parseVar(node, false, kind, allowMissingInitializer); |
| 1121 | this.semicolon(); |
| 1122 | return this.finishNode(node, "VariableDeclaration"); |
| 1123 | } |
| 1124 | |
| 1125 | // https://tc39.es/ecma262/#prod-WhileStatement |
| 1126 | parseWhileStatement( |
nothing calls this directly
no test coverage detected