8 references to IsNullable
System.Text.RegularExpressions (8)
System\Text\RegularExpressions\Symbolic\MatchingState.cs (1)
141
if (Node.
IsNullable
)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (7)
490
if (left.IsAnyStar(builder._solver) || right.IsNothing(builder._solver) || left == right || (left.
IsNullable
&& right.IsEpsilon))
671
if (left._left.
IsNullable
&& rl._kind == SymbolicRegexNodeKind.Loop && rl._lower == 0 && rl._upper == 1 && rl.IsLazy)
697
if (left._left.
IsNullable
)
824
if (right._left.
IsNullable
&& TrySplitConcatSubsumption(builder, left, right, out SymbolicRegexNode<TSet>? prefix))
1320
if (_lower == 0 || _left.
IsNullable
|| !_left.IsNullableFor(context))
1992
return _left.StartsWithLoop(upperBoundLowestValue) || (_left.
IsNullable
&& _right.StartsWithLoop(upperBoundLowestValue));
2127
SymbolicRegexNode<TSet> right1 = _left.
IsNullable
? _right.PruneAnchorsImpl(builder, prevKind, contWithWL, contWithNWL) : _right;