(
this: Parser,
node: Undone<N.Class | N.StructDeclaration>,
)
| 2213 | |
| 2214 | // https://tc39.es/ecma262/#prod-ClassHeritage |
| 2215 | parseClassSuper( |
| 2216 | this: Parser, |
| 2217 | node: Undone<N.Class | N.StructDeclaration>, |
| 2218 | ): void { |
| 2219 | if (this.eat(tt._extends)) { |
| 2220 | this.state.canStartArrow = false; |
| 2221 | node.superClass = this.parseExprSubscripts(); |
| 2222 | } else { |
| 2223 | node.superClass = null; |
| 2224 | } |
| 2225 | } |
| 2226 | |
| 2227 | parseStructDeclaration( |
| 2228 | this: Parser, |
nothing calls this directly
no outgoing calls
no test coverage detected