MCPcopy Create free account
hub / github.com/congo-cc/congo-parser-generator / detach

Method detach

examples/rust/testfiles/ast.rs:718–744  ·  view source on GitHub ↗

Detaches `id` from its parent, if any. Updates the parent's child_count and the prev/next siblings' links. The node and its subtree remain in the arena but are unreachable from the root.

(&mut self, id: NodeId)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

test_set_line_endingFunction · 0.80
test_edit_eventsFunction · 0.80
test_branch_and_mergeFunction · 0.80
open_diff_sinceMethod · 0.80
open_diff_internalMethod · 0.80
on_buffer_store_eventMethod · 0.80
on_buffer_diff_eventMethod · 0.80
localMethod · 0.80
search_commitsMethod · 0.80

Calls

no outgoing calls

Tested by 6

test_set_line_endingFunction · 0.64
test_edit_eventsFunction · 0.64
test_branch_and_mergeFunction · 0.64