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