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

Method parent_node_id

src/extraction/elixir_extractor.rs:48–50  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

46 }
47
48 fn parent_node_id(&self) -> Option<&str> {
49 self.node_stack.last().map(|(_, id)| id.as_str())
50 }
51
52 fn node_text(&self, node: TsNode<'_>) -> String {
53 node.utf8_text(&self.source)

Callers 5

visit_defmoduleMethod · 0.45
visit_defMethod · 0.45
visit_defmacroMethod · 0.45
visit_defstructMethod · 0.45
visit_useMethod · 0.45

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected