pub fn debug_highlight(
tree: &CompletionTree,
line: &str,
command_color: Color,
line_projector: Option<Arc<dyn Fn(&str) -> LineProjection + Send + Sync>>,
) -> Vec<HighlightDebugSpan>Expand description
Classifies a REPL line and returns serializable highlight spans for debugging tools.