* Whether a routine is a class constructor or destructor (`class constructor * Create;`), which only the runtime runs: no `inherited Create` reaches one, * and an `inherited` written in one links nothing.
(routine: Node, context: ResolutionContext)
| 232 | * and an `inherited` written in one links nothing. |
| 233 | */ |
| 234 | function classInitializer(routine: Node, context: ResolutionContext): boolean { |
| 235 | if (routine.isStatic !== true) return false; |
| 236 | const keyword = routineKeyword(routine, context); |
| 237 | return keyword === 'constructor' || keyword === 'destructor'; |
| 238 | } |
| 239 | |
| 240 | /** |
| 241 | * The classes an `inherited` call made in a method of `cls` looks in, nearest |
no test coverage detected