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

Function parseFunctionId

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

tokenIsIdentifierFunction · 0.90
parseIdentifierMethod · 0.80

Tested by

no test coverage detected