Check if a `builtin_function` node is @import.
(state: &ExtractionState, node: TsNode<'_>)
| 239 | |
| 240 | /// Check if a `builtin_function` node is @import. |
| 241 | fn is_import_call(state: &ExtractionState, node: TsNode<'_>) -> bool { |
| 242 | find_direct_child_by_kind(node, "builtin_identifier") |
| 243 | .is_some_and(|n| state.node_text(n) == "@import") |
| 244 | } |
| 245 | |
| 246 | // ---------------------------------- |
| 247 | // Import (@import) |
nothing calls this directly
no test coverage detected