42 references to Onelazy
System.Text.RegularExpressions (42)
System\Text\RegularExpressions\RegexNode.cs (33)
89
Debug.Assert(Kind is RegexNodeKind.
Onelazy
or RegexNodeKind.Oneloop or RegexNodeKind.Oneloopatomic or
167
case RegexNodeKind.
Onelazy
or RegexNodeKind.Notonelazy or RegexNodeKind.Setlazy:
171
Kind += RegexNodeKind.Oneloopatomic - RegexNodeKind.
Onelazy
;
248
case RegexNodeKind.
Onelazy
:
385
case RegexNodeKind.
Onelazy
or RegexNodeKind.Notonelazy or RegexNodeKind.Setlazy when node.N == int.MaxValue && !atomicByAncestry:
432
case RegexNodeKind.
Onelazy
or RegexNodeKind.Notonelazy or RegexNodeKind.Setlazy:
635
case RegexNodeKind.
Onelazy
:
801
case RegexNodeKind.
Onelazy
:
852
child.MakeRep(u.Kind == RegexNodeKind.Lazyloop ? RegexNodeKind.
Onelazy
: RegexNodeKind.Oneloop, u.M, u.N);
892
RegexNodeKind.
Onelazy
;
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:
1884
case RegexNodeKind.
Onelazy
or RegexNodeKind.Notonelazy or RegexNodeKind.Setlazy when CanBeMadeAtomic(node, subsequent, iterateNullableSubsequent: false, allowLazy: true):
1900
node.Kind -= RegexNodeKind.
Onelazy
- RegexNodeKind.Oneloop; // lazy to greedy
2117
case RegexNodeKind.
Onelazy
when allowLazy:
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!):
2275
case RegexNodeKind.
Onelazy
:
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
;
2894
case RegexNodeKind.
Onelazy
:
2933
case RegexNodeKind.
Onelazy
:
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)
391
case RegexNodeKind.
Onelazy
:
394
Emit(((node.Kind is RegexNodeKind.Oneloop or RegexNodeKind.Oneloopatomic or RegexNodeKind.
Onelazy
) ?
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (2)
107
case RegexNodeKind.
Onelazy
:
117
result.AddLast(_builder.CreateLoop(_builder.CreateSingleton(bdd), node.Kind is RegexNodeKind.
Onelazy
or RegexNodeKind.Notonelazy, node.M, node.N));