/// <inheritdoc/> protected internal override void Neglect(ReadOnlySpan <Char> source, ref Int32 location, [AllowNull, MaybeNull] out Exception exception, [AllowNull] IAdd <Capture> trace) { Left.Neglect(source, ref location, out exception, trace); if (exception is null) { return; } Right.Neglect(source, ref location, out exception, trace); }
/// <inheritdoc/> protected internal override void Neglect(ReadOnlySpan <Char> source, ref Int32 location, [AllowNull, MaybeNull] out Exception exception, [AllowNull] IAdd <Capture> trace) { exception = null; for (Int32 i = 0; i < Count; i++) { Pattern.Neglect(source, ref location, out exception, trace); if (exception is not null) { return; } } }