pub fn expr_to_ast_node(expr: &LogicExpr<'_>, interner: &Interner) -> AstNodeExpand description
Converts a logic expression to an AST node for tree visualization.
Recursively builds a tree structure with labeled nodes suitable for rendering in the UI. Each node includes a display label, node type for styling, and child nodes.