11 instantiations of PatternMatch
Microsoft.CodeAnalysis.Workspaces (11)
PatternMatching\PatternMatch.cs (1)
60
=>
new
(Kind, _punctuationStripped, IsCaseSensitive, matchedSpans);
PatternMatching\PatternMatcher.cs (10)
154
return new
PatternMatch
(
179
return new
PatternMatch
(
205
return new
PatternMatch
(
227
return new
PatternMatch
(
244
return new
PatternMatch
(PatternMatchKind.StartOfWordSubstring, punctuationStripped,
259
return new
PatternMatch
(PatternMatchKind.StartOfWordSubstring, punctuationStripped,
291
return new
PatternMatch
(
467
return new
PatternMatch
(
487
return new
PatternMatch
(
492
return new
PatternMatch
(
18 references to PatternMatch
Microsoft.CodeAnalysis.Workspaces (18)
PatternMatching\ContainerPatternMatcher.cs (3)
43
public override bool AddMatches(string? container, ref TemporaryArray<
PatternMatch
> matches)
54
private bool AddMatches(string container, ref TemporaryArray<
PatternMatch
> matches, bool fuzzyMatch)
61
using var tempContainerMatches = TemporaryArray<
PatternMatch
>.Empty;
PatternMatching\PatternMatch.cs (5)
13
internal readonly struct PatternMatch : IComparable<
PatternMatch
>
59
public
PatternMatch
WithMatchedSpans(ImmutableArray<TextSpan> matchedSpans)
62
public int CompareTo(
PatternMatch
other)
65
public int CompareTo(
PatternMatch
? other, bool ignoreCase)
68
public int CompareTo(
PatternMatch
other, bool ignoreCase)
PatternMatching\PatternMatcher.cs (7)
106
public abstract bool AddMatches(string? candidate, ref TemporaryArray<
PatternMatch
> matches);
135
private
PatternMatch
? MatchPatternChunk(
146
private static
PatternMatch
? FuzzyMatchPatternChunk(
161
private
PatternMatch
? NonFuzzyMatchPatternChunk(
340
ref TemporaryArray<
PatternMatch
> matches,
397
using var tempMatches = TemporaryArray<
PatternMatch
>.Empty;
452
private
PatternMatch
? TryCamelCaseMatch(
PatternMatching\PatternMatcherExtensions.cs (2)
12
public static
PatternMatch
? GetFirstMatch(this PatternMatcher matcher, string? candidate)
14
using var matches = TemporaryArray<
PatternMatch
>.Empty;
PatternMatching\SimplePatternMatcher.cs (1)
43
public override bool AddMatches(string candidate, ref TemporaryArray<
PatternMatch
> matches)