35 references to Alternate
System.Text.RegularExpressions (35)
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (1)
331
case SymbolicRegexNodeKind.
Alternate
:
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
296
Debug.Assert(node.Kind != SymbolicRegexNodeKind.
Alternate
);
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (33)
140
case SymbolicRegexNodeKind.
Alternate
:
187
Debug.Assert(listKind is SymbolicRegexNodeKind.Concat or SymbolicRegexNodeKind.
Alternate
);
267
case SymbolicRegexNodeKind.
Alternate
:
497
SymbolicRegexNode<TSet> head = right._kind == SymbolicRegexNodeKind.
Alternate
? right._left! : right;
498
SymbolicRegexNode<TSet> tail = right._kind == SymbolicRegexNodeKind.
Alternate
? right._right! : builder._nothing;
514
if (!deduplicated && left._kind != SymbolicRegexNodeKind.
Alternate
)
519
while (current._kind == SymbolicRegexNodeKind.
Alternate
)
523
Debug.Assert(current._left._kind != SymbolicRegexNodeKind.
Alternate
);
537
if (!deduplicated || left._kind == SymbolicRegexNodeKind.
Alternate
)
540
List<SymbolicRegexNode<TSet>> elems = left.ToList(listKind: SymbolicRegexNodeKind.
Alternate
);
542
right.ToList(elems, listKind: SymbolicRegexNodeKind.
Alternate
);
583
Debug.Assert(left._kind != SymbolicRegexNodeKind.
Alternate
);
586
return Create(builder, SymbolicRegexNodeKind.
Alternate
, left, right, -1, -1, default, SymbolicRegexInfo.Alternate(left._info, right._info));
946
case SymbolicRegexNodeKind.
Alternate
:
989
case SymbolicRegexNodeKind.
Alternate
:
1102
case SymbolicRegexNodeKind.
Alternate
:
1126
SymbolicRegexNodeKind.
Alternate
=> (_left._left!.IsNullableFor(context) ?
1336
case SymbolicRegexNodeKind.
Alternate
:
1388
case SymbolicRegexNodeKind.
Alternate
:
1392
List<SymbolicRegexNode<TSet>> elems = ToList(listKind: SymbolicRegexNodeKind.
Alternate
);
1477
case SymbolicRegexNodeKind.
Alternate
:
1558
case SymbolicRegexNodeKind.
Alternate
:
1648
case SymbolicRegexNodeKind.
Alternate
:
1863
case SymbolicRegexNodeKind.
Alternate
:
1934
case SymbolicRegexNodeKind.
Alternate
:
1994
case SymbolicRegexNodeKind.
Alternate
:
2039
case SymbolicRegexNodeKind.
Alternate
:
2135
case SymbolicRegexNodeKind.
Alternate
:
2190
case SymbolicRegexNodeKind.
Alternate
:
2232
case SymbolicRegexNodeKind.
Alternate
:
2235
while (current._kind is SymbolicRegexNodeKind.
Alternate
)
2238
Debug.Assert(current._left._kind is not SymbolicRegexNodeKind.
Alternate
);
2286
case SymbolicRegexNodeKind.
Alternate
: