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

Function isClassMethod

packages/babel-parser/src/parser/statement.ts:1641–1643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1639 }
1640
1641 isClassMethod(): boolean {
1642 return this.match(tt.parenL);
1643 }
1644
1645 nameIsConstructor(key: N.Expression | N.PrivateName): boolean {
1646 return (

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected