43 references to Oneloop
System.Text.RegularExpressions (43)
System\Text\RegularExpressions\RegexNode.cs (34)
89
Debug.Assert(Kind is RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or
161
case RegexNodeKind.
Oneloop
or RegexNodeKind.Notoneloop or RegexNodeKind.Setloop:
164
Kind += RegexNodeKind.Oneloopatomic - RegexNodeKind.
Oneloop
;
249
case RegexNodeKind.
Oneloop
:
384
case RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Notoneloop or RegexNodeKind.Notoneloopatomic or RegexNodeKind.Setloop or RegexNodeKind.Setloopatomic when node.N == int.MaxValue:
431
case RegexNodeKind.
Oneloop
or RegexNodeKind.Notoneloop or RegexNodeKind.Setloop:
632
case RegexNodeKind.
Oneloop
:
787
case RegexNodeKind.
Oneloop
:
852
child.MakeRep(u.Kind == RegexNodeKind.Lazyloop ? RegexNodeKind.Onelazy : RegexNodeKind.
Oneloop
, u.M, u.N);
890
Kind == RegexNodeKind.Setloop ? RegexNodeKind.
Oneloop
:
1109
case RegexNodeKind.
Oneloop
or RegexNodeKind.Notoneloop or RegexNodeKind.Setloop or RegexNodeKind.Onelazy or RegexNodeKind.Notonelazy or RegexNodeKind.Setlazy when required.M == required.N:
1401
case RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Onelazy when node.M > 0:
1435
case RegexNodeKind.One or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Onelazy:
1663
case RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Onelazy or RegexNodeKind.Notoneloop or RegexNodeKind.Notoneloopatomic or RegexNodeKind.Notonelazy when nextNode.Kind == currentNode.Kind && currentNode.Ch == nextNode.Ch:
1689
case RegexNodeKind.
Oneloop
or RegexNodeKind.Onelazy when nextNode.Kind == RegexNodeKind.One && currentNode.Ch == nextNode.Ch:
1705
case RegexNodeKind.
Oneloop
or RegexNodeKind.Onelazy when
1757
case RegexNodeKind.One when (nextNode.Kind is RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Onelazy) && currentNode.Ch == nextNode.Ch:
1774
currentNode.MakeRep(RegexNodeKind.
Oneloop
, 2, 2);
1875
case RegexNodeKind.
Oneloop
or RegexNodeKind.Notoneloop or RegexNodeKind.Setloop when CanBeMadeAtomic(node, subsequent, iterateNullableSubsequent: true, allowLazy: false):
1900
node.Kind -= RegexNodeKind.Onelazy - RegexNodeKind.
Oneloop
; // lazy to greedy
2116
case RegexNodeKind.
Oneloop
:
2123
case RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic when subsequent.M > 0 && node.Ch != subsequent.Ch:
2131
case RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic when subsequent.M == 0 && node.Ch != subsequent.Ch:
2151
case RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic when subsequent.M > 0 && node.Ch == subsequent.Ch:
2156
case RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic when subsequent.M == 0 && node.Ch == subsequent.Ch:
2171
case RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic when subsequent.M > 0 && !RegexCharClass.CharInClass(subsequent.Ch, node.Str!):
2178
case RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic when subsequent.M == 0 && !RegexCharClass.CharInClass(subsequent.Ch, node.Str!):
2276
case RegexNodeKind.
Oneloop
:
2386
RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or
2638
RegexNodeKind.
Oneloop
or RegexNodeKind.Onelazy or RegexNodeKind.Oneloopatomic or
2706
MakeRep(lazy ? RegexNodeKind.Onelazy : RegexNodeKind.
Oneloop
, min, max);
2836
public bool IsOneFamily => Kind is RegexNodeKind.One or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Onelazy;
2890
case RegexNodeKind.
Oneloop
:
2929
case RegexNodeKind.
Oneloop
:
System\Text\RegularExpressions\RegexNodeKind.cs (1)
60
/// This is purely a representational optimization, equivalent to a <see cref="Atomic"/> wrapped around a <see cref="
Oneloop
"/>.
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (4)
112
case RegexNodeKind.One or RegexNodeKind.
Oneloop
or RegexNodeKind.Onelazy or RegexNodeKind.Oneloopatomic when !ignoreCase || !RegexCharClass.ParticipatesInCaseConversion(node.Ch):
432
case RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Onelazy when node.M > 0:
609
case RegexNodeKind.Onelazy or RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic when node.M > 0:
945
case RegexNodeKind.One or RegexNodeKind.
Oneloop
or RegexNodeKind.Onelazy or RegexNodeKind.Oneloopatomic:
System\Text\RegularExpressions\RegexTreeAnalyzer.cs (1)
51
case RegexNodeKind.
Oneloop
or RegexNodeKind.Notoneloop or RegexNodeKind.Setloop or RegexNodeKind.Onelazy or RegexNodeKind.Notonelazy or RegexNodeKind.Setlazy when node.M != node.N:
System\Text\RegularExpressions\RegexWriter.cs (2)
389
case RegexNodeKind.
Oneloop
:
394
Emit(((node.Kind is RegexNodeKind.
Oneloop
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Onelazy) ?
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
106
case RegexNodeKind.
Oneloop
: