private static string GetDisplayString(SourceNode node)
 {
     return(node is INameableNode named ? $"{node.Kind} '{named.Name}'"
         : node.IsList?node.GetChildInfoFromParent().Name
            : node.Kind.ToString());
 }