28 references to RegexNode
System.Text.RegularExpressions (28)
System\Text\RegularExpressions\RegexCompiler.cs (1)
2057
new
RegexNode
(RegexNodeKind.Empty, child.Options));
System\Text\RegularExpressions\RegexNode.cs (18)
428
parent.InsertChild(1, new
RegexNode
(RegexNodeKind.UpdateBumpalong, node.Options));
501
var atomic = new
RegexNode
(RegexNodeKind.Atomic, existingChild.Options);
615
0 => new
RegexNode
(Kind == RegexNodeKind.Alternate ? RegexNodeKind.Nothing : RegexNodeKind.Empty, Options),
706
return new
RegexNode
(RegexNodeKind.Empty, child.Options);
896
return new
RegexNode
(RegexNodeKind.Nothing, Options);
935
u = u.M == 0 ? new
RegexNode
(RegexNodeKind.Empty, Options) : child;
1023
return new
RegexNode
(RegexNodeKind.Nothing, Options);
1245
var newAlternate = new
RegexNode
(RegexNodeKind.Alternate, alternation.Options);
1256
newAlternate.AddChild(new
RegexNode
(RegexNodeKind.Empty, children[i].Options));
1263
var atomic = new
RegexNode
(RegexNodeKind.Atomic, alternation.Options);
1270
var newConcat = new
RegexNode
(RegexNodeKind.Concatenate, alternation.Options);
1423
var newAlternate = new
RegexNode
(RegexNodeKind.Alternate, startingNodeOptions);
1467
var atomic = new
RegexNode
(RegexNodeKind.Atomic, startingNodeOptions);
1472
var newConcat = new
RegexNode
(RegexNodeKind.Concatenate, startingNodeOptions);
1690
return new
RegexNode
(RegexNodeKind.Empty, Options);
2292
AddChild(new
RegexNode
(RegexNodeKind.Empty, Options));
2310
AddChild(new
RegexNode
(RegexNodeKind.Empty, Options));
3111
return new
RegexNode
(RegexNodeKind.Empty, Options);
System\Text\RegularExpressions\RegexParser.cs (9)
394
_unit = new
RegexNode
((_options & RegexOptions.Multiline) != 0 ? RegexNodeKind.Bol : RegexNodeKind.Beginning, _options);
398
_unit = new
RegexNode
((_options & RegexOptions.Multiline) != 0 ? RegexNodeKind.Eol : RegexNodeKind.EndZ, _options);
521
_concatenation = new
RegexNode
(RegexNodeKind.Concatenate, _options);
806
return new
RegexNode
(RegexNodeKind.Group, _options);
1073
return new
RegexNode
(nodeType, _options);
1138
new
RegexNode
(TypeFromCode(ch), _options);
2097
_alternation = new
RegexNode
(RegexNodeKind.Alternate, _options);
2098
_concatenation = new
RegexNode
(RegexNodeKind.Concatenate, _options);
2115
_concatenation = new
RegexNode
(RegexNodeKind.Concatenate, _options);