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

Function parseAsyncArrowHead

packages/babel-parser/src/parser/expression.ts:1125–1131  ·  view source on GitHub ↗
(
    startLoc: Position,
  )

Source from the content-addressed store, hash-verified

1123 }
1124
1125 parseAsyncArrowHead(
1126 startLoc: Position,
1127 ): Undone<N.ArrowFunctionExpression> | undefined {
1128 return this.match(tt.arrow) && !this.canInsertSemicolon()
1129 ? this.startNodeAt<N.ArrowFunctionExpression>(startLoc)
1130 : undefined;
1131 }
1132
1133 parseAsyncArrowFromCallExpression(
1134 this: Parser,

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected