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