pub fn expr_to_ast_node(expr: &LogicExpr<'_>, interner: &Interner) -> AstNodeExpand description
Converts a logic expression to an AST node for tree visualization.
Every variant gets a node in the notation the Logic Output prints — the operator symbols
come from the one table in logicaffeine_language::debug — with its sub-expressions and
terms as children. The match has no fallback arm, so a new variant cannot reach the tree
as a Debug dump: it must be given a node here.