namespace Bts.BooleanExpressions; using System.Collections.Immutable; public class Definition { public Definition(string id, ImmutableList args, IBooleanExpression exp) { this.id = id; this.args = args; this.exp = exp; } public string id { get; } public ImmutableList args { get; } public IBooleanExpression exp { get; } public override string ToString() => $"{id}({string.Join(", ", args)} | {exp?.GetType()})"; }