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

Function parseAsyncArrowHead

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected