pub const fn is_expansion_node(kind: &NodeKind) -> boolExpand description
Returns true if the node kind is itself a shell expansion.
This is the single source of truth for which NodeKind variants
represent expansions. Used by both has_expansions_kind (AST walking)
and analyze_node (verdict generation).