static string NewValue(this LineOrientedFormatter.Item2 item, SourcePart part) { var subResult = ""; if(item.Part.Position >= part.Position) subResult += item.NewHeader; subResult += part.Intersect(item.Part).Id; return subResult; }
internal Trimmed(Token token, SourcePart sourcePart) { Token = token; SourcePart = sourcePart.Intersect(Token.SourcePart) ?? Token.SourcePart.Start.Span(0); }