Editor/Wiring/Expressions/BinaryOpExpression.cs

AST node type for a binary operation in the editor wiring expression system. It is an immutable record that stores the operator and left/right operand expressions.

namespace Grains.RazorDesigner.Wiring;

public sealed record BinaryOpExpression : Expression
{
    public BinaryOp Op { get; init; }
    public Expression Left { get; init; }
    public Expression Right { get; init; }
}