MCPcopy
hub / github.com/webpack/webpack / preWalkForInStatement

Method preWalkForInStatement

lib/javascript/JavascriptParser.js:2706–2711  ·  view source on GitHub ↗

* Pre walk for in statement. * @param {ForInStatement} statement for statement

(statement)

Source from the content-addressed store, hash-verified

2704 * @param {ForInStatement} statement for statement
2705 */
2706 preWalkForInStatement(statement) {
2707 if (statement.left.type === "VariableDeclaration") {
2708 this.preWalkVariableDeclaration(statement.left);
2709 }
2710 this.preWalkStatement(statement.body);
2711 }
2712
2713 /**
2714 * Walk for in statement.

Callers 1

preWalkStatementMethod · 0.95

Calls 2

preWalkStatementMethod · 0.95

Tested by

no test coverage detected