33 references to Loop
System.Text.RegularExpressions (33)
System\Text\RegularExpressions\RegexNode.cs (15)
264
case RegexNodeKind.
Loop
:
453
if ((existingChild.Kind is RegexNodeKind.Alternate or RegexNodeKind.BackreferenceConditional or RegexNodeKind.ExpressionConditional or RegexNodeKind.
Loop
or RegexNodeKind.Lazyloop) &&
493
goto case RegexNodeKind.
Loop
;
494
case RegexNodeKind.
Loop
:
543
RegexNodeKind.
Loop
or RegexNodeKind.Lazyloop => ReduceLoops(),
767
Debug.Assert(Kind is RegexNodeKind.
Loop
or RegexNodeKind.Lazyloop);
783
if (kind == RegexNodeKind.
Loop
)
1413
case RegexNodeKind.
Loop
or RegexNodeKind.Lazyloop when node.M > 0:
1858
if (node.Kind == RegexNodeKind.
Loop
)
1935
Debug.Assert(node.Kind is RegexNodeKind.
Loop
or RegexNodeKind.Lazyloop);
2076
case RegexNodeKind.
Loop
or RegexNodeKind.Lazyloop when subsequent.M > 0:
2285
case RegexNodeKind.
Loop
:
2391
case RegexNodeKind.
Loop
or RegexNodeKind.Lazyloop:
2710
var result = new RegexNode(lazy ? RegexNodeKind.Lazyloop : RegexNodeKind.
Loop
, Options, min, max);
2938
case RegexNodeKind.
Loop
:
System\Text\RegularExpressions\RegexNodeKind.cs (3)
32
/// This is purely a representational optimization, equivalent to a <see cref="
Loop
"/> wrapped around a <see cref="One"/>.
37
/// This is purely a representational optimization, equivalent to a <see cref="
Loop
"/> wrapped around a <see cref="Notone"/>.
41
/// This is purely a representational optimization, equivalent to a <see cref="
Loop
"/> 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:
1027
case RegexNodeKind.
Loop
:
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:
75
case RegexNodeKind.
Loop
:
111
RegexNodeKind.
Loop
or RegexNodeKind.Lazyloop when node.N == 1 => true,
System\Text\RegularExpressions\RegexWriter.cs (3)
311
case RegexNodeKind.
Loop
| BeforeChild:
327
case RegexNodeKind.
Loop
| AfterChild:
331
int Lazy = (nodeType - (RegexNodeKind.
Loop
| AfterChild));
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (2)
86
case RegexNodeKind.
Loop
:
250
case RegexNodeKind.
Loop
:
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>