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

Function parseFunctionId

packages/babel-parser/src/parser/statement.ts:1561–1565  ·  view source on GitHub ↗
(requireId?: boolean)

Source from the content-addressed store, hash-verified

1559 }
1560
1561 parseFunctionId(requireId?: boolean): N.Identifier | undefined | null {
1562 return requireId || tokenIsIdentifier(this.state.type)
1563 ? this.parseIdentifier()
1564 : null;
1565 }
1566
1567 parseFunctionParams(
1568 this: Parser,

Callers

nothing calls this directly

Calls 2

tokenIsIdentifierFunction · 0.90
parseIdentifierMethod · 0.80

Tested by

no test coverage detected