Rename transformFallback parameter to fallbackTransform for clarity

This commit is contained in:
Tyrrrz 2026-02-27 10:24:39 +02:00
parent c59374598a
commit 2d49146c74

View file

@ -14,7 +14,7 @@ internal static class MatcherExtensions
this IMatcher<TContext, TValue> matcher, this IMatcher<TContext, TValue> matcher,
TContext context, TContext context,
StringSegment segment, StringSegment segment,
Func<TContext, StringSegment, TValue> transformFallback Func<TContext, StringSegment, TValue> fallbackTransform
) )
{ {
// Loop through segments divided by individual matches // Loop through segments divided by individual matches
@ -40,7 +40,7 @@ internal static class MatcherExtensions
yield return new ParsedMatch<TValue>( yield return new ParsedMatch<TValue>(
fallbackSegment, fallbackSegment,
transformFallback(context, fallbackSegment) fallbackTransform(context, fallbackSegment)
); );
} }
@ -57,7 +57,7 @@ internal static class MatcherExtensions
yield return new ParsedMatch<TValue>( yield return new ParsedMatch<TValue>(
fallbackSegment, fallbackSegment,
transformFallback(context, fallbackSegment) fallbackTransform(context, fallbackSegment)
); );
} }
} }