Represents a ternary conditional expression node in the Wiring IR for the RazorDesigner editor. It is a sealed record that stores the Condition, Then, and Else subexpressions.
namespace Grains.RazorDesigner.Wiring;
// The C# `cond ? then : else` ternary, as a typed IR record.
public sealed record ConditionalExpression : Expression
{
public Expression Condition { get; init; }
public Expression Then { get; init; }
public Expression Else { get; init; }
}