31 references to Lazyloop
System.Text.RegularExpressions (31)
System\Text\RegularExpressions\RegexNode.cs (13)
263case RegexNodeKind.Lazyloop: 453if ((existingChild.Kind is RegexNodeKind.Alternate or RegexNodeKind.BackreferenceConditional or RegexNodeKind.ExpressionConditional or RegexNodeKind.Loop or RegexNodeKind.Lazyloop) && 491case RegexNodeKind.Lazyloop: 543RegexNodeKind.Loop or RegexNodeKind.Lazyloop => ReduceLoops(), 767Debug.Assert(Kind is RegexNodeKind.Loop or RegexNodeKind.Lazyloop); 852child.MakeRep(u.Kind == RegexNodeKind.Lazyloop ? RegexNodeKind.Onelazy : RegexNodeKind.Oneloop, u.M, u.N); 1413case RegexNodeKind.Loop or RegexNodeKind.Lazyloop when node.M > 0: 1935Debug.Assert(node.Kind is RegexNodeKind.Loop or RegexNodeKind.Lazyloop); 2076case RegexNodeKind.Loop or RegexNodeKind.Lazyloop when subsequent.M > 0: 2284case RegexNodeKind.Lazyloop: 2391case RegexNodeKind.Loop or RegexNodeKind.Lazyloop: 2710var result = new RegexNode(lazy ? RegexNodeKind.Lazyloop : RegexNodeKind.Loop, Options, min, max); 2939case 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)
226case RegexNodeKind.Loop or RegexNodeKind.Lazyloop when node.M > 0: 439case RegexNodeKind.Loop or RegexNodeKind.Lazyloop when node.M > 0: 493case RegexNodeKind.Loop or RegexNodeKind.Lazyloop when node.M > 0: 686case RegexNodeKind.Lazyloop or RegexNodeKind.Loop when node.M > 0: 1028case RegexNodeKind.Lazyloop: 1201(nextChild.Kind is RegexNodeKind.Loop or RegexNodeKind.Lazyloop && nextChild.M >= 1))
System\Text\RegularExpressions\RegexTreeAnalyzer.cs (3)
50case RegexNodeKind.Loop or RegexNodeKind.Lazyloop when node.M != node.N: 76case RegexNodeKind.Lazyloop: 111RegexNodeKind.Loop or RegexNodeKind.Lazyloop when node.N == 1 => true,
System\Text\RegularExpressions\RegexWriter.cs (2)
312case RegexNodeKind.Lazyloop | BeforeChild: 328case RegexNodeKind.Lazyloop | AfterChild:
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (3)
87case RegexNodeKind.Lazyloop: 251case RegexNodeKind.Lazyloop: 260result.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>