12 instantiations of PatternMatch
Microsoft.CodeAnalysis.Workspaces (12)
PatternMatching\PatternMatch.cs (1)
60=> new(Kind, _punctuationStripped, IsCaseSensitive, matchedSpans);
PatternMatching\PatternMatcher.cs (11)
144return new PatternMatch( 167return new PatternMatch( 174return new PatternMatch( 200return new PatternMatch( 206return new PatternMatch( 222return new PatternMatch(PatternMatchKind.StartOfWordSubstring, punctuationStripped, 236return new PatternMatch(PatternMatchKind.StartOfWordSubstring, punctuationStripped, 267return new PatternMatch( 437return new PatternMatch( 457return new PatternMatch( 462return new PatternMatch(
18 references to PatternMatch
Microsoft.CodeAnalysis.Workspaces (18)
PatternMatching\ContainerPatternMatcher.cs (3)
45public override bool AddMatches(string? container, ref TemporaryArray<PatternMatch> matches) 56private bool AddMatches(string container, ref TemporaryArray<PatternMatch> matches, bool fuzzyMatch) 63using 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); 125private PatternMatch? MatchPatternChunk( 136private static PatternMatch? FuzzyMatchPatternChunk( 151private PatternMatch? NonFuzzyMatchPatternChunk( 310ref TemporaryArray<PatternMatch> matches, 367using var tempMatches = TemporaryArray<PatternMatch>.Empty; 422private 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)