35 references to Atomic
System.Text.RegularExpressions (35)
System\Text\RegularExpressions\RegexNode.cs (17)
261case RegexNodeKind.Atomic: 375case RegexNodeKind.Atomic: 438case RegexNodeKind.Atomic: 454(node.Parent is null || node.Parent.Kind != RegexNodeKind.Atomic)) // validate grandparent isn't atomic 456var atomic = new RegexNode(RegexNodeKind.Atomic, existingChild.Options); 540RegexNodeKind.Atomic => ReduceAtomic(), 605Debug.Assert(Kind == RegexNodeKind.Atomic); 610while (child.Kind == RegexNodeKind.Atomic) 1147if (alternation.Parent is RegexNode { Kind: RegexNodeKind.Atomic }) 1149var atomic = new RegexNode(RegexNodeKind.Atomic, alternation.Options); 1351if (alternation.Parent is RegexNode parent && parent.Kind == RegexNodeKind.Atomic) 1353var atomic = new RegexNode(RegexNodeKind.Atomic, startingNodeOptions); 1409case RegexNodeKind.Atomic: 2071case RegexNodeKind.Atomic: 2208case RegexNodeKind.Atomic: 2319case RegexNodeKind.Atomic: 2458case 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)
800nodeType = RegexNodeKind.Atomic;
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (9)
84case RegexNodeKind.Atomic: 454case RegexNodeKind.Atomic: 491case RegexNodeKind.Atomic: 681case RegexNodeKind.Atomic: 1020case RegexNodeKind.Atomic: 1114while (node.Kind is RegexNodeKind.Atomic or RegexNodeKind.Capture) 1131while (firstChild.Kind is RegexNodeKind.Atomic or RegexNodeKind.Capture) 1200while ((nextChild.Kind is RegexNodeKind.Atomic or RegexNodeKind.Capture or RegexNodeKind.Concatenate) || 1264case RegexNodeKind.Atomic:
System\Text\RegularExpressions\RegexTreeAnalyzer.cs (2)
63case RegexNodeKind.Atomic: 94RegexNodeKind.Atomic or RegexNodeKind.NegativeLookaround or RegexNodeKind.PositiveLookaround => true,
System\Text\RegularExpressions\RegexWriter.cs (2)
373case RegexNodeKind.Atomic | BeforeChild: 377case RegexNodeKind.Atomic | AfterChild:
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
180RegexNodeKind.Atomic or RegexNodeKind.Setloopatomic or RegexNodeKind.Oneloopatomic or RegexNodeKind.Notoneloopatomic => SR.ExpressionDescription_AtomicSubexpressions,