mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-31 09:33:03 -06:00
Rename transformFallback parameter to fallbackTransform for clarity
This commit is contained in:
parent
c59374598a
commit
2d49146c74
|
|
@ -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)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue