MCPcopy Create free account
hub / github.com/babel/babel / parseAsyncFunctionExpression

Function parseAsyncFunctionExpression

packages/babel-parser/src/parser/statement.ts:1493–1498  ·  view source on GitHub ↗
(
    this: Parser,
    node: Undone<N.FunctionExpression>,
  )

Source from the content-addressed store, hash-verified

1491
1492 // https://tc39.es/ecma262/#prod-AsyncFunctionExpression
1493 parseAsyncFunctionExpression(
1494 this: Parser,
1495 node: Undone<N.FunctionExpression>,
1496 ): N.FunctionExpression {
1497 return this.parseFunction(node, ParseFunctionFlag.Async);
1498 }
1499
1500 // Parse a function declaration or expression (depending on the
1501 // ParseFunctionFlag.Declaration flag).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected