MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / is_import_call

Method is_import_call

src/extraction/zig_extractor.rs:241–244  ·  view source on GitHub ↗

Check if a `builtin_function` node is @import.

(state: &ExtractionState, node: TsNode<'_>)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 2

node_textMethod · 0.45

Tested by

no test coverage detected