31 references to Lazyloop
System.Text.RegularExpressions (31)
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);
1413
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when node.M > 0:
1935
Debug.Assert(node.Kind is RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
);
2076
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
when subsequent.M > 0:
2284
case RegexNodeKind.
Lazyloop
:
2391
case RegexNodeKind.Loop or RegexNodeKind.
Lazyloop
:
2710
var result = new RegexNode(lazy ? RegexNodeKind.
Lazyloop
: RegexNodeKind.Loop, Options, min, max);
2939
case RegexNodeKind.
Lazyloop
:
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"/>.
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (6)
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))
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,
System\Text\RegularExpressions\RegexWriter.cs (2)
312
case RegexNodeKind.
Lazyloop
| BeforeChild:
328
case RegexNodeKind.
Lazyloop
| AfterChild:
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (3)
87
case RegexNodeKind.
Lazyloop
:
251
case RegexNodeKind.
Lazyloop
:
260
result.AddLast(_builder.CreateLoop(body, node.Kind == RegexNodeKind.
Lazyloop
, node.M, node.N));
System\Text\RegularExpressions\Symbolic\SymbolicRegexKind.cs (1)
15
/// <summary>A node that matches a loop (e.g. <see cref="RegexNodeKind.Loop"/>, <see cref="RegexNodeKind.
Lazyloop
"/>, <see cref="RegexNodeKind.Setloop"/>, etc.).</summary>