2 writes to Frame
Microsoft.Extensions.FileSystemGlobbing (2)
Internal\PatternContexts\PatternContext.cs (2)
25Frame = _stack.Pop(); 31Frame = frame;
39 references to Frame
Microsoft.Extensions.FileSystemGlobbing (39)
Internal\PatternContexts\PatternContext.cs (1)
30_stack.Push(Frame);
Internal\PatternContexts\PatternContextLinear.cs (8)
27if (!Frame.IsNotApplicable && IsLastSegment() && TestMatchingSegment(file.Name)) 38FrameData frame = Frame; 40if (IsStackEmpty() || Frame.IsNotApplicable) 53IPathSegment segment = Pattern.Segments[Frame.SegmentIndex]; 83return Frame.SegmentIndex == Pattern.Segments.Count - 1; 88if (Frame.SegmentIndex >= Pattern.Segments.Count) 93return Pattern.Segments[Frame.SegmentIndex].Match(value); 98return MatcherContext.CombinePath(Frame.Stem, matchedFile.Name);
Internal\PatternContexts\PatternContextLinearExclude.cs (1)
23if (Frame.IsNotApplicable)
Internal\PatternContexts\PatternContextLinearInclude.cs (4)
23if (Frame.IsNotApplicable) 28if (Frame.SegmentIndex < Pattern.Segments.Count) 30onDeclare(Pattern.Segments[Frame.SegmentIndex], IsLastSegment()); 41if (Frame.IsNotApplicable)
Internal\PatternContexts\PatternContextRagged.cs (17)
26if (!Frame.IsNotApplicable && IsEndingGroup() && TestMatchingGroup(file)) 36FrameData frame = Frame; 44else if (Frame.IsNotApplicable) 68frame.SegmentIndex = Frame.SegmentGroup.Count; 107if (Frame.StemItems.Count > 0) 109Frame.StemItems.RemoveAt(Frame.StemItems.Count - 1); 138return Frame.SegmentGroupIndex == -1; 143return Frame.SegmentGroupIndex == Pattern.Contains.Count; 148if (Frame.SegmentIndex >= Frame.SegmentGroup.Count) 152return Frame.SegmentGroup[Frame.SegmentIndex].Match(value); 157int groupLength = Frame.SegmentGroup.Count; 158int backtrackLength = Frame.BacktrackAvailable + 1; 167IPathSegment segment = Frame.SegmentGroup[groupLength - index - 1]; 179return MatcherContext.CombinePath(Frame.Stem, matchedFile.Name);
Internal\PatternContexts\PatternContextRaggedExclude.cs (2)
23if (Frame.IsNotApplicable) 35Frame.SegmentGroupIndex == Pattern.Contains.Count - 1 &&
Internal\PatternContexts\PatternContextRaggedInclude.cs (6)
24if (Frame.IsNotApplicable) 29if (IsStartingGroup() && Frame.SegmentIndex < Frame.SegmentGroup.Count) 31onDeclare(Frame.SegmentGroup[Frame.SegmentIndex], false); 46if (Frame.IsNotApplicable)