Skip to main content

kind_intent

Function kind_intent 

Source
pub fn kind_intent(query: &str) -> Option<Kind>
Expand description

Map a generic, language-agnostic KIND word in the query to a node Kind. Used to bias retrieval toward the structural shape the user asked for (“the struct that…” → Type). Vocabulary only — no project- or language-specific names.