35 references to Atomic
System.Text.RegularExpressions (35)
System\Text\RegularExpressions\RegexNode.cs (17)
261
case RegexNodeKind.
Atomic
:
375
case RegexNodeKind.
Atomic
:
438
case RegexNodeKind.
Atomic
:
454
(node.Parent is null || node.Parent.Kind != RegexNodeKind.
Atomic
)) // validate grandparent isn't atomic
456
var atomic = new RegexNode(RegexNodeKind.
Atomic
, existingChild.Options);
540
RegexNodeKind.
Atomic
=> ReduceAtomic(),
605
Debug.Assert(Kind == RegexNodeKind.
Atomic
);
610
while (child.Kind == RegexNodeKind.
Atomic
)
1147
if (alternation.Parent is RegexNode { Kind: RegexNodeKind.
Atomic
})
1149
var atomic = new RegexNode(RegexNodeKind.
Atomic
, alternation.Options);
1351
if (alternation.Parent is RegexNode parent && parent.Kind == RegexNodeKind.
Atomic
)
1353
var atomic = new RegexNode(RegexNodeKind.
Atomic
, startingNodeOptions);
1409
case RegexNodeKind.
Atomic
:
2074
case RegexNodeKind.
Atomic
:
2211
case RegexNodeKind.
Atomic
:
2322
case RegexNodeKind.
Atomic
:
2461
case RegexNodeKind.
Atomic
:
System\Text\RegularExpressions\RegexNodeKind.cs (3)
60
/// This is purely a representational optimization, equivalent to a <see cref="
Atomic
"/> wrapped around a <see cref="Oneloop"/>.
66
/// This is purely a representational optimization, equivalent to a <see cref="
Atomic
"/> wrapped around a <see cref="Notoneloop"/>.
72
/// This is purely a representational optimization, equivalent to a <see cref="
Atomic
"/> wrapped around a <see cref="Setloop"/>.
System\Text\RegularExpressions\RegexParser.cs (1)
800
nodeType = RegexNodeKind.
Atomic
;
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (9)
84
case RegexNodeKind.
Atomic
:
454
case RegexNodeKind.
Atomic
:
491
case RegexNodeKind.
Atomic
:
681
case RegexNodeKind.
Atomic
:
1020
case RegexNodeKind.
Atomic
:
1114
while (node.Kind is RegexNodeKind.
Atomic
or RegexNodeKind.Capture)
1131
while (firstChild.Kind is RegexNodeKind.
Atomic
or RegexNodeKind.Capture)
1200
while ((nextChild.Kind is RegexNodeKind.
Atomic
or RegexNodeKind.Capture or RegexNodeKind.Concatenate) ||
1264
case RegexNodeKind.
Atomic
:
System\Text\RegularExpressions\RegexTreeAnalyzer.cs (2)
63
case RegexNodeKind.
Atomic
:
94
RegexNodeKind.
Atomic
or RegexNodeKind.NegativeLookaround or RegexNodeKind.PositiveLookaround => true,
System\Text\RegularExpressions\RegexWriter.cs (2)
373
case RegexNodeKind.
Atomic
| BeforeChild:
377
case RegexNodeKind.
Atomic
| AfterChild:
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
180
RegexNodeKind.
Atomic
or RegexNodeKind.Setloopatomic or RegexNodeKind.Oneloopatomic or RegexNodeKind.Notoneloopatomic => SR.ExpressionDescription_AtomicSubexpressions,