Skip to main content

node_text

Function node_text 

Source
pub fn node_text(n: &Node) -> String
Expand description

Build the text string that gets embedded for a node.

Appends tokenized identifier words (CamelCase/snake_case → space-separated lowercase) so NL queries like “validate token” match validate_token without relying on the model to unsplit glued identifiers.