MCPcopy
hub / github.com/webpack/webpack / walkAwaitExpression

Method walkAwaitExpression

lib/javascript/JavascriptParser.js:3624–3629  ·  view source on GitHub ↗

* Walk await expression. * @param {AwaitExpression} expression await expression

(expression)

Source from the content-addressed store, hash-verified

3622 * @param {AwaitExpression} expression await expression
3623 */
3624 walkAwaitExpression(expression) {
3625 if (this.scope.topLevelScope === true) {
3626 this.hooks.topLevelAwait.call(expression);
3627 }
3628 this.walkExpression(expression.argument);
3629 }
3630
3631 /**
3632 * Walk array expression.

Callers 1

walkExpressionMethod · 0.95

Calls 2

walkExpressionMethod · 0.95
callMethod · 0.45

Tested by

no test coverage detected