3 writes to _group
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\RegexParser.cs (3)
71
_group
= null;
2048
_group
= _alternation!.Parent;
2067
_group
= openGroup;
16 references to _group
System.Text.RegularExpressions (16)
System\Text\RegularExpressions\RegexParser.cs (16)
1004
if (
_group
!.Kind != RegexNodeKind.ExpressionConditional)
2037
_group
!.Parent = _stack;
2038
_alternation!.Parent =
_group
;
2049
_stack =
_group
!.Parent;
2052
if (
_group
.Kind == RegexNodeKind.ExpressionConditional &&
_group
.ChildCount() == 0)
2059
_group
.AddChild(_unit);
2077
if (
_group
!.Kind is RegexNodeKind.ExpressionConditional or RegexNodeKind.BackreferenceConditional)
2079
_group
.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2092
if (
_group
!.Kind is RegexNodeKind.ExpressionConditional or RegexNodeKind.BackreferenceConditional)
2094
_group
.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft());
2096
if (
_group
.Kind == RegexNodeKind.BackreferenceConditional &&
_group
.ChildCount() > 2 ||
_group
.ChildCount() > 3)
2104
_group
.AddChild(_alternation);
2107
_unit =
_group
;