Editor/Wiring/Actions/SetAction.cs

A small AST node type used by the editor wiring system. It represents an assignment action that sets a TargetRef to the value of an Expression.

namespace Grains.RazorDesigner.Wiring;

// `Target = Value;` — assignment to a Symbol field.
public sealed record SetAction : Action
{
    public TargetRef Target { get; init; }
    public Expression Value { get; init; }
}