Skip to main content

identifier_node_kinds

Function identifier_node_kinds 

Source
pub fn identifier_node_kinds(lang: Lang) -> &'static [&'static str]
Expand description

Node kinds that carry a bare identifier in this language’s grammar.

An empty slice means the language has no identifier concept a rename could target (Markdown), which callers must treat as “not renamable” rather than as “no occurrences found”.