MCPcopy
hub / github.com/webpack/webpack / blockPreWalkStatements

Method blockPreWalkStatements

lib/javascript/JavascriptParser.js:2165–2170  ·  view source on GitHub ↗

* Block pre walking iterates the scope for block variable declarations * @param {(Statement | ModuleDeclaration)[]} statements statements

(statements)

Source from the content-addressed store, hash-verified

2163 * @param {(Statement | ModuleDeclaration)[]} statements statements
2164 */
2165 blockPreWalkStatements(statements) {
2166 for (let index = 0, len = statements.length; index < len; index++) {
2167 const statement = statements[index];
2168 this.blockPreWalkStatement(statement);
2169 }
2170 }
2171
2172 /**
2173 * Walking iterates the statements and expressions and processes them

Callers 6

walkBlockStatementMethod · 0.95
walkForStatementMethod · 0.95
walkForInStatementMethod · 0.95
walkForOfStatementMethod · 0.95
walkSwitchCasesMethod · 0.95
parseMethod · 0.95

Calls 1

blockPreWalkStatementMethod · 0.95

Tested by

no test coverage detected