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