(node: SyntaxNode)
| 9 | * extractors, which parse class bodies alike. |
| 10 | */ |
| 11 | export function hasStaticModifier(node: SyntaxNode): boolean { |
| 12 | for (let i = 0; i < node.childCount; i++) { |
| 13 | if (node.child(i)?.type === 'static') return true; |
| 14 | } |
| 15 | return false; |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * A TS/JS class field (`public_field_definition` / `field_definition`) is a |
nothing calls this directly
no outgoing calls
no test coverage detected