4 instantiations of CamelCaseResult
Microsoft.CodeAnalysis.Workspaces (4)
PatternMatching\AllLowerCamelCaseMatcher.cs (1)
76
return new
CamelCaseResult
(
PatternMatching\CamelCaseResult.cs (2)
37
=>
new
(fromStart, Contiguous, MatchCount, MatchedSpansInReverse);
42
return new
CamelCaseResult
(FromStart, Contiguous, MatchCount + 1, MatchedSpansInReverse);
PatternMatching\PatternMatcher.cs (1)
549
var camelCaseResult = new
CamelCaseResult
(firstMatch == 0, contiguous.Value, matchCount, null);
14 references to CamelCaseResult
Microsoft.CodeAnalysis.Workspaces (14)
PatternMatching\AllLowerCamelCaseMatcher.cs (10)
65
private static PatternMatchKind GetKind(
CamelCaseResult
result, in TemporaryArray<TextSpan> candidateHumps)
68
private
CamelCaseResult
? TryMatch(
83
var bestResult = (
CamelCaseResult
?)null;
148
private
CamelCaseResult
? TryConsumePatternOrMatchNextHump(
151
var bestResult = (
CamelCaseResult
?)null;
183
var
result = resultOpt.Value;
211
CamelCaseResult
result, ref
CamelCaseResult
? bestResult, TextSpan? matchSpanToAdd, in TemporaryArray<TextSpan> candidateHumps)
240
private static bool IsBetter(
CamelCaseResult
result,
CamelCaseResult
? currentBestResult, in TemporaryArray<TextSpan> candidateHumps)
PatternMatching\CamelCaseResult.cs (3)
36
public
CamelCaseResult
WithFromStart(bool fromStart)
39
public
CamelCaseResult
WithAddedMatchedSpan(TextSpan value)
46
private static PatternMatchKind GetCamelCaseKind(
CamelCaseResult
result, in TemporaryArray<TextSpan> candidateHumps)
PatternMatching\PatternMatcher.cs (1)
549
var
camelCaseResult = new CamelCaseResult(firstMatch == 0, contiguous.Value, matchCount, null);