2 instantiations of SegmentCollection
Microsoft.NET.Sdk.StaticWebAssets.Tasks (2)
Utils\Globbing\PathTokenizer.cs (2)
98
return new
SegmentCollection
(_path, segments);
115
internal SegmentCollection Slice(int segmentIndex) =>
new
(_path, segments, segmentIndex);
13 references to SegmentCollection
Microsoft.NET.Sdk.StaticWebAssets.Tasks (13)
Data\StaticWebAssetEndpoint.cs (2)
585
var
routeSegmentCollection = routeTokenizer.Fill(routeSegments);
588
var
prefixSegmentCollection = prefixTokenizer.Fill(prefixSegments);
Utils\Globbing\PathTokenizer.cs (2)
85
internal
SegmentCollection
Fill(List<Segment> segments)
115
internal
SegmentCollection
Slice(int segmentIndex) => new(_path, segments, segmentIndex);
Utils\Globbing\StaticWebAssetGlobMatcher.cs (8)
24
var
segments = tokenizer.Fill(context.Segments);
42
private static GlobMatch MatchCore(GlobNode includes, PathTokenizer.
SegmentCollection
segments, Stack<MatchState> stateStack)
113
private static string ComputeStem(PathTokenizer.
SegmentCollection
segments, int stemStartIndex)
160
private static string ComputeCapturedStem(PathTokenizer.
SegmentCollection
segments, int stemStartIndex, int stemEndIndex)
182
private static void MatchComplex(PathTokenizer.
SegmentCollection
segments, Stack<MatchState> stateStack, MatchState state)
295
private static void MatchRecursiveWildCard(PathTokenizer.
SegmentCollection
segments, Stack<MatchState> stateStack, MatchState state)
321
private static void MatchExtension(PathTokenizer.
SegmentCollection
segments, Stack<MatchState> stateStack, MatchState state)
350
private static void MatchLiteral(PathTokenizer.
SegmentCollection
segments, Stack<MatchState> stateStack, MatchState state)
Utils\Globbing\StaticWebAssetGlobMatcherBuilder.cs (1)
69
var
collection = tokenizer.Fill(tokenRanges);