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

Function parseClassAccessorProperty

packages/babel-parser/src/parser/statement.ts:2171–2178  ·  view source on GitHub ↗
(
    this: Parser,
    node: Undone<N.ClassAccessorProperty>,
  )

Source from the content-addressed store, hash-verified

2169 }
2170
2171 parseClassAccessorProperty(
2172 this: Parser,
2173 node: Undone<N.ClassAccessorProperty>,
2174 ): N.ClassAccessorProperty {
2175 this.parseInitializer(node);
2176 this.semicolon();
2177 return this.finishNode(node, "ClassAccessorProperty");
2178 }
2179
2180 // https://tc39.es/ecma262/#prod-Initializer
2181 parseInitializer(

Callers

nothing calls this directly

Calls 2

finishNodeMethod · 0.80
semicolonMethod · 0.45

Tested by

no test coverage detected