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

Function isClassMethod

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected