using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace PoweredSoft.DynamicLinq.Parser { public class ExpressionParserPieceGroup { public List Pieces { get; set; } = new List(); public ParameterExpression Parameter { get; set; } public ExpressionParserPieceGroup Parent { get; set; } #if DEBUG public override string ToString() => $"{Parameter?.ToString()} is {Parameter?.Type} | {(Pieces == null ? "" : string.Join(" -> ", Pieces.Select(t2 => t2.ToString())))}"; #endif } }