MCPcopy Create free account
hub / github.com/concensure/Semantic / is_import_node

Function is_import_node

parser/src/lib.rs:1127–1132  ·  view source on GitHub ↗
(kind: &str)

Source from the content-addressed store, hash-verified

1125}
1126
1127fn is_import_node(kind: &str) -> bool {
1128 matches!(
1129 kind,
1130 "import_statement" | "import_from_statement" | "import_declaration"
1131 )
1132}
1133
1134fn is_call_node(kind: &str) -> bool {
1135 matches!(kind, "call" | "call_expression")

Callers 2

collect_nodesFunction · 0.85
collect_import_targetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…