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

Function parseAsyncFunctionExpression

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected