Skip to main content

node_label

Function node_label 

Source
pub fn node_label(module: &InfinityModule, id: NodeId) -> String
Expand description

Stable label for a node: dotted path, binding, or Kind[id].

Unmapped internal nodes (literals inside expressions, schema arguments) get a kind-and-id label instead of a bare number so an agent’s why/impact output stays readable. Values are never included: a label must be safe to print for a module that holds secrets.