27 references to Lazyloop
System.Text.RegularExpressions.Generator (27)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (13)
263
case RegexNodeKind.
Lazyloop
:
453
if ((existingChild.Kind is RegexNodeKind.Alternate or RegexNodeKind.BackreferenceConditional or RegexNodeKind.ExpressionConditional or RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
) &&
491
case RegexNodeKind.
Lazyloop
:
543
RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
=> ReduceLoops(),
767
Debug.Assert(Kind is RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
);
852
child.MakeRep(u.Kind == RegexNodeKind.
Lazyloop
? RegexNodeKind.Onelazy : RegexNodeKind.Oneloop, u.M, u.N);
1417
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when node.M > 0:
1939
Debug.Assert(node.Kind is RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
);
2080
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when subsequent.M > 0:
2288
case RegexNodeKind.
Lazyloop
:
2395
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
:
2714
var result = new RegexNode(lazy ? RegexNodeKind.
Lazyloop
: RegexNodeKind.Loop, Options, min, max);
2943
case RegexNodeKind.
Lazyloop
:
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNodeKind.cs (3)
46
/// This is purely a representational optimization, equivalent to a <see cref="
Lazyloop
"/> wrapped around a <see cref="One"/>.
50
/// This is purely a representational optimization, equivalent to a <see cref="
Lazyloop
"/> wrapped around a <see cref="Notone"/>.
54
/// This is purely a representational optimization, equivalent to a <see cref="
Lazyloop
"/> wrapped around a <see cref="Set"/>.
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (8)
226
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when node.M > 0:
439
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when node.M > 0:
493
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when node.M > 0:
686
case RegexNodeKind.
Lazyloop
or RegexNodeKind.Loop when node.M > 0:
1028
case RegexNodeKind.
Lazyloop
:
1201
(nextChild.Kind is RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
&& nextChild.M >= 1))
1279
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when node.M >= 1:
1340
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when leading && node.M >= 1:
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexTreeAnalyzer.cs (3)
50
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when node.M != node.N:
76
case RegexNodeKind.
Lazyloop
:
111
RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when node.N == 1 => true,