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