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