4 references to DescribeLoop
System.Text.RegularExpressions.Generator (4)
RegexGenerator.Emitter.cs (4)
5466
RegexNodeKind.Loop or RegexNodeKind.Lazyloop => node.M == 0 && node.N == 1 ? $"Optional ({(node.Kind is RegexNodeKind.Loop ? "greedy" : "lazy")})." : $"Loop {
DescribeLoop
(node, rm)}{direction}.",
5472
RegexNodeKind.Notoneloop or RegexNodeKind.Notoneloopatomic or RegexNodeKind.Notonelazy => $"Match a character other than {Literal(node.Ch)} {
DescribeLoop
(node, rm)}{direction}.",
5474
RegexNodeKind.Oneloop or RegexNodeKind.Oneloopatomic or RegexNodeKind.Onelazy => $"Match {Literal(node.Ch)} {
DescribeLoop
(node, rm)}{direction}.",
5479
RegexNodeKind.Setloop or RegexNodeKind.Setloopatomic or RegexNodeKind.Setlazy => $"Match {DescribeSet(node.Str!)} {
DescribeLoop
(node, rm)}{direction}.",